{
  "id": "my_passport",
  "kind": "pattern",
  "status": "draft",
  "name": "Malaysian passport number",
  "doc": "Number of a Malaysian passport: a letter followed by eight digits. The letter shows the bearer's residency: A for Peninsular Malaysia and Labuan, H for Sabah and K for Sarawak. Passports with the prefix E, issued to Singapore citizens in 1964 and 1965, are not covered.",
  "semantic_type": "passport",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "MY"
  ],
  "langs": [
    "ms"
  ],
  "classification": "identifier",
  "regexp": "^[AHK][0-9]{8}$",
  "examples": [
    {
      "value": "B12345678",
      "description": "Letter other than A, H or K",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Malaysian_passport"
    }
  ],
  "detected_by": {
    "tools": [
      "validatorjs"
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "examples",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/MY/persons/my_passport.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/MY/persons/my_passport.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/MY/persons/my_passport.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/my_passport",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/my_passport.json"
  }
}