Skip to main content

PublicHoliday

Specification of a specific public holiday in case specialDayType is set to publicHoliday.

publicHolidayName object[]required

Multilingual string, represented as an array of SpecificLanguageString objects, each containing a language code (using ISO 639-1:2002) and the translated string

Possible values: >= 1

  • Array [
  • languageLanguageCode (string)required

    ISO 639-1:2002 language code

    Possible values: Value must match regular expression ^[a-z]{2}$

    Example: en
    stringstringrequired

    Translated string

  • ]
  • intersectWithApplicableDaysbooleanrequired

    When [TRUE], the period is the intersection of applicable days and this special day. When [FALSE], the period is the union of applicable days and this special day

    specialDayTypeSpecialDayTypeEnum (string)required

    Collection of special types of days

    • dayBeforePublicHoliday: The day preceding a public holiday
    • dayFollowingPublicHoliday: A day following a public holiday
    • inLieuOfPublicHoliday: A holiday in lieu of a public holiday that falls on a weekend
    • longWeekendDay: A day between a public holiday and the weekend
    • other: Some other special day
    • publicEventDay: A day of a public event. You may use the publicEvent attribute to specify the corresponding event
    • publicHoliday: Public holiday A public holiday in general. You may use the PublicHoliday class to refer on a specific public holiday
    • schoolDay: A school day
    • schoolHolidays: A day within the school holidays

    Possible values: [dayBeforePublicHoliday, dayFollowingPublicHoliday, inLieuOfPublicHoliday, longWeekendDay, other, publicEventDay, publicHoliday, schoolDay, schoolHolidays]

    PublicHoliday
    {
    "publicHolidayName": [
    {
    "language": "en",
    "string": "string"
    }
    ],
    "intersectWithApplicableDays": true,
    "specialDayType": "dayBeforePublicHoliday"
    }