Datatypes › Iran › Geographic identifiers › postindex
Iran postal code
ID ir_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 Iran: ten digits, optionally written as two groups of five joined by a hyphen.
- Pattern of
- Postal code/index
postindex - Categories
- Geographic identifiers, Personally identifiable information, Common
- Countries
- Iran
- Languages
- Persian
- Quality
- 71/100 · missing: second example, authoritative source link, mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- validator.js
Regular expression
^\d{5}-?\d{5}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 11936-12345 | |
| 11936-1234 invalid | too short |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/ir_postcode - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/IR/geo/ir_postcode.yamlon GitHub