Xero · Schema
EmployeeStatutoryLeaveSummary
AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business
Properties
| Name | Type | Description |
|---|---|---|
| statutoryLeaveID | string | The unique identifier (guid) of a statutory leave. |
| employeeID | string | The unique identifier (guid) of the employee |
| type | string | The category of statutory leave |
| startDate | string | The date when the leave starts |
| endDate | string | The date when the leave ends |
| isEntitled | boolean | Whether the leave was entitled to receive payment |
| status | string | The status of the leave |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/EmployeeStatutoryLeaveSummary",
"title": "EmployeeStatutoryLeaveSummary",
"type": "object",
"properties": {
"statutoryLeaveID": {
"description": "The unique identifier (guid) of a statutory leave.",
"type": "string",
"format": "uuid"
},
"employeeID": {
"description": "The unique identifier (guid) of the employee",
"type": "string",
"format": "uuid"
},
"type": {
"description": "The category of statutory leave",
"type": "string",
"enum": [
"Sick",
"Adoption",
"Maternity",
"Paternity",
"Sharedparental"
]
},
"startDate": {
"description": "The date when the leave starts",
"type": "string",
"format": "date",
"x-is-date": true
},
"endDate": {
"description": "The date when the leave ends",
"type": "string",
"format": "date",
"x-is-date": true
},
"isEntitled": {
"description": "Whether the leave was entitled to receive payment",
"type": "boolean"
},
"status": {
"description": "The status of the leave",
"type": "string",
"enum": [
"Pending",
"In-Progress",
"Completed"
]
}
}
}