Datatypes › Japan › Geographic identifiers
Japanese local government code (dantai code)
ID jp_lg_code
DatatypeNot PIIidentifierDraft
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).
Six-digit code of a Japanese prefecture or municipality defined by the Ministry of Internal Affairs and Communications (JIS X 0402 plus a check digit). The first two digits are the prefecture.
- Categories
- Geographic identifiers, Government related
- Countries
- Japan
- Languages
- Common to most languages
- Wikidata
- P429
- Quality
- 90/100 · missing: negative example, translation
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
jplgcodeknownfield, jp/jp_geo.yaml
- Supported by tools
- metacrafter
Regular expression
^\d{6}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 261009 | Kyoto |
| 011002 | Sapporo |
Sources
- wikipedia: 全国地方公共団体コード (ja.wikipedia.org)
- wikidata: wikidata.org/wiki/Property:P429
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/jp_lg_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/JP/geo/jp_lg_code.yamlon GitHub