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

# Bulgarian passport number (`bg_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 Bulgaria. Microsoft Purview looks for nine digits.

- Pattern of: `passport`
- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Bulgaria (BG)
- Languages: Bulgarian (bg)
- Classification: identifier

## Detection

Regular expression (Python `re`):

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

## Mappings

- fhir: `http://hl7.org/fhir/sid/passport-BGR`
- purview: `Bulgaria passport number`, `EU passport number`

## Supported by tools

- `microsoftpurview`
- `snowflake`

## Sources

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

## Quality

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

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