Portuguese postal code
ID pt_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 (código postal) in Portugal: four digits, a hyphen and three digits. The first four digits name the area, the last three a street or a large customer.
- Pattern of
- Postal code/index
postindex - Categories
- Geographic identifiers, Personally identifiable information, Common
- Countries
- Portugal
- Languages
- Portuguese
- FTA
POSTAL_CODE.POSTAL_CODE_PT- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- FTA (Fast Text Analysis)
Regular expression
^[1-9]\d{3}-\d{3}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 1100-365 | Lisbon |
| 1249-068 | Lisbon |
| 1100365 invalid |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Почтовый индекс Португалии |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Postal_codes_in_Portugal
- other: https://github.com/tsegall/fta/blob/main/SemanticTypes.md
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/pt_postcode - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/PT/geo/pt_postcode.yamlon GitHub