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:
https://www.w3.org/ns/did#
https://w3id.org/security#
https://www.w3.org/ns/activitystreams#
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 text/turtle
, application/ld+json
, or 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.
DIDSubject
https://www.w3.org/ns/did#serviceEndpoint
Service
https://www.w3.org/ns/did#Service
VerificationMethod
https://www.w3.org/ns/did#VerificationMethod
Terms are listed here in alphabetical order, and linked to their definitions in the DID Core v1.0 [[did-core]] specification.
alsoKnownAs
https://www.w3.org/ns/activitystreams#alsoKnownAs
assertionMethod
https://w3id.org/security#assertionMethod
authenticationMethod
, referred to as authentication
https://w3id.org/security#authenticationMethod
capabilityDelegationMethod
, referred to as capabilityDelegation
https://w3id.org/security#capabilityDelegationMethod
capabilityInvocationMethod
, referred to as capabilityInvocation
https://w3id.org/security#capabilityInvocationMethod
controller
https://w3id.org/security#controller
keyAgreementMethod
, referred to as keyAgreement
https://w3id.org/security#keyAgreementMethod
publicKeyMultibase
https://w3id.org/security#publicKeyMultibase
publicKeyJwk
https://w3id.org/security#publicKeyJwk
service
https://www.w3.org/ns/did#service
serviceEndpoint
https://www.w3.org/ns/did#serviceEndpoint
verificationMethod
https://w3id.org/security#verificationmethod
Although not formally part of the Vocabulary specification, the RDF shape constraints, related to this vocabulary, are also available: