Variables
description: Provides a description of the holiday and can be
empty.
endDate: Date and time in ISO 8601 format. Use UTC+0 internally if
the time is not specified.
name: Any string, but cannot be empty.
nbOfPeriods: Number of times a holiday is repeated.
-1: Infinite.
1: Default value, only for the given period.
N > 1: Occurs recursively according to the specified number.
startDate: Date and time in ISO 8601 format. Use UTC+0 internally if
the time is not specified.
Example
{
"holidays": [
{
"name": "New Year's Day",
"startDate": "2025-01-01",
"endDate": "2025-01-01",
"description": "lunarNewYear",
"nbOfPeriods": "-1"
},
{
"name": "Chuseok",
"startDate": "2025-10-05T00:00:00Z",
"endDate": "2025-10-07T00:00:00Z",
"description": "thanksGivingDay"
},
{
"name": "A temporary holiday",
"startDate": "2025-10-08T00:00:00Z",
"endDate": "2025-10-09T00:00:00Z",
"description": "replacedHoliday"
}
]
}