Skip to content

Commit f067fe9

Browse files
ihermanmsporny
authored andcommitted
Update vocabulary and template files
1 parent fd3f86d commit f067fe9

File tree

2 files changed

+34
-17
lines changed

2 files changed

+34
-17
lines changed

vocab/credentials/v2/template.html

+24-12
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@
112112
margin: auto;
113113
height: auto;
114114
}
115+
116+
summary {
117+
font-weight: normal !important;
118+
}
119+
115120
</style>
116121
</head>
117122
<body typeof="owl:Ontology">
@@ -164,17 +169,24 @@ <h2>Namespaces</h2>
164169
</dl>
165170
</section>
166171

172+
<section>
173+
<h2><code>@context</code> files</h2>
174+
<p>The following <code>@context</code> files make use of the terms defined in this specification:</p>
175+
<ul id="contexts">
176+
</ul>
177+
</section>
178+
167179
<section id="term_definitions">
168180
<h1>Regular terms</h1>
169181

170-
<section id="class_definitions" class="term_definitions">
171-
<h2>Class definitions</h2>
172-
</section>
173-
174182
<section id="property_definitions" class="term_definitions">
175183
<h2>Property definitions</h2>
176184
</section>
177185

186+
<section id="class_definitions" class="term_definitions">
187+
<h2>Class definitions</h2>
188+
</section>
189+
178190
<section id="datatype_definitions" class="term_definitions">
179191
<h2>Datatype definitions</h2>
180192
</section>
@@ -193,14 +205,14 @@ <h1>Reserved terms</h1>
193205
normatively specify them.
194206
</p>
195207

196-
<section id="reserved_class_definitions" class="term_definitions">
197-
<h2>Reserved classes</h2>
198-
</section>
199-
200208
<section id="reserved_property_definitions" class="term_definitions">
201209
<h2>Reserved properties</h2>
202210
</section>
203211

212+
<section id="reserved_class_definitions" class="term_definitions">
213+
<h2>Reserved classes</h2>
214+
</section>
215+
204216
<section id="reserved_datatype_definitions" class="term_definitions">
205217
<h2>Reserved datatype definitions</h2>
206218
</section>
@@ -217,14 +229,14 @@ <h1>Deprecated terms</h1>
217229
<br>New applications should not use them.
218230
</p>
219231

220-
<section id="deprecated_class_definitions" class="term_definitions">
221-
<h2>Deprecated classes</h2>
222-
</section>
223-
224232
<section id="deprecated_property_definitions" class="term_definitions">
225233
<h2>Deprecated properties</h2>
226234
</section>
227235

236+
<section id="deprecated_class_definitions" class="term_definitions">
237+
<h2>Deprecated classes</h2>
238+
</section>
239+
228240
<section id="deprecated_property_definitions" class="term_definitions">
229241
<h2>Deprecated properties</h2>
230242
</section>

vocab/credentials/v2/vocabulary.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
vocab:
22
- id: cred
33
value: https://www.w3.org/2018/credentials#
4-
4+
context: https://www.w3.org/ns/credentials/v2
55
# prefix:
66
# - id: odrl
77
# value: http://www.w3.org/ns/odrl/2/
@@ -18,26 +18,26 @@ ontology:
1818

1919
class:
2020
- id: CredentialEvidence
21-
label: Credential Evidence
2221
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-credential-evidence
2322
status: reserved
23+
context: none
2424

2525
- id: CredentialSchema
26-
label: Credential schema
2726
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-credential-schema
27+
context: none
2828

2929
- id: CredentialStatus
30-
label: Credential status
3130
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-credential-status
31+
context: none
3232

3333
- id: ConfidenceMethod
3434
label: Confidence method
3535
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-confidence-method
3636
status: reserved
37+
context: none
3738

3839
- id: EnvelopedVerifiableCredential
3940
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#defn-EnvelopedVerifiableCredential
40-
label: Enveloped verifiable credential
4141

4242
- id: JsonSchema
4343
label: JSON schema validator
@@ -53,16 +53,19 @@ class:
5353
label: Refresh service
5454
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-refresh-service
5555
status: reserved
56+
context: none
5657

5758
- id: RenderMethod
5859
label: Render method
5960
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-render-method
6061
status: reserved
62+
context: none
6163

6264
- id: TermsOfUse
6365
label: Terms of use
6466
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-terms-of-use
6567
status: reserved
68+
context: none
6669

6770
- id: VerifiableCredential
6871
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#credentials
@@ -72,6 +75,7 @@ class:
7275
label: Verifiable credential graph
7376
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#dfn-verifiablecredentialgraph
7477
comment: Instances of this class are <a href="https://www.w3.org/TR/rdf12-concepts/#section-rdf-graph">RDF Graphs</a> [[RDF12-CONCEPTS]].
78+
context: none
7579

7680
- id: VerifiablePresentation
7781
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#presentations
@@ -162,6 +166,7 @@ property:
162166
defined_by: https://w3c-ccg.github.io/vc-render-method/#the-rendermethod-property
163167
status: reserved
164168
range: cred:RenderMethod
169+
context: none
165170

166171
- id: relatedResource
167172
label: Related resource

0 commit comments

Comments
 (0)