{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-structure/communications-location-structure.json",
  "description": "Location schema from Avalara API",
  "type": "object",
  "properties": {
    "pcd": {
      "type": "int32",
      "description": "PCode for jurisdiction"
    },
    "ctry": {
      "type": "string",
      "description": "Country ISO code"
    },
    "st": {
      "type": "string",
      "description": "State abbreviation"
    },
    "cty": {
      "type": "string",
      "description": "County name"
    },
    "zip": {
      "type": "string",
      "description": "ZIP code"
    },
    "geo": {
      "type": "boolean",
      "description": "Whether to geocode the address"
    },
    "addr": {
      "type": "string",
      "description": "Street address for geocoding"
    }
  },
  "name": "Location"
}