Canadian postal code
ID ca_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).
Canadian postal code: six characters in the form A1A 1A1, a letter, a digit and a letter, a space, then a digit, a letter and a digit. The letters D, F, I, O, Q and U are not used, and W and Z do not start a code.
- Pattern of
- Postal code/index
postindex - Categories
- Geographic identifiers, Personally identifiable information, Common
- Countries
- Canada
- Languages
- English, French
- FTA
POSTAL_CODE.POSTAL_CODE_CA- Former IDs
ca_postalcode- Quality
- 100/100
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
ca_pii_postalcodefieldfield, pii/ca/ca_pii.yaml, key ca_postalcode
- Supported by tools
- Collibra Data Classification, FTA (Fast Text Analysis), IBM Knowledge Catalog (IBM watsonx.data intelligence), metacrafter, Snowflake sensitive data classification
Regular expression
^[ABCEGHJ-NPRSTVXY]\d[ABCEGHJ-NPRSTV-Z] ?\d[ABCEGHJ-NPRSTV-Z]\d$
Python re syntax.
Examples
| Value | Description |
|---|---|
| K1A 0B1 | Ottawa |
| H0H 0H0 | Santa Claus, used by Canada Post for letters to him |
| M5V3L9 | Toronto, written without the space |
| W1A 1AA invalid | a UK postcode |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Почтовый индекс Канады |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Postal_codes_in_Canada
- other: https://github.com/tsegall/fta/blob/main/SemanticTypes.md
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/ca_postcode - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/CA/geo/ca_postcode.yamlon GitHub