Datatypes

KSUID (K-Sortable Unique Identifier)

ID ksuid

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).

160-bit identifier from Segment's ksuid library. It is a 32-bit timestamp in seconds since 13 May 2014 (Unix time 1400000000) followed by 128 random bits, so values sort by creation time. The text form is always 27 base62 characters (digits, uppercase and lowercase letters) without separators. The largest KSUID is aWgEPTl1tmebfsQzFP4bxwgy80V, so the first character is a digit, an uppercase letter or a.

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-Za][0-9A-Za-z]{26}$

Python re syntax.

Examples

ValueDescription
0ujtsYcgvSTl8PAuAdqWYSMnLOvKSUID inspected in the ksuid README, created 2017-10-10 04:00:47 UTC
0ujsswThIGTUYm2K8FjOOfXtY1KKSUID generated in the ksuid README
aWgEPTl1tmebfsQzFP4bxwgy80VLargest KSUID
0ujtsYcgvSTl8PAuAdqWYSMnLO invalid26 characters
0ujtsYcgvSTl8PAuAdqWYSM-LOv invalidThe hyphen is not a base62 character

Translations

LanguageNameDescription
RussianKSUID (K-сортируемый уникальный идентификатор)

Sources

Use this record