-
Notifications
You must be signed in to change notification settings - Fork 5
/
ds005-photo-id-travel-document.json
326 lines (326 loc) · 10 KB
/
ds005-photo-id-travel-document.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PhotoID",
"description": "Verifiable Credential for a Photo ID.",
"type": "object",
"required": [
"iso23220",
"photoid",
"iss",
"iat",
"vct"
],
"properties": {
"iso23220": {
"title": "ISO/IEC 23220-1",
"description": "ISO/IEC 23220-1 claims",
"type": "object",
"required": [
"family_name_unicode",
"given_name_unicode",
"birth_date",
"portrait",
"issue_date",
"expiry_date",
"issuing_authority_unicode",
"issuing_country",
"age_over_18"
],
"properties": {
"family_name_unicode": {
"title": "Family Name",
"description": "Unicode-encoded family name of the document holder.",
"type": "string"
},
"given_name_unicode": {
"title": "Given Name",
"description": "Unicode-encoded first name of the document holder.",
"type": "string"
},
"birth_date": {
"title": "Birth Date",
"description": "Date of birth in ISO 8601 format.",
"type": "string",
"format": "date"
},
"portrait": {
"title": "Portrait",
"description": "A reproduction of the document holder’s portrait.",
"type": "string",
"format": "binary"
},
"issue_date": {
"title": "Issue Date",
"description": "Date when the document was issued.",
"type": "string",
"format": "date"
},
"expiry_date": {
"title": "Expiry Date",
"description": "The date when the document expires.",
"type": "string",
"format": "date"
},
"issuing_authority_unicode": {
"title": "Issuing Authority",
"description": "The authority responsible for issuing the document.",
"type": "string"
},
"issuing_country": {
"title": "Issuing Country",
"description": "The country issuing the document.",
"type": "string"
},
"sex": {
"title": "Sex",
"description": "Holder's sex using values as defined in ISO/IEC 5218. 0= Not known, 1 = Male, 2 = Female, 9 = non-applicable",
"type": "integer"
},
"nationality": {
"title": "Nationality",
"description": "Nationality of the holder as two letter country code (alpha-2 code) or three letter code alpha-3 code) defined in ISO 3166-1.",
"type": "string"
},
"document_number": {
"title": "Document Number",
"description": "Unique number identifying the document.",
"type": "string"
},
"name_at_birth": {
"title": "Name at Birth",
"description": "The name of the individual at birth.",
"type": "string"
},
"birthplace": {
"title": "Birthplace",
"description": "Place of birth (country and municipality or state/province).",
"type": "string"
},
"portrait_capture_date": {
"title": "Portrait Capture Date",
"description": "Date when the portrait was taken.",
"type": "string",
"format": "date-time"
},
"resident_address_unicode": {
"title": "Resident Address",
"description": "Unicode-encoded resident address of the individual.",
"type": "string"
},
"resident_city_unicode": {
"title": "Resident City",
"description": "Unicode-encoded city of residence.",
"type": "string"
},
"resident_postal_code": {
"title": "Resident Postal Code",
"description": "Postal code of the residence.",
"type": "string"
},
"resident_country": {
"title": "Resident Country",
"description": "Country of residence.",
"type": "string"
},
"age_over_18": {
"title": "Age Over 18",
"description": "Indicates if the individual is over 18.",
"type": "boolean"
},
"age_in_years": {
"title": "Age in Years",
"description": "The age of the individual in years.",
"type": "integer"
},
"age_birth_year": {
"title": "Birth Year",
"description": "The birth year of the individual.",
"type": "integer"
},
"family_name_latin1": {
"title": "Family Name",
"description": "latin1-encoded family name of the document holder.",
"type": "string"
},
"given_name_latin1": {
"title": "Given Name",
"description": "latin1-encoded first name of the document holder.",
"type": "string"
}
}
},
"photoid": {
"title": "Photo ID",
"description": "org.iso.23220.photoid.1 claims",
"type": "object",
"properties": {
"person_id": {
"title": "Person ID",
"description": "Unique personal identifier.",
"type": "string"
},
"birth_country": {
"title": "Birth Country",
"description": "Country where the individual was born.",
"type": "string"
},
"birth_state": {
"title": "Birth State",
"description": "State or province where the individual was born.",
"type": "string"
},
"birth_city": {
"title": "Birth City",
"description": "City where the individual was born.",
"type": "string"
},
"administrative_number": {
"title": "Administrative Number",
"description": "Administrative number associated with the person.",
"type": "string"
},
"resident_street": {
"title": "Street",
"description": "Street address of the individual's residence.",
"type": "string"
},
"resident_house_number": {
"title": "House Number",
"description": "House number of the individual's residence.",
"type": "string"
},
"travel_document_number": {
"title": "Travel Document Number",
"description": "Number of the travel document (e.g., passport number).",
"type": "string"
},
"resident_state": {
"title": "Resident State",
"description": "The state/province/district where the Photo ID holder lives.",
"type": "string"
}
}
},
"dtc": {
"title": "DTC",
"description": "DTC",
"type": "object",
"required": [
"dtc_dg1",
"dtc_dg2",
"dtc_sod"
],
"properties": {
"dtc_version": {
"title": "DTC Version",
"description": "Version of the DTC definition",
"type": "string"
},
"dtc_dg1": {
"title": "Data Group 1",
"description": "The full MRZ data for DTC Data Group 1, encoded as a string.",
"type": "string"
},
"dtc_dg2": {
"title": "Data Group 2",
"description": "The biometric data for DTC Data Group 2 (e.g., facial image).",
"type": "string"
},
"dtc_dg3": {
"title": "Data Group 3",
"description": "Binary data for DTC Data Group 3.",
"type": "string"
},
"dtc_dg4": {
"title": "Data Group 4",
"description": "Binary data for DTC Data Group 4.",
"type": "string"
},
"dtc_dg5": {
"title": "Data Group 5",
"description": "Binary data for DTC Data Group 5.",
"type": "string"
},
"dtc_dg6": {
"title": "Data Group 6",
"description": "Binary data for DTC Data Group 6.",
"type": "string"
},
"dtc_dg7": {
"title": "Data Group 7",
"description": "Binary data for DTC Data Group 7.",
"type": "string"
},
"dtc_dg8": {
"title": "Data Group 8",
"description": "Binary data for DTC Data Group 8.",
"type": "string"
},
"dtc_dg9": {
"title": "Data Group 9",
"description": "Binary data for DTC Data Group 9.",
"type": "string"
},
"dtc_dg10": {
"title": "Data Group 10",
"description": "Binary data for DTC Data Group 10.",
"type": "string"
},
"dtc_dg11": {
"title": "Data Group 11",
"description": "Binary data for DTC Data Group 11.",
"type": "string"
},
"dtc_dg12": {
"title": "Data Group 12",
"description": "Binary data for DTC Data Group 12.",
"type": "string"
},
"dtc_dg13": {
"title": "Data Group 13",
"description": "Binary data for DTC Data Group 13.",
"type": "string"
},
"dtc_dg14": {
"title": "Data Group 14",
"description": "Binary data for DTC Data Group 14.",
"type": "string"
},
"dtc_dg15": {
"title": "Data Group 15",
"description": "Binary data for DTC Data Group 15.",
"type": "string"
},
"dtc_dg16": {
"title": "Data Group 16",
"description": "Binary data for DTC Data Group 16.",
"type": "string"
},
"dtc_sod": {
"title": "Security Object Document",
"description": "he encoded Security Object Document (SOD) for DTC, which contains the digital signature and other cryptographic information.",
"type": "string"
},
"dg_content_info": {
"title": "Content Info",
"description": "Binary data of the DTCContentInfo",
"type": "string"
}
}
},
"iss": {
"type": "string",
"format": "uri"
},
"iat": {
"type": "integer"
},
"exp": {
"type": "integer"
},
"vct": {
"type": "string",
"const": "eu.europa.ec.eudi.photoid.1"
}
}
}