Skip to content

Commit 9a411fb

Browse files
authored
Merge pull request #41 from Sphereon-Opensource/feature/VDX-252
Feature/VDX-252
2 parents 277602d + 45b8674 commit 9a411fb

35 files changed

Lines changed: 1039 additions & 360 deletions

File tree

packages/agent/conf/docker/oid4vci_metadata/sphereon.json

Lines changed: 206 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,93 @@
1111
}
1212
],
1313
"credentials_supported": [
14+
{
15+
"display": [
16+
{
17+
"name": "Example University Degree",
18+
"description": "JFF Plugfest 3 OpenBadge (JWT)",
19+
"text_color": "#FFFFFF",
20+
"background_color": "#1763c1",
21+
"logo": {
22+
"url": "https://w3c-ccg.github.io/vc-ed/plugfest-1-2022/images/JFF_LogoLockup.png",
23+
"alt_text": "Red, magenta and yellow vertical lines with 3 black dots and the text JFF, depicting the Jobs For the Future logo."
24+
}
25+
},
26+
{
27+
"locale": "en-US",
28+
"name": "Example University Degree",
29+
"description": "JFF Plugfest 3 OpenBadge (JWT)",
30+
"text_color": "#FFFFFF",
31+
"background_color": "#1763c1",
32+
"logo": {
33+
"url": "https://w3c-ccg.github.io/vc-ed/plugfest-1-2022/images/JFF_LogoLockup.png",
34+
"alt_text": "Red, magenta and yellow vertical lines with 3 black dots and the text JFF, depicting the Jobs For the Future logo."
35+
}
36+
}
37+
],
38+
"id": "OpenBadgeCredentialJwt",
39+
"types": [
40+
"VerifiableCredential",
41+
"OpenBadgeCredential"
42+
],
43+
"format": "jwt_vc_json",
44+
"cryptographic_binding_methods_supported": [
45+
"did:ion",
46+
"did:key",
47+
"did:web",
48+
"did:jwk"
49+
],
50+
"cryptographic_suites_supported": [
51+
"ES256",
52+
"ES256K",
53+
"EdDSA"
54+
]
55+
},
56+
{
57+
"display": [
58+
{
59+
"name": "Permanent Resident Card",
60+
"description": "Government of Kakapo (JWT)",
61+
"text_color": "#FFFFFF",
62+
"background_color": "#3a2d2d",
63+
"logo": {
64+
"url": "https://i.ibb.co/kJm9Mpx/Screenshot-2023-08-18-000155.png",
65+
"alt_text": "White shield with text Government of Kakapo and subtitle Ministry of Foreign Affairs."
66+
}
67+
},
68+
{
69+
"locale": "en-US",
70+
"name": "Permanent Resident Card",
71+
"description": "Government of Kakapo (JWT)",
72+
"text_color": "#FFFFFF",
73+
"background_color": "#3a2d2d",
74+
"logo": {
75+
"url": "https://i.ibb.co/kJm9Mpx/Screenshot-2023-08-18-000155.png",
76+
"alt_text": "White shield with text Government of Kakapo and subtitle Ministry of Foreign Affairs."
77+
}
78+
}
79+
],
80+
"id": "PermantResidentCardJwt",
81+
"types": [
82+
"VerifiableCredential",
83+
"PermanentResidentCard"
84+
],
85+
"format": "jwt_vc_json",
86+
"cryptographic_binding_methods_supported": [
87+
"did:web",
88+
"did:jwk"
89+
],
90+
"cryptographic_suites_supported": [
91+
"ES256",
92+
"ES256K",
93+
"EdDSA"
94+
]
95+
},
1496
{
1597
"display": [
1698
{
1799
"name": "Sphereon guest",
18-
"description": "Sphereon guest credential for demo purposes.",
100+
"description": "Demo credential",
19101
"text_color": "#FFFFFF",
20102
"background_image": {
21103
"url": "https://i.ibb.co/kmfrH4F/tulips.png",
@@ -28,7 +110,7 @@
28110
},
29111
{
30112
"locale": "en-US",
31-
"name": "Sphereon guest",
113+
"name": "Demo credential",
32114
"description": "Sphereon guest credential for demo purposes.",
33115
"text_color": "#FFFFFF",
34116
"background_image": {
@@ -56,13 +138,13 @@
56138
}
57139
],
58140
"order": [
59-
"Voornaam",
60-
"Achternaam",
141+
"firstName",
142+
"lastName",
61143
"email",
62144
"type"
63145
],
64146
"credentialSubject": {
65-
"Voornaam": {
147+
"firstName": {
66148
"value_type": "string",
67149
"display": [
68150
{
@@ -78,7 +160,7 @@
78160
}
79161
]
80162
},
81-
"Achternaam": {
163+
"lastName": {
82164
"value_type": "string",
83165
"display": [
84166
{
@@ -142,6 +224,124 @@
142224
"ES256K",
143225
"EdDSA"
144226
]
227+
},
228+
{
229+
"display": [
230+
{
231+
"name": "Conference Attendee",
232+
"description": "The DBC Conference Attendee credential is given to all visitors of the DBC conference.",
233+
"background_color": "#3B6F6D",
234+
"text_color": "#FFFFFF",
235+
"logo": {
236+
"url": "https://dutchblockchaincoalition.org/assets/images/icons/Logo-DBC.png",
237+
"alt_text": "An orange block shape, with the text Dutch Blockchain Coalition next to it, portraying the logo of the Dutch Blockchain Coalition."
238+
},
239+
"background_image": {
240+
"url": "https://i.ibb.co/CHqjxrJ/dbc-card-hig-res.png",
241+
"alt_text": "Connected open cubes in blue with one orange cube as a background of the card"
242+
}
243+
},
244+
{
245+
"locale": "en-US",
246+
"name": "Conference Attendee",
247+
"description": "The DBC Conference Attendee credential is given to all visitors of the DBC conference.",
248+
"background_color": "#3B6F6D",
249+
"text_color": "#FFFFFF",
250+
"logo": {
251+
"url": "https://dutchblockchaincoalition.org/assets/images/icons/Logo-DBC.png",
252+
"alt_text": "An orange block shape, with the text Dutch Blockchain Coalition next to it, portraying the logo of the Dutch Blockchain Coalition."
253+
},
254+
"background_image": {
255+
"url": "https://i.ibb.co/CHqjxrJ/dbc-card-hig-res.png",
256+
"alt_text": "Connected open cubes in blue with one orange cube as a background of the card"
257+
}
258+
},
259+
{
260+
"locale": "nl-NL",
261+
"name": "Conferentie Deelnemer",
262+
"description": "De DBC Conferentie Deelnemer credential wordt uitgegeven aan alle bezoekers van de DBC conferentie.",
263+
"background_color": "#3B6F6D",
264+
"text_color": "#FFFFFF",
265+
"logo": {
266+
"url": "https://dutchblockchaincoalition.org/assets/images/icons/Logo-DBC.png",
267+
"alt_text": "Aaneengesloten open blokken in de kleur blauw, met een blok in de kleur oranje, die tesamen de achtergrond van de kaart vormen."
268+
},
269+
"background_image": {
270+
"url": "https://i.ibb.co/CHqjxrJ/dbc-card-hig-res.png",
271+
"alt_text": "Connected open cubes in blue with one orange cube as a background of the card"
272+
}
273+
}
274+
],
275+
"order": [
276+
"firstName",
277+
"lastName",
278+
"email"
279+
],
280+
"credentialSubject": {
281+
"firstName": {
282+
"value_type": "string",
283+
"display": [
284+
{
285+
"name": "FirstName"
286+
},
287+
{
288+
"name": "FirstName",
289+
"locale": "en-US"
290+
},
291+
{
292+
"name": "Voornaam",
293+
"locale": "nl-NL"
294+
}
295+
]
296+
},
297+
"lastName": {
298+
"value_type": "string",
299+
"display": [
300+
{
301+
"name": "LastName"
302+
},
303+
{
304+
"name": "LastName",
305+
"locale": "en-US"
306+
},
307+
{
308+
"name": "Achternaam",
309+
"locale": "nl-NL"
310+
}
311+
]
312+
},
313+
"email": {
314+
"value_type": "string",
315+
"display": [
316+
{
317+
"name": "Email"
318+
},
319+
{
320+
"name": "Email",
321+
"locale": "en-US"
322+
},
323+
{
324+
"name": "Email",
325+
"locale": "nl-NL"
326+
}
327+
]
328+
}
329+
},
330+
"id": "dbc2023",
331+
"types": [
332+
"VerifiableCredential",
333+
"DBCConferenceAttendee"
334+
],
335+
"format": "jwt_vc_json",
336+
"cryptographic_binding_methods_supported": [
337+
"did:web",
338+
"did:jwk"
339+
],
340+
"cryptographic_suites_supported": [
341+
"ES256",
342+
"ES256K",
343+
"EdDSA"
344+
]
145345
}
146346
]
147347
}

0 commit comments

Comments
 (0)