From 7b687701e7de4286b3ce13cac49db3401351231a Mon Sep 17 00:00:00 2001 From: Ivan Herman Date: Sun, 8 Dec 2024 21:25:02 +0100 Subject: [PATCH] Add the context references to the vocabulary.yml file. Co-authored-by: Manu Sporny --- vocab/vocabulary.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/vocab/vocabulary.yml b/vocab/vocabulary.yml index 7ae7e3a..adb9730 100644 --- a/vocab/vocabulary.yml +++ b/vocab/vocabulary.yml @@ -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 @@ -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 @@ -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]