Workday Payroll · Schema
TimeOffInputCollection
TimeOffInputCollection schema from Workday Payroll Input API
CompensationEnterpriseHuman ResourcesPayrollSaaSTax
Properties
| Name | Type | Description |
|---|---|---|
| data | array | |
| total | integer | Total number of time off inputs |
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-collection-schema.json",
"title": "TimeOffInputCollection",
"description": "TimeOffInputCollection schema from Workday Payroll Input API",
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/$defs/TimeOffInput"
}
},
"total": {
"type": "integer",
"description": "Total number of time off inputs",
"example": 52
}
},
"$defs": {
"TimeOffInput": {
"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
}
}
},
"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"
}
}
}
}
}