{
  "id": "usdriverlic",
  "kind": "datatype",
  "status": "stable",
  "name": "US driver license number",
  "doc": "Alphanumeric value of the United States driver license",
  "parent": "driver_license",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "US"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "([A-Z][0-9]{3,6}|[A-Z][0-9]{5,9}|[A-Z][0-9]{6,8}|[A-Z][0-9]{4,8}|[A-Z][0-9]{9,11}|[A-Z]{1,2}[0-9]{5,6}|H[0-9]{8}|V[0-9]{6}|X[0-9]{8}|A-Z]{2}[0-9]{2,5}|[A-Z]{2}[0-9]{3,7}|[0-9]{2}[A-Z]{3}[0-9]{5,6}|[A-Z][0-9]{13,14}|[A-Z][0-9]{18}|[A-Z][0-9]{6}R|[A-Z][0-9]{9}|[A-Z][0-9]{1,12}|[0-9]{9}[A-Z]|[A-Z]{2}[0-9]{6}[A-Z]|[0-9]{8}[A-Z]{2}|[0-9]{3}[A-Z]{2}[0-9]{4}|[A-Z][0-9][A-Z][0-9][A-Z]|[0-9]{7,8}[A-Z])",
  "mappings": {
    "dpv": "pd:OfficialID",
    "google_dlp": "US_DRIVERS_LICENSE_NUMBER",
    "presidio": "US_DRIVER_LICENSE",
    "purview": "U.S. drivers license number"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Driver%27s_licenses_in_the_United_States"
    }
  ],
  "detected_by": {
    "tools": [
      "amazonmacie",
      "awsglue",
      "azureailanguage",
      "collibra",
      "databricks",
      "datahub",
      "googledlp",
      "ibmknowledgecatalog",
      "metacrafter",
      "microsoftpurview",
      "nightfall",
      "openmetadata",
      "presidio",
      "snowflake"
    ],
    "metacrafter_rules": [
      {
        "rule": "usdriverlicfield",
        "type": "field",
        "match": "text",
        "file": "pii/us/us_pii.yaml"
      },
      {
        "rule": "usdriverlicvalue",
        "type": "data",
        "match": "ppr",
        "file": "pii/us/us_pii.yaml"
      },
      {
        "rule": "us_persons_usdriverlicfield",
        "type": "field",
        "match": "text",
        "file": "us/us_persons.yaml"
      },
      {
        "rule": "us_persons_usdriverlicvalue",
        "type": "data",
        "match": "ppr",
        "file": "us/us_persons.yaml"
      }
    ]
  },
  "quality": {
    "score": 55,
    "missing": [
      "longer description",
      "anchored regexp",
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/US/persons/usdriverlic.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/US/persons/usdriverlic.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/persons/usdriverlic.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/usdriverlic",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/usdriverlic.json"
  }
}