@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:did a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "did" ;
    skos:prefLabel "Decentralized identifier (DID)"@en ;
    skos:definition "Identifier defined by the W3C Recommendation Decentralized Identifiers (DIDs) v1.0 (2022). It has the form did:<method>:<method-specific-id>. The method name is lowercase letters and digits, such as web, key or plc, and the method decides how the identifier resolves to a DID document with keys and service endpoints. The method-specific part uses letters, digits, period, hyphen, underscore, percent-encoded bytes and colons, and does not end with a colon. A DID followed by a path, query or fragment is a DID URL, which the regexp does not accept. Bluesky and the AT Protocol identify accounts with did:plc and did:web DIDs."@en ;
    skos:prefLabel "Децентрализованный идентификатор (DID)"@ru ;
    skos:broader dt:uri ;
    skos:exactMatch <https://bioregistry.io/registry/did> ;
    skos:example "did:example:123456789abcdefghi" ;
    skos:example "did:web:w3c-ccg.github.io" ;
    skos:example "did:web:example.com%3A3000:user:alice" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^did:[a-z0-9]+:(?:(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})*:)*(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})+$" ;
    rdfs:seeAlso <https://www.w3.org/TR/did-1.0/> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Q95350968> ;
    rdfs:seeAlso <https://w3c-ccg.github.io/did-method-web/> ;
    rdfs:seeAlso <https://atproto.com/specs/did> .
