Datatypes › Switzerland › Geographic identifiers › postindex
Swiss postal code
ID ch_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 (Postleitzahl, numéro postal) in Switzerland: four digits. Liechtenstein uses the same system.
- Pattern of
- Postal code/index
postindex - Categories
- Geographic identifiers, Personally identifiable information, Common
- Countries
- Switzerland
- Languages
- German, French, Italian
- FTA
POSTAL_CODE.POSTAL_CODE_CH- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- FTA (Fast Text Analysis), Snowflake sensitive data classification, validator.js
Regular expression
^[1-9]\d{3}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 8001 | Zürich |
| 3011 | Bern |
| 1201 | Geneva |
| 0800 invalid |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Почтовый индекс Швейцарии |
Sources
- wikipedia: Postal codes in Switzerland (en.wikipedia.org)
- other: github.com/tsegall/fta/blob/main/SemanticTypes.md
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/ch_postcode - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/CH/geo/ch_postcode.yamlon GitHub