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

add vc-json-schema to vocab and context #1178

Merged
merged 3 commits into from
Jul 11, 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
22 changes: 22 additions & 0 deletions contexts/credentials/v2
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 9 additions & 0 deletions vocab/credentials/v2/vocabulary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
decentralgabe marked this conversation as resolved.
Show resolved Hide resolved

- id: ManualRefreshService2018
label: Manual refresh service 2018
upper_value: cred:RefreshService
Expand Down