---
id: "it_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["IT"]
langs: ["it"]
quality: 100
url: "http://registry.apicrafter.io/datatype/it_postcode"
---

# Italian postal code (CAP) (`it_postcode`)

> **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.

Italian postal code (CAP, codice di avviamento postale): five digits. San Marino and Vatican City also use codes from this system.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Italy (IT)
- Languages: Italian (it)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{5}$
```

## Examples

- `00184` — Rome
- `20121` — Milan
- `50122` — Florence
- `0018` (invalid example)

## Mappings

- fta: `POSTAL_CODE.POSTAL_CODE_IT`

## Supported by tools

- `collibra`
- `fta`

## Translations

- ru: Почтовый индекс Италии (CAP)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Postal_codes_in_Italy>
- other: <https://github.com/tsegall/fta/blob/main/SemanticTypes.md>

## Quality

Score 100/100.

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