Xero · Schema
LeaveApplication
AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business
Properties
| Name | Type | Description |
|---|---|---|
| LeaveApplicationID | string | The Xero identifier for Payroll Employee |
| EmployeeID | string | The Xero identifier for Payroll Employee |
| LeaveTypeID | string | The Xero identifier for Leave Type |
| Title | string | The title of the leave |
| StartDate | string | Start date of the leave (YYYY-MM-DD) |
| EndDate | string | End date of the leave (YYYY-MM-DD) |
| Description | string | The Description of the Leave |
| PayOutType | object | |
| LeavePeriods | array | |
| UpdatedDateUTC | string | Last modified timestamp |
| ValidationErrors | array | Displays array of validation error messages from the API |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/xero/main/json-schema/xero-leave-application-schema.json",
"title": "LeaveApplication",
"x-generated": "2026-10-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/xero-payrollau-api-openapi.yml#/components/schemas/LeaveApplication",
"type": "object",
"properties": {
"LeaveApplicationID": {
"description": "The Xero identifier for Payroll Employee",
"type": "string",
"format": "uuid"
},
"EmployeeID": {
"description": "The Xero identifier for Payroll Employee",
"type": "string",
"format": "uuid"
},
"LeaveTypeID": {
"description": "The Xero identifier for Leave Type",
"type": "string",
"format": "uuid"
},
"Title": {
"description": "The title of the leave",
"type": "string"
},
"StartDate": {
"description": "Start date of the leave (YYYY-MM-DD)",
"type": "string",
"x-is-msdate": true
},
"EndDate": {
"description": "End date of the leave (YYYY-MM-DD)",
"type": "string",
"x-is-msdate": true
},
"Description": {
"description": "The Description of the Leave",
"type": "string"
},
"PayOutType": {
"$ref": "#/$defs/PayOutType"
},
"LeavePeriods": {
"type": "array",
"items": {
"$ref": "#/$defs/LeavePeriod"
}
},
"UpdatedDateUTC": {
"description": "Last modified timestamp",
"type": "string",
"readOnly": true,
"x-is-msdate-time": true
},
"ValidationErrors": {
"description": "Displays array of validation error messages from the API",
"type": "array",
"items": {
"$ref": "#/$defs/ValidationError"
}
}
},
"$defs": {
"LeavePeriod": {
"type": "object",
"properties": {
"NumberOfUnits": {
"description": "The Number of Units for the leave",
"type": "number",
"format": "double",
"x-is-money": true
},
"PayPeriodEndDate": {
"description": "The Pay Period End Date (YYYY-MM-DD)",
"type": "string",
"x-is-msdate": true
},
"PayPeriodStartDate": {
"description": "The Pay Period Start Date (YYYY-MM-DD)",
"type": "string",
"x-is-msdate": true
},
"LeavePeriodStatus": {
"$ref": "#/$defs/LeavePeriodStatus"
}
}
},
"LeavePeriodStatus": {
"type": "string",
"enum": [
"SCHEDULED",
"PROCESSED",
"REQUESTED",
"REJECTED"
]
},
"PayOutType": {
"description": "How the requested leave will be paid out, e.g. cashed out.",
"type": "string",
"enum": [
"DEFAULT",
"CASHED_OUT"
]
},
"ValidationError": {
"properties": {
"Message": {
"description": "Validation error message",
"type": "string"
}
},
"type": "object"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-leave-application"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.