---
id: "it_istat_country_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Italian ISTAT code of a foreign state"
regexp: "^[1-9]\\d{2}$"
categories: ["geo", "government"]
country: ["IT"]
langs: ["it"]
quality: 90
url: "https://registry.apicrafter.io/datatype/it_istat_country_code"
---

# Italian ISTAT code of a foreign state (`it_istat_country_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

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.

- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Italy (IT)
- Languages: Italian (it)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[1-9]\d{2}$
```

## Examples

- `100` — Italy in population registers
- `443`
- `305`
- `IT` (invalid example) — A letter code
- `44` (invalid example) — Two digits

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `itistatcountrycodebyname` (field, `it/it_istat.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Код иностранного государства ISTAT (Италия)

## Sources

- doc: <https://www.istat.it/classificazione/classificazione-degli-stati-esteri/>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/it_istat_country_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IT/geo/it_istat_country_code.yaml>
