{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xero/main/json-schema/xero-project-create-or-update-schema.json",
  "title": "ProjectCreateOrUpdate",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xero-project-api-openapi.yml#/components/schemas/ProjectCreateOrUpdate",
  "type": "object",
  "properties": {
    "contactId": {
      "type": "string",
      "format": "uuid",
      "description": "Identifier of the contact this project was created for."
    },
    "name": {
      "type": "string",
      "description": "Name of the project."
    },
    "estimateAmount": {
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "deadlineUtc": {
      "type": "string",
      "format": "date-time",
      "description": "Deadline for the project. UTC Date Time in ISO-8601 format."
    }
  },
  "required": [
    "name"
  ]
}