{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buckybuild-com/json-schema/buckybuild-com-resolved-site-schema.json",
  "title": "ResolvedSite",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/buckybuild-com-openapi.json#/components/schemas/ResolvedSite",
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "normalizedAddress": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "input": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "address"
            },
            "address": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "countryBias": {
              "type": "string",
              "enum": [
                "CA",
                "DE",
                "US"
              ]
            }
          },
          "required": [
            "type",
            "address"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "coordinates"
            },
            "lat": {
              "type": "number",
              "minimum": -90,
              "maximum": 90
            },
            "lng": {
              "type": "number",
              "minimum": -180,
              "maximum": 180
            },
            "address": {
              "type": "string",
              "maxLength": 500
            }
          },
          "required": [
            "type",
            "lat",
            "lng"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "lot"
            },
            "lotId": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          "required": [
            "type",
            "lotId"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "geoDivisionId": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "externalId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            },
            "externalIdType": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "type": {
              "type": "string",
              "const": "parcel"
            }
          },
          "required": [
            "geoDivisionId",
            "externalId",
            "type"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "geometry"
            },
            "geometry": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "Polygon",
                    "MultiPolygon"
                  ]
                },
                "coordinates": {}
              },
              "required": [
                "type",
                "coordinates"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "type",
            "geometry"
          ],
          "additionalProperties": false
        }
      ]
    },
    "resolutionMethod": {
      "type": "string",
      "enum": [
        "address_match",
        "point_in_polygon",
        "lot_id",
        "parcel_external_id",
        "geometry"
      ]
    },
    "confidence": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "centroid": {
      "default": null,
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "lat": {
              "type": "number",
              "minimum": -90,
              "maximum": 90
            },
            "lng": {
              "type": "number",
              "minimum": -180,
              "maximum": 180
            }
          },
          "required": [
            "lat",
            "lng"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "selectedParcel": {
      "default": null,
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "lotId": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "externalId": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            },
            "externalIdType": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            },
            "role": {
              "default": "build",
              "type": "string",
              "enum": [
                "build",
                "access",
                "parking",
                "stormwater",
                "open_space",
                "utility",
                "easement",
                "context",
                "excluded"
              ]
            },
            "addressHint": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            },
            "lotNumber": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            },
            "centroid": {
              "default": null,
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "lat": {
                      "type": "number",
                      "minimum": -90,
                      "maximum": 90
                    },
                    "lng": {
                      "type": "number",
                      "minimum": -180,
                      "maximum": 180
                    }
                  },
                  "required": [
                    "lat",
                    "lng"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "boundaryGeojson": {
              "default": null,
              "anyOf": [
                {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "areaSqm": {
              "default": null,
              "type": [
                "number",
                "null"
              ]
            },
            "widthM": {
              "default": null,
              "type": [
                "number",
                "null"
              ]
            },
            "depthM": {
              "default": null,
              "type": [
                "number",
                "null"
              ]
            },
            "dimensionConfidence": {
              "default": null,
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "high",
                    "medium",
                    "low"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "zoneDefinitionId": {
              "default": null,
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "rawCityData": {
              "default": null,
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "assessment": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "building_value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "land_value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "other_value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "total_value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "fiscal_year": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "last_sale": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "date": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "price": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "registry": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "book": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "page": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "reg_id": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "ownershipHint": {
              "default": null,
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "displayName": {
                      "type": "string"
                    },
                    "partyType": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "individual",
                        "corporation",
                        "trust",
                        "government",
                        "unknown"
                      ]
                    },
                    "mailingLine1": {
                      "default": null,
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "mailingCity": {
                      "default": null,
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "mailingRegion": {
                      "default": null,
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "mailingPostalCode": {
                      "default": null,
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "displayName",
                    "partyType",
                    "mailingLine1",
                    "mailingCity",
                    "mailingRegion",
                    "mailingPostalCode"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "lotId",
            "externalId",
            "externalIdType",
            "role",
            "addressHint",
            "lotNumber",
            "centroid",
            "boundaryGeojson",
            "areaSqm",
            "widthM",
            "depthM",
            "dimensionConfidence",
            "zoneDefinitionId",
            "rawCityData",
            "ownershipHint"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "parcelCandidates": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "lotId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "externalId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "externalIdType": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "default": "build",
            "type": "string",
            "enum": [
              "build",
              "access",
              "parking",
              "stormwater",
              "open_space",
              "utility",
              "easement",
              "context",
              "excluded"
            ]
          },
          "addressHint": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "lotNumber": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "centroid": {
            "default": null,
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "number",
                    "minimum": -90,
                    "maximum": 90
                  },
                  "lng": {
                    "type": "number",
                    "minimum": -180,
                    "maximum": 180
                  }
                },
                "required": [
                  "lat",
                  "lng"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "boundaryGeojson": {
            "default": null,
            "anyOf": [
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              {
                "type": "null"
              }
            ]
          },
          "areaSqm": {
            "default": null,
            "type": [
              "number",
              "null"
            ]
          },
          "widthM": {
            "default": null,
            "type": [
              "number",
              "null"
            ]
          },
          "depthM": {
            "default": null,
            "type": [
              "number",
              "null"
            ]
          },
          "dimensionConfidence": {
            "default": null,
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "high",
                  "medium",
                  "low"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "zoneDefinitionId": {
            "default": null,
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "rawCityData": {
            "default": null,
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "assessment": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "building_value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "land_value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "other_value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "total_value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "fiscal_year": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "last_sale": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "date": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "price": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "registry": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "book": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "page": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "reg_id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              {
                "type": "null"
              }
            ]
          },
          "ownershipHint": {
            "default": null,
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "displayName": {
                    "type": "string"
                  },
                  "partyType": {
                    "default": "unknown",
                    "type": "string",
                    "enum": [
                      "individual",
                      "corporation",
                      "trust",
                      "government",
                      "unknown"
                    ]
                  },
                  "mailingLine1": {
                    "default": null,
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mailingCity": {
                    "default": null,
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mailingRegion": {
                    "default": null,
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mailingPostalCode": {
                    "default": null,
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "displayName",
                  "partyType",
                  "mailingLine1",
                  "mailingCity",
                  "mailingRegion",
                  "mailingPostalCode"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "lotId",
          "externalId",
          "externalIdType",
          "role",
          "addressHint",
          "lotNumber",
          "centroid",
          "boundaryGeojson",
          "areaSqm",
          "widthM",
          "depthM",
          "dimensionConfidence",
          "zoneDefinitionId",
          "rawCityData",
          "ownershipHint"
        ],
        "additionalProperties": false
      }
    },
    "jurisdiction": {
      "default": null,
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "parentId": {
              "default": null,
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "name": {
              "type": [
                "string",
                "null"
              ]
            },
            "regionName": {
              "type": [
                "string",
                "null"
              ]
            },
            "countryCode": {
              "type": [
                "string",
                "null"
              ]
            },
            "externalId": {
              "type": [
                "string",
                "null"
              ]
            },
            "slug": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            },
            "adminLevel": {
              "default": null,
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "depth": {
              "default": null,
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "ownsProductDatasets": {
              "default": true,
              "type": "boolean"
            }
          },
          "required": [
            "id",
            "parentId",
            "name",
            "regionName",
            "countryCode",
            "externalId",
            "slug",
            "adminLevel",
            "depth",
            "ownsProductDatasets"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "flaggedAncestorChain": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "parentId": {
            "default": null,
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "regionName": {
            "type": [
              "string",
              "null"
            ]
          },
          "countryCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "adminLevel": {
            "default": null,
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "depth": {
            "default": null,
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "ownsProductDatasets": {
            "default": true,
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "parentId",
          "name",
          "regionName",
          "countryCode",
          "externalId",
          "slug",
          "adminLevel",
          "depth",
          "ownsProductDatasets"
        ],
        "additionalProperties": false
      }
    },
    "namedAreas": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "externalId": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "geoDivisionId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "id",
          "name",
          "slug",
          "kind",
          "externalId",
          "geoDivisionId"
        ],
        "additionalProperties": false
      }
    },
    "zoning": {
      "default": null,
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "zoneAreaId": {
              "default": null,
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "externalId": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            },
            "zoneLabel": {
              "default": null,
              "type": [
                "string",
                "null"
              ]
            },
            "zoneParams": {
              "default": null,
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "f": {
                      "type": "number"
                    },
                    "a": {
                      "type": "number"
                    },
                    "d": {
                      "type": "number"
                    },
                    "u": {
                      "type": "number"
                    },
                    "h": {
                      "type": "number"
                    },
                    "au": {
                      "type": "number"
                    },
                    "c": {
                      "type": "number"
                    },
                    "r": {
                      "type": "number"
                    },
                    "o": {
                      "type": "number"
                    },
                    "e": {
                      "type": "number"
                    },
                    "x": {
                      "type": "number"
                    },
                    "confidence": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "zoneDefinitionId": {
              "default": null,
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "zoneCode": {
              "type": [
                "string",
                "null"
              ]
            },
            "zoneName": {
              "type": [
                "string",
                "null"
              ]
            },
            "zoneCategory": {
              "type": [
                "string",
                "null"
              ]
            },
            "bylawUrl": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "zoneAreaId",
            "externalId",
            "zoneLabel",
            "zoneParams",
            "zoneDefinitionId",
            "zoneCode",
            "zoneName",
            "zoneCategory",
            "bylawUrl"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "coverage": {
      "default": {},
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "warnings": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "severity": {
            "default": "warning",
            "type": "string",
            "enum": [
              "info",
              "warning",
              "error"
            ]
          },
          "details": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "required": [
          "code",
          "message",
          "severity"
        ],
        "additionalProperties": false
      }
    },
    "degraded": {
      "default": false,
      "type": "boolean"
    },
    "generatedAt": {
      "type": "string"
    }
  },
  "required": [
    "siteId",
    "normalizedAddress",
    "input",
    "resolutionMethod",
    "confidence",
    "centroid",
    "selectedParcel",
    "parcelCandidates",
    "jurisdiction",
    "flaggedAncestorChain",
    "namedAreas",
    "zoning",
    "coverage",
    "warnings",
    "degraded",
    "generatedAt"
  ],
  "additionalProperties": false
}