FiatDock · Schema

PublicHolidays

Paid. Public holidays by country (and is this date one?).

MarketplaceArtificial IntelligencePaymentsBlockchainCryptocurrencyCompany

Properties

Name Type Description
country string ISO 3166-1 alpha-2 code
year number The year listed
count number Holidays listed for the year
holidays array Every holiday the source lists for the country and year, by date — nationwide and regional, all types
dateChecked stringnull The date asked about (default today, UTC); null when another year was asked without a date
isHoliday booleannull True only when a NATIONWIDE holiday of type Public falls on dateChecked; null when no date was checked
holidaysOnDate array Nationwide holidays on dateChecked, of any type (a Bank-only or School-only day is here but does not set isHoliday)
regionalHolidaysOnDate array Holidays on dateChecked that apply only in some regions
nextHoliday objectnull The first nationwide Public holiday after dateChecked in the same year; null when none remains that year (ask for the next year) or no date was checked
source string Where the calendar came from
asOf string ISO time the source was read (answers are cached up to 12 h)
note string How isHoliday is decided, and what the source does and does not cover
defaulted object Present only when the body was empty: which subject the answer is for, and why
View JSON Schema on GitHub

JSON Schema

fiatdock-com-public-holidays-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fiatdock-com/json-schema/fiatdock-com-public-holidays-schema.json",
  "title": "PublicHolidays",
  "description": "Paid. Public holidays by country (and is this date one?).",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fiatdock-com-openapi.json#/components/schemas/PublicHolidays",
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code"
    },
    "year": {
      "type": "number",
      "description": "The year listed"
    },
    "count": {
      "type": "number",
      "description": "Holidays listed for the year"
    },
    "holidays": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "localName": {
            "type": "string",
            "description": "Name in the country's language"
          },
          "name": {
            "type": "string",
            "description": "Name in English"
          },
          "global": {
            "type": "boolean",
            "description": "True = nationwide; false = only in `regions`"
          },
          "regions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "ISO 3166-2 subdivisions it applies in (empty when nationwide)"
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The source's classification: Public, Bank, School, Authorities, Optional, Observance"
          }
        },
        "required": [
          "date",
          "localName",
          "name",
          "global",
          "regions",
          "types"
        ]
      },
      "description": "Every holiday the source lists for the country and year, by date — nationwide and regional, all types"
    },
    "dateChecked": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date asked about (default today, UTC); null when another year was asked without a date"
    },
    "isHoliday": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True only when a NATIONWIDE holiday of type Public falls on dateChecked; null when no date was checked"
    },
    "holidaysOnDate": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "localName": {
            "type": "string",
            "description": "Name in the country's language"
          },
          "name": {
            "type": "string",
            "description": "Name in English"
          },
          "global": {
            "type": "boolean",
            "description": "True = nationwide; false = only in `regions`"
          },
          "regions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "ISO 3166-2 subdivisions it applies in (empty when nationwide)"
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The source's classification: Public, Bank, School, Authorities, Optional, Observance"
          }
        },
        "required": [
          "date",
          "localName",
          "name",
          "global",
          "regions",
          "types"
        ]
      },
      "description": "Nationwide holidays on dateChecked, of any type (a Bank-only or School-only day is here but does not set isHoliday)"
    },
    "regionalHolidaysOnDate": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "localName": {
            "type": "string",
            "description": "Name in the country's language"
          },
          "name": {
            "type": "string",
            "description": "Name in English"
          },
          "global": {
            "type": "boolean",
            "description": "True = nationwide; false = only in `regions`"
          },
          "regions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "ISO 3166-2 subdivisions it applies in (empty when nationwide)"
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The source's classification: Public, Bank, School, Authorities, Optional, Observance"
          }
        },
        "required": [
          "date",
          "localName",
          "name",
          "global",
          "regions",
          "types"
        ]
      },
      "description": "Holidays on dateChecked that apply only in some regions"
    },
    "nextHoliday": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "date": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "localName": {
          "type": "string",
          "description": "Name in the country's language"
        },
        "name": {
          "type": "string",
          "description": "Name in English"
        },
        "global": {
          "type": "boolean",
          "description": "True = nationwide; false = only in `regions`"
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "ISO 3166-2 subdivisions it applies in (empty when nationwide)"
        },
        "types": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The source's classification: Public, Bank, School, Authorities, Optional, Observance"
        }
      },
      "required": [
        "date",
        "localName",
        "name",
        "global",
        "regions",
        "types"
      ],
      "description": "The first nationwide Public holiday after dateChecked in the same year; null when none remains that year (ask for the next year) or no date was checked"
    },
    "source": {
      "type": "string",
      "description": "Where the calendar came from"
    },
    "asOf": {
      "type": "string",
      "description": "ISO time the source was read (answers are cached up to 12 h)"
    },
    "note": {
      "type": "string",
      "description": "How isHoliday is decided, and what the source does and does not cover"
    },
    "defaulted": {
      "type": "object",
      "properties": {
        "field": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "note": {
          "type": "string"
        }
      },
      "required": [
        "field",
        "to",
        "value",
        "note"
      ],
      "description": "Present only when the body was empty: which subject the answer is for, and why"
    }
  },
  "required": [
    "country",
    "year",
    "count",
    "holidays",
    "dateChecked",
    "isHoliday",
    "holidaysOnDate",
    "regionalHolidaysOnDate",
    "nextHoliday",
    "source",
    "asOf",
    "note"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/fiatdock-com-public-holidays"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.