---
id: "ukdriverlic"
kind: "datatype"
status: "stable"
is_pii: true
categories: ["pii", "persons"]
country: ["GB"]
langs: ["en"]
quality: 75
url: "http://registry.apicrafter.io/datatype/ukdriverlic"
---

# UK driver license number (`ukdriverlic`)

In the United Kingdom, a driving licence is the official document which authorises its holder to operate motor vehicles on highways and other public roads.

- Parent datatype: `driver_license`
- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z9]{5}\d{6}[A-Z9]{2}\d[A-Z]{2}$
```

## Mappings

- dpv: `pd:OfficialID`
- purview: `U.K. drivers license number`, `EU drivers license number`

## Metacrafter rules

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

- `ukdriverlicfield` (field, `gb/gb_persons.yaml`)
- `ukdriverlicvalue` (data, `gb/gb_persons.yaml`)
- `gb_pii_ukdriverlicfield` (field, `pii/gb/gb_pii.yaml`)
- `gb_pii_ukdriverlicvalue` (data, `pii/gb/gb_pii.yaml`)

## Supported by tools

- `amazonmacie`
- `awsglue`
- `azureailanguage`
- `collibra`
- `ibmguardium`
- `metacrafter`
- `microsoftpurview`
- `nightfall`

## Sources

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

## Quality

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

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