{
  "$schema": "http://json-schema.org/draft-04/schema",
  "$license": [
    "https://creativecommons.org/licenses/by-sa/3.0/legalcode",
    "http://www.apache.org/licenses/LICENSE-2.0"
  ],
  "description": "An Address following the convention of http://microformats.org/wiki/hcard",
  "type": "object",
  "properties": {
    "post-office-box": {
      "type": "string"
    },
    "extended-address": {
      "type": "string"
    },
    "street-address": {
      "type": "string"
    },
    "locality": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "postal-code": {
      "type": "string"
    },
    "country-name": {
      "type": "string"
    }
  },
  "dependencies": {
    "post-office-box": [
      "street-address"
    ],
    "extended-address": [
      "street-address"
    ],
    "street-address": [
      "region"
    ],
    "locality": [
      "region"
    ],
    "region": [
      "country-name"
    ]
  },
  "required": [
    "locality",
    "region",
    "country-name"
  ]
}
