{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"holiday.schema.json","title":"Official public or bank holiday (current and next calendar year)","description":"Sources: GOV.UK bank holidays (Open Government Licence v3.0); Etalab jours feries API, data.gouv.fr (Licence Ouverte 2.0); US OPM federal holidays (public domain); Cabinet Office of Japan national holidays CSV (Public Data License 1.0); Ministry of Manpower public holidays on data.gov.sg (Singapore Open Data Licence); data.public.lu legal public holidays (CC0); 1823 Hong Kong public holidays on DATA.GOV.HK; Slovenian Ministry of Public Administration list of holidays on podatki.gov.si (CC BY 4.0); data.gov.mt public and national holidays (CC BY 4.0). Names as published.","type":"object","required":["id","country","region","date","year","local_name","local_language","english_name","type","day_off","authority","source_link","verification","paid_placement","source_id","source_url","retrieved_at"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"Region or country code, date and a short hash of the local name"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2 country code"},"region":{"type":["string","null"],"pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"ISO 3166-2 subdivision code where the holiday applies only there (for example GB-SCT, FR-974); null for nationwide"},"date":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of the holiday as published (ISO 8601); for substitute or observed days, the day published by the source"},"year":{"type":"integer","description":"Calendar year of the date"},"local_name":{"type":"string","minLength":1,"description":"Name in the official language of the source, as published"},"local_language":{"type":"string","description":"BCP 47 language tag of local_name, for example en, fr, ja, sl, mt, zh-Hant"},"english_name":{"type":["string","null"],"description":"English name as published by the source; null where the source publishes no English name"},"type":{"enum":["public","bank","observance"],"description":"public: statutory public or national holiday; bank: UK bank holiday; observance: listed by the source but not a public holiday"},"day_off":{"type":["boolean","null"],"description":"Whether the source states the day is work-free; null where the source does not say"},"notes":{"type":["string","null"],"description":"Notes published with the holiday, for example Substitute day"},"authority":{"type":"string","description":"Government body that publishes the list"},"source_link":{"type":"string","description":"Official page or dataset page of the publication"},"verification":{"const":"official-publication","description":"Copied from the government's own official publication"},"paid_placement":{"const":false,"description":"Always false: no record is paid for or promoted"},"source_id":{"enum":["gov-uk-bank-holidays","fr-etalab-jours-feries","us-opm-federal-holidays","jp-cao-national-holidays","sg-mom-public-holidays","lu-public-holidays","hk-1823-public-holidays","si-mju-holidays","mt-public-holidays","nl-rijksoverheid-feestdagen","ie-wrc-public-holidays","be-werk-feestdagen","es-boe-fiestas-laborales","se-riksdagen-helgdagar"]},"source_url":{"type":"string"},"retrieved_at":{"type":"string","format":"date-time"}}}