Calendarific · JSON Structure

Calendarific Holiday Structure

JSON Structure definition of a Calendarific Holiday resource.

Type: object Properties: 10
CalendarPublic APIsHolidaysWorldwideLocalization

CalendarificHoliday is a JSON Structure definition published by Calendarific, describing 10 properties. It conforms to the https://json-structure.org/draft/v0/schema meta-schema.

Properties

name description country date type primary_type canonical_url urlid locations uuid

Meta-schema: https://json-structure.org/draft/v0/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/v0/schema",
  "name": "CalendarificHoliday",
  "type": "object",
  "description": "JSON Structure definition of a Calendarific Holiday resource.",
  "properties": {
    "name": { "type": "string", "description": "Holiday name." },
    "description": { "type": "string", "description": "Holiday description." },
    "country": {
      "type": "object",
      "properties": {
        "id": { "type": "string", "description": "Lowercase ISO-3166 country code." },
        "name": { "type": "string" }
      }
    },
    "date": {
      "type": "object",
      "properties": {
        "iso": { "type": "string", "format": "date" },
        "datetime": {
          "type": "object",
          "properties": {
            "year": { "type": "int32" },
            "month": { "type": "int32" },
            "day": { "type": "int32" }
          }
        }
      }
    },
    "type": { "type": "array", "items": { "type": "string" } },
    "primary_type": { "type": "string" },
    "canonical_url": { "type": "string", "format": "uri" },
    "urlid": { "type": "string" },
    "locations": { "type": "string" },
    "uuid": { "type": "string", "format": "uuid" }
  }
}