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:
enstringstringrequired
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 holidaydayFollowingPublicHoliday: A day following a public holidayinLieuOfPublicHoliday: A holiday in lieu of a public holiday that falls on a weekendlongWeekendDay: A day between a public holiday and the weekendother: Some other special daypublicEventDay: A day of a public event. You may use the publicEvent attribute to specify the corresponding eventpublicHoliday: Public holiday A public holiday in general. You may use the PublicHoliday class to refer on a specific public holidayschoolDay: A school dayschoolHolidays: 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"
}