{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-public-holidays-response-schema.json",
  "title": "PublicHolidaysResponse",
  "description": "Result of performing a get public holidays request operation",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-datetime-api-openapi.yml#/components/schemas/PublicHolidaysResponse",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if successful, false otherwise",
      "type": "boolean"
    },
    "PublicHolidays": {
      "description": "Public holidays in the requested country and year",
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicHolidayOccurrence"
      }
    }
  },
  "$defs": {
    "PublicHolidayOccurrence": {
      "description": "Public holiday occurrence",
      "type": "object",
      "properties": {
        "EnglishName": {
          "description": "Name of the holiday in English",
          "type": "string"
        },
        "LocalName": {
          "description": "Local name of the holiday",
          "type": "string"
        },
        "OccurrenceDate": {
          "format": "date-time",
          "description": "Date of the holiday (start time)",
          "type": "string"
        },
        "HolidayType": {
          "description": "Type of the holiday; possible values are: Public, Optional",
          "type": "string"
        },
        "Nationwide": {
          "description": "True if the holiday is celebrated in all locales in the country, false otherwise",
          "type": "boolean"
        }
      }
    }
  }
}