xid globally unique ID
ID xid
DatatypeNot PIIidentifierDraft
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).
96-bit identifier of the Go library rs/xid. It uses the MongoDB ObjectId layout (a 4-byte time in seconds, a 3-byte machine ID, a 2-byte process ID and a 3-byte counter) and writes the 12 bytes as 20 characters of lowercase base32hex (digits and the letters a to v), which keeps the sort order. The last character holds a single bit, so it is 0 or g.
- Categories
- Universal unique identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^[0-9a-v]{19}[0g]$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 9m4e2mr0ui3e8a215n4g | Example of the rs/xid README |
| a1vhuttsv1mdf6a3i08g | The 12 bytes of the MongoDB ObjectId 507f1f77bcf86cd799439011 written as an xid |
| 9M4E2MR0UI3E8A215N4G invalid | Uppercase |
| 9m4e2mr0ui3e8a215n4w invalid | w is not a base32hex character |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Глобально уникальный идентификатор xid |
Sources
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/xid - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/identifiers/xid.yamlon GitHub