{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Element",
  "title": "Element",
  "externalDocs": {
    "url": "https://developer.xero.com/documentation/api/http-response-codes"
  },
  "properties": {
    "ValidationErrors": {
      "description": "Array of Validation Error message",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      }
    },
    "BatchPaymentID": {
      "description": "Unique ID for batch payment object with validation error",
      "type": "string",
      "format": "uuid"
    },
    "BankTransactionID": {
      "type": "string",
      "format": "uuid"
    },
    "CreditNoteID": {
      "type": "string",
      "format": "uuid"
    },
    "ContactID": {
      "type": "string",
      "format": "uuid"
    },
    "InvoiceID": {
      "type": "string",
      "format": "uuid"
    },
    "ItemID": {
      "type": "string",
      "format": "uuid"
    },
    "PurchaseOrderID": {
      "type": "string",
      "format": "uuid"
    }
  },
  "type": "object"
}