{
  "$defs": {
    "Address": {
      "description": "Address defines a globally acceptable set of attributes that describes a postal or fiscal address.",
      "properties": {
        "block": {
          "description": "Block number within the building.",
          "title": "Block",
          "type": "string"
        },
        "code": {
          "description": "Post or ZIP code.",
          "title": "Code",
          "type": "string"
        },
        "coords": {
          "$ref": "https://gobl.org/draft-0/org/coordinates",
          "description": "When the postal address is not sufficient, coordinates help locate the address more precisely.",
          "title": "Coordinates"
        },
        "country": {
          "$ref": "https://gobl.org/draft-0/l10n/country-code",
          "description": "ISO country code.",
          "title": "Country"
        },
        "door": {
          "description": "Door number within the building.",
          "title": "Door",
          "type": "string"
        },
        "floor": {
          "description": "Floor number within the building.",
          "title": "Floor",
          "type": "string"
        },
        "label": {
          "description": "Useful identifier, such as home, work, etc.",
          "title": "Label",
          "type": "string"
        },
        "locality": {
          "description": "Village, town, district, or city, typically inside a region.",
          "title": "Locality",
          "type": "string"
        },
        "meta": {
          "$ref": "https://gobl.org/draft-0/cbc/meta",
          "description": "Any additional semi-structure details about the address.",
          "title": "Meta"
        },
        "num": {
          "description": "House or building number in the street.",
          "title": "Number",
          "type": "string"
        },
        "po_box": {
          "description": "Box number or code for the post office box located at the address.",
          "title": "Post Office Box",
          "type": "string"
        },
        "region": {
          "description": "Province, county, or state, inside a country.",
          "title": "Region",
          "type": "string"
        },
        "street": {
          "description": "First line of street.",
          "title": "Street",
          "type": "string"
        },
        "street_extra": {
          "description": "Additional street address details.",
          "title": "Extended Street",
          "type": "string"
        },
        "uuid": {
          "description": "Universally Unique Identifier.",
          "format": "uuid",
          "title": "UUID",
          "type": "string"
        }
      },
      "required": [
        "locality"
      ],
      "type": "object"
    }
  },
  "$id": "https://gobl.org/draft-0/org/address",
  "$ref": "#/$defs/Address",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}