Skip to content

Commit c28ea0a

Browse files
ihermanmsporny
authored andcommitted
Vocabulary and template update
1 parent f7df1f1 commit c28ea0a

File tree

2 files changed

+39
-41
lines changed

2 files changed

+39
-41
lines changed

vocab/template.html

+36-31
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@
9696
text-align: center;
9797
}
9898

99+
summary {
100+
font-weight: normal !important;
101+
}
102+
99103
</style>
100104
</head>
101105
<body typeof="owl:Ontology">
@@ -135,25 +139,23 @@
135139
<section>
136140
<h2>Specification of terms</h2>
137141
<p>
138-
In general, the terms &mdash; i.e., the properties and classes &mdash; used in
139-
the VCDM are formally specified in Recommendation Track documents published by
140-
the <a href="https://www.w3.org/groups/wg/vc">W3C Verifiable Credentials Working
141-
Group</a> or, for some deprecated or reserved terms, in Reports published by the
142-
<a href="https://www.w3.org/groups/cg/credentials">W3C Credentials Community
143-
Group</a>. In each case of such external definition, the term's description in
144-
this document contains a link to the relevant specification. Additionally, the
145-
`rdfs:definedBy` property in the RDFS representation(s) refers to the formal
146-
specification.
142+
In general, the terms &mdash; i.e., the properties and classes &mdash; used in
143+
the VCDM are formally specified in Recommendation Track documents published by
144+
the <a href="https://www.w3.org/groups/wg/vc">W3C Verifiable Credentials Working
145+
Group</a>. In each case of such external definition, the term's description in
146+
this document contains a link to the relevant specification. Additionally, the
147+
`rdfs:definedBy` property in the RDFS representation(s) refers to the formal
148+
specification.
147149
</p>
148150
<p>
149-
In some cases, a local explanation is necessary to complement, or to replace,
150-
the definition found in an external specification. For instance, this is so when
151-
the term is needed to provide a consistent structure to the RDFS vocabulary,
152-
such as when the term defines a common supertype for class instances that are
153-
used as objects of specific properties. For such cases,
154-
the extra definition is included in the current
155-
document (and the `rdfs:comment` property is used to include them in the RDFS
156-
representations).
151+
In some cases, a local explanation is necessary to complement, or to replace,
152+
the definition found in an external specification. For instance, this is so when
153+
the term is needed to provide a consistent structure to the RDFS vocabulary,
154+
such as when the term defines a common supertype for class instances that are
155+
used as objects of specific properties. For such cases,
156+
the extra definition is included in the current
157+
document (and the `rdfs:comment` property is used to include them in the RDFS
158+
representations).
157159
</p>
158160
</section>
159161
<section>
@@ -163,17 +165,23 @@ <h2>Namespaces</h2>
163165
</dl>
164166
</section>
165167

168+
<section>
169+
<h2><code>@context</code> files</h2>
170+
<p>The following <code>@context</code> files make use of the terms defined in this specification:</p>
171+
<ul id="contexts">
172+
</ul>
173+
</section>
174+
166175
<section id="term_definitions">
167176
<h1>Regular terms</h1>
177+
<section id="property_definitions" class="term_definitions">
178+
<h2>Property definitions</h2>
179+
</section>
168180

169181
<section id="class_definitions" class="term_definitions">
170182
<h2>Class definitions</h2>
171183
</section>
172184

173-
<section id="property_definitions" class="term_definitions">
174-
<h2>Property definitions</h2>
175-
</section>
176-
177185
<section id="datatype_definitions" class="term_definitions">
178186
<h2>Datatype definitions</h2>
179187
</section>
@@ -186,22 +194,19 @@ <h2>Definitions for individuals</h2>
186194
<section id="deprecated_term_definitions">
187195
<h1>Deprecated terms</h1>
188196

189-
<p class="annoy">
190-
All terms in this section are <em><strong>deprecated</strong></em>, and are only
191-
kept in this vocabulary for backward compatibility.
192-
</p>
193-
<p>
194-
New applications should not use them.
197+
<p class="annoy">All terms in this section are <em><strong>deprecated</strong></em>, and are only kept in this
198+
vocabulary for backward compatibility.
199+
<br><br>New applications should not use them.
195200
</p>
196201

197-
<section id="deprecated_class_definitions" class="term_definitions">
198-
<h2>Deprecated classes</h2>
199-
</section>
200-
201202
<section id="deprecated_property_definitions" class="term_definitions">
202203
<h2>Deprecated properties</h2>
203204
</section>
204205

206+
<section id="deprecated_class_definitions" class="term_definitions">
207+
<h2>Deprecated classes</h2>
208+
</section>
209+
205210
<section id="deprecated_property_definitions" class="term_definitions">
206211
<h2>Deprecated properties</h2>
207212
</section>

vocab/vocabulary.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
vocab:
22
- id: cs
33
value: https://www.w3.org/ns/credentials/status#
4+
context: https://www.w3.org/ns/credentials/v2
45

56
prefix:
67
- id: cred
@@ -21,40 +22,33 @@ ontology:
2122

2223
class:
2324
- id: BitstringStatusList
24-
label: Bitstring status list
2525
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#bitstringstatuslist
2626

2727
- id: BitstringStatusListEntry
28-
label: Bitstring status list entry
2928
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#bitstringstatuslistentry
3029

3130
- id: BitstringStatusListCredential
32-
label: Bitstring status list credential
3331
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#bitstringstatuslistcredential
3432

3533
property:
3634
- id: statusPurpose
37-
label: Status purpose
3835
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusPurpose
3936
domain:
4037
- cs:BitstringStatusList
4138
- cs:BitstringStatusListEntry
4239
range: xsd:string
4340

4441
- id: statusListIndex
45-
label: Status list index
4642
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusListIndex
4743
domain: cs:BitstringStatusListEntry
4844
range: xsd:string
4945

5046
- id: statusListCredential
51-
label: Status list credential
5247
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusListCredential
5348
domain: cs:BitstringStatusListEntry
5449
range: xsd:string
5550

5651
- id: encodedList
57-
label: Encoded list
5852
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#encodedList
5953
domain: cs:BitstringStatusList
6054
range: sec:multibase
@@ -65,14 +59,13 @@ property:
6559
domain: cs:BitstringStatusList
6660
range: xsd:string
6761

68-
- id: size
62+
- id: statusSize
6963
label: Bitstring entry size in bits
7064
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusSize
7165
domain: cs:BitstringStatusList
7266
range: xsd:string
7367

7468
- id: statusMessage
75-
label: Status messages
7669
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusMessage
7770
domain: cs:BitstringStatusList
7871
range: xsd:string
@@ -87,7 +80,7 @@ property:
8780
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#message
8881
range: xsd:string
8982

90-
- id: reference
83+
- id: statusReference
9184
label: Reference documentation for status messages
9285
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusReference
9386
domain: cs:BitstringStatusList

0 commit comments

Comments
 (0)