Xero · Schema

ProjectCreateOrUpdate

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
contactId string Identifier of the contact this project was created for.
name string Name of the project.
estimateAmount number
deadlineUtc string Deadline for the project. UTC Date Time in ISO-8601 format.
View JSON Schema on GitHub

JSON Schema

xero-projectcreateorupdate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProjectCreateOrUpdate",
  "title": "ProjectCreateOrUpdate",
  "externalDocs": {
    "url": "https://developer.xero.com/documentation/projects/projects"
  },
  "type": "object",
  "properties": {
    "contactId": {
      "externalDocs": {
        "url": "https://developer.xero.com/documentation/api/contacts"
      },
      "type": "string",
      "format": "uuid",
      "example": "01234567-89ab-cdef-0123-456789abcdef",
      "description": "Identifier of the contact this project was created for."
    },
    "name": {
      "type": "string",
      "example": "New Kitchen",
      "description": "Name of the project."
    },
    "estimateAmount": {
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 1.0
    },
    "deadlineUtc": {
      "type": "string",
      "format": "date-time",
      "example": "2019-12-10T12:59:59Z",
      "description": "Deadline for the project. UTC Date Time in ISO-8601 format."
    }
  },
  "required": [
    "name"
  ]
}