Skip to content

DID Core

Vocabulary: Decentralized Identifiers (DIDs) Core 1.0 (W3C Recommendation).
Namespace: https://www.w3.org/ns/did#
Specification: https://www.w3.org/TR/did-core/

DIDs are identifiers, not a domain model. DID Core defines what a did: URI means and how it resolves; it does not describe parties, statements or assessments. So the relationship with CAP is at the identifier level: a cap:Party may be named by a DID, and that is a different kind of claim from a class alignment.

Asserted

None. There is no DID Core class that cap:Party closely matches - DID Core's classes (did:Service, did:VerificationMethod and the document structure) describe the identifier document, not the entity behind it.

Example

A certification body identified by a did:web, the form used in the developer notebook:

@prefix cap: <https://w3id.org/eclipse-cap/v0/#> .
@prefix ex:  <http://example.com/#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<did:web:trusted-notary.eu> a cap:Party .

ex:cert01 a cap:Certification ;
    cap:issuedBy <did:web:trusted-notary.eu> ;
    cap:issuedAt "2023-11-30T00:00:00"^^xsd:dateTime .

A DID is a perfectly good IRI for a cap:Party, exactly as an http: or a did: URI is for any RDF resource. Nothing in CAP requires or forbids it.

Where the semantics diverge

  • Identifier ≠ role. A DID proves control over a key pair; it says nothing about competence, accreditation or impartiality, which is what makes a cap:ConformityAssessmentBody more than a party.
  • Resolution is not verification of a claim. Resolving a DID document tells you how to contact or verify the subject; it does not tell you that a specified requirement was fulfilled.
  • DID methods differ in trust. did:web inherits DNS trust, other methods inherit blockchain trust; CAP stays agnostic, which is deliberate - the model records who attested, not how their key was bound.

Illustrative

CAP position DID Core element How to read it
the subject of cap:issuedBy a did: URI as its IRI the party is identified by a DID; its type stays cap:Party
cap:Party contact/verification did:Service, did:VerificationMethod how to reach or verify the party, orthogonal to its role
the issuer string in a credential cred:issuer holding a did:web: URI see the W3C VC page - the credential issuer and cap:issuedBy need not be the same party