diff --git a/contexts/credentials/v2 b/contexts/credentials/v2 index 9c0d9d238..a6c43f7eb 100644 --- a/contexts/credentials/v2 +++ b/contexts/credentials/v2 @@ -92,6 +92,28 @@ } }, + "JsonSchema2023": { + "@id": + "https://w3.org/2018/credentials#JsonSchema2023", + "@context": { + "@protected": true, + + "id": "@id", + "type": "@type" + } + }, + + "VerifiableCredentialSchema2023": { + "@id": + "https://w3.org/2018/credentials#VerifiableCredentialSchema2023", + "@context": { + "@protected": true, + + "id": "@id", + "type": "@type" + } + }, + "StatusList2021Credential": { "@id": "https://w3id.org/vc/status-list#StatusList2021Credential", diff --git a/vocab/credentials/v2/vocabulary.yml b/vocab/credentials/v2/vocabulary.yml index 4230eb139..f4b56e7df 100644 --- a/vocab/credentials/v2/vocabulary.yml +++ b/vocab/credentials/v2/vocabulary.yml @@ -23,6 +23,15 @@ class: deprecated: true comment: A type of validator that can be used to syntactically validate JSON documents using the JSON Schema language. + - id: JsonSchema2023 + label: JSON schema validator 2023 + upper_value: cred:CredentialSchema + comment: A type of validator that can be used to syntactically validate JSON documents using the JSON Schema language. + + - id: VerifiableCredentialSchema2023 + label: Credential schema validator 2023 + comment: A type of validator that can be used to syntactically validate JSON documents packaged as Verifiable Credentials using the JSON Schema language. + - id: ManualRefreshService2018 label: Manual refresh service 2018 upper_value: cred:RefreshService