@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:xid a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "xid" ;
    skos:prefLabel "xid globally unique ID"@en ;
    skos:definition "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."@en ;
    skos:prefLabel "Глобально уникальный идентификатор xid"@ru ;
    skos:example "9m4e2mr0ui3e8a215n4g" ;
    skos:example "a1vhuttsv1mdf6a3i08g" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^[0-9a-v]{19}[0g]$" ;
    rdfs:seeAlso <https://github.com/rs/xid> .
