{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openephemeris-com/json-schema/openephemeris-com-cross-quarter-response-schema.json",
  "title": "CrossQuarterResponse",
  "description": "Solar events and cross-quarter days.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openephemeris-com-calendar-api-openapi.yml#/components/schemas/CrossQuarterResponse",
  "properties": {
    "_meta": {
      "description": "Calculation metadata",
      "title": " Meta",
      "type": "object"
    },
    "events": {
      "description": "List of solar events in chronological order",
      "items": {
        "$ref": "#/$defs/CrossQuarterEvent"
      },
      "title": "Events",
      "type": "array"
    },
    "year": {
      "description": "Year of the events",
      "title": "Year",
      "type": "integer"
    }
  },
  "required": [
    "year",
    "events",
    "_meta"
  ],
  "type": "object",
  "$defs": {
    "CrossQuarterEvent": {
      "properties": {
        "declination": {
          "description": "Sun's declination at the time of the event",
          "title": "Declination",
          "type": "number"
        },
        "distance_au": {
          "description": "Sun's distance in AU",
          "title": "Distance Au",
          "type": "number"
        },
        "name": {
          "description": "Event name (e.g., Vernal Equinox)",
          "title": "Name",
          "type": "string"
        },
        "time": {
          "description": "ISO 8601 UTC timestamp of exactly when the event occurs",
          "title": "Time",
          "type": "string"
        },
        "type": {
          "description": "'equinox', 'solstice', or 'cross-quarter'",
          "title": "Type",
          "type": "string"
        }
      },
      "required": [
        "name",
        "type",
        "time",
        "declination",
        "distance_au"
      ],
      "title": "CrossQuarterEvent",
      "type": "object"
    }
  }
}