@@ -131,149 +131,29 @@ export const EHIC_ATTESTATION: AttestationDefinition = {
131131 name : "European Health Insurance Card (EHIC)" ,
132132 type : AttestationType . EHIC ,
133133 dataSet : [
134- {
135- identifier : "credential_holder" ,
136- attribute : "Credential holder" ,
137- nested : [
138- { identifier : "credential_holder.given_name" , attribute : "Given name" } ,
139- { identifier : "credential_holder.family_name" , attribute : "Family name" } ,
140- { identifier : "credential_holder.birth_date" , attribute : "Birth date" } ,
141- { identifier : "credential_holder.other_elements" , attribute : "Other elements" } ,
142- ] ,
143- } ,
144- {
145- identifier : "subject" ,
146- attribute : "Subject" ,
147- nested : [
148- { identifier : "subject.given_name" , attribute : "Given name" } ,
149- { identifier : "subject.family_name" , attribute : "Family name" } ,
150- { identifier : "subject.birth_date" , attribute : "Birth date" } ,
151- ] ,
152- } ,
153- { identifier : 'social_security_pin' , attribute : 'Social Security Identification/PIN' } ,
154- {
155- identifier : "validity_period" ,
156- attribute : "Validity period" ,
157- nested : [
158- { identifier : "validity_period.starting_date" , attribute : "Starting date" } ,
159- { identifier : "validity_period.ending_date" , attribute : "Ending date" } ,
160- ] ,
161- } ,
162- { identifier : 'document_id' , attribute : 'Document Identifier' } ,
163- {
164- identifier : "competentInstitution" ,
165- attribute : "Competent institution" ,
166- nested : [
167- { identifier : "competentInstitution.institution_id" , attribute : "Institution ID" } ,
168- { identifier : "competentInstitution.institution_name" , attribute : "Institution name" } ,
169- { identifier : "competentInstitution.country_code" , attribute : "Country code" } ,
170- ] ,
171- } ,
134+ { identifier : "credential_holder" , attribute : "Credential holder" } ,
135+ { identifier : "subject" , attribute : "Subject" } ,
136+ { identifier : 'social_security_pin' , attribute : 'Social Security PIN' } ,
137+ { identifier : "starting_date" , attribute : "Starting Date" } ,
138+ { identifier : "ending_date" , attribute : "Ending Date" } ,
139+ { identifier : 'document_id' , attribute : 'Document Identifier' } ,
140+ { identifier : "competent_institution" , attribute : 'Competent Institution' }
172141 ] ,
173142}
174143
175144export const PDA1_ATTESTATION : AttestationDefinition = {
176145 name : "Portable Document A1 (PDA1)" ,
177146 type : AttestationType . PDA1 ,
178147 dataSet : [
179- {
180- identifier : "credential_holder" ,
181- attribute : "Credential holder" ,
182- nested : [
183- { identifier : "credential_holder.given_name" , attribute : "Given name" } ,
184- { identifier : "credential_holder.family_name" , attribute : "Family name" } ,
185- { identifier : "credential_holder.birth_date" , attribute : "Birth date" } ,
186- { identifier : "credential_holder.other_elements" , attribute : "Other elements" } ,
187- ] ,
188- } ,
189- { identifier : 'social_security_pin' , attribute : 'Social Security Identification/PIN' } ,
190- {
191- identifier : "nationality" ,
192- attribute : "Nationality" ,
193- nested : [
194- { identifier : "nationality.country_code" , attribute : "Country code" } ,
195- ] ,
196- } ,
197- {
198- identifier : "employment_details" ,
199- attribute : "Employment details" ,
200- nested : [
201- { identifier : "employment_details.type" , attribute : "Type of employment" } ,
202- { identifier : "employment_details.name" , attribute : "Name" } ,
203- { identifier : "employment_details.employer_id" , attribute : "Employer ID" } ,
204- { identifier : "employment_details.type_id" , attribute : "Type of ID" } ,
205- {
206- identifier : "address" ,
207- attribute : "Address" ,
208- nested : [
209- { identifier : "address.street" , attribute : "Street" } ,
210- { identifier : "address.town" , attribute : "Town" } ,
211- { identifier : "address.postal_code" , attribute : "Postal code" } ,
212- { identifier : "address.country_code" , attribute : "Country code" } ,
213- ] ,
214- } ,
215- ] ,
216- } ,
217- {
218- identifier : 'places_of_work' ,
219- attribute : 'Places of work' ,
220- nested : [
221- {
222- identifier : "no_fixed_place" ,
223- attribute : "No fixed place of work" ,
224- nested : [
225- { identifier : "no_fixed_place.country_code" , attribute : "Country code" } ,
226- ] ,
227- } ,
228- {
229- identifier : "place_of_work" ,
230- attribute : "Place of work" ,
231- nested : [
232- { identifier : "place_of_work.company" , attribute : "Company" } ,
233- { identifier : "place_of_work.flag_base_home_state" , attribute : "Flag base home state" } ,
234- { identifier : "place_of_work.company_id" , attribute : "Company ID" } ,
235- { identifier : "place_of_work.id_type" , attribute : "Type of ID" } ,
236- { identifier : "place_of_work.street" , attribute : "Street" } ,
237- { identifier : "place_of_work.town" , attribute : "Town" } ,
238- { identifier : "place_of_work.postal_code" , attribute : "Postal code" } ,
239- { identifier : "place_of_work.country_code" , attribute : "Country code" } ,
240- ] ,
241- } ,
242- ]
243- } ,
244- {
245- identifier : 'legislation' ,
246- attribute : 'Legislation' ,
247- nested : [
248- {
249- identifier : "decision" ,
250- attribute : "Decision" ,
251- nested : [
252- { identifier : "decision.member_state" , attribute : "Member state" } ,
253- { identifier : "decision.transitional_rules" , attribute : "Transitional rules" } ,
254- ] ,
255- } ,
256- {
257- identifier : "validity_period" ,
258- attribute : "Validity period" ,
259- nested : [
260- { identifier : "validity_period.starting_date" , attribute : "Staring date" } ,
261- { identifier : "validity_period.ending_date" , attribute : "Ending date" } ,
262- ] ,
263- } ,
264- ]
265- } ,
148+ { identifier : "credential_holder" , attribute : "Credential holder" } ,
149+ { identifier : 'social_security_pin' , attribute : 'Social Security Identification/PIN' } ,
150+ { identifier : "nationality" , attribute : "Nationality" } ,
151+ { identifier : "employment_details" , attribute : "Employment details" } ,
152+ { identifier : 'places_of_work' , attribute : 'Places of work' } ,
153+ { identifier : 'legislation' , attribute : 'Legislation' } ,
266154 { identifier : 'status_confirmation' , attribute : 'Status confirmation' } ,
267155 { identifier : 'document_id' , attribute : 'Document Identifier' } ,
268- {
269- identifier : "competentInstitution" ,
270- attribute : "Competent institution" ,
271- nested : [
272- { identifier : "competentInstitution.institution_id" , attribute : "Institution ID" } ,
273- { identifier : "competentInstitution.institution_name" , attribute : "Institution name" } ,
274- { identifier : "competentInstitution.country_code" , attribute : "Country code" } ,
275- ] ,
276- } ,
156+ { identifier : "competent_institution" , attribute : "Competent institution" } ,
277157 ]
278158}
279159
0 commit comments