---
id: "tw_passport"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["TW"]
langs: ["zh"]
quality: 75
url: "http://registry.apicrafter.io/datatype/tw_passport"
---

# Taiwanese passport number (`tw_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 passport issued by Taiwan. Microsoft Purview looks for nine digits; numbers of biometric passports start with 3.

- Pattern of: `passport`
- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Taiwan (TW)
- Languages: Chinese (zh)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{9}$
```

## Mappings

- fhir: `http://hl7.org/fhir/sid/passport-TWN`
- purview: `Taiwan passport number`

## Supported by tools

- `awsglue`
- `azureailanguage`
- `microsoftpurview`
- `nightfall`

## Sources

- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-taiwan-passport-number>

## Quality

Score 75/100. Missing: examples, negative example, translation.

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