Datatypes › Sweden › Geographic identifiers › postindex
Swedish postal code
ID se_postcode
Pattern of postindexPersonal data (PII)categoricalDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Postal code (postnummer) in Sweden: five digits, written as three digits, a space and two digits.
- Pattern of
- Postal code/index
postindex - Categories
- Geographic identifiers, Personally identifiable information, Common
- Countries
- Sweden
- Languages
- Swedish
- FTA
POSTAL_CODE.POSTAL_CODE_SE- python-stdnum
stdnum.se.postnummer- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- FTA (Fast Text Analysis), python-stdnum, validator.js
Regular expression
^[1-9]\d{2} ?\d{2}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 111 20 | Stockholm |
| 211 20 | Malmö |
| 11120 | written without the space |
| 011 20 invalid |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Почтовый индекс Швеции |
Sources
- wikipedia: Postal codes in Sweden (en.wikipedia.org)
- other: github.com/tsegall/fta/blob/main/SemanticTypes.md
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/se_postcode - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/SE/geo/se_postcode.yamlon GitHub