Skip to content

Deel: Get Work Schedule and Holidays — 200 response body — data item holidays item

Get Work Schedule and Holidays: 200 response body, field data / item / holidays / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Get Work Schedule and Holidays — 200 response body — data item holidays item

FieldTypePresenceDescription and constraints
$objectRoot
countrystringOptionalThe ISO 3166-1 alpha-2 country code.
Maximum length: 2
Minimum length: 2
Pattern: ^[A-Z]{2}$
created_by_profile_idJSONOptional
created_by_profile_id (anyOf 1)JSONAlternative
created_by_profile_id (anyOf 1) (anyOf 1)numberAlternativeHRIS profile id of the creator of the holiday
Format: double
created_by_profile_id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
created_by_profile_id (anyOf 2)nullAlternativeHRIS profile id of the creator of the holiday
Format: double
datestringRequired within parentDate of the holiday
Format: date-time
descriptionJSONRequired within parent
description (anyOf 1)stringAlternativeDescription of the holiday
description (anyOf 2)nullAlternativeDescription of the holiday
formatted_datestringRequired within parentFormatted ‘YYYY-MM-DD’ date of the holiday
Format: date
is_every_yearbooleanRequired within parentSets if the holiday is a recurring event
is_mandatorybooleanRequired within parentDescribes if the holiday is mandatory
namestringRequired within parentName of the holiday
name_variationsarrayOptionalAlternative names or labels used to refer to this holiday
name_variations[]stringEach item
parsed_datestringOptionalParsed date time of the holiday
Format: date-time
sourceJSONRequired within parentSource of creation of the holiday
source (anyOf 1)stringAlternativeSource of creation of the holiday
Known values: EXTERNAL, DEEL, ORGANIZATION_CUSTOM, ORGANIZATION_OVERRIDE, ORGANIZATION_CONVERT
source (anyOf 2)nullAlternative
statesarrayOptionalList of states where the holiday is celebrated, if empty it is a country holiday
states[]stringEach item
typestringRequired within parentType of the holiday
Known values: MANDATORY, OPTIONAL, HIDDEN, HOLIDAY, WORKING_DAY

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.