Skip to content
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

Added the context references to the vocabulary.yml file #192

Merged
merged 2 commits into from
Dec 8, 2024
Merged
Changes from 1 commit
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
16 changes: 15 additions & 1 deletion vocab/vocabulary.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
vocab:
- id: cs
value: https://www.w3.org/ns/credentials/status#
context: https://www.w3.org/ns/credentials/v2
context: https://www.w3.org/ns/credentials/status/v1

prefix:
- id: cred
Expand All @@ -23,17 +23,21 @@ ontology:
class:
- id: BitstringStatusList
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#bitstringstatuslist
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: BitstringStatusListEntry
upper_value: cred:CredentialStatus
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#bitstringstatuslistentry
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: BitstringStatusListCredential
upper_value: cred:VerifiableCredential
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#bitstringstatuslistcredential
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: BitstringStatusMessage
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusMessage
context: [vocab,https://www.w3.org/ns/credentials/v2]

property:
- id: statusPurpose
Expand All @@ -42,53 +46,63 @@ property:
- cs:BitstringStatusList
- cs:BitstringStatusListEntry
range: xsd:string
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: statusListIndex
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusListIndex
domain: cs:BitstringStatusListEntry
range: xsd:string
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: statusListCredential
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusListCredential
domain: cs:BitstringStatusListEntry
range: cs:BitstringStatusListCredential
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: encodedList
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#encodedList
domain: cs:BitstringStatusList
range: sec:multibase
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: ttl
label: Time to live in milliseconds
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#ttl
domain: cs:BitstringStatusList
range: xsd:string
context: [vocab,https://www.w3.org/ns/credentials/v2]

- 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:positiveInteger
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: statusMessage
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusMessage
domain: cs:BitstringStatusList
range: cs:BitstringStatusMessage
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: status
label: Hexadecimal value of a status message
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#status
range: xsd:string
domain: cs:BitstringStatusMessage
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: message
label: Human-readable message of a status value
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#message
range: xsd:string
domain: cs:BitstringStatusMessage
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: statusReference
label: Reference documentation for status messages
defined_by: https://www.w3.org/TR/vc-bitstring-status-list/#statusReference
domain: cs:BitstringStatusList
range: URL
context: [vocab,https://www.w3.org/ns/credentials/v2]