Xero · Schema

InvalidField

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
name string The name of the field that caused the error
reason string The reason the error occurred
View JSON Schema on GitHub

JSON Schema

xero-invalidfield-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InvalidField",
  "title": "InvalidField",
  "type": "object",
  "properties": {
    "name": {
      "description": "The name of the field that caused the error",
      "type": "string",
      "example": "DateOfBirth"
    },
    "reason": {
      "description": "The reason the error occurred",
      "type": "string",
      "example": "The Date of Birth is required."
    }
  }
}