{
  "id": "jp_prefecture_code",
  "kind": "pattern",
  "status": "draft",
  "name": "Japanese prefecture code (JIS X 0401)",
  "doc": "Two-digit code of a Japanese prefecture from JIS X 0401, from 01 (Hokkaido) to 47 (Okinawa), for example 13 for Tokyo. ISO 3166-2:JP uses the same number after JP-.",
  "semantic_type": "prefecture",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "JP"
  ],
  "classification": "identifier",
  "regexp": "^(?:0[1-9]|[1-3]\\d|4[0-7])$",
  "examples": [
    {
      "value": "01",
      "description": "Hokkaido",
      "valid": true
    },
    {
      "value": "13",
      "description": "Tokyo",
      "valid": true
    },
    {
      "value": "27",
      "description": "Osaka",
      "valid": true
    },
    {
      "value": "48",
      "valid": false
    }
  ],
  "mappings": {
    "fta": "STATE_PROVINCE.PREFECTURE_CODE_JA"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Prefectures_of_Japan"
    },
    {
      "type": "other",
      "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код префектуры Японии (JIS X 0401)"
    }
  },
  "detected_by": {
    "tools": [
      "fta"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/JP/geo/jp_prefecture_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/JP/geo/jp_prefecture_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/JP/geo/jp_prefecture_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/jp_prefecture_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/jp_prefecture_code.json"
  }
}