---
id: "si_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["SI"]
langs: ["sl"]
quality: 75
url: "http://registry.apicrafter.io/datatype/si_postcode"
---

# Slovenia postal code (`si_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.

Postal code in Slovenia: four digits. In addresses the code may be written after the prefix SI-.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Slovenia (SI)
- Languages: Slovenian (sl)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{4}$
```

## Examples

- `4000`
- `1001`
- `2500`
- `400` (invalid example) — too short

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Postal_codes_in_Slovenia>
- other: <https://chromium-i18n.appspot.com/ssl-address/data/SI>

## Quality

Score 75/100. Missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage.

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