Datatypes › Thailand › Geographic identifiers › postindex
Thai postal code
ID thpostcode
Pattern of postindexNot PIIidentifier
Postal code in Thailand: five digits.
- Pattern of
- Postal code/index
postindex - Categories
- Geographic identifiers
- Countries
- Thailand
- Languages
- Thai
- W3C DPV
pd:PostalCode- Schema.org
postalCode- Quality
- 85/100 · missing: longer description, translation
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
thpostcodefieldfield, th/th_geo.yaml
- Supported by tools
- metacrafter, validator.js
Regular expression
^\d{5}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 10150 | |
| 10210 | |
| 1015 invalid | too short |
Sources
- wikipedia: Postal codes in Thailand (en.wikipedia.org)
- other: chromium-i18n.appspot.com/ssl-address/data/TH
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/thpostcode - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/TH/geo/thpostcode.yamlon GitHub