Skip to content

Commit 64b3c6f

Browse files
committed
DID Preview
1 parent 4092ba2 commit 64b3c6f

File tree

7 files changed

+196
-128
lines changed

7 files changed

+196
-128
lines changed

previews/did/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
- [In HTML+RDFa](./vocabulary.html)
44
- [In Turtle](./vocabulary.ttl)
55
- [In JSON-LD](./vocabulary.jsonld)
6+
- [JSON-LD Context file](./vocabulary.context.jsonld)
7+
- [Vocabulary description source in YML](./vocabulary.yml)
68

7-
Latest change: 2025-03-25
9+
Latest change: 2025-05-20

previews/did/template.html

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<body typeof="owl:Ontology">
105105
<section id="abstract">
106106
<p>This document describes the <span property="dc:title" id="title"></span>, i.e.,
107-
the <span property="dc:description" id="description"></span>.
107+
the <span property="dc:description" id="description">.</span>
108108
</p>
109109
<p>Alternate versions of the vocabulary definition exist in
110110
<a rel="alternate" href="vocabulary.ttl">Turtle</a> and
@@ -113,7 +113,7 @@
113113
<dl>
114114
<dt>Published:</dt><dd><time property="dc:date" id="time"></time></dd>
115115
<dt>Version Info:</dt>
116-
<dd>2.0</dd>
116+
<dd>1.1</dd>
117117
<dt id="see_also">See Also: </dt>
118118
</dl>
119119
</section>
@@ -129,16 +129,22 @@
129129

130130
<section>
131131
<h2>Namespaces</h2>
132-
<p>This specification makes use of the following namespaces:</p>
133-
<dl class="terms" id="namespaces">
134-
</dl>
132+
<p>This specification makes use a number of external vocabulary namespaces.</p>
133+
<details>
134+
<summary>Click here for details.</summary>
135+
<dl class="terms" id="namespaces">
136+
</dl>
137+
</details>
135138
</section>
136139

137140
<section>
138141
<h2><code>@context</code> files</h2>
139-
<p>The following <code>@context</code> files make use of the terms defined in this specification:</p>
140-
<ul id="contexts">
141-
</ul>
142+
<p>Several <code>@context</code> files make use of the terms defined in this specification.</p>
143+
<details>
144+
<summary>Click here for details.</summary>
145+
<ul id="contexts">
146+
</ul>
147+
</details>
142148
</section>
143149

144150
<section id="term_definitions">

previews/did/vocabulary.context.jsonld

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,52 @@
33
"@protected": true,
44
"id": "@id",
55
"type": "@type",
6-
"DecentralizedIdentifierDocument": {
7-
"@id": "https://www.w3.org/ns/did#DecentralizedIdentifierDocument",
6+
"Service": {
7+
"@id": "https://www.w3.org/ns/did#Service",
88
"@context": {
99
"@protected": true,
1010
"id": "@id",
1111
"type": "@type",
12-
"service": {
13-
"@id": "https://www.w3.org/ns/did#service",
12+
"serviceEndpoint": {
13+
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
1414
"@type": "@id"
1515
}
1616
}
1717
},
18-
"Service": {
19-
"@id": "https://www.w3.org/ns/did#Service",
18+
"VerificationMethod": "https://w3id.org/security#VerificationMethod",
19+
"VerificationRelationship": "https://w3id.org/security#VerificationRelationship",
20+
"Multikey": {
21+
"@id": "https://w3id.org/security#Multikey",
2022
"@context": {
2123
"@protected": true,
2224
"id": "@id",
2325
"type": "@type",
24-
"serviceEndpoint": {
25-
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
26-
"@type": "@id"
26+
"publicKeyMultibase": {
27+
"@id": "https://w3id.org/security#publicKeyMultibase",
28+
"@type": "https://w3id.org/security#multibase"
29+
},
30+
"secretKeyMultibase": {
31+
"@id": "https://w3id.org/security#secretKeyMultibase",
32+
"@type": "https://w3id.org/security#multibase"
33+
}
34+
}
35+
},
36+
"JsonWebKey": {
37+
"@id": "https://w3id.org/security#JsonWebKey",
38+
"@context": {
39+
"@protected": true,
40+
"id": "@id",
41+
"type": "@type",
42+
"publicKeyJwk": {
43+
"@id": "https://w3id.org/security#publicKeyJwk",
44+
"@type": "@json"
45+
},
46+
"secretKeyJwk": {
47+
"@id": "https://w3id.org/security#secretKeyJwk",
48+
"@type": "@json"
2749
}
2850
}
2951
},
30-
"ControlledIdentifierDocument": "https://w3id.org/security#ControlledIdentifierDocument",
31-
"VerificationMethod": "https://w3id.org/security#VerificationMethod",
32-
"VerificationRelationship": "https://w3id.org/security#VerificationRelationship",
3352
"controller": "https://w3id.org/security#controller",
3453
"alsoKnownAs": {
3554
"@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
@@ -58,6 +77,11 @@
5877
"keyAgreement": {
5978
"@id": "https://w3id.org/security#keyAgreementMethod",
6079
"@type": "@id"
61-
}
80+
},
81+
"service": {
82+
"@id": "https://www.w3.org/ns/did#service",
83+
"@type": "@id"
84+
},
85+
"multibase": "https://w3id.org/security#multibase"
6286
}
6387
}

0 commit comments

Comments
 (0)