{
  "id": "hk_hkid",
  "kind": "datatype",
  "status": "draft",
  "name": "Hong Kong identity card number (HKID)",
  "doc": "Number of the Hong Kong identity card: one or two letters, six digits and a check character (a digit or A), which is often written in parentheses.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "HK"
  ],
  "langs": [
    "zh",
    "en"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z]{1,2}\\d{6} ?(?:[0-9A]|\\([0-9A]\\))$",
  "mappings": {
    "dpv": "pd:OfficialID",
    "purview": "Hong Kong identity card (HKID) number"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://learn.microsoft.com/en-us/purview/sit-defn-hong-kong-identity-card-number"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Hong_Kong_identity_card"
    }
  ],
  "detected_by": {
    "tools": [
      "awsglue",
      "azureailanguage",
      "databricks",
      "microsoftpurview",
      "nightfall"
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/HK/persons/hk_hkid.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/HK/persons/hk_hkid.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/HK/persons/hk_hkid.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/hk_hkid",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/hk_hkid.json"
  }
}