{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openephemeris-com/json-schema/openephemeris-com-electional-window-response-schema.json",
  "title": "ElectionalWindowResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openephemeris-com-electional-api-openapi.yml#/components/schemas/ElectionalWindowResponse",
  "additionalProperties": false,
  "properties": {
    "search_summary": {
      "additionalProperties": true,
      "type": "object"
    },
    "windows": {
      "items": {
        "$ref": "#/$defs/ElectionalWindow"
      },
      "type": "array"
    }
  },
  "required": [
    "windows",
    "search_summary"
  ],
  "type": "object",
  "$defs": {
    "ElectionalWindow": {
      "additionalProperties": false,
      "properties": {
        "cautions": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "duration_minutes": {
          "title": "Duration Minutes",
          "type": "number"
        },
        "end_time": {
          "title": "End Time",
          "type": "string"
        },
        "key_factors": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "rank": {
          "title": "Rank",
          "type": "integer"
        },
        "rating": {
          "title": "Rating",
          "type": "string"
        },
        "score": {
          "title": "Score",
          "type": "integer"
        },
        "start_time": {
          "title": "Start Time",
          "type": "string"
        }
      },
      "required": [
        "rank",
        "score",
        "rating",
        "start_time",
        "end_time",
        "duration_minutes"
      ],
      "title": "ElectionalWindow",
      "type": "object"
    }
  }
}