Skip to content

Commit b4d990e

Browse files
committed
Fix bug in v2 context for status messages.
1 parent 43f5828 commit b4d990e

File tree

1 file changed

+21
-21
lines changed
  • contexts/credentials

1 file changed

+21
-21
lines changed

contexts/credentials/v2

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -154,28 +154,8 @@
154154
"@id": "https://www.w3.org/ns/credentials/status#encodedList",
155155
"@type": "https://w3id.org/security#multibase"
156156
},
157-
"statusMessage": {
158-
"@id": "https://www.w3.org/ns/credentials/status#statusMessage",
159-
"@context": {
160-
"@protected": true,
161-
162-
"id": "@id",
163-
"type": "@type",
164-
165-
"message": "https://www.w3.org/ns/credentials/status#message",
166-
"status": "https://www.w3.org/ns/credentials/status#status"
167-
}
168-
},
169157
"statusPurpose":
170158
"https://www.w3.org/ns/credentials/status#statusPurpose",
171-
"statusReference": {
172-
"@id": "https://www.w3.org/ns/credentials/status#statusReference",
173-
"@type": "@id"
174-
},
175-
"statusSize": {
176-
"@id": "https://www.w3.org/ns/credentials/status#statusSize",
177-
"@type": "https://www.w3.org/2001/XMLSchema#positiveInteger"
178-
},
179159
"ttl": "https://www.w3.org/ns/credentials/status#ttl"
180160
}
181161
},
@@ -197,7 +177,27 @@
197177
"statusListIndex":
198178
"https://www.w3.org/ns/credentials/status#statusListIndex",
199179
"statusPurpose":
200-
"https://www.w3.org/ns/credentials/status#statusPurpose"
180+
"https://www.w3.org/ns/credentials/status#statusPurpose",
181+
"statusMessage": {
182+
"@id": "https://www.w3.org/ns/credentials/status#statusMessage",
183+
"@context": {
184+
"@protected": true,
185+
186+
"id": "@id",
187+
"type": "@type",
188+
189+
"message": "https://www.w3.org/ns/credentials/status#message",
190+
"status": "https://www.w3.org/ns/credentials/status#status"
191+
}
192+
},
193+
"statusReference": {
194+
"@id": "https://www.w3.org/ns/credentials/status#statusReference",
195+
"@type": "@id"
196+
},
197+
"statusSize": {
198+
"@id": "https://www.w3.org/ns/credentials/status#statusSize",
199+
"@type": "https://www.w3.org/2001/XMLSchema#positiveInteger"
200+
}
201201
}
202202
},
203203

0 commit comments

Comments
 (0)