Skip to content

Commit e457032

Browse files
committed
Add European Vocational Education and Training Microcredential type
1 parent ddedaf8 commit e457032

File tree

3 files changed

+244
-0
lines changed

3 files changed

+244
-0
lines changed

app/app_config/config_countries.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ class ConfCountries:
148148
"eu.europa.ec.eudi.educational_id_mdoc",
149149
"eu.europa.ec.eudi.alliance_id_mdoc",
150150
"eu.europa.ec.eudi.my_academic_id_mdoc",
151+
"eu.europa.ec.eudi.euvetmc_mdoc",
151152
],
152153
},
153154
"GR": {

app/app_config/config_service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ class ConfService:
135135
"eu.europa.ec.eudi.educational_id_mdoc",
136136
"eu.europa.ec.eudi.alliance_id_mdoc",
137137
"eu.europa.ec.eudi.my_academic_id_mdoc",
138+
"eu.europa.ec.eudi.euvetmc_mdoc",
138139
],
139140
"country_selection": [
140141
"eu.europa.ec.eudi.loyalty_mdoc",
@@ -170,6 +171,7 @@ class ConfService:
170171
"eu.europa.ec.eudi.educational_id_mdoc",
171172
"eu.europa.ec.eudi.alliance_id_mdoc",
172173
"eu.europa.ec.eudi.my_academic_id_mdoc",
174+
"eu.europa.ec.eudi.euvetmc_mdoc",
173175
],
174176
}
175177

Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,241 @@
1+
{
2+
"eu.europa.ec.eudi.euvetmc_mdoc":{
3+
"format":"mso_mdoc",
4+
"doctype":"eu.europa.ec.eudi.euvetmc.1",
5+
"scope":"eu.europa.ec.eudi.euvetmc.1",
6+
"policy":{
7+
"batch_size":15,
8+
"one_time_use":false
9+
},
10+
"cryptographic_binding_methods_supported":[
11+
"jwk",
12+
"cose_key"
13+
],
14+
"credential_signing_alg_values_supported":[
15+
-7
16+
],
17+
"proof_types_supported":{
18+
"jwt":{
19+
"proof_signing_alg_values_supported":[
20+
"ES256"
21+
]
22+
}
23+
},
24+
"credential_metadata": {
25+
"display":[
26+
{
27+
"name":"European Vocational Education and Training Microcredential",
28+
"locale":"en",
29+
"logo":{
30+
"uri":"https://examplestate.com/public/euvetmc.png",
31+
"alt_text":"A square figure of a microcredential"
32+
}
33+
}
34+
],
35+
"claims":[
36+
{
37+
"path":[
38+
"eu.europa.ec.eudi.euvetmc.1",
39+
"id"
40+
],
41+
"mandatory":true,
42+
"value_type":"string",
43+
"source":"user",
44+
"display":[
45+
{
46+
"name":"Unique ID of the credential subject",
47+
"locale":"en"
48+
}
49+
]
50+
},
51+
{
52+
"path":[
53+
"eu.europa.ec.eudi.euvetmc.1",
54+
"dateOfBirth"
55+
],
56+
"mandatory":true,
57+
"value_type":"string",
58+
"source":"user",
59+
"display":[
60+
{
61+
"name":"Date of birth",
62+
"locale":"en"
63+
}
64+
]
65+
},
66+
{
67+
"path":[
68+
"eu.europa.ec.eudi.euvetmc.1",
69+
"familyName"
70+
],
71+
"mandatory":true,
72+
"value_type":"string",
73+
"source":"user",
74+
"display":[
75+
{
76+
"name":"Family name",
77+
"locale":"en"
78+
}
79+
]
80+
},
81+
{
82+
"path":[
83+
"eu.europa.ec.eudi.euvetmc.1",
84+
"givenName"
85+
],
86+
"mandatory":true,
87+
"value_type":"string",
88+
"source":"user",
89+
"display":[
90+
{
91+
"name":"Given name",
92+
"locale":"en"
93+
}
94+
]
95+
},
96+
{
97+
"path":[
98+
"eu.europa.ec.eudi.euvetmc.1",
99+
"title"
100+
],
101+
"mandatory":true,
102+
"value_type":"string",
103+
"source":"user",
104+
"display":[
105+
{
106+
"name":"Title",
107+
"locale":"en"
108+
}
109+
]
110+
},
111+
{
112+
"path":[
113+
"eu.europa.ec.eudi.euvetmc.1",
114+
"grade"
115+
],
116+
"mandatory":true,
117+
"value_type":"string",
118+
"source":"user",
119+
"display":[
120+
{
121+
"name":"Grade",
122+
"locale":"en"
123+
}
124+
]
125+
},
126+
{
127+
"path":[
128+
"eu.europa.ec.eudi.euvetmc.1",
129+
"awardedBy_awardingBody"
130+
],
131+
"mandatory":true,
132+
"value_type":"string",
133+
"source":"user",
134+
"display":[
135+
{
136+
"name":"Awarding body",
137+
"locale":"en"
138+
}
139+
]
140+
},
141+
{
142+
"path":[
143+
"eu.europa.ec.eudi.euvetmc.1",
144+
"awardedBy_awardingDate"
145+
],
146+
"mandatory":true,
147+
"value_type":"string",
148+
"source":"user",
149+
"display":[
150+
{
151+
"name":"Awarding date",
152+
"locale":"en"
153+
}
154+
]
155+
},
156+
{
157+
"path":[
158+
"eu.europa.ec.eudi.euvetmc.1",
159+
"awardedBy_location"
160+
],
161+
"mandatory":true,
162+
"value_type":"string",
163+
"source":"user",
164+
"display":[
165+
{
166+
"name":"Awarding location",
167+
"locale":"en"
168+
}
169+
]
170+
},
171+
{
172+
"path":[
173+
"eu.europa.ec.eudi.euvetmc.1",
174+
"specifiedBy_creditPoint"
175+
],
176+
"mandatory":true,
177+
"value_type":"string",
178+
"source":"user",
179+
"display":[
180+
{
181+
"name":"Credit point",
182+
"locale":"en"
183+
}
184+
]
185+
},
186+
{
187+
"path":[
188+
"eu.europa.ec.eudi.euvetmc.1",
189+
"specifiedBy_educationSubject"
190+
],
191+
"mandatory":false,
192+
"value_type":"string",
193+
"source":"user",
194+
"display":[
195+
{
196+
"name":"Education subject",
197+
"locale":"en"
198+
}
199+
]
200+
},
201+
{
202+
"path":[
203+
"eu.europa.ec.eudi.euvetmc.1",
204+
"specifiedBy_mode"
205+
],
206+
"mandatory":true,
207+
"value_type":"string",
208+
"source":"user",
209+
"display":[
210+
{
211+
"name":"Mode",
212+
"locale":"en"
213+
}
214+
]
215+
},
216+
{
217+
"path":[
218+
"eu.europa.ec.eudi.euvetmc.1",
219+
"specifiedBy_eqfLevel"
220+
],
221+
"mandatory":true,
222+
"value_type":"string",
223+
"source":"user",
224+
"display":[
225+
{
226+
"name":"EQF Level",
227+
"locale":"en"
228+
}
229+
]
230+
}
231+
]
232+
},
233+
"issuer_config":{
234+
"issuing_authority":"Test PID issuer",
235+
"organization_id":"EUDI Wallet Reference Implementation",
236+
"validity":90,
237+
"organization_name":"Test PID issuer",
238+
"namespace":"eu.europa.ec.eudi.euvetmc.1"
239+
}
240+
}
241+
}

0 commit comments

Comments
 (0)