Deel: Validate time-off request — 200 response body — data dates item
Validate time-off request: 200 response body, field data / dates / item. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Validate time-off request — 200 response body — data dates item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
amount | string | Optional | The amount of time off requested for the date. It uses the same time unit as in the total amount for the time off request. |
date | string | Required within parent | An specific date in the time-off request Format: date |
day_types | array | Optional | The types of leave available for the date. Either FULL_DAY or HALF_DAY. |
day_types[] | string | Each item | The type of leave for the day. Known values: FULL_DAY, HALF_DAY, PERCENTAGE, HOURLY |
holiday_name | string | Optional | The name of the holiday for the date. Only applicable for holidays. Only present when date type is HOLIDAY. |
hours | array | Optional | The maximum allowed number of hours that can be take in this specific date. For example, if there is another leave taking 3 hours in the same date, the maximum allowed hours will be 5 (assuming a work schedule of 8 hours). |
hours[] | string | Each item | |
time_off_percentage | string | Optional | The percentage of time off requested for the date. For example, if the request is for a full day, the percentage will be 1. If it’s for half a day, the percentage will be 0.5. |
type | string | Required within parent | The type of day for the time off request. All dates must follow the same type. Known values: WORKING_DAY, NON_WORKING_DAY, HOLIDAY, FORFAIT_HOUR_DAY |