{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/casaintelligence-com-au/json-schema/casaintelligence-com-au-feasibility-compose-request-schema.json",
  "title": "FeasibilityComposeRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/casaintelligence-com-au-casa-daily-feasibility-api-openapi.yml#/components/schemas/FeasibilityComposeRequest",
  "properties": {
    "property_id": {
      "type": "string",
      "title": "Property Id",
      "description": "ci_properties.id (UUID)"
    },
    "dev_type": {
      "type": "string",
      "title": "Dev Type",
      "description": "Development outcome — one of: subdivision, townhouse, duplex, mcu, kdr_single. Drives proposed_lots/dwellings defaults and the application_type categorisation."
    },
    "unit_count": {
      "type": "integer",
      "maximum": 50.0,
      "minimum": 1.0,
      "title": "Unit Count",
      "description": "Number of lots / dwellings proposed.",
      "default": 1
    },
    "proposed_gfa_m2": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Proposed Gfa M2",
      "description": "Optional GFA. Casa Daily can let the user override."
    },
    "proposed_height_m": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Proposed Height M"
    },
    "user_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id",
      "description": "Casa Daily user UUID for attribution / cost tracking."
    }
  },
  "type": "object",
  "required": [
    "property_id",
    "dev_type"
  ]
}