{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/propraven-com/json-schema/propraven-com-zoning-coverage-row-schema.json",
  "title": "ZoningCoverageRow",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/propraven-com-zoning-api-openapi.yml#/components/schemas/ZoningCoverageRow",
  "type": "object",
  "required": [
    "jurisdictionId",
    "jurisdictionName",
    "servingStatus",
    "parcelsMatched",
    "matchRate",
    "distinctCodes",
    "codesWithAttributes",
    "dictionaryCompleteness"
  ],
  "properties": {
    "jurisdictionId": {
      "type": "string"
    },
    "jurisdictionName": {
      "type": "string"
    },
    "jurisdictionType": {
      "type": "string"
    },
    "stateFips": {
      "type": "string"
    },
    "countyFips": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "servingStatus": {
      "type": "string",
      "enum": [
        "served",
        "partial",
        "no_zoning",
        "failed",
        "registered"
      ],
      "description": "served = codes on parcels AND parsed ordinance attributes; partial = codes on parcels, attributes missing or incomplete; no_zoning = the body has no zoning ordinance; failed = could not be collected; registered = not yet attempted."
    },
    "statusReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "statusAsOf": {
      "type": [
        "string",
        "null"
      ]
    },
    "parcelsInJurisdiction": {
      "type": [
        "integer",
        "null"
      ]
    },
    "denominatorMethod": {
      "type": "string",
      "enum": [
        "boundary_centroid",
        "publisher_count",
        "unknown"
      ]
    },
    "parcelsMatched": {
      "type": "integer"
    },
    "parcelsUnmatched": {
      "type": "integer"
    },
    "matchRate": {
      "type": [
        "number",
        "null"
      ]
    },
    "distinctCodes": {
      "type": "integer"
    },
    "overlaysAvailable": {
      "type": "boolean"
    },
    "distinctOverlays": {
      "type": "integer"
    },
    "parcelsWithOverlay": {
      "type": "integer"
    },
    "parcelsSplitZoned": {
      "type": [
        "integer",
        "null"
      ]
    },
    "parcelsWithAttributes": {
      "type": "integer"
    },
    "parcelAttributeRate": {
      "type": [
        "number",
        "null"
      ]
    },
    "codesWithAttributes": {
      "type": "integer"
    },
    "codesMissingAttributes": {
      "type": "integer"
    },
    "dictionaryCompleteness": {
      "type": [
        "number",
        "null"
      ]
    },
    "primarySourceUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "lastHarvestedAt": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}