{
  "id": "jp_passport",
  "kind": "pattern",
  "status": "draft",
  "name": "Japanese passport number",
  "doc": "Number of a passport issued by Japan - two letters followed by seven digits. The first letter shows the passport type (M for a five-year passport, T for a ten-year one).",
  "semantic_type": "passport",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "JP"
  ],
  "langs": [
    "ja"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z]{2}\\d{7}$",
  "examples": [
    {
      "value": "TK123456",
      "description": "only six digits",
      "valid": false
    }
  ],
  "mappings": {
    "fhir": "http://hl7.org/fhir/sid/passport-JPN",
    "google_dlp": "JAPAN_PASSPORT",
    "purview": "Japan passport number"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Japanese_passport"
    },
    {
      "type": "wikipedia",
      "url": "https://ja.wikipedia.org/wiki/%E6%97%A5%E6%9C%AC%E5%9B%BD%E6%97%85%E5%88%B8"
    }
  ],
  "translations": {
    "ja": {
      "name": "旅券番号"
    }
  },
  "detected_by": {
    "tools": [
      "awsglue",
      "azureailanguage",
      "googledlp",
      "ibmguardium",
      "microsoftpurview"
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "examples"
    ]
  },
  "source": {
    "path": "data/datatypes/JP/persons/jp_passport.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/JP/persons/jp_passport.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/JP/persons/jp_passport.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/jp_passport",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/jp_passport.json"
  }
}