Skip to content

Add base classes and fragment identifiers for vocabulary. #1272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5963,6 +5963,104 @@ <h3>Vocabularies</h3>
cryptographic hash.
</p>

<p>
The following base classes are defined in this specification for processors
and other specifications that benefit from such definitions:
</p>

<table class="simple">
<thead>
<tr>
<th>Base Class</th>
<th>Purpose</th>
</tr>
</thead>
<tbody>
<tr id="bc-credential-evidence">
<td>
`CredentialEvidence`
</td>
<td>
Serves as a superclass for specific evidence types that are placed into the
<a href="#evidence">evidence</a> property. <span class="issue atrisk">This
superclass is at risk and will be removed if at least two independent
implementations for the superclass are not identified by the end of the
Candidate Recommendation phase.</span>
</td>
</tr>
<tr id="bc-credential-schema">
<td>
`CredentialSchema`
</td>
<td>
Serves as a superclass for specific schema types that are placed into the
<a href="#data-schemas">credentialSchema</a> property.
</td>
</tr>
<tr id="bc-credential-status">
<td>
`CredentialStatus`
</td>
<td>
Serves as a superclass for specific credential status types that are placed into
the <a href="#status">credentialStatus</a> property.
</td>
</tr>
<tr id="bc-confidence-method">
<td>
`ConfidenceMethod`
</td>
<td>
Serves as a superclass for specific confidence method types that are placed into
the `confidenceMethod` property.
<span class="issue atrisk">This superclass is at risk and will be removed if
at least two independent implementations for the superclass are not identified
by the end of the Candidate Recommendation phase.
</span>
</td>
</tr>
<tr id="bc-refresh-service">
<td>
`RefreshService`
</td>
<td>
Serves as a superclass for specific refresh service types that are placed into
the <a href="#refreshing">credentialRefresh</a> property.
<span class="issue atrisk">This superclass is at risk and will be removed if
at least two independent implementations for the superclass are not identified
by the end of the Candidate Recommendation phase.
</span>
</td>
</tr>
<tr id="bc-render-method">
<td>
`RenderMethod`
</td>
<td>
Serves as a superclass for specific render method types that are placed into
the `renderMethod` property.
<span class="issue atrisk">This superclass is at risk and will be removed if
at least two independent implementations for the superclass are not identified
by the end of the Candidate Recommendation phase.
</span>
</td>
</tr>
<tr id="bc-terms-of-use">
<td>
`TermsOfUse`
</td>
<td>
Serves as a superclass for specific terms of use types that are placed into
the <a href="#terms-of-use">termsOfUse</a> property.
<span class="issue atrisk">This superclass is at risk and will be removed if
at least two independent implementations for the superclass are not identified
by the end of the Candidate Recommendation phase.
</span>
</td>
</tr>
</tbody>
</table>

</section>
<section class="informative">
<h3>Differences between Contexts, Types, and CredentialSchemas</h3>
Expand Down
18 changes: 7 additions & 11 deletions vocab/credentials/v2/vocabulary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ ontology:
class:
- id: CredentialEvidence
label: Credential Evidence
comment: A credential evidence provides evidence schemes that are used by the <a href="#evidence">evidence</a> property. This class serves as a supertype for specific evidence types.
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-credential-evidence
status: reserved

- id: CredentialSchema
label: Credential schema
comment: A credential schema provides verifiers with enough information to determine if the provided data conforms to the provided schema. This class serves as a supertype for specific schemas (e.g., <a href="#JsonSchema">JsonSchema</a>).
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-credential-schema

- id: CredentialStatus
label: Credential status
comment: A credential status provides enough information to determine the current status of the credential (for example, suspended or revoked). This class serves as a supertype for specific status types.
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-credential-status

- id: ConfidenceMethod
label: Confidence method
defined_by: https://w3c-ccg.github.io/confidence-method-spec/
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-confidence-method
status: reserved

- id: JsonSchema
Expand All @@ -47,23 +47,19 @@ class:

- id: RefreshService
label: Refresh service
comment: A refresh service is a mechanism that can be utilized by software agents to retrieve an updated copy of a Verifiable Credential. This class serves as a supertype for specific refresh service types.
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-refresh-service
status: reserved

- id: RenderMethod
label: Render method
comment: A specific render method specifies how a software expresses the verifiable credential using a visual, auditory, or haptic mechanism. This class serves as a supertype for specific render method types.
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-render-method
status: reserved

- id: TermsOfUse
label: Terms of use
comment: Policy under which the creator issued the credential or presentation. This class serves as a supertype for specific types for terms of use.
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#bc-terms-of-use
status: reserved

# - id: StatusList2021Entry
# label: Status List 2021 Entry
# comment: A Status List 2021 Entry provides issuers with a mechanism to provide status information for verifiable credentials.

- id: VerifiableCredential
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#credentials
label: Verifiable credential
Expand Down