Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| descriptor | string | |
| leaveType | object | |
| startDate | string | The start date of the leave. |
| estimatedEndDate | string | The estimated end date of the leave. |
| actualEndDate | string | The actual end date of the leave. |
| status | string | The status of the leave (e.g., In Progress, Completed). |
| lastDayOfWork | string | |
| firstDayOfWork | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LeaveOfAbsence",
"title": "LeaveOfAbsence",
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "abc123"
},
"descriptor": {
"type": "string",
"example": "example_value"
},
"leaveType": {
"$ref": "#/components/schemas/ResourceReference"
},
"startDate": {
"type": "string",
"format": "date",
"description": "The start date of the leave.",
"example": "2026-01-15"
},
"estimatedEndDate": {
"type": "string",
"format": "date",
"description": "The estimated end date of the leave.",
"example": "2026-01-15"
},
"actualEndDate": {
"type": "string",
"format": "date",
"description": "The actual end date of the leave.",
"example": "2026-01-15"
},
"status": {
"type": "string",
"description": "The status of the leave (e.g., In Progress, Completed).",
"example": "example_value"
},
"lastDayOfWork": {
"type": "string",
"format": "date",
"example": "2026-01-15"
},
"firstDayOfWork": {
"type": "string",
"format": "date",
"example": "2026-01-15"
}
}
}