@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:uuid_v7 a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "uuid_v7" ;
    skos:prefLabel "Unix time-ordered UUID (version 7)"@en ;
    skos:definition "UUID of version 7, introduced by RFC 9562 in 2024. The first 48 bits are the Unix time in milliseconds, and the rest, apart from the version and variant bits, is random or a counter. Values sort by creation time, which suits database keys, and RFC 9562 recommends this version over versions 1 and 6. The creation time can be read back from the first 12 hexadecimal digits. The version digit, the first digit of the third group, is 7. PostgreSQL 18 makes it with uuidv7() and Python 3.14 with uuid.uuid7()."@en ;
    skos:prefLabel "UUID версии 7 (упорядоченный по времени Unix)"@ru ;
    skos:broader dt:uuid ;
    skos:example "017F22E2-79B0-7CC3-98C4-DC0C0C07398F" ;
    skos:example "01890a5d-ac96-774b-bcce-b302099a8057" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-7[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" ;
    rdfs:seeAlso <https://www.rfc-editor.org/rfc/rfc9562#name-uuid-version-7> .
