Hong Kong identity card number (HKID)
ID hk_hkid
DatatypePersonal data (PII)identifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
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.
- Categories
- Personally identifiable information, Person related
- Countries
- Hong Kong
- Languages
- Chinese, English
- W3C DPV
pd:OfficialID- Microsoft Purview
Hong Kong identity card (HKID) number- Quality
- 75/100 · missing: examples, negative example, translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- AWS Glue Sensitive Data Detection, Azure AI Language PII detection, Databricks Unity Catalog data classification, Microsoft Purview Data Loss Prevention, Nightfall AI
Regular expression
^[A-Z]{1,2}\d{6} ?(?:[0-9A]|\([0-9A]\))$
Python re syntax.
Sources
- doc: https://learn.microsoft.com/en-us/purview/sit-defn-hong-kong-identity-card-number
- wikipedia: https://en.wikipedia.org/wiki/Hong_Kong_identity_card
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/hk_hkid - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/HK/persons/hk_hkid.yamlon GitHub