Datatypes › Sri Lanka › Geographic identifiers › postindex
Sri Lanka postal code
ID lk_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 in Sri Lanka: five digits.
- Pattern of
- Postal code/index
postindex - Categories
- Geographic identifiers, Personally identifiable information, Common
- Countries
- Sri Lanka
- Languages
- Sinhala, Tamil
- Quality
- 75/100 · missing: longer description, mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- validator.js
Regular expression
^\d{5}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 20000 | |
| 00100 | |
| 2000 invalid | too short |
Sources
- wikipedia: Postal codes in Sri Lanka (en.wikipedia.org)
- other: chromium-i18n.appspot.com/ssl-address/data/LK
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/lk_postcode - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/LK/geo/lk_postcode.yamlon GitHub