Skip to content

Commit fc0933b

Browse files
mspornydlongley
andcommitted
Ensure id and type aliases are declared in scoped contexts.
Co-authored-by: Dave Longley <dlongley@digitalbazaar.com>
1 parent d82b52a commit fc0933b

File tree

1 file changed

+5
-0
lines changed
  • contexts/credentials

1 file changed

+5
-0
lines changed

contexts/credentials/v2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"@context": {
1111
"@protected": true,
1212

13+
"id": "@id",
14+
"type": "@type",
15+
1316
"credentialSchema": {
1417
"@id": "https://www.w3.org/2018/credentials#credentialSchema",
1518
"@type": "@id"
@@ -74,6 +77,8 @@
7477
"@context": {
7578
"@protected": true,
7679

80+
"id": "@id",
81+
"type": "@type",
7782
"holder": {
7883
"@id": "https://www.w3.org/2018/credentials#holder",
7984
"@type": "@id"

0 commit comments

Comments
 (0)