{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/domain-group/main/json-schema/domain-group-property-enrichment-v2-property-perils-schema.json",
  "title": "Property.Enrichment.v2.PropertyPerils",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/domain-group-propertyzoningperils-api-openapi.yml#/components/schemas/Property.Enrichment.v2.PropertyPerils",
  "type": "object",
  "properties": {
    "propertyId": {
      "type": "string"
    },
    "addressComponents": {
      "$ref": "#/$defs/Property.Enrichment.v2.AddressBasic"
    },
    "bushfireZone": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "floodZone": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "heritageZone": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "zoning": {
      "type": [
        "string",
        "null"
      ]
    },
    "permittedUse": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Property.Enrichment.v2.AddressBasic": {
      "type": "object",
      "properties": {
        "flatNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "streetNumber": {
          "type": "string"
        },
        "streetName": {
          "type": "string"
        },
        "streetType": {
          "type": [
            "string",
            "null"
          ]
        },
        "streetTypeLong": {
          "type": [
            "string",
            "null"
          ]
        },
        "suburb": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "description": "Address of property"
    }
  }
}