CIRALabs / high-assurance-dids-with-dns

Other
0 stars 1 forks source link

Undefined DID document properties #38

Open andrewwhitehead opened 4 months ago

andrewwhitehead commented 4 months ago

The current draft refers to a couple properties – dnsDomain and proof – which are not defined by the DID Core 1.0 syntax. There's also a header property mentioned in other issues. In order to produce a JSON-LD conforming document an additional context would need to be defined and referenced by DID documents, for example:

{
  "@context": [
    "https://www.w3.org/ns/did/v1",
    "https://domain.example/high-assurance-did/v1"
  ],
  "id": "did:web:example.com",
  ...
}

Otherwise, these properties could be proposed for addition to the core spec (although not at the current stage of the working group). They could also be proposed for individual DID methods, particularly did:web.