---
id: "useruuid"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["useraccounts", "identifiers"]
langs: ["common"]
quality: 83
url: "http://registry.apicrafter.io/datatype/useruuid"
---

# User UUID (`useruuid`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

UUID that identifies a user account, typically in a column such as user_uuid, account_uuid or user_guid. The value has the UUID format (uuid). Metacrafter reports it when the field name points to a user.

- Parent datatype: `userid`
- Personal data (PII): no
- Categories: User accounts in products and services (useraccounts), Universal unique identifiers (identifiers)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
```

## Examples

- `16fd2706-8baf-433b-82eb-8c7fada847da` — UUIDv4 from the Python uuid module documentation
- `42` (invalid example) — Numeric user ID, see userid

## Metacrafter rules

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

- `useruuidfield` (field, `common/useraccounts.yaml`)
- `useruuidvalue` (data, `common/useraccounts.yaml`)

## Supported by tools

- `metacrafter`

## Translations

- ru: UUID пользователя

## Sources

- doc: <https://www.rfc-editor.org/rfc/rfc9562>

## Quality

Score 83/100. Missing: second example, mapping (Wikidata, Schema.org, ...).

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