{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://globalfinancialinfo.info/schemas/market-holidays.schema.json",
  "title": "Global Market Holidays Calendar — closure schema",
  "description": "One row per exchange closure. Served as the rows array of https://globalfinancialinfo.info/functions/publicData?dataset=market-holidays.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "country": { "type": "string", "description": "Country of the exchange, e.g. Japan." },
    "market": { "type": "string", "description": "Exchange identifier, e.g. NYSE, LSE, TSE, HKEX, SSE." },
    "holiday_name": { "type": "string", "description": "Name of the holiday or closure." },
    "date": { "type": "string", "format": "date", "description": "Date of the closure, ISO 8601." },
    "day_of_week": { "type": "string", "description": "Day of week for the closure." },
    "calendar_basis": { "type": "string", "description": "What kind of basis the closure rests on, as recorded: exchange, national_public, or the calendar system where the date is not a fixed national holiday (Gregorian, Lunar, Islamic, floating)." }
  },
  "required": ["country", "market", "holiday_name", "date"]
}
