{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/casaintelligence-com-au/json-schema/casaintelligence-com-au-app-api-v1-desk-orders-order-in-schema.json",
  "title": "OrderIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/casaintelligence-com-au-desk-api-openapi.yml#/components/schemas/app__api__v1__desk_orders__OrderIn",
  "properties": {
    "account_id": {
      "type": "string",
      "title": "Account Id"
    },
    "customer_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Customer Name"
    },
    "email": {
      "type": "string",
      "maxLength": 320,
      "title": "Email"
    },
    "address": {
      "type": "string",
      "maxLength": 400,
      "title": "Address"
    },
    "lga": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Lga"
    },
    "intent": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Intent"
    },
    "report_type": {
      "type": "string",
      "title": "Report Type",
      "default": "preliminary_planning"
    }
  },
  "type": "object",
  "required": [
    "account_id",
    "email",
    "address"
  ]
}