Postal code/index
ID postindex
DatatypePersonal data (PII)categorical
Postal index/code, unique post identifier used in address
- Categories
- Geographic identifiers, Personally identifiable information, Common
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Microsoft CDM
means.location.postalCode- W3C DPV
pd:PostalCode- Schema.org
postalCode- Wikidata
- P281
- FIBO
- postcode
- Former IDs
postcode- Quality
- 50/100 · missing: longer description, regexp, examples, negative example
- Metacrafter rules
- 23 rules (20 by field name, 3 by value)
arpostcodeknownfield, ar/ar_geo.yaml, key postcodeaupostcodeknownfield, au/au_geo.yaml, key postcodebrcepknownfield, br/br_geo.yaml, key postcodecnpostcodeknownfield, cn/cn_geo.yaml, key postcodepostindexbyfieldfield, common/geo.yamlpostindexknownfield, common/geo.yamlpostindexzipvaluedata, common/geo.yamlczpostcodeknownfield, cz/cz_geo.yaml- and 15 more (see the JSON)
- Supported by tools
- Fides (Fideslang), libpostal, Metabase, metacrafter, metacrafterpro, Metadata Guardian, Oracle Data Safe, Microsoft Power BI, Private AI (Limina), SAS Information Catalog (Quality Knowledge Base), scrubadub, SDV sdtypes (Synthetic Data Vault), Snowflake sensitive data classification, RedGate SQL Data catalog, Tableau, Alteryx Woodwork
Patterns
Specific representations of this datatype.
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| ad_postcode | Andorra postal code PII pattern draft | geo, pii, common | AD | Postal code in Andorra: the letters AD and three digits; the first digit is 1 to 7 and the second is 0. |
| aepostcode | UAE Postal Code pattern draft | geo | AE | Postal code field of addresses in the United Arab Emirates. The UAE have no national postal code system, and Google's address metadata... |
| af_postcode | Afghanistan postal code PII pattern draft | geo, pii, common | AF | Postal code in Afghanistan: four digits. |
| al_postcode | Albania postal code PII pattern draft | geo, pii, common | AL | Postal code in Albania: four digits. |
| ar_postcode | Argentina postal code PII pattern draft | geo, pii, common | AR | Postal code in Argentina: the Código Postal Argentino (CPA) of eight characters, a letter (not I or O), four digits and three letters. |
| at_postcode | Austrian postal code PII pattern draft | geo, pii, common | AT | Postal code (Postleitzahl) in Austria: four digits. The first digit is the region, 1 for Vienna. |
| au_postcode | Australian postcode PII pattern draft | geo, pii, common | AU | Postcode in Australia: four digits. Codes in the Northern Territory start with 0, such as 0800 for Darwin. |
| az_postcode | Azerbaijan postal code PII pattern draft | geo, pii, common | AZ | Postal code in Azerbaijan: four digits. In addresses the code may be written after the prefix AZ. |
| ba_postcode | Bosnia and Herzegovina postal code PII pattern draft | geo, pii, common | BA | Postal code in Bosnia and Herzegovina: five digits. |
| bb_postcode | Barbados postal code PII pattern draft | geo, pii, common | BB | Postal code in Barbados: the letters BB and five digits. |
| bd_postcode | Bangladesh postal code PII pattern draft | geo, pii, common | BD | Postal code in Bangladesh: four digits. |
| be_postcode | Belgian postal code PII pattern | geo, pii, common | BE | Four-digit postal code used in Belgium since 1969; it never starts with 0. The first digit mostly shows the province, though some ranges... |
| bg_postcode | Bulgarian postal code PII pattern draft | geo, pii, common | BG | Postal code (пощенски код) in Bulgaria: four digits, from 1000 for central Sofia. |
| bh_postcode | Bahrain postal code PII pattern draft | geo, pii, common | BH | Postal code in Bahrain: a number of three or four digits from 100 to 1299. |
| bn_postcode | Brunei postal code PII pattern draft | geo, pii, common | BN | Postal code in Brunei: two letters and four digits, optionally separated by a space. |
| br_postcode | Brazilian postal code (CEP) PII pattern draft | geo, pii, common | BR | Brazilian postal code (CEP, Código de Endereçamento Postal): eight digits, usually written as five digits, a hyphen and three digits. |
| bt_postcode | Bhutan postal code PII pattern draft | geo, pii, common | BT | Postal code in Bhutan: five digits. |
| by_postcode | Belarus postal code PII pattern draft | geo, pii, common | BY | Postal code in Belarus: six digits. |
| ca_postcode | Canadian postal code PII pattern draft | geo, pii, common | CA | 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.... |
| ch_postcode | Swiss postal code PII pattern draft | geo, pii, common | CH | Postal code (Postleitzahl, numéro postal) in Switzerland: four digits. Liechtenstein uses the same system. |
| cl_postcode | Chile postal code PII pattern draft | geo, pii, common | CL | Postal code in Chile: seven digits. |
| cn_postcode | Chinese postal code (邮政编码) PII pattern draft | geo, pii, common | CN | Postal code in mainland China: six digits; the first two identify the province-level division. |
| co_postcode | Colombian postal code PII pattern draft | geo, pii, common | CO | Postal code (código postal) in Colombia: six digits. The first two digits are the department, such as 11 for Bogotá and 05 for Antioquia. |
| cu_postcode | Cuba postal code PII pattern draft | geo, pii, common | CU | Postal code in Cuba: five digits. |
| cv_postcode | Cabo Verde postal code PII pattern draft | geo, pii, common | CV | Postal code in Cabo Verde: four digits. |
| cy_postcode | Cyprus postal code PII pattern draft | geo, pii, common | CY | Postal code in Cyprus: four digits. |
| cz_postal_code | Czech postal code (PSČ) PII pattern draft | geo, pii, common | CZ | Poštovní směrovací číslo (PSČ), the five-digit postal code of the Czech Republic, usually written as three and two digits, as in 110 00.... |
| de_postcode | German postal code (Postleitzahl) PII pattern | geo, pii, common | DE | Five-digit postal code (Postleitzahl, PLZ) used in Germany since 1 July 1993, in the range 01001 to 99998. The first digit is the postal... |
| dk_postcode | Danish postal code PII pattern draft | geo, pii, common | DK | Postal code (postnummer) in Denmark: four digits, such as 1050 for central Copenhagen. Greenland uses codes from the same series. |
| do_postcode | Dominican Republic postal code PII pattern draft | geo, pii, common | DO | Postal code in the Dominican Republic: five digits. |
| dz_postcode | Algeria postal code PII pattern draft | geo, pii, common | DZ | Postal code in Algeria: five digits. |
| ec_postcode | Ecuador postal code PII pattern draft | geo, pii, common | EC | Postal code in Ecuador: six digits. |
| ee_postcode | Estonia postal code PII pattern draft | geo, pii, common | EE | Postal code in Estonia: five digits. |
| egpostcode | Egyptian Postal Code pattern draft | geo | EG | Postal code in Egypt. Google's address metadata accepts seven digits, as in 4460232, or five digits; GeoNames lists the five-digit format only. |
| espostcode | Spanish postal code PII pattern draft | geo | ES | Postal code (código postal) in Spain: five digits. The first two digits, 01 to 52, identify one of the 50 provinces or the autonomous... |
| et_postcode | Ethiopia postal code PII pattern draft | geo, pii, common | ET | Postal code in Ethiopia: four digits. |
| fi_postcode | Finnish postal code PII pattern draft | geo, pii, common | FI | Postal code (postinumero) in Finland: five digits. Helsinki codes start with 00. |
| fm_postcode | Micronesia postal code PII pattern draft | geo, pii, common | FM | Postal code in Micronesia: a ZIP code of five digits from 96941 to 96944, optionally followed by a space or hyphen and four more digits. |
| frpostcode | French postal code PII pattern draft | geo | FR | Postal code (code postal) in France, including the overseas departments: five digits. Google's address metadata also accepts a space... |
| gbpostcode | UK postcode pattern | geo | GB | Postcode in the United Kingdom: an outward code (a postcode area of one or two letters and a district of one or two characters) and an... |
| ge_postcode | Georgia postal code PII pattern draft | geo, pii, common | GE | Postal code in Georgia: four digits. |
| gg_postcode | Guernsey postal code PII pattern draft | geo, pii, common | GG | Postal code in Guernsey: the letters GY, a digit and an optional digit or letter, an optional space, then a digit and two letters.... |
| gn_postcode | Guinea postal code PII pattern draft | geo, pii, common | GN | Postal code in Guinea: three digits. |
| gr_postcode | Greece postal code PII pattern draft | geo, pii, common | GR | Postal code in Greece: five digits, written as three digits, a space and two digits; the space may be omitted. |
| gt_postcode | Guatemala postal code PII pattern draft | geo, pii, common | GT | Postal code in Guatemala: five digits. |
| gw_postcode | Guinea-Bissau postal code PII pattern draft | geo, pii, common | GW | Postal code in Guinea-Bissau: four digits. |
| hn_postcode | Honduras postal code PII pattern draft | geo, pii, common | HN | Postal code in Honduras: five digits. |
| hr_postcode | Croatia postal code PII pattern draft | geo, pii, common | HR | Postal code in Croatia: five digits. In addresses the code may be written after the prefix HR-. |
| ht_postcode | Haiti postal code PII pattern draft | geo, pii, common | HT | Postal code in Haiti: four digits. In addresses the code may be written after the prefix HT. |
| hu_postcode | Hungary postal code PII pattern draft | geo, pii, common | HU | Postal code in Hungary: four digits. |
| idpostcode | Indonesian Postal Code pattern | geo | ID | Indonesian postal code (kode pos) |
| ie_postcode | Ireland postal code PII pattern draft | geo, pii, common | IE | Postal code in Ireland: the Eircode, introduced in 2015. It has seven letters and digits, written as a group of three and a group of... |
| il_postcode | Israel postal code PII pattern draft | geo, pii, common | IL | Postal code in Israel: the mikud, seven digits; the five-digit codes used before 2013 are also accepted. |
| im_postcode | Isle of Man postal code PII pattern draft | geo, pii, common | IM | Postal code in Isle of Man: the letters IM, a digit and an optional digit or letter, an optional space, then a digit and two letters. |
| in_postcode | Indian postal code (PIN code) PII pattern draft | geo, pii, common | IN | Postal Index Number (PIN code) in India: six digits, sometimes with a space after the third. The first digit is a postal zone: 1 to 8... |
| iq_postcode | Iraq postal code PII pattern draft | geo, pii, common | IQ | Postal code in Iraq: five digits. |
| ir_postcode | Iran postal code PII pattern draft | geo, pii, common | IR | Postal code in Iran: ten digits, optionally written as two groups of five joined by a hyphen. |
| is_postcode | Iceland postal code PII pattern draft | geo, pii, common | IS | Postal code in Iceland: three digits. |
| it_postcode | Italian postal code (CAP) PII pattern | geo, pii, common | IT | Italian postal code (CAP, codice di avviamento postale): five digits. San Marino and Vatican City also use codes from this system. |
| je_postcode | Jersey postal code PII pattern draft | geo, pii, common | JE | Postal code in Jersey: the letters JE, a digit and an optional digit or letter, an optional space, then a digit and two letters. |
| jo_postcode | Jordan postal code PII pattern draft | geo, pii, common | JO | Postal code in Jordan: five digits. |
| jp_postcode | Japanese postal code PII pattern draft | geo, pii, common | JP | Postal code (郵便番号) in Japan: seven digits, written as three digits, a hyphen and four digits, often after the 〒 mark. |
| ke_postcode | Kenya postal code PII pattern draft | geo, pii, common | KE | Postal code in Kenya: five digits. |
| kg_postcode | Kyrgyzstan postal code PII pattern draft | geo, pii, common | KG | Postal code in Kyrgyzstan: six digits. |
| kh_postcode | Cambodia postal code PII pattern draft | geo, pii, common | KH | Postal code in Cambodia: five or six digits. |
| krpostcode | South Korean postal code pattern | geo | KR | Postal code in South Korea: five digits. |
| kw_postcode | Kuwait postal code PII pattern draft | geo, pii, common | KW | Postal code in Kuwait: five digits. |
| kz_postal_code | Kazakh postal code PII pattern draft | geo, pii, common | KZ | Postal code of Kazakhstan. The rules on postal codes approved by order No. 66 of the Minister of Information and Communications of 29... |
| la_postcode | Laos postal code PII pattern draft | geo, pii, common | LA | Postal code in Laos: five digits. |
| lb_postcode | Lebanon postal code PII pattern draft | geo, pii, common | LB | Postal code in Lebanon: four digits, or eight digits written as two groups of four with an optional space. |
| li_postcode | Liechtenstein postal code PII pattern draft | geo, pii, common | LI | Postal code in Liechtenstein: four digits from 9485 to 9498. In addresses the code may be written after the prefix FL-. Liechtenstein is... |
| lk_postcode | Sri Lanka postal code PII pattern draft | geo, pii, common | LK | Postal code in Sri Lanka: five digits. |
| lr_postcode | Liberia postal code PII pattern draft | geo, pii, common | LR | Postal code in Liberia: four digits. |
| ls_postcode | Lesotho postal code PII pattern draft | geo, pii, common | LS | Postal code in Lesotho: three digits. |
| lt_postcode | Lithuania postal code PII pattern draft | geo, pii, common | LT | Postal code in Lithuania: five digits. In addresses the code may be written after the prefix LT-. |
| lu_postcode | Luxembourg postal code PII pattern draft | geo, pii, common | LU | Postal code in Luxembourg: four digits. In addresses the code may be written after the prefix L-. |
| lv_postcode | Latvia postal code PII pattern draft | geo, pii, common | LV | Postal code in Latvia: the letters LV, a hyphen and four digits. |
| ma_postcode | Morocco postal code PII pattern draft | geo, pii, common | MA | Postal code in Morocco: five digits. |
| mc_postcode | Monaco postal code PII pattern draft | geo, pii, common | MC | Postal code in Monaco: five digits starting with 980. In addresses the code may be written after the prefix MC-. Monaco is part of the... |
| md_postcode | Moldova postal code PII pattern draft | geo, pii, common | MD | Postal code in Moldova: four digits. In addresses the code may be written after the prefix MD-. |
| me_postcode | Montenegro postal code PII pattern draft | geo, pii, common | ME | Postal code in Montenegro: five digits starting with 8. |
| mg_postcode | Madagascar postal code PII pattern draft | geo, pii, common | MG | Postal code in Madagascar: three digits. |
| mh_postcode | Marshall Islands postal code PII pattern draft | geo, pii, common | MH | Postal code in the Marshall Islands: a ZIP code of five digits from 96960 to 96979, optionally followed by a space or hyphen and four... |
| mk_postcode | North Macedonia postal code PII pattern draft | geo, pii, common | MK | Postal code in North Macedonia: four digits. |
| mm_postcode | Myanmar postal code PII pattern draft | geo, pii, common | MM | Postal code in Myanmar: five digits. |
| mn_postcode | Mongolia postal code PII pattern draft | geo, pii, common | MN | Postal code in Mongolia: five digits. |
| mt_postcode | Malta postal code PII pattern draft | geo, pii, common | MT | Postal code in Malta: three letters and four digits, optionally separated by a space; codes in the format used before 2007 have two digits. |
| mu_postcode | Mauritius postal code PII pattern draft | geo, pii, common | MU | Postal code in Mauritius: five digits, or three digits, two letters and three digits. |
| mv_postcode | Maldives postal code PII pattern draft | geo, pii, common | MV | Postal code in Maldives: five digits. |
| mx_postcode | Mexican postal code PII pattern draft | geo, pii, common | MX | Postal code (código postal) in Mexico: five digits. The first two digits identify the state; codes of Mexico City start with 01 to 16. |
| my_postcode | Malaysia postal code PII pattern draft | geo, pii, common | MY | Postal code in Malaysia: five digits. |
| mz_postcode | Mozambique postal code PII pattern draft | geo, pii, common | MZ | Postal code in Mozambique: four digits. |
| na_postcode | Namibia postal code PII pattern draft | geo, pii, common | NA | Postal code in Namibia: five digits. |
| ne_postcode | Niger postal code PII pattern draft | geo, pii, common | NE | Postal code in Niger: four digits. |
| ng_postcode | Nigeria postal code PII pattern draft | geo, pii, common | NG | Postal code in Nigeria: six digits. |
| ni_postcode | Nicaragua postal code PII pattern draft | geo, pii, common | NI | Postal code in Nicaragua: five digits. |
| no_postcode | Norwegian postal code PII pattern draft | geo, pii, common | NO | Postal code (postnummer) in Norway: four digits. Oslo codes start with 0. |
| np_postcode | Nepal postal code PII pattern draft | geo, pii, common | NP | Postal code in Nepal: five digits. |
| nz_postcode | New Zealand postal code PII pattern draft | geo, pii, common | NZ | Postal code in New Zealand: four digits. |
| om_postcode | Oman postal code PII pattern draft | geo, pii, common | OM | Postal code in Oman: three digits, optionally preceded by PC and a space. |
| pe_postcode | Peru postal code PII pattern draft | geo, pii, common | PE | Postal code in Peru: five digits starting with 0, 1 or 2; the older codes of Lima and Callao, such as LIMA 23 or CALLAO 2, are also accepted. |
| pg_postcode | Papua New Guinea postal code PII pattern draft | geo, pii, common | PG | Postal code in Papua New Guinea: three digits. |
| ph_postcode | Philippines postal code PII pattern draft | geo, pii, common | PH | Postal code in the Philippines: the ZIP code, four digits. |
| pk_postcode | Pakistan postal code PII pattern draft | geo, pii, common | PK | Postal code in Pakistan: five digits. |
| plpostcode | Polish postal code pattern | geo | PL | Postal code (kod pocztowy) in Poland: two digits, a hyphen and three digits, as in 00-950. |
| pt_postcode | Portuguese postal code PII pattern draft | geo, pii, common | PT | 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... |
| pw_postcode | Palau postal code PII pattern draft | geo, pii, common | PW | Postal code in Palau: a ZIP code, 96939 or 96940, optionally followed by a space or hyphen and four more digits. |
| py_postcode | Paraguay postal code PII pattern draft | geo, pii, common | PY | Postal code in Paraguay: six digits. |
| ro_postcode | Romanian postal code PII pattern draft | geo, pii, common | RO | Postal code (cod poștal) in Romania: six digits, used since 2003. Bucharest codes start with 0, and their second digit is the sector. |
| ruspostalcode | Russian postal code PII pattern draft | geo | RU | 6 digits postal codes used in Russian Federation |
| sapostcode | Saudi postal code pattern | geo | SA | Postal code in Saudi Arabia: five digits. |
| sd_postcode | Sudan postal code PII pattern draft | geo, pii, common | SD | Postal code in Sudan: five digits. |
| se_postcode | Swedish postal code PII pattern draft | geo, pii, common | SE | Postal code (postnummer) in Sweden: five digits, written as three digits, a space and two digits. |
| sg_postcode | Singapore postal code PII pattern draft | geo, pii, common | SG | Postal code in Singapore: six digits. |
| si_postcode | Slovenia postal code PII pattern draft | geo, pii, common | SI | Postal code in Slovenia: four digits. In addresses the code may be written after the prefix SI-. |
| sk_postcode | Slovakia postal code PII pattern draft | geo, pii, common | SK | Postal code in Slovakia: five digits, written as three digits, a space and two digits; the space may be omitted. |
| sm_postcode | San Marino postal code PII pattern draft | geo, pii, common | SM | Postal code in San Marino: five digits from 47890 to 47899. San Marino is part of the Italian postal code system. |
| sn_postcode | Senegal postal code PII pattern draft | geo, pii, common | SN | Postal code in Senegal: five digits. |
| so_postcode | Somalia postal code PII pattern draft | geo, pii, common | SO | Postal code in Somalia: two letters and five digits, optionally separated by a space. |
| sv_postcode | El Salvador postal code PII pattern draft | geo, pii, common | SV | Postal code in El Salvador: four digits; the first is 1 to 3, the second 1 to 7 and the third 0 to 2. |
| sz_postcode | Eswatini postal code PII pattern draft | geo, pii, common | SZ | Postal code in Eswatini: a letter (H, L, M or S) and three digits. |
| thpostcode | Thai postal code pattern | geo | TH | Postal code in Thailand: five digits. |
| tj_postcode | Tajikistan postal code PII pattern draft | geo, pii, common | TJ | Postal code in Tajikistan: six digits. |
| tm_postcode | Turkmenistan postal code PII pattern draft | geo, pii, common | TM | Postal code in Turkmenistan: six digits. |
| tn_postcode | Tunisia postal code PII pattern draft | geo, pii, common | TN | Postal code in Tunisia: four digits. |
| trpostcode | Turkish postal code pattern | geo | TR | Postal code (posta kodu) in Turkey: five digits. |
| tt_postcode | Trinidad and Tobago postal code PII pattern draft | geo, pii, common | TT | Postal code in Trinidad and Tobago: six digits. |
| tw_postcode | Taiwan postal code PII pattern draft | geo, pii, common | TW | Postal code in Taiwan: three digits for the township or district, optionally followed by two or three more digits. |
| ua_postcode | Ukraine postal code PII pattern draft | geo, pii, common | UA | Postal code in Ukraine: five digits. |
| ukpostalcode | UK Postal code PII pattern | geo | GB | Postal codes used in the United Kingdom, British Overseas Territories and Crown dependencies are known as postcodes (originally, postal codes). |
| us_zip_plus4 | US ZIP+4 code PII pattern draft | geo, pii, common | US | US postal code in the ZIP+4 format - a five-digit ZIP Code, a hyphen and four digits for the sector and segment, which narrow the... |
| uszipcode | US Postal code PII pattern | geo | US | A ZIP Code is a postal code used by the United States Postal Service (USPS). Introduced in 1963, the basic format consisted of five... |
| uy_postcode | Uruguayan postal code PII pattern draft | geo, pii, common | UY | Postal code (código postal) in Uruguay: five digits. Montevideo codes start with 11 or 12. |
| uz_postcode | Uzbekistan postal code PII pattern draft | geo, pii, common | UZ | Postal code in Uzbekistan: six digits. |
| va_postcode | Vatican City postal code PII pattern draft | geo, pii, common | VA | Postal code in Vatican City: a single code, 00120. Vatican City is part of the Italian postal code system. |
| vc_postcode | Saint Vincent and the Grenadines postal code PII pattern draft | geo, pii, common | VC | Postal code in Saint Vincent and the Grenadines: the letters VC and four digits. |
| ve_postcode | Venezuela postal code PII pattern draft | geo, pii, common | VE | Postal code in Venezuela: four digits. |
| vnpostcode | Vietnamese postal code pattern | geo | VN | Postal code in Vietnam: five digits in the current system. Google's address metadata also accepts six digits, and GeoNames lists the... |
| za_postcode | South Africa postal code PII pattern draft | geo, pii, common | ZA | Postal code in South Africa: four digits. |
| zm_postcode | Zambia postal code PII pattern draft | geo, pii, common | ZM | Postal code in Zambia: five digits. |
Child datatypes
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| nl_postcode | Dutch postal code PII | geo | NL | Postcode in the Netherlands: four digits, the first not 0, a space and two capital letters, from 1000 AA upwards. The letter pairs SA,... |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Почтовый индекс | Индекс почтовой связи |
Sources
- wikidata: https://www.wikidata.org/wiki/Property:P281
- schema.org: https://schema.org/postalCode
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/postindex - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/postindex.yamlon GitHub