This the namespace document for the Linked Data Vocabulary representation of the DID Core v1.0 data model.
This document contains the vocabulary terms defined in the DID Core v1.0 data model [[did-core]]. The following namespaces are used:
While the DID Core v1.0 namespace URI is
https://www.w3.org/ns/did#, for historical reasons most of the terms are in the
https://w3id.org/security# namespace, though defined in the DID Core specification [[did-core]]. These terms do not define any cryptographic primitives and are formally defined in the DID Core specification. Future Working Group may define a formal specification for the complete security vocabulary.
Some of the terms, as defined in the DID Core specification [[did-core]], use a slightly different term name as their full URIs. For example, the term
https://w3id.org/security#keyAgreementMethod is referred to as
keyAgreement in the DID Core specification. The mapping is done, for JSON-LD, by the official JSON-LD Context. For the sake of clarity, section
below references both those terms.
Extensions to DID Core v1.0 terms can be found in the DID Specification Registries [[did-spec-registries]]. Extensions may be in the
https://w3id.org/security# namespace or may have their own namespaces; they have their own JSON-LD Contexts.
The formal RDF [[rdf11-concepts]] vocabulary, using RDFS [[rdf-schema]] terms, is available in the following formats:
These files can also be accessed using content negotiations on the
https://www.w3.org/ns/did URI HTTP request, referring to the
application/rdf+xml media types, respectively,
Note: the RDFS Classes are not defined in the DID Core v1.0 specification [[did-core]] and are only used by the formal RDFS vocabulary specification. Users of the JSON-LD representation of the DID Data Model are advised not to use these.
Terms are listed here in alphabetical order, and linked to their definitions in the DID Core v1.0 [[did-core]] specification.
authenticationMethod, referred to as
capabilityDelegationMethod, referred to as
capabilityInvocationMethod, referred to as
keyAgreementMethod, referred to as
Although not formally part of the Vocabulary specification, the RDF shape constraints, related to this vocabulary, are also available: