{
  "id": "iso3166code",
  "kind": "datatype",
  "status": "stable",
  "name": "identifier for a country subdivision per ISO 3166-2",
  "doc": "identifier for a country subdivision per ISO 3166-2 (include country code)",
  "patterns": [
    "be_subdivision_code",
    "cz_region_code",
    "nl_province_code"
  ],
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z]{2}-[A-Z0-9]{1,3}$",
  "examples": [
    {
      "value": "BE-VWV",
      "description": "West Flanders",
      "valid": true
    },
    {
      "value": "US-AL",
      "description": "Alabama",
      "valid": true
    },
    {
      "value": "AT-4",
      "description": "Upper Austria",
      "valid": true
    }
  ],
  "mappings": {
    "fta": "STATE_PROVINCE.PREFECTURE_ISO_JA",
    "wikidata": "P300"
  },
  "links": [
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P300"
    }
  ],
  "detected_by": {
    "tools": [
      "fta",
      "ibmknowledgecatalog",
      "woodwork"
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/iso3166code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/iso3166code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/iso3166code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/iso3166code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/iso3166code.json"
  }
}