Xero · Schema

Contracts

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
startDate string The contract start date of the employee. This will be locked once an employee has been paid and cannot be changed (YYYY-MM-DD)
employmentStatus object
contractType object
publicKey string The public key of the contract. Public key is required if the intention is to edit an existing contract. If no key is supplied a new contract will be created
isFixedTerm boolean describes whether the contract is fixed term (required if trying to create Fixed term contract)
fixedTermEndDate string The fixed term end date of the employee. Not required if isFixedTerm is false or not provided (required if trying to create Fixed term contract)
developmentalRoleDetails object
View JSON Schema on GitHub

JSON Schema

xero-contracts-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Contracts",
  "title": "Contracts",
  "type": "object",
  "required": [
    "startDate",
    "employmentStatus",
    "contractType"
  ],
  "properties": {
    "startDate": {
      "description": "The contract start date of the employee. This will be locked once an employee has been paid and cannot be changed (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "example": "2024-12-02",
      "x-is-date": true
    },
    "employmentStatus": {
      "$ref": "#/components/schemas/EmploymentStatus"
    },
    "contractType": {
      "$ref": "#/components/schemas/ContractType"
    },
    "publicKey": {
      "description": "The public key of the contract. Public key is required if the intention is to edit an existing contract. If no key is supplied a new contract will be created",
      "type": "string",
      "format": "uuid"
    },
    "isFixedTerm": {
      "description": "describes whether the contract is fixed term (required if trying to create Fixed term contract)",
      "type": "boolean"
    },
    "fixedTermEndDate": {
      "description": "The fixed term end date of the employee. Not required if isFixedTerm is false or not provided (required if trying to create Fixed term contract)",
      "type": "string",
      "format": "date",
      "example": "2025-11-01",
      "x-is-date": true
    },
    "developmentalRoleDetails": {
      "$ref": "#/components/schemas/DevelopmentalRoleDetails"
    }
  }
}

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-contracts"
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.