{
  "id": "jp_lg_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Japanese local government code (dantai code)",
  "doc": "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.",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "JP"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{6}$",
  "examples": [
    {
      "value": "261009",
      "description": "Kyoto",
      "valid": true
    },
    {
      "value": "011002",
      "description": "Sapporo",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P429"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://ja.wikipedia.org/wiki/%E5%85%A8%E5%9B%BD%E5%9C%B0%E6%96%B9%E5%85%AC%E5%85%B1%E5%9B%A3%E4%BD%93%E3%82%B3%E3%83%BC%E3%83%89"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P429"
    }
  ],
  "quality": {
    "score": 80,
    "missing": [
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/JP/geo/jp_lg_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/JP/geo/jp_lg_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/JP/geo/jp_lg_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/jp_lg_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/jp_lg_code.json"
  }
}