Skip to content

Commit

Permalink
Vocabulary and template update
Browse files Browse the repository at this point in the history
  • Loading branch information
iherman committed Feb 11, 2024
1 parent 6c5f490 commit c5ce648
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 41 deletions.
67 changes: 36 additions & 31 deletions vocab/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
text-align: center;
}

summary {
font-weight: normal !important;
}

</style>
</head>
<body typeof="owl:Ontology">
Expand Down Expand Up @@ -135,25 +139,23 @@
<section>
<h2>Specification of terms</h2>
<p>
In general, the terms &mdash; i.e., the properties and classes &mdash; used in
the VCDM are formally specified in Recommendation Track documents published by
the <a href="https://www.w3.org/groups/wg/vc">W3C Verifiable Credentials Working
Group</a> or, for some deprecated or reserved terms, in Reports published by the
<a href="https://www.w3.org/groups/cg/credentials">W3C Credentials Community
Group</a>. In each case of such external definition, the term's description in
this document contains a link to the relevant specification. Additionally, the
`rdfs:definedBy` property in the RDFS representation(s) refers to the formal
specification.
In general, the terms &mdash; i.e., the properties and classes &mdash; used in
the VCDM are formally specified in Recommendation Track documents published by
the <a href="https://www.w3.org/groups/wg/vc">W3C Verifiable Credentials Working
Group</a>. In each case of such external definition, the term's description in
this document contains a link to the relevant specification. Additionally, the
`rdfs:definedBy` property in the RDFS representation(s) refers to the formal
specification.
</p>
<p>
In some cases, a local explanation is necessary to complement, or to replace,
the definition found in an external specification. For instance, this is so when
the term is needed to provide a consistent structure to the RDFS vocabulary,
such as when the term defines a common supertype for class instances that are
used as objects of specific properties. For such cases,
the extra definition is included in the current
document (and the `rdfs:comment` property is used to include them in the RDFS
representations).
In some cases, a local explanation is necessary to complement, or to replace,
the definition found in an external specification. For instance, this is so when
the term is needed to provide a consistent structure to the RDFS vocabulary,
such as when the term defines a common supertype for class instances that are
used as objects of specific properties. For such cases,
the extra definition is included in the current
document (and the `rdfs:comment` property is used to include them in the RDFS
representations).
</p>
</section>
<section>
Expand All @@ -163,17 +165,23 @@ <h2>Namespaces</h2>
</dl>
</section>

<section>
<h2><code>@context</code> files</h2>
<p>The following <code>@context</code> files make use of the terms defined in this specification:</p>
<ul id="contexts">
</ul>
</section>

<section id="term_definitions">
<h1>Regular terms</h1>
<section id="property_definitions" class="term_definitions">
<h2>Property definitions</h2>
</section>

<section id="class_definitions" class="term_definitions">
<h2>Class definitions</h2>
</section>

<section id="property_definitions" class="term_definitions">
<h2>Property definitions</h2>
</section>

<section id="datatype_definitions" class="term_definitions">
<h2>Datatype definitions</h2>
</section>
Expand All @@ -186,22 +194,19 @@ <h2>Definitions for individuals</h2>
<section id="deprecated_term_definitions">
<h1>Deprecated terms</h1>

<p class="annoy">
All terms in this section are <em><strong>deprecated</strong></em>, and are only
kept in this vocabulary for backward compatibility.
</p>
<p>
New applications should not use them.
<p class="annoy">All terms in this section are <em><strong>deprecated</strong></em>, and are only kept in this
vocabulary for backward compatibility.
<br><br>New applications should not use them.
</p>

<section id="deprecated_class_definitions" class="term_definitions">
<h2>Deprecated classes</h2>
</section>

<section id="deprecated_property_definitions" class="term_definitions">
<h2>Deprecated properties</h2>
</section>

<section id="deprecated_class_definitions" class="term_definitions">
<h2>Deprecated classes</h2>
</section>

<section id="deprecated_property_definitions" class="term_definitions">
<h2>Deprecated properties</h2>
</section>
Expand Down
13 changes: 3 additions & 10 deletions vocab/vocabulary.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
vocab:
- id: cs
value: https://www.w3.org/ns/credentials/status#
context: https://www.w3.org/ns/credentials/v2

prefix:
- id: cred
Expand All @@ -21,40 +22,33 @@ ontology:

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

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

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

property:
- id: statusPurpose
label: Status purpose
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusPurpose
domain:
- cs:BitstringStatusList
- cs:BitstringStatusListEntry
range: xsd:string

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

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

- id: encodedList
label: Encoded list
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#encodedList
domain: cs:BitstringStatusList
range: sec:multibase
Expand All @@ -65,14 +59,13 @@ property:
domain: cs:BitstringStatusList
range: xsd:string

- id: size
- id: statusSize
label: Bitstring entry size in bits
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusSize
domain: cs:BitstringStatusList
range: xsd:string

- id: statusMessage
label: Status messages
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusMessage
domain: cs:BitstringStatusList
range: xsd:string
Expand All @@ -87,7 +80,7 @@ property:
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#message
range: xsd:string

- id: reference
- id: statusReference
label: Reference documentation for status messages
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusReference
domain: cs:BitstringStatusList
Expand Down

0 comments on commit c5ce648

Please sign in to comment.