{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clearstreet8e71/json-schema/clearstreet8e71-economic-event-list-schema.json",
  "title": "EconomicEventList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clearstreet8e71-calendar-api-openapi.yml#/components/schemas/EconomicEventList",
  "type": "array",
  "items": {
    "$ref": "#/$defs/EconomicEvent"
  },
  "$defs": {
    "EconomicEvent": {
      "type": "object",
      "description": "A single economic calendar event.\n\nCoverage spans roughly 365 days back to 90 days forward. `estimate` and\n`actual` are frequently absent for minor releases, speeches, and holidays.\nThe calendar refreshes daily (around 7am ET), so `actual` can trail the\nreal-world print by up to a day; a null `actual` before the print is\nexpected, not missing data.",
      "required": [
        "timestamp",
        "name",
        "country"
      ],
      "properties": {
        "actual": {
          "type": [
            "string",
            "null"
          ],
          "description": "Actual reported value. Null before the print, or if the provider never\nreports one for this event.\nWhen a null/undefined value is observed, it indicates that there is no available data."
        },
        "change": {
          "type": [
            "string",
            "null"
          ],
          "description": "Change from the previous value.\nWhen a null/undefined value is observed, it indicates that there is no available data."
        },
        "change_percentage": {
          "type": [
            "string",
            "null"
          ],
          "description": "Change from the previous value, as a percentage.\nWhen a null/undefined value is observed, it indicates that there is no available data."
        },
        "country": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code, or `EU`."
        },
        "currency": {
          "type": [
            "string",
            "null"
          ],
          "description": "Currency associated with the event, if applicable.\nWhen a null/undefined value is observed, it indicates that there is no available data."
        },
        "estimate": {
          "type": [
            "string",
            "null"
          ],
          "description": "Analyst-estimated value.\nWhen a null/undefined value is observed, it indicates that there is no available data."
        },
        "impact": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/EconomicEventImpact",
              "description": "Expected market impact, if known.\nWhen a null/undefined value is observed, it indicates that there is no available data."
            }
          ]
        },
        "name": {
          "type": "string",
          "description": "Event name as reported by the provider."
        },
        "previous": {
          "type": [
            "string",
            "null"
          ],
          "description": "Previous period's reported value.\nWhen a null/undefined value is observed, it indicates that there is no available data."
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "UTC instant of the event."
        },
        "unit": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/EconomicEventUnit",
              "description": "Unit of the numeric value fields, if known.\nWhen a null/undefined value is observed, it indicates that there is no available data."
            }
          ]
        }
      }
    },
    "EconomicEventImpact": {
      "type": "string",
      "description": "Market impact of an economic calendar event.",
      "enum": [
        "NONE",
        "LOW",
        "MEDIUM",
        "HIGH"
      ]
    },
    "EconomicEventUnit": {
      "type": "string",
      "description": "Unit of an economic calendar event's numeric values. Known values: `%`, `K` (thousand), `M` (million), `B` (billion), `T` (trillion), `Points`. Any other provider-supplied string passes through unchanged."
    }
  }
}