|
4 | 4 | "@vocab": "https://www.w3.org/ns/credentials/issuer-dependent#",
|
5 | 5 | "id": "@id",
|
6 | 6 | "type": "@type",
|
7 |
| - "kid": { |
8 |
| - "@id": "https://www.iana.org/assignments/jose#kid", |
9 |
| - "@type": "@id" |
10 |
| - }, |
11 |
| - "iss": { |
12 |
| - "@id": "https://www.iana.org/assignments/jose#iss", |
13 |
| - "@type": "@id" |
14 |
| - }, |
15 |
| - "sub": { |
16 |
| - "@id": "https://www.iana.org/assignments/jose#sub", |
17 |
| - "@type": "@id" |
18 |
| - }, |
19 |
| - "jku": { |
20 |
| - "@id": "https://www.iana.org/assignments/jose#jku", |
21 |
| - "@type": "@id" |
22 |
| - }, |
23 |
| - "x5u": { |
24 |
| - "@id": "https://www.iana.org/assignments/jose#x5u", |
25 |
| - "@type": "@id" |
26 |
| - }, |
27 |
| - "aud": { |
28 |
| - "@id": "https://www.iana.org/assignments/jwt#aud", |
29 |
| - "@type": "@id" |
30 |
| - }, |
31 |
| - "exp": { |
32 |
| - "@id": "https://www.iana.org/assignments/jwt#exp", |
33 |
| - "@type": "https://www.w3.org/2001/XMLSchema#nonNegativeInteger" |
34 |
| - }, |
35 |
| - "nbf": { |
36 |
| - "@id": "https://www.iana.org/assignments/jwt#nbf", |
37 |
| - "@type": "https://www.w3.org/2001/XMLSchema#nonNegativeInteger" |
38 |
| - }, |
39 |
| - "iat": { |
40 |
| - "@id": "https://www.iana.org/assignments/jwt#iat", |
41 |
| - "@type": "https://www.w3.org/2001/XMLSchema#nonNegativeInteger" |
42 |
| - }, |
43 |
| - "cnf": { |
44 |
| - "@id": "https://www.iana.org/assignments/jwt#cnf", |
45 |
| - "@context": { |
46 |
| - "@protected": true, |
47 |
| - "kid": { |
48 |
| - "@id": "https://www.iana.org/assignments/jwt#kid", |
49 |
| - "@type": "@id" |
50 |
| - }, |
51 |
| - "jwk": { |
52 |
| - "@id": "https://www.iana.org/assignments/jwt#jwk", |
53 |
| - "@type": "@json" |
54 |
| - } |
55 |
| - } |
56 |
| - }, |
57 |
| - "_sd_alg": { |
58 |
| - "@id": "https://www.iana.org/assignments/jwt#_sd_alg" |
59 |
| - }, |
60 |
| - "_sd": { |
61 |
| - "@id": "https://www.iana.org/assignments/jwt#_sd", |
62 |
| - "@type": "@json" |
63 |
| - }, |
64 |
| - "...": { |
65 |
| - "@id": "https://www.iana.org/assignments/jwt#..." |
| 7 | + "description": "https://schema.org/description", |
| 8 | + "digestMultibase": { |
| 9 | + "@id": "https://w3id.org/security#digestMultibase", |
| 10 | + "@type": "https://w3id.org/security#multibase" |
66 | 11 | },
|
67 | 12 | "digestSRI": {
|
68 | 13 | "@id": "https://www.w3.org/2018/credentials#digestSRI",
|
69 | 14 | "@type": "https://www.w3.org/2018/credentials#sriString"
|
70 | 15 | },
|
71 |
| - "digestMultibase": { |
72 |
| - "@id": "https://w3id.org/security#digestMultibase", |
73 |
| - "@type": "https://w3id.org/security#multibase" |
74 |
| - }, |
75 | 16 | "mediaType": {
|
76 | 17 | "@id": "https://schema.org/encodingFormat"
|
77 | 18 | },
|
78 |
| - "description": "https://schema.org/description", |
79 | 19 | "name": "https://schema.org/name",
|
80 |
| - "EnvelopedVerifiableCredential": "https://www.w3.org/2018/credentials#EnvelopedVerifiableCredential", |
81 |
| - "EnvelopedVerifiablePresentation": "https://www.w3.org/2018/credentials#EnvelopedVerifiablePresentation", |
82 | 20 | "VerifiableCredential": {
|
83 | 21 | "@id": "https://www.w3.org/2018/credentials#VerifiableCredential",
|
84 | 22 | "@context": {
|
85 | 23 | "@protected": true,
|
86 | 24 | "id": "@id",
|
87 | 25 | "type": "@type",
|
| 26 | + "confidenceMethod": { |
| 27 | + "@id": "https://www.w3.org/2018/credentials#confidenceMethod", |
| 28 | + "@type": "@id" |
| 29 | + }, |
88 | 30 | "credentialSchema": {
|
89 | 31 | "@id": "https://www.w3.org/2018/credentials#credentialSchema",
|
90 | 32 | "@type": "@id"
|
|
102 | 44 | "@id": "https://www.w3.org/2018/credentials#evidence",
|
103 | 45 | "@type": "@id"
|
104 | 46 | },
|
105 |
| - "validFrom": { |
106 |
| - "@id": "https://www.w3.org/2018/credentials#validFrom", |
107 |
| - "@type": "http://www.w3.org/2001/XMLSchema#dateTime" |
108 |
| - }, |
109 |
| - "validUntil": { |
110 |
| - "@id": "https://www.w3.org/2018/credentials#validUntil", |
111 |
| - "@type": "http://www.w3.org/2001/XMLSchema#dateTime" |
112 |
| - }, |
113 | 47 | "issuer": {
|
114 | 48 | "@id": "https://www.w3.org/2018/credentials#issuer",
|
115 | 49 | "@type": "@id"
|
|
124 | 58 | "@id": "https://www.w3.org/2018/credentials#refreshService",
|
125 | 59 | "@type": "@id"
|
126 | 60 | },
|
127 |
| - "termsOfUse": { |
128 |
| - "@id": "https://www.w3.org/2018/credentials#termsOfUse", |
| 61 | + "relatedResource": { |
| 62 | + "@id": "https://www.w3.org/2018/credentials#relatedResource", |
129 | 63 | "@type": "@id"
|
130 | 64 | },
|
131 |
| - "confidenceMethod": { |
132 |
| - "@id": "https://www.w3.org/2018/credentials#confidenceMethod", |
| 65 | + "renderMethod": { |
| 66 | + "@id": "https://www.w3.org/2018/credentials#renderMethod", |
133 | 67 | "@type": "@id"
|
134 | 68 | },
|
135 |
| - "relatedResource": { |
136 |
| - "@id": "https://www.w3.org/2018/credentials#relatedResource", |
| 69 | + "termsOfUse": { |
| 70 | + "@id": "https://www.w3.org/2018/credentials#termsOfUse", |
137 | 71 | "@type": "@id"
|
| 72 | + }, |
| 73 | + "validFrom": { |
| 74 | + "@id": "https://www.w3.org/2018/credentials#validFrom", |
| 75 | + "@type": "http://www.w3.org/2001/XMLSchema#dateTime" |
| 76 | + }, |
| 77 | + "validUntil": { |
| 78 | + "@id": "https://www.w3.org/2018/credentials#validUntil", |
| 79 | + "@type": "http://www.w3.org/2001/XMLSchema#dateTime" |
138 | 80 | }
|
139 | 81 | }
|
140 | 82 | },
|
| 83 | + "EnvelopedVerifiableCredential": "https://www.w3.org/2018/credentials#EnvelopedVerifiableCredential", |
141 | 84 | "VerifiablePresentation": {
|
142 | 85 | "@id": "https://www.w3.org/2018/credentials#VerifiablePresentation",
|
143 | 86 | "@context": {
|
|
153 | 96 | "@type": "@id",
|
154 | 97 | "@container": "@graph"
|
155 | 98 | },
|
| 99 | + "termsOfUse": { |
| 100 | + "@id": "https://www.w3.org/2018/credentials#termsOfUse", |
| 101 | + "@type": "@id" |
| 102 | + }, |
156 | 103 | "verifiableCredential": {
|
157 | 104 | "@id": "https://www.w3.org/2018/credentials#verifiableCredential",
|
158 | 105 | "@type": "@id",
|
159 | 106 | "@container": "@graph",
|
160 | 107 | "@context": null
|
161 |
| - }, |
162 |
| - "termsOfUse": { |
163 |
| - "@id": "https://www.w3.org/2018/credentials#termsOfUse", |
164 |
| - "@type": "@id" |
165 | 108 | }
|
166 | 109 | }
|
167 | 110 | },
|
| 111 | + "EnvelopedVerifiablePresentation": "https://www.w3.org/2018/credentials#EnvelopedVerifiablePresentation", |
168 | 112 | "JsonSchemaCredential": "https://www.w3.org/2018/credentials#JsonSchemaCredential",
|
169 | 113 | "JsonSchema": {
|
170 | 114 | "@id": "https://www.w3.org/2018/credentials#JsonSchema",
|
|
185 | 129 | "@protected": true,
|
186 | 130 | "id": "@id",
|
187 | 131 | "type": "@type",
|
188 |
| - "statusPurpose": "https://www.w3.org/ns/credentials/status#statusPurpose", |
189 | 132 | "encodedList": {
|
190 | 133 | "@id": "https://www.w3.org/ns/credentials/status#encodedList",
|
191 | 134 | "@type": "https://w3id.org/security#multibase"
|
192 | 135 | },
|
193 |
| - "ttl": "https://www.w3.org/ns/credentials/status#ttl", |
| 136 | + "statusMessage": { |
| 137 | + "@id": "https://www.w3.org/ns/credentials/status#statusMessage", |
| 138 | + "@context": { |
| 139 | + "@protected": true, |
| 140 | + "id": "@id", |
| 141 | + "type": "@type", |
| 142 | + "message": "https://www.w3.org/ns/credentials/status#message", |
| 143 | + "status": "https://www.w3.org/ns/credentials/status#status" |
| 144 | + } |
| 145 | + }, |
| 146 | + "statusPurpose": "https://www.w3.org/ns/credentials/status#statusPurpose", |
194 | 147 | "statusReference": {
|
195 | 148 | "@id": "https://www.w3.org/ns/credentials/status#statusReference",
|
196 | 149 | "@type": "@id"
|
|
199 | 152 | "@id": "https://www.w3.org/ns/credentials/status#statusSize",
|
200 | 153 | "@type": "https://www.w3.org/2001/XMLSchema#positiveInteger"
|
201 | 154 | },
|
202 |
| - "statusMessage": { |
203 |
| - "@id": "https://www.w3.org/ns/credentials/status#statusMessage", |
204 |
| - "@context": { |
205 |
| - "@protected": true, |
206 |
| - "id": "@id", |
207 |
| - "type": "@type", |
208 |
| - "status": "https://www.w3.org/ns/credentials/status#status", |
209 |
| - "message": "https://www.w3.org/ns/credentials/status#message" |
210 |
| - } |
211 |
| - } |
| 155 | + "ttl": "https://www.w3.org/ns/credentials/status#ttl" |
212 | 156 | }
|
213 | 157 | },
|
214 | 158 | "BitstringStatusListEntry": {
|
|
217 | 161 | "@protected": true,
|
218 | 162 | "id": "@id",
|
219 | 163 | "type": "@type",
|
220 |
| - "statusPurpose": "https://www.w3.org/ns/credentials/status#statusPurpose", |
221 |
| - "statusListIndex": "https://www.w3.org/ns/credentials/status#statusListIndex", |
222 | 164 | "statusListCredential": {
|
223 | 165 | "@id": "https://www.w3.org/ns/credentials/status#statusListCredential",
|
224 | 166 | "@type": "@id"
|
225 |
| - } |
| 167 | + }, |
| 168 | + "statusListIndex": "https://www.w3.org/ns/credentials/status#statusListIndex", |
| 169 | + "statusPurpose": "https://www.w3.org/ns/credentials/status#statusPurpose" |
226 | 170 | }
|
227 | 171 | },
|
228 | 172 | "DataIntegrityProof": {
|
|
236 | 180 | "@id": "http://purl.org/dc/terms/created",
|
237 | 181 | "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
238 | 182 | },
|
| 183 | + "cryptosuite": { |
| 184 | + "@id": "https://w3id.org/security#cryptosuite", |
| 185 | + "@type": "https://w3id.org/security#cryptosuiteString" |
| 186 | + }, |
239 | 187 | "domain": "https://w3id.org/security#domain",
|
240 | 188 | "expires": {
|
241 | 189 | "@id": "https://w3id.org/security#expiration",
|
|
263 | 211 | "@type": "@id",
|
264 | 212 | "@container": "@set"
|
265 | 213 | },
|
266 |
| - "capabilityInvocation": { |
267 |
| - "@id": "https://w3id.org/security#capabilityInvocationMethod", |
| 214 | + "capabilityDelegation": { |
| 215 | + "@id": "https://w3id.org/security#capabilityDelegationMethod", |
268 | 216 | "@type": "@id",
|
269 | 217 | "@container": "@set"
|
270 | 218 | },
|
271 |
| - "capabilityDelegation": { |
272 |
| - "@id": "https://w3id.org/security#capabilityDelegationMethod", |
| 219 | + "capabilityInvocation": { |
| 220 | + "@id": "https://w3id.org/security#capabilityInvocationMethod", |
273 | 221 | "@type": "@id",
|
274 | 222 | "@container": "@set"
|
275 | 223 | },
|
|
280 | 228 | }
|
281 | 229 | }
|
282 | 230 | },
|
283 |
| - "cryptosuite": { |
284 |
| - "@id": "https://w3id.org/security#cryptosuite", |
285 |
| - "@type": "https://w3id.org/security#cryptosuiteString" |
286 |
| - }, |
287 | 231 | "proofValue": {
|
288 | 232 | "@id": "https://w3id.org/security#proofValue",
|
289 | 233 | "@type": "https://w3id.org/security#multibase"
|
|
293 | 237 | "@type": "@id"
|
294 | 238 | }
|
295 | 239 | }
|
| 240 | + }, |
| 241 | + "...": { |
| 242 | + "@id": "https://www.iana.org/assignments/jwt#..." |
| 243 | + }, |
| 244 | + "_sd": { |
| 245 | + "@id": "https://www.iana.org/assignments/jwt#_sd", |
| 246 | + "@type": "@json" |
| 247 | + }, |
| 248 | + "_sd_alg": { |
| 249 | + "@id": "https://www.iana.org/assignments/jwt#_sd_alg" |
| 250 | + }, |
| 251 | + "aud": { |
| 252 | + "@id": "https://www.iana.org/assignments/jwt#aud", |
| 253 | + "@type": "@id" |
| 254 | + }, |
| 255 | + "cnf": { |
| 256 | + "@id": "https://www.iana.org/assignments/jwt#cnf", |
| 257 | + "@context": { |
| 258 | + "@protected": true, |
| 259 | + "kid": { |
| 260 | + "@id": "https://www.iana.org/assignments/jwt#kid", |
| 261 | + "@type": "@id" |
| 262 | + }, |
| 263 | + "jwk": { |
| 264 | + "@id": "https://www.iana.org/assignments/jwt#jwk", |
| 265 | + "@type": "@json" |
| 266 | + } |
| 267 | + } |
| 268 | + }, |
| 269 | + "exp": { |
| 270 | + "@id": "https://www.iana.org/assignments/jwt#exp", |
| 271 | + "@type": "https://www.w3.org/2001/XMLSchema#nonNegativeInteger" |
| 272 | + }, |
| 273 | + "iat": { |
| 274 | + "@id": "https://www.iana.org/assignments/jwt#iat", |
| 275 | + "@type": "https://www.w3.org/2001/XMLSchema#nonNegativeInteger" |
| 276 | + }, |
| 277 | + "iss": { |
| 278 | + "@id": "https://www.iana.org/assignments/jose#iss", |
| 279 | + "@type": "@id" |
| 280 | + }, |
| 281 | + "jku": { |
| 282 | + "@id": "https://www.iana.org/assignments/jose#jku", |
| 283 | + "@type": "@id" |
| 284 | + }, |
| 285 | + "kid": { |
| 286 | + "@id": "https://www.iana.org/assignments/jose#kid", |
| 287 | + "@type": "@id" |
| 288 | + }, |
| 289 | + "nbf": { |
| 290 | + "@id": "https://www.iana.org/assignments/jwt#nbf", |
| 291 | + "@type": "https://www.w3.org/2001/XMLSchema#nonNegativeInteger" |
| 292 | + }, |
| 293 | + "sub": { |
| 294 | + "@id": "https://www.iana.org/assignments/jose#sub", |
| 295 | + "@type": "@id" |
| 296 | + }, |
| 297 | + "x5u": { |
| 298 | + "@id": "https://www.iana.org/assignments/jose#x5u", |
| 299 | + "@type": "@id" |
296 | 300 | }
|
297 | 301 | }
|
298 | 302 | }
|
0 commit comments