Elffuss BraidHub

kikocis/EDC public

main · 8.7 KiBRawPermalink
1{
2 "@context": {
3 "@version": 1.1,
4 "@protected": true,
5 "id": "@id",
6 "type": "@type",
7 "VerifiableCredential": {
8 "@id": "https://www.w3.org/2018/credentials#VerifiableCredential",
9 "@context": {
10 "@version": 1.1,
11 "@protected": true,
12 "id": "@id",
13 "type": "@type",
14 "cred": "https://www.w3.org/2018/credentials#",
15 "sec": "https://w3id.org/security#",
16 "xsd": "http://www.w3.org/2001/XMLSchema#",
17 "credentialSchema": {
18 "@id": "cred:credentialSchema",
19 "@type": "@id",
20 "@context": {
21 "@version": 1.1,
22 "@protected": true,
23 "id": "@id",
24 "type": "@type",
25 "cred": "https://www.w3.org/2018/credentials#",
26 "JsonSchemaValidator2018": "cred:JsonSchemaValidator2018"
27 }
28 },
29 "credentialStatus": {
30 "@id": "cred:credentialStatus",
31 "@type": "@id"
32 },
33 "credentialSubject": {
34 "@id": "cred:credentialSubject",
35 "@type": "@id"
36 },
37 "evidence": {
38 "@id": "cred:evidence",
39 "@type": "@id"
40 },
41 "expirationDate": {
42 "@id": "cred:expirationDate",
43 "@type": "xsd:dateTime"
44 },
45 "holder": {
46 "@id": "cred:holder",
47 "@type": "@id"
48 },
49 "issued": {
50 "@id": "cred:issued",
51 "@type": "xsd:dateTime"
52 },
53 "issuer": {
54 "@id": "cred:issuer",
55 "@type": "@id"
56 },
57 "issuanceDate": {
58 "@id": "cred:issuanceDate",
59 "@type": "xsd:dateTime"
60 },
61 "proof": {
62 "@id": "sec:proof",
63 "@type": "@id",
64 "@container": "@graph"
65 },
66 "refreshService": {
67 "@id": "cred:refreshService",
68 "@type": "@id",
69 "@context": {
70 "@version": 1.1,
71 "@protected": true,
72 "id": "@id",
73 "type": "@type",
74 "cred": "https://www.w3.org/2018/credentials#",
75 "ManualRefreshService2018": "cred:ManualRefreshService2018"
76 }
77 },
78 "termsOfUse": {
79 "@id": "cred:termsOfUse",
80 "@type": "@id"
81 },
82 "validFrom": {
83 "@id": "cred:validFrom",
84 "@type": "xsd:dateTime"
85 },
86 "validUntil": {
87 "@id": "cred:validUntil",
88 "@type": "xsd:dateTime"
89 }
90 }
91 },
92 "VerifiablePresentation": {
93 "@id": "https://www.w3.org/2018/credentials#VerifiablePresentation",
94 "@context": {
95 "@version": 1.1,
96 "@protected": true,
97 "id": "@id",
98 "type": "@type",
99 "cred": "https://www.w3.org/2018/credentials#",
100 "sec": "https://w3id.org/security#",
101 "holder": {
102 "@id": "cred:holder",
103 "@type": "@id"
104 },
105 "proof": {
106 "@id": "sec:proof",
107 "@type": "@id",
108 "@container": "@graph"
109 },
110 "verifiableCredential": {
111 "@id": "cred:verifiableCredential",
112 "@type": "@id",
113 "@container": "@graph"
114 }
115 }
116 },
117 "EcdsaSecp256k1Signature2019": {
118 "@id": "https://w3id.org/security#EcdsaSecp256k1Signature2019",
119 "@context": {
120 "@version": 1.1,
121 "@protected": true,
122 "id": "@id",
123 "type": "@type",
124 "sec": "https://w3id.org/security#",
125 "xsd": "http://www.w3.org/2001/XMLSchema#",
126 "challenge": "sec:challenge",
127 "created": {
128 "@id": "http://purl.org/dc/terms/created",
129 "@type": "xsd:dateTime"
130 },
131 "domain": "sec:domain",
132 "expires": {
133 "@id": "sec:expiration",
134 "@type": "xsd:dateTime"
135 },
136 "jws": "sec:jws",
137 "nonce": "sec:nonce",
138 "proofPurpose": {
139 "@id": "sec:proofPurpose",
140 "@type": "@vocab",
141 "@context": {
142 "@version": 1.1,
143 "@protected": true,
144 "id": "@id",
145 "type": "@type",
146 "sec": "https://w3id.org/security#",
147 "assertionMethod": {
148 "@id": "sec:assertionMethod",
149 "@type": "@id",
150 "@container": "@set"
151 },
152 "authentication": {
153 "@id": "sec:authenticationMethod",
154 "@type": "@id",
155 "@container": "@set"
156 }
157 }
158 },
159 "proofValue": "sec:proofValue",
160 "verificationMethod": {
161 "@id": "sec:verificationMethod",
162 "@type": "@id"
163 }
164 }
165 },
166 "EcdsaSecp256r1Signature2019": {
167 "@id": "https://w3id.org/security#EcdsaSecp256r1Signature2019",
168 "@context": {
169 "@version": 1.1,
170 "@protected": true,
171 "id": "@id",
172 "type": "@type",
173 "sec": "https://w3id.org/security#",
174 "xsd": "http://www.w3.org/2001/XMLSchema#",
175 "challenge": "sec:challenge",
176 "created": {
177 "@id": "http://purl.org/dc/terms/created",
178 "@type": "xsd:dateTime"
179 },
180 "domain": "sec:domain",
181 "expires": {
182 "@id": "sec:expiration",
183 "@type": "xsd:dateTime"
184 },
185 "jws": "sec:jws",
186 "nonce": "sec:nonce",
187 "proofPurpose": {
188 "@id": "sec:proofPurpose",
189 "@type": "@vocab",
190 "@context": {
191 "@version": 1.1,
192 "@protected": true,
193 "id": "@id",
194 "type": "@type",
195 "sec": "https://w3id.org/security#",
196 "assertionMethod": {
197 "@id": "sec:assertionMethod",
198 "@type": "@id",
199 "@container": "@set"
200 },
201 "authentication": {
202 "@id": "sec:authenticationMethod",
203 "@type": "@id",
204 "@container": "@set"
205 }
206 }
207 },
208 "proofValue": "sec:proofValue",
209 "verificationMethod": {
210 "@id": "sec:verificationMethod",
211 "@type": "@id"
212 }
213 }
214 },
215 "Ed25519Signature2018": {
216 "@id": "https://w3id.org/security#Ed25519Signature2018",
217 "@context": {
218 "@version": 1.1,
219 "@protected": true,
220 "id": "@id",
221 "type": "@type",
222 "sec": "https://w3id.org/security#",
223 "xsd": "http://www.w3.org/2001/XMLSchema#",
224 "challenge": "sec:challenge",
225 "created": {
226 "@id": "http://purl.org/dc/terms/created",
227 "@type": "xsd:dateTime"
228 },
229 "domain": "sec:domain",
230 "expires": {
231 "@id": "sec:expiration",
232 "@type": "xsd:dateTime"
233 },
234 "jws": "sec:jws",
235 "nonce": "sec:nonce",
236 "proofPurpose": {
237 "@id": "sec:proofPurpose",
238 "@type": "@vocab",
239 "@context": {
240 "@version": 1.1,
241 "@protected": true,
242 "id": "@id",
243 "type": "@type",
244 "sec": "https://w3id.org/security#",
245 "assertionMethod": {
246 "@id": "sec:assertionMethod",
247 "@type": "@id",
248 "@container": "@set"
249 },
250 "authentication": {
251 "@id": "sec:authenticationMethod",
252 "@type": "@id",
253 "@container": "@set"
254 }
255 }
256 },
257 "proofValue": "sec:proofValue",
258 "verificationMethod": {
259 "@id": "sec:verificationMethod",
260 "@type": "@id"
261 }
262 }
263 },
264 "RsaSignature2018": {
265 "@id": "https://w3id.org/security#RsaSignature2018",
266 "@context": {
267 "@version": 1.1,
268 "@protected": true,
269 "challenge": "sec:challenge",
270 "created": {
271 "@id": "http://purl.org/dc/terms/created",
272 "@type": "xsd:dateTime"
273 },
274 "domain": "sec:domain",
275 "expires": {
276 "@id": "sec:expiration",
277 "@type": "xsd:dateTime"
278 },
279 "jws": "sec:jws",
280 "nonce": "sec:nonce",
281 "proofPurpose": {
282 "@id": "sec:proofPurpose",
283 "@type": "@vocab",
284 "@context": {
285 "@version": 1.1,
286 "@protected": true,
287 "id": "@id",
288 "type": "@type",
289 "sec": "https://w3id.org/security#",
290 "assertionMethod": {
291 "@id": "sec:assertionMethod",
292 "@type": "@id",
293 "@container": "@set"
294 },
295 "authentication": {
296 "@id": "sec:authenticationMethod",
297 "@type": "@id",
298 "@container": "@set"
299 }
300 }
301 },
302 "proofValue": "sec:proofValue",
303 "verificationMethod": {
304 "@id": "sec:verificationMethod",
305 "@type": "@id"
306 }
307 }
308 },
309 "proof": {
310 "@id": "https://w3id.org/security#proof",
311 "@type": "@id",
312 "@container": "@graph"
313 }
314 }
315}