Xero · Schema

LeaveBalance

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
LeaveName string The name of the leave type
LeaveTypeID string Identifier of the leave type (see PayItems)
NumberOfUnits number The balance of the leave available
TypeOfUnits string The type of units as specified by the LeaveType (see PayItems)
View JSON Schema on GitHub

JSON Schema

xero-leavebalance-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LeaveBalance",
  "title": "LeaveBalance",
  "type": "object",
  "properties": {
    "LeaveName": {
      "description": "The name of the leave type",
      "type": "string",
      "example": "Annual Leave"
    },
    "LeaveTypeID": {
      "description": "Identifier of the leave type (see PayItems)",
      "type": "string",
      "example": "544d9292-4329-4512-bfff-a9f15236d776"
    },
    "NumberOfUnits": {
      "description": "The balance of the leave available",
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 81.2602
    },
    "TypeOfUnits": {
      "description": "The type of units as specified by the LeaveType (see PayItems)",
      "type": "string",
      "example": "Hours"
    }
  }
}

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.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-leavebalance"
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 email required.

A second provider on the same verified email joins the account you already have.