Skip to content

Commit 62854e6

Browse files
committed
Fix bugs in BSL v1 context.
1 parent a0bdc5f commit 62854e6

File tree

1 file changed

+27
-23
lines changed

1 file changed

+27
-23
lines changed

contexts/v1.jsonld

+27-23
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,13 @@
1212
"id": "@id",
1313
"type": "@type",
1414

15-
"statusPurpose":
16-
"https://www.w3.org/ns/credentials/status#statusPurpose",
1715
"encodedList": {
1816
"@id": "https://www.w3.org/ns/credentials/status#encodedList",
1917
"@type": "https://w3id.org/security#multibase"
2018
},
21-
"ttl": "https://www.w3.org/ns/credentials/status#ttl",
22-
"statusReference":
23-
"https://www.w3.org/ns/credentials/status#statusReference",
24-
"statusSize":
25-
"https://www.w3.org/ns/credentials/status#statusSize",
26-
"statusMessage": {
27-
"@id": "https://www.w3.org/ns/credentials/status#statusMessage",
28-
"@context": {
29-
"@protected": true,
30-
31-
"id": "@id",
32-
"type": "@type",
33-
34-
"status": "https://www.w3.org/ns/credentials/status#status",
35-
"message": "https://www.w3.org/ns/credentials/status#message"
36-
}
37-
}
19+
"statusPurpose":
20+
"https://www.w3.org/ns/credentials/status#statusPurpose",
21+
"ttl": "https://www.w3.org/ns/credentials/status#ttl"
3822
}
3923
},
4024

@@ -47,14 +31,34 @@
4731
"id": "@id",
4832
"type": "@type",
4933

50-
"statusPurpose":
51-
"https://www.w3.org/ns/credentials/status#statusPurpose",
52-
"statusListIndex":
53-
"https://www.w3.org/ns/credentials/status#statusListIndex",
5434
"statusListCredential": {
5535
"@id":
5636
"https://www.w3.org/ns/credentials/status#statusListCredential",
5737
"@type": "@id"
38+
},
39+
"statusListIndex":
40+
"https://www.w3.org/ns/credentials/status#statusListIndex",
41+
"statusPurpose":
42+
"https://www.w3.org/ns/credentials/status#statusPurpose",
43+
"statusMessage": {
44+
"@id": "https://www.w3.org/ns/credentials/status#statusMessage",
45+
"@context": {
46+
"@protected": true,
47+
48+
"id": "@id",
49+
"type": "@type",
50+
51+
"message": "https://www.w3.org/ns/credentials/status#message",
52+
"status": "https://www.w3.org/ns/credentials/status#status"
53+
}
54+
},
55+
"statusReference": {
56+
"@id": "https://www.w3.org/ns/credentials/status#statusReference",
57+
"@type": "@id"
58+
},
59+
"statusSize": {
60+
"@id": "https://www.w3.org/ns/credentials/status#statusSize",
61+
"@type": "https://www.w3.org/2001/XMLSchema#positiveInteger"
5862
}
5963
}
6064
}

0 commit comments

Comments
 (0)