Skip to content

Commit

Permalink
Fix bug in JSON Schema for VCs and VPs.
Browse files Browse the repository at this point in the history
  • Loading branch information
absoludity authored Jan 26, 2025
1 parent 36161f3 commit 6cd2bba
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions schema/verifiable-credential/verifiable-credential-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,13 @@
"properties": {
"@context": {
"type": "array",
"contains": {
"const": "https://www.w3.org/ns/credentials/v2"
},
"minItems": 1
"prefixItems": [
{
"const": "https://www.w3.org/ns/credentials/v2"
}
],
"minItems": 1,
"uniqueItems": true
},
"id": {
"type": "string"
Expand Down Expand Up @@ -316,4 +319,4 @@
"credentialSubject"
],
"additionalProperties": true
}
}

0 comments on commit 6cd2bba

Please sign in to comment.