{
  "x-generated": "2026-11-04T17:31:15Z",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://seraphixsystems.com/data/schema/grid.schema.json",
  "title": "EIA-930 hourly demand, 30 days",
  "type": "object",
  "required": [
    "checked",
    "status",
    "regions"
  ],
  "properties": {
    "checked": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "type": "string"
    },
    "series": {
      "type": "string"
    },
    "source": {
      "type": "string",
      "format": "uri"
    },
    "window": {
      "type": "object"
    },
    "regions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "unit",
          "points",
          "days"
        ],
        "properties": {
          "code": {
            "enum": [
              "ERCO",
              "PJM",
              "SOCO"
            ]
          },
          "unit": {
            "type": "string"
          },
          "points": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "t": {
                  "type": "string"
                },
                "value": {
                  "type": "number"
                }
              }
            }
          },
          "days": {
            "type": "array"
          }
        }
      }
    }
  }
}
