{
  "id": "countrycode_alpha3",
  "kind": "pattern",
  "status": "stable",
  "name": "ISO 3166-1 Alpha3 country code",
  "doc": "ISO 3166-1 alpha-3 codes are three-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest.",
  "semantic_type": "country",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "[A-Z]{3}",
  "examples": [
    {
      "value": "RUS",
      "description": "Russia",
      "valid": true
    },
    {
      "value": "DEU",
      "description": "Germany",
      "valid": true
    }
  ],
  "mappings": {
    "fta": "COUNTRY.ISO-3166-3",
    "wikidata": "P298"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P298"
    }
  ],
  "detected_by": {
    "tools": [
      "csvdetective",
      "fta",
      "greatexpectations",
      "ibmknowledgecatalog",
      "metacrafter",
      "metacrafterpro",
      "tableau",
      "talend"
    ],
    "metacrafter_rules": [
      {
        "rule": "iso3166-alpha3",
        "type": "data",
        "match": "text",
        "file": "common/intcodes.yaml"
      },
      {
        "rule": "iso3166-alpha3imprecise",
        "type": "data",
        "match": "text",
        "file": "common/intcodes.yaml"
      }
    ]
  },
  "quality": {
    "score": 80,
    "missing": [
      "anchored regexp",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/countrycode_alpha3.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/countrycode_alpha3.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/countrycode_alpha3.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/countrycode_alpha3",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/countrycode_alpha3.json"
  }
}