{
  "$defs": {
    "Identity": {
      "description": "Identity stores the details required to identify an entity for tax purposes.",
      "properties": {
        "code": {
          "$ref": "https://gobl.org/draft-0/cbc/code",
          "description": "Normalized code shown on the original identity document.",
          "title": "Code"
        },
        "country": {
          "$ref": "https://gobl.org/draft-0/l10n/country-code",
          "description": "ISO country code for Where the tax identity was issued.",
          "title": "Country Code"
        },
        "meta": {
          "$ref": "https://gobl.org/draft-0/cbc/meta",
          "description": "Additional details that may be required.",
          "title": "Meta"
        },
        "type": {
          "$ref": "https://gobl.org/draft-0/cbc/key",
          "description": "Type is set according to the requirements of each regime, some have a single\ntax document type code, others require a choice to be made.",
          "title": "Type"
        },
        "uuid": {
          "description": "Unique universal identity code for this tax identity.",
          "format": "uuid",
          "title": "UUID",
          "type": "string"
        },
        "zone": {
          "$ref": "https://gobl.org/draft-0/l10n/code",
          "description": "DEPRECATED. Zone was removed 2024-03-14 in favour of using tax tags\nand extensions with local data when required. Maintained here to support\ndata migration.",
          "title": "Zone"
        }
      },
      "required": [
        "country"
      ],
      "type": "object"
    }
  },
  "$id": "https://gobl.org/draft-0/tax/identity",
  "$ref": "#/$defs/Identity",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}