@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:ulid a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "ulid" ;
    skos:prefLabel "ULID (Universally Unique Lexicographically Sortable Identifier)"@en ;
    skos:definition "128-bit identifier from the ULID specification. The first 48 bits are the Unix time in milliseconds and the other 80 bits are random, so values sort by creation time. The canonical form is 26 characters of Crockford's Base32 (digits and uppercase letters without I, L, O and U), 10 for the time and 16 for the randomness. The first character is 0 to 7, because 26 characters hold 130 bits and the largest ULID is 7ZZZZZZZZZZZZZZZZZZZZZZZZZ. The specification calls ULIDs case-insensitive; the regexp accepts the canonical uppercase form. A ULID has the same size as a UUID and is often stored in a UUID column."@en ;
    skos:prefLabel "ULID (универсальный уникальный лексикографически сортируемый идентификатор)"@ru ;
    skos:definition "128-битный идентификатор из 48 бит времени Unix в миллисекундах и 80 случайных бит. Записывается 26 символами Base32 Крокфорда; значения сортируются по времени создания."@ru ;
    skos:example "01ARZ3NDEKTSV4RRFFQ69G5FAV" ;
    skos:example "01AN4Z07BY79KA1307SR9X4MV3" ;
    skos:example "7ZZZZZZZZZZZZZZZZZZZZZZZZZ" ;
    mcr:status "stable" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^[0-7][0-9A-HJKMNP-TV-Z]{25}$" ;
    rdfs:seeAlso <https://github.com/ulid/spec> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Q114247076> ;
    rdfs:seeAlso <https://www.crockford.com/base32.html> .
