---
id: "uspassport"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["US"]
langs: ["en"]
quality: 45
url: "http://registry.apicrafter.io/datatype/uspassport"
---

# US passport number (`uspassport`)

> **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 US Passport

- Pattern of: `passport`
- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: United States (US)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
[0-9]{9}
```

## Mappings

- fhir: `http://hl7.org/fhir/sid/passport-USA`
- google_dlp: `US_PASSPORT`
- presidio: `US_PASSPORT`
- purview: `U.S./U.K. passport number`, `EU passport number`

## Metacrafter rules

4 rules: 2 match the field name, 2 match values.

- `uspassportfield` (field, `pii/us/us_pii.yaml`)
- `uspassportvalue` (data, `pii/us/us_pii.yaml`)
- `us_persons_uspassportfield` (field, `us/us_persons.yaml`)
- `us_persons_uspassportvalue` (data, `us/us_persons.yaml`)

## Supported by tools

- `amazonmacie`
- `awscomprehend`
- `awsglue`
- `azureailanguage`
- `databricks`
- `googledlp`
- `metacrafter`
- `microsoftpurview`
- `nightfall`
- `openmetadata`
- `presidio`
- `snowflake`

## Sources

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

## Quality

Score 45/100. Missing: description, anchored regexp, examples, negative example, translation.

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