Calendarific · Schema

Holiday

A single holiday entry returned by the Calendarific /holidays endpoint.

CalendarPublic APIsHolidaysWorldwideLocalization

Properties

Name Type Description
name string Human-readable holiday name.
description string Short prose description of the holiday.
country object
date object
type array Classification categories such as 'National holiday', 'Religious', 'Observance', 'Local'.
primary_type string Primary classification of the holiday.
canonical_url string
urlid string
locations string Either 'All' or a comma-separated list of region codes where the holiday applies.
states object Either 'All' or an array of state objects.
uuid string Unique identifier for the holiday (premium parameter).
View JSON Schema on GitHub

JSON Schema

calendarific-holiday-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://calendarific.com/schemas/holiday.json",
  "title": "Holiday",
  "description": "A single holiday entry returned by the Calendarific /holidays endpoint.",
  "type": "object",
  "required": ["name", "date"],
  "properties": {
    "name": {
      "type": "string",
      "description": "Human-readable holiday name."
    },
    "description": {
      "type": "string",
      "description": "Short prose description of the holiday."
    },
    "country": {
      "type": "object",
      "properties": {
        "id": { "type": "string", "description": "Lowercase ISO-3166 alpha-2 country code." },
        "name": { "type": "string", "description": "Country name." }
      }
    },
    "date": {
      "type": "object",
      "required": ["iso"],
      "properties": {
        "iso": { "type": "string", "format": "date", "description": "ISO 8601 date." },
        "datetime": {
          "type": "object",
          "properties": {
            "year": { "type": "integer" },
            "month": { "type": "integer", "minimum": 1, "maximum": 12 },
            "day": { "type": "integer", "minimum": 1, "maximum": 31 }
          }
        }
      }
    },
    "type": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Classification categories such as 'National holiday', 'Religious', 'Observance', 'Local'."
    },
    "primary_type": {
      "type": "string",
      "description": "Primary classification of the holiday."
    },
    "canonical_url": {
      "type": "string",
      "format": "uri"
    },
    "urlid": {
      "type": "string"
    },
    "locations": {
      "type": "string",
      "description": "Either 'All' or a comma-separated list of region codes where the holiday applies."
    },
    "states": {
      "description": "Either 'All' or an array of state objects.",
      "oneOf": [
        { "type": "string" },
        { "type": "array", "items": { "type": "object" } }
      ]
    },
    "uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the holiday (premium parameter)."
    }
  }
}

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/calendarific-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.