Skip to content

Commit

Permalink
Prevent @vocab catch-all.
Browse files Browse the repository at this point in the history
The `@vocab` catch-all would mean that any compliant processor would
always only ever create URLs...even it invalid. Setting `@vocab` to
`null` should prevent that...which should cause a rejection.
  • Loading branch information
BigBlueHat committed Jun 6, 2024
1 parent fd7c20f commit d155322
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/input/credential-type-unmapped-fail.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"@context": [
"https://www.w3.org/ns/credentials/v2"
"https://www.w3.org/ns/credentials/v2",
{"@vocab": null}
],
"type": [
"VerifiableCredential",
Expand Down

0 comments on commit d155322

Please sign in to comment.