Skip to content

Commit

Permalink
Add the context references to the vocabulary.yml file.
Browse files Browse the repository at this point in the history
Co-authored-by: Manu Sporny <[email protected]>
  • Loading branch information
iherman and msporny authored Dec 8, 2024
1 parent ba5f8a2 commit 7b68770
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 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/status/v1

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

- id: BitstringStatusListEntry
label: Bitstring status list entry class
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
label: Bitstring status list credential class
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
label: Bitstring status message class
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 @@ -46,57 +51,67 @@ property:
- cs:BitstringStatusList
- cs:BitstringStatusListEntry
range: xsd:string
context: [vocab,https://www.w3.org/ns/credentials/v2]

- id: statusListIndex
label: The position of the entry in the status list
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
label: The location of the status list credential
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
label: The encoded status list bitstring
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
label: Status message
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]

0 comments on commit 7b68770

Please sign in to comment.