{
  "id": "it_istat_country_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Italian ISTAT code of a foreign state",
  "doc": "Three-digit code of a state in the ISTAT classification of foreign states, used for citizenship and place of birth in Italian population registers and statistics; the first digit is the continent (2 Europe, 3 Asia, 4 Africa, 5 North and Central America, 6 South America, 7 Oceania). Registers write 100 for Italy.",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "IT"
  ],
  "langs": [
    "it"
  ],
  "classification": "identifier",
  "regexp": "^[1-9]\\d{2}$",
  "examples": [
    {
      "value": "100",
      "description": "Italy in population registers",
      "valid": true
    },
    {
      "value": "443",
      "valid": true
    },
    {
      "value": "305",
      "valid": true
    },
    {
      "value": "IT",
      "description": "A letter code",
      "valid": false
    },
    {
      "value": "44",
      "description": "Two digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.istat.it/classificazione/classificazione-degli-stati-esteri/"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код иностранного государства ISTAT (Италия)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "itistatcountrycodebyname",
        "type": "field",
        "match": "regex",
        "file": "it/it_istat.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/IT/geo/it_istat_country_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/IT/geo/it_istat_country_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IT/geo/it_istat_country_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/it_istat_country_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/it_istat_country_code.json"
  }
}