{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fxmacrodata/json-schema/fxmacrodata-calendar-snapshot-schema.json",
  "title": "CalendarSnapshot",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fxmacrodata-calendar-api-openapi.yml#/components/schemas/CalendarSnapshot",
  "properties": {
    "currency": {
      "type": "string",
      "title": "Currency"
    },
    "as_of": {
      "type": "string",
      "title": "As Of"
    },
    "knowledge_mode": {
      "type": "string",
      "enum": [
        "accepted",
        "reconstruction"
      ],
      "title": "Knowledge Mode"
    },
    "checkpoint": {
      "type": "integer",
      "title": "Checkpoint"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor"
    },
    "events": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Events"
    },
    "evidence_notice": {
      "type": "string",
      "title": "Evidence Notice",
      "default": "Accepted mode shows versions accepted into this archive by as_of. Reconstruction may include official documents recovered later; it does not establish that FXMacroData held those schedules at the historical time. An empty result does not establish that no events were scheduled."
    }
  },
  "type": "object",
  "required": [
    "currency",
    "as_of",
    "knowledge_mode",
    "checkpoint",
    "events"
  ]
}