Workday Payroll · Schema
TimeOffInput
TimeOffInput schema from Workday Payroll Input API
CompensationEnterpriseHuman ResourcesPayrollSaaSTax
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the time off input |
| worker | object | |
| timeOffType | string | Type of time off |
| startDate | string | Start date of time off |
| endDate | string | End date of time off |
| hours | number | Total hours of time off |
| status | string | Current status |
| paid | boolean | Whether the time off is paid |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-time-off-input-schema.json",
"title": "TimeOffInput",
"description": "TimeOffInput schema from Workday Payroll Input API",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the time off input",
"example": "to_w100542_20260415"
},
"worker": {
"$ref": "#/$defs/WorkerRef"
},
"timeOffType": {
"type": "string",
"description": "Type of time off",
"example": "Vacation"
},
"startDate": {
"type": "string",
"format": "date",
"description": "Start date of time off",
"example": "2026-04-30"
},
"endDate": {
"type": "string",
"format": "date",
"description": "End date of time off",
"example": "2026-04-30"
},
"hours": {
"type": "number",
"format": "double",
"description": "Total hours of time off",
"example": 40.0
},
"status": {
"type": "string",
"enum": [
"Pending",
"Approved",
"Processed"
],
"description": "Current status",
"example": "Pending"
},
"paid": {
"type": "boolean",
"description": "Whether the time off is paid",
"example": true
}
},
"$defs": {
"WorkerRef": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Worker identifier",
"example": "w_100542"
},
"descriptor": {
"type": "string",
"description": "Worker display name",
"example": "Weekly USD Pay Group"
}
}
}
}
}