{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/precisely-apis/main/json-schema/precisely-apis-poi-boundary-schema.json",
  "title": "poiBoundary",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/precisely-apis-zones-api-openapi.yml#/components/schemas/poiBoundary",
  "properties": {
    "objectId": {
      "type": "string"
    },
    "center": {
      "$ref": "#/$defs/Center"
    },
    "countyfips": {
      "type": "string"
    },
    "geometry": {
      "$ref": "#/$defs/ZonesPoiGeometry"
    },
    "poiList": {
      "items": {
        "$ref": "#/$defs/ZonesPoi"
      },
      "type": "array"
    },
    "matchedAddress": {
      "$ref": "#/$defs/ZonesAddress"
    },
    "id": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "Category": {
      "properties": {
        "categoryCode": {
          "type": "string"
        },
        "tradeDivision": {
          "type": "string"
        },
        "tradeGroup": {
          "type": "string"
        },
        "subClass": {
          "type": "string"
        },
        "class": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "Center": {
      "properties": {
        "type": {
          "type": "string"
        },
        "coordinates": {
          "items": {
            "format": "double",
            "type": "number"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "EmployeeCount": {
      "properties": {
        "inLocalBranch": {
          "type": "string"
        },
        "inOrganization": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "GeometryCRC": {
      "properties": {
        "type": {
          "type": "string"
        },
        "properties": {
          "$ref": "#/$defs/GeometryProperties"
        }
      },
      "type": "object"
    },
    "GeometryProperties": {
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ZonesAddress": {
      "properties": {
        "objectId": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "streetSide": {
          "type": "string"
        },
        "businessName": {
          "type": "string"
        },
        "addressLine1": {
          "type": "string"
        },
        "addressLine2": {
          "type": "string"
        },
        "addressLine3": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "stateProvince": {
          "type": "string"
        },
        "county": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "latitude": {
          "type": "string"
        },
        "longitude": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "urbanizationName": {
          "type": "string"
        },
        "formattedAddress": {
          "type": "string"
        },
        "mainAddressLine": {
          "type": "string"
        },
        "addressLastLine": {
          "type": "string"
        },
        "placeName": {
          "type": "string"
        },
        "areaName1": {
          "type": "string"
        },
        "areaName2": {
          "type": "string"
        },
        "areaName3": {
          "type": "string"
        },
        "areaName4": {
          "type": "string"
        },
        "postCode": {
          "type": "string"
        },
        "postCodeExt": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "addressNumber": {
          "type": "string"
        },
        "streetName": {
          "type": "string"
        },
        "unitType": {
          "type": "string"
        },
        "unitValue": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ZonesContactDetails": {
      "properties": {
        "address": {
          "$ref": "#/$defs/ZonesAddress"
        },
        "propertyAddress": {
          "$ref": "#/$defs/ZonesAddress"
        }
      },
      "type": "object"
    },
    "ZonesParentBusiness": {
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ZonesPoi": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "brandName": {
          "type": "string"
        },
        "tradeName": {
          "type": "string"
        },
        "franchiseName": {
          "type": "string"
        },
        "open24Hours": {
          "type": "string"
        },
        "contactDetails": {
          "$ref": "#/$defs/ZonesContactDetails"
        },
        "poiClassification": {
          "$ref": "#/$defs/ZonesPoiClassification"
        },
        "employeeCount": {
          "$ref": "#/$defs/EmployeeCount"
        },
        "organizationStatusCode": {
          "type": "string"
        },
        "organizationStatusCodeDescription": {
          "type": "string"
        },
        "parentBusiness": {
          "$ref": "#/$defs/ZonesParentBusiness"
        },
        "tickerSymbol": {
          "type": "string"
        },
        "exchangeName": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ZonesPoiClassification": {
      "properties": {
        "sic": {
          "$ref": "#/$defs/ZonesSic"
        },
        "category": {
          "$ref": "#/$defs/Category"
        },
        "alternateIndustryCode": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ZonesPoiGeometry": {
      "properties": {
        "type": {
          "type": "string"
        },
        "crs": {
          "$ref": "#/$defs/GeometryCRC"
        },
        "coordinates": {
          "type": "object"
        }
      },
      "type": "object"
    },
    "ZonesSic": {
      "properties": {
        "businessLine": {
          "type": "string"
        },
        "sicCode": {
          "type": "string"
        },
        "sicCodeDescription": {
          "type": "string"
        },
        "primarySicCode": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}