{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-construction-project-schema.json",
  "title": "ConstructionProject",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-echo-api-openapi.yml#/components/schemas/ConstructionProject",
  "required": [
    "externalConstructionProjectId"
  ],
  "type": "object",
  "properties": {
    "constructionProjectId": {
      "type": "integer",
      "format": "int32"
    },
    "organization": {
      "type": [
        "string",
        "null"
      ]
    },
    "targetStartDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "targetEndDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "address": {
      "type": [
        "string",
        "null"
      ]
    },
    "city": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "type": [
        "string",
        "null"
      ]
    },
    "country": {
      "type": [
        "string",
        "null"
      ]
    },
    "longitude": {
      "type": "number",
      "format": "double",
      "readOnly": true
    },
    "latitude": {
      "type": "number",
      "format": "double",
      "readOnly": true
    },
    "projectType": {
      "type": [
        "string",
        "null"
      ]
    },
    "isCcSpecified": {
      "type": "boolean",
      "readOnly": true
    },
    "areaM2": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "monetaryValue": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "currencyCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "stage": {
      "type": [
        "string",
        "null"
      ]
    },
    "externalConstructionProjectId": {
      "minLength": 1,
      "type": "string"
    },
    "externalOwnerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "ownerName": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}