{
  "id": "uspassport",
  "kind": "pattern",
  "status": "draft",
  "name": "US passport number",
  "doc": "Number of US Passport",
  "semantic_type": "passport",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "US"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "[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"
    ]
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/United_States_passport"
    }
  ],
  "detected_by": {
    "tools": [
      "amazonmacie",
      "awscomprehend",
      "awsglue",
      "azureailanguage",
      "databricks",
      "googledlp",
      "metacrafter",
      "microsoftpurview",
      "nightfall",
      "openmetadata",
      "presidio",
      "snowflake"
    ],
    "metacrafter_rules": [
      {
        "rule": "uspassportfield",
        "type": "field",
        "match": "text",
        "file": "pii/us/us_pii.yaml"
      },
      {
        "rule": "uspassportvalue",
        "type": "data",
        "match": "ppr",
        "file": "pii/us/us_pii.yaml"
      },
      {
        "rule": "us_persons_uspassportfield",
        "type": "field",
        "match": "text",
        "file": "us/us_persons.yaml"
      },
      {
        "rule": "us_persons_uspassportvalue",
        "type": "data",
        "match": "ppr",
        "file": "us/us_persons.yaml"
      }
    ]
  },
  "quality": {
    "score": 45,
    "missing": [
      "description",
      "anchored regexp",
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/US/persons/uspassport.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/US/persons/uspassport.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/persons/uspassport.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/uspassport",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/uspassport.json"
  }
}