---
id: "my_passport"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["MY"]
langs: ["ms"]
quality: 70
url: "https://registry.apicrafter.io/datatype/my_passport"
---

# Malaysian passport number (`my_passport`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

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.

- Pattern of: `passport`
- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Malaysia (MY)
- Languages: Malay (ms)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[AHK][0-9]{8}$
```

## Examples

- `B12345678` (invalid example) — Letter other than A, H or K

## Supported by tools

- `validatorjs`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Malaysian_passport>

## Quality

Score 70/100. Missing: examples, mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/my_passport.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/MY/persons/my_passport.yaml>
