Holiday API · Schema

Holiday

A public holiday or observance as returned by Holiday API.

CalendarHolidaysPublic HolidaysObservancesReference DataCountriesLanguageWorkdaysBusiness DaysLocalization

Properties

Name Type Description
name string Name of the holiday or observance.
date string Calendar date on which the holiday actually occurs (YYYY-MM-DD).
observed string Calendar date on which the holiday is observed (YYYY-MM-DD).
public boolean Whether the entry is a public holiday.
country string ISO 3166-1 alpha-2 country code, or ISO 3166-2 subdivision code.
uuid string Stable identifier for this holiday across years.
weekday object
subdivisions array List of applicable subdivisions. Empty array means all subdivisions apply.
View JSON Schema on GitHub

JSON Schema

holidays-holiday-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/holidays/main/json-schema/holidays-holiday-schema.json",
  "title": "Holiday",
  "description": "A public holiday or observance as returned by Holiday API.",
  "type": "object",
  "required": ["name", "date", "observed", "public", "country", "uuid", "weekday"],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the holiday or observance."
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "Calendar date on which the holiday actually occurs (YYYY-MM-DD)."
    },
    "observed": {
      "type": "string",
      "format": "date",
      "description": "Calendar date on which the holiday is observed (YYYY-MM-DD)."
    },
    "public": {
      "type": "boolean",
      "description": "Whether the entry is a public holiday."
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, or ISO 3166-2 subdivision code."
    },
    "uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Stable identifier for this holiday across years."
    },
    "weekday": {
      "type": "object",
      "required": ["date", "observed"],
      "properties": {
        "date": {
          "type": "object",
          "required": ["name", "numeric"],
          "properties": {
            "name": {"type": "string"},
            "numeric": {"type": ["string", "integer"]}
          }
        },
        "observed": {
          "type": "object",
          "required": ["name", "numeric"],
          "properties": {
            "name": {"type": "string"},
            "numeric": {"type": ["string", "integer"]}
          }
        }
      }
    },
    "subdivisions": {
      "type": "array",
      "items": {"type": "string"},
      "description": "List of applicable subdivisions. Empty array means all subdivisions apply."
    }
  }
}

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/holidays-holiday"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.