@nexeraid/identity-schemas 2.37.0 → 2.38.0-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/{CoinMarketCap.schema-6a1ff221.cjs.prod.cjs → CoinMarketCap.schema-5142a776.cjs.prod.cjs} +23 -12
  2. package/dist/{CoinMarketCap.schema-aefa43e8.cjs.dev.cjs → CoinMarketCap.schema-f5000da2.cjs.dev.cjs} +23 -12
  3. package/dist/{CoinMarketCap.schema-280414c3.esm.mjs → CoinMarketCap.schema-f9a98f8e.esm.mjs} +11 -2
  4. package/dist/declarations/src/customer.schema.d.ts +7 -0
  5. package/dist/declarations/src/customer.schema.d.ts.map +1 -1
  6. package/dist/declarations/src/identity/app-requests.schema.d.ts +358 -170
  7. package/dist/declarations/src/identity/app-requests.schema.d.ts.map +1 -1
  8. package/dist/declarations/src/identity/host-requests.schema.d.ts +10 -10
  9. package/dist/declarations/src/identity/identity-v2.schema.d.ts +86 -42
  10. package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
  11. package/dist/declarations/src/identity/kyc.schema.d.ts +190 -94
  12. package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -1
  13. package/dist/declarations/src/identity/query.schema.d.ts +141 -565
  14. package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
  15. package/dist/declarations/src/identity/scenario.schema.d.ts +316 -562
  16. package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -1
  17. package/dist/declarations/src/identity/zkps.schema.d.ts +145 -53
  18. package/dist/declarations/src/identity/zkps.schema.d.ts.map +1 -1
  19. package/dist/declarations/src/index.d.ts +1 -0
  20. package/dist/declarations/src/index.d.ts.map +1 -1
  21. package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts +42 -42
  22. package/dist/declarations/src/providers/kyb-sessions.schema.d.ts +16 -16
  23. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +36 -36
  24. package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +32 -32
  25. package/dist/declarations/src/providers/provider.schema.d.ts +469 -469
  26. package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +36 -36
  27. package/dist/declarations/src/providers/synaps/synaps.schema.d.ts +100 -100
  28. package/dist/declarations/src/vault/data-link.schema.d.ts +8 -0
  29. package/dist/declarations/src/vault/data-link.schema.d.ts.map +1 -0
  30. package/dist/declarations/src/vault/index.d.ts +3 -0
  31. package/dist/declarations/src/vault/index.d.ts.map +1 -0
  32. package/dist/declarations/src/vault/schemas/generated/Customer.schema.json.d.ts +897 -0
  33. package/dist/declarations/src/vault/schemas/generated/Customer.type.d.ts +47 -0
  34. package/dist/declarations/src/vault/schemas/generated/Customer.type.d.ts.map +1 -0
  35. package/dist/declarations/src/vault/schemas/generated/KycSession.schema.json.d.ts +1859 -0
  36. package/dist/declarations/src/vault/schemas/generated/KycSession.type.d.ts +219 -0
  37. package/dist/declarations/src/vault/schemas/generated/KycSession.type.d.ts.map +1 -0
  38. package/dist/declarations/src/vault/schemas/generated/Transaction.schema.json.d.ts +1139 -0
  39. package/dist/declarations/src/vault/schemas/generated/Transaction.type.d.ts +61 -0
  40. package/dist/declarations/src/vault/schemas/generated/Transaction.type.d.ts.map +1 -0
  41. package/dist/declarations/src/vault/vault.schema.d.ts +2808 -0
  42. package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -0
  43. package/dist/declarations/src/verifiable-credentials/index.d.ts +5 -10
  44. package/dist/declarations/src/verifiable-credentials/index.d.ts.map +1 -1
  45. package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts +8764 -0
  46. package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts.map +1 -0
  47. package/dist/declarations/src/webhooks/alert.webhooks.schema.d.ts +2 -2
  48. package/dist/declarations/src/webhooks/customer.webhooks.schema.d.ts +28 -28
  49. package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +100 -100
  50. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +1362 -1480
  51. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
  52. package/dist/declarations/src/webhooks/tms.webhooks.schema.d.ts +2 -2
  53. package/dist/{frontend-utilities.schema-2cdacfcb.cjs.dev.cjs → frontend-utilities.schema-3dbbc782.cjs.dev.cjs} +7 -6
  54. package/dist/{frontend-utilities.schema-2c6e346e.esm.mjs → frontend-utilities.schema-aae337dd.esm.mjs} +2 -1
  55. package/dist/{frontend-utilities.schema-fb803ead.cjs.prod.cjs → frontend-utilities.schema-b58a8d24.cjs.prod.cjs} +7 -6
  56. package/dist/identity-api.schema-185a6e6e.cjs.dev.cjs +2012 -0
  57. package/dist/identity-api.schema-774e69d4.cjs.prod.cjs +2012 -0
  58. package/dist/identity-api.schema-80658b16.esm.mjs +1654 -0
  59. package/dist/nexeraid-identity-schemas.cjs.dev.cjs +124 -98
  60. package/dist/nexeraid-identity-schemas.cjs.prod.cjs +124 -98
  61. package/dist/nexeraid-identity-schemas.esm.mjs +5 -4
  62. package/dist/package.json +25 -5
  63. package/dist/vault.schema-05a9f7fa.cjs.dev.cjs +6349 -0
  64. package/dist/vault.schema-d868aba3.cjs.prod.cjs +6349 -0
  65. package/dist/vault.schema-dc014e8d.esm.mjs +6238 -0
  66. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +16 -22
  67. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +16 -22
  68. package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +3 -1
  69. package/package.json +25 -5
  70. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +4 -2
  71. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +4 -2
  72. package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +4 -2
  73. package/vault/dist/nexeraid-identity-schemas-vault.cjs.cjs +7 -0
  74. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.cts +2 -0
  75. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.mts +2 -0
  76. package/vault/dist/nexeraid-identity-schemas-vault.cjs.d.ts +2 -0
  77. package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +25 -0
  78. package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +25 -0
  79. package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +3 -0
  80. package/vault/package.json +4 -0
  81. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +35 -20
  82. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +35 -20
  83. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +4 -2
  84. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +22 -17
  85. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +22 -17
  86. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +8 -3
  87. package/dist/identity-api.schema-79b2c3a7.esm.mjs +0 -3485
  88. package/dist/identity-api.schema-ab731fb2.cjs.prod.cjs +0 -3895
  89. package/dist/identity-api.schema-d2a8b678.cjs.dev.cjs +0 -3895
  90. package/dist/transaction.schema-16357ae0.esm.mjs +0 -65
  91. package/dist/transaction.schema-548b315f.cjs.prod.cjs +0 -101
  92. package/dist/transaction.schema-8c266a30.cjs.dev.cjs +0 -101
@@ -0,0 +1,1859 @@
1
+ interface KycSession {
2
+ $ref: "#/definitions/KycSession";
3
+ definitions: {
4
+ KycSession: {
5
+ type: "object";
6
+ properties: {
7
+ vcs: {
8
+ type: "object";
9
+ properties: {
10
+ IDInformation: {
11
+ type: "object";
12
+ properties: {
13
+ v1: {
14
+ type: "object";
15
+ properties: {
16
+ id: { type: "string" };
17
+ "@context": { type: "array"; items: { type: "string" } };
18
+ type: { type: "array"; items: { type: "string" } };
19
+ expirationDate: { type: "string" };
20
+ issuanceDate: { type: "string" };
21
+ credentialSubject: {
22
+ type: "object";
23
+ properties: {
24
+ id: {
25
+ type: "string";
26
+ format: "uri";
27
+ description: "Stores the DID of the subject that owns the credential";
28
+ };
29
+ journeyId: {
30
+ type: "string";
31
+ format: "uuid";
32
+ description: "Journey ID of when credential was generated";
33
+ };
34
+ reviewAnswer: {
35
+ type: "string";
36
+ enum: ["RED", "YELLOW", "GREEN"];
37
+ description: "Review result from kyc provider";
38
+ };
39
+ reviewRejectType: {
40
+ type: "string";
41
+ enum: ["FINAL", "RETRY"];
42
+ description: "Review reject type";
43
+ };
44
+ reviewRejectLabels: {
45
+ type: "array";
46
+ items: {
47
+ type: "string";
48
+ enum: [
49
+ "FORGERY",
50
+ "DOCUMENT_TEMPLATE",
51
+ "LOW_QUALITY",
52
+ "SPAM",
53
+ "NOT_DOCUMENT",
54
+ "SELFIE_MISMATCH",
55
+ "ID_INVALID",
56
+ "FOREIGNER",
57
+ "DUPLICATE",
58
+ "BAD_AVATAR",
59
+ "WRONG_USER_REGION",
60
+ "INCOMPLETE_DOCUMENT",
61
+ "BLACKLIST",
62
+ "BLOCKLIST",
63
+ "UNSATISFACTORY_PHOTOS",
64
+ "DOCUMENT_PAGE_MISSING",
65
+ "DOCUMENT_DAMAGED",
66
+ "REGULATIONS_VIOLATIONS",
67
+ "INCONSISTENT_PROFILE",
68
+ "PROBLEMATIC_APPLICANT_DATA",
69
+ "ADDITIONAL_DOCUMENT_REQUIRED",
70
+ "AGE_REQUIREMENT_MISMATCH",
71
+ "EXPERIENCE_REQUIREMENT_MISMATCH",
72
+ "CRIMINAL",
73
+ "WRONG_ADDRESS",
74
+ "GRAPHIC_EDITOR",
75
+ "DOCUMENT_DEPRIVED",
76
+ "COMPROMISED_PERSONS",
77
+ "PEP",
78
+ "ADVERSE_MEDIA",
79
+ "FRAUDULENT_PATTERNS",
80
+ "SANCTIONS",
81
+ "NOT_ALL_CHECKS_COMPLETED",
82
+ "FRONT_SIDE_MISSING",
83
+ "BACK_SIDE_MISSING",
84
+ "SCREENSHOTS",
85
+ "BLACK_AND_WHITE",
86
+ "INCOMPATIBLE_LANGUAGE",
87
+ "EXPIRATION_DATE",
88
+ "UNFILLED_ID",
89
+ "BAD_SELFIE",
90
+ "BAD_VIDEO_SELFIE",
91
+ "BAD_FACE_MATCHING",
92
+ "BAD_PROOF_OF_IDENTITY",
93
+ "BAD_PROOF_OF_ADDRESS",
94
+ "BAD_PROOF_OF_PAYMENT",
95
+ "SELFIE_WITH_PAPER",
96
+ "FRAUDULENT_LIVENESS",
97
+ "OTHER",
98
+ "REQUESTED_DATA_MISMATCH",
99
+ "OK",
100
+ "COMPANY_NOT_DEFINED_STRUCTURE",
101
+ "COMPANY_NOT_DEFINED_BENEFICIARIES",
102
+ "COMPANY_NOT_VALIDATED_BENEFICIARIES",
103
+ "COMPANY_NOT_DEFINED_REPRESENTATIVES",
104
+ "COMPANY_NOT_VALIDATED_REPRESENTATIVES",
105
+ "APPLICANT_INTERRUPTED_INTERVIEW",
106
+ "DOCUMENT_MISSING",
107
+ "UNSUITABLE_ENV",
108
+ "CONNECTION_INTERRUPTED",
109
+ "UNSUPPORTED_LANGUAGE",
110
+ "THIRD_PARTY_INVOLVED",
111
+ "CHECK_UNAVAILABLE",
112
+ "INCORRECT_SOCIAL_NUMBER",
113
+ ];
114
+ };
115
+ description: "Reject labels";
116
+ };
117
+ documentType: {
118
+ type: "string";
119
+ enum: [
120
+ "ID_CARD",
121
+ "PASSPORT",
122
+ "DRIVERS",
123
+ "RESIDENCE_PERMIT",
124
+ "UTILITY_BILL",
125
+ "SELFIE",
126
+ "VIDEO_SELFIE",
127
+ "PROFILE_IMAGE",
128
+ "ID_DOC_PHOTO",
129
+ "AGREEMENT",
130
+ "CONTRACT",
131
+ "DRIVERS_TRANSLATION",
132
+ "INVESTOR_DOC",
133
+ "VEHICLE_REGISTRATION_CERTIFICATE",
134
+ "INCOME_SOURCE",
135
+ "PAYMENT_METHOD",
136
+ "BANK_CARD",
137
+ "COVID_VACCINATION_FORM",
138
+ "OTHER",
139
+ ];
140
+ description: "Type of the document provided by the credential subject";
141
+ };
142
+ entryDate: {
143
+ type: "integer";
144
+ description: "Entry date associated with the credential";
145
+ };
146
+ entryTime: {
147
+ type: "string";
148
+ description: "Entry time associated with the credential";
149
+ };
150
+ personalData: {
151
+ type: "object";
152
+ properties: {
153
+ firstName: {
154
+ type: "string";
155
+ description: "First name of the credential subject";
156
+ };
157
+ middleName: {
158
+ type: "string";
159
+ description: "Middle name of the credential subject";
160
+ };
161
+ lastName: {
162
+ type: "string";
163
+ description: "Last name of the credential subject";
164
+ };
165
+ gender: {
166
+ type: "string";
167
+ description: "Gender of the credential subject";
168
+ };
169
+ age: {
170
+ type: "integer";
171
+ minimum: 0;
172
+ maximum: 125;
173
+ description: "Age of the credential subject";
174
+ };
175
+ citizenship: {
176
+ type: "string";
177
+ enum: [
178
+ "AFG",
179
+ "ALB",
180
+ "DZA",
181
+ "ASM",
182
+ "AND",
183
+ "AGO",
184
+ "AIA",
185
+ "ATA",
186
+ "ATG",
187
+ "ARG",
188
+ "ARM",
189
+ "ABW",
190
+ "AUS",
191
+ "AUT",
192
+ "AZE",
193
+ "BHS",
194
+ "BHR",
195
+ "BGD",
196
+ "BRB",
197
+ "BLR",
198
+ "BEL",
199
+ "BLZ",
200
+ "BEN",
201
+ "BMU",
202
+ "BTN",
203
+ "BOL",
204
+ "BES",
205
+ "BIH",
206
+ "BWA",
207
+ "BVT",
208
+ "BRA",
209
+ "IOT",
210
+ "BRN",
211
+ "BGR",
212
+ "BFA",
213
+ "BDI",
214
+ "CPV",
215
+ "KHM",
216
+ "CMR",
217
+ "CAN",
218
+ "CYM",
219
+ "CAF",
220
+ "TCD",
221
+ "CHL",
222
+ "CHN",
223
+ "CXR",
224
+ "CCK",
225
+ "COL",
226
+ "COM",
227
+ "COD",
228
+ "COG",
229
+ "COK",
230
+ "CRI",
231
+ "HRV",
232
+ "CUB",
233
+ "CUW",
234
+ "CYP",
235
+ "CZE",
236
+ "CIV",
237
+ "DNK",
238
+ "DJI",
239
+ "DMA",
240
+ "DOM",
241
+ "ECU",
242
+ "EGY",
243
+ "SLV",
244
+ "GNQ",
245
+ "ERI",
246
+ "EST",
247
+ "SWZ",
248
+ "ETH",
249
+ "FLK",
250
+ "FRO",
251
+ "FJI",
252
+ "FIN",
253
+ "FRA",
254
+ "GUF",
255
+ "PYF",
256
+ "ATF",
257
+ "GAB",
258
+ "GMB",
259
+ "GEO",
260
+ "DEU",
261
+ "GHA",
262
+ "GIB",
263
+ "GRC",
264
+ "GRL",
265
+ "GRD",
266
+ "GLP",
267
+ "GUM",
268
+ "GTM",
269
+ "GGY",
270
+ "GIN",
271
+ "GNB",
272
+ "GUY",
273
+ "HTI",
274
+ "HMD",
275
+ "VAT",
276
+ "HND",
277
+ "HKG",
278
+ "HUN",
279
+ "ISL",
280
+ "IND",
281
+ "IDN",
282
+ "IRN",
283
+ "IRQ",
284
+ "IRL",
285
+ "IMN",
286
+ "ISR",
287
+ "ITA",
288
+ "JAM",
289
+ "JPN",
290
+ "JEY",
291
+ "JOR",
292
+ "KAZ",
293
+ "KEN",
294
+ "KIR",
295
+ "PRK",
296
+ "KOR",
297
+ "KWT",
298
+ "KGZ",
299
+ "LAO",
300
+ "LVA",
301
+ "LBN",
302
+ "LSO",
303
+ "LBR",
304
+ "LBY",
305
+ "LIE",
306
+ "LTU",
307
+ "LUX",
308
+ "MAC",
309
+ "MDG",
310
+ "MWI",
311
+ "MYS",
312
+ "MDV",
313
+ "MLI",
314
+ "MLT",
315
+ "MHL",
316
+ "MTQ",
317
+ "MRT",
318
+ "MUS",
319
+ "MYT",
320
+ "MEX",
321
+ "FSM",
322
+ "MDA",
323
+ "MCO",
324
+ "MNG",
325
+ "MNE",
326
+ "MSR",
327
+ "MAR",
328
+ "MOZ",
329
+ "MMR",
330
+ "NAM",
331
+ "NRU",
332
+ "NPL",
333
+ "NLD",
334
+ "NCL",
335
+ "NZL",
336
+ "NIC",
337
+ "NER",
338
+ "NGA",
339
+ "NIU",
340
+ "NFK",
341
+ "MNP",
342
+ "NOR",
343
+ "OMN",
344
+ "PAK",
345
+ "PLW",
346
+ "PSE",
347
+ "PAN",
348
+ "PNG",
349
+ "PRY",
350
+ "PER",
351
+ "PHL",
352
+ "PCN",
353
+ "POL",
354
+ "PRT",
355
+ "PRI",
356
+ "QAT",
357
+ "MKD",
358
+ "ROU",
359
+ "RUS",
360
+ "RWA",
361
+ "REU",
362
+ "BLM",
363
+ "SHN",
364
+ "KNA",
365
+ "LCA",
366
+ "MAF",
367
+ "SPM",
368
+ "VCT",
369
+ "WSM",
370
+ "SMR",
371
+ "STP",
372
+ "SAU",
373
+ "SEN",
374
+ "SRB",
375
+ "SYC",
376
+ "SLE",
377
+ "SGP",
378
+ "SXM",
379
+ "SVK",
380
+ "SVN",
381
+ "SLB",
382
+ "SOM",
383
+ "ZAF",
384
+ "SGS",
385
+ "SSD",
386
+ "ESP",
387
+ "LKA",
388
+ "SDN",
389
+ "SUR",
390
+ "SJM",
391
+ "SWE",
392
+ "CHE",
393
+ "SYR",
394
+ "TWN",
395
+ "TJK",
396
+ "TZA",
397
+ "THA",
398
+ "TLS",
399
+ "TGO",
400
+ "TKL",
401
+ "TON",
402
+ "TTO",
403
+ "TUN",
404
+ "TUR",
405
+ "TKM",
406
+ "TCA",
407
+ "TUV",
408
+ "UGA",
409
+ "UKR",
410
+ "ARE",
411
+ "GBR",
412
+ "UMI",
413
+ "USA",
414
+ "URY",
415
+ "UZB",
416
+ "VUT",
417
+ "VEN",
418
+ "VNM",
419
+ "VGB",
420
+ "VIR",
421
+ "WLF",
422
+ "ESH",
423
+ "YEM",
424
+ "ZMB",
425
+ "ZWE",
426
+ "ALA",
427
+ "ANT",
428
+ "XKX",
429
+ ];
430
+ description: "Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)";
431
+ };
432
+ country: {
433
+ type: "string";
434
+ enum: [
435
+ "AFG",
436
+ "ALB",
437
+ "DZA",
438
+ "ASM",
439
+ "AND",
440
+ "AGO",
441
+ "AIA",
442
+ "ATA",
443
+ "ATG",
444
+ "ARG",
445
+ "ARM",
446
+ "ABW",
447
+ "AUS",
448
+ "AUT",
449
+ "AZE",
450
+ "BHS",
451
+ "BHR",
452
+ "BGD",
453
+ "BRB",
454
+ "BLR",
455
+ "BEL",
456
+ "BLZ",
457
+ "BEN",
458
+ "BMU",
459
+ "BTN",
460
+ "BOL",
461
+ "BES",
462
+ "BIH",
463
+ "BWA",
464
+ "BVT",
465
+ "BRA",
466
+ "IOT",
467
+ "BRN",
468
+ "BGR",
469
+ "BFA",
470
+ "BDI",
471
+ "CPV",
472
+ "KHM",
473
+ "CMR",
474
+ "CAN",
475
+ "CYM",
476
+ "CAF",
477
+ "TCD",
478
+ "CHL",
479
+ "CHN",
480
+ "CXR",
481
+ "CCK",
482
+ "COL",
483
+ "COM",
484
+ "COD",
485
+ "COG",
486
+ "COK",
487
+ "CRI",
488
+ "HRV",
489
+ "CUB",
490
+ "CUW",
491
+ "CYP",
492
+ "CZE",
493
+ "CIV",
494
+ "DNK",
495
+ "DJI",
496
+ "DMA",
497
+ "DOM",
498
+ "ECU",
499
+ "EGY",
500
+ "SLV",
501
+ "GNQ",
502
+ "ERI",
503
+ "EST",
504
+ "SWZ",
505
+ "ETH",
506
+ "FLK",
507
+ "FRO",
508
+ "FJI",
509
+ "FIN",
510
+ "FRA",
511
+ "GUF",
512
+ "PYF",
513
+ "ATF",
514
+ "GAB",
515
+ "GMB",
516
+ "GEO",
517
+ "DEU",
518
+ "GHA",
519
+ "GIB",
520
+ "GRC",
521
+ "GRL",
522
+ "GRD",
523
+ "GLP",
524
+ "GUM",
525
+ "GTM",
526
+ "GGY",
527
+ "GIN",
528
+ "GNB",
529
+ "GUY",
530
+ "HTI",
531
+ "HMD",
532
+ "VAT",
533
+ "HND",
534
+ "HKG",
535
+ "HUN",
536
+ "ISL",
537
+ "IND",
538
+ "IDN",
539
+ "IRN",
540
+ "IRQ",
541
+ "IRL",
542
+ "IMN",
543
+ "ISR",
544
+ "ITA",
545
+ "JAM",
546
+ "JPN",
547
+ "JEY",
548
+ "JOR",
549
+ "KAZ",
550
+ "KEN",
551
+ "KIR",
552
+ "PRK",
553
+ "KOR",
554
+ "KWT",
555
+ "KGZ",
556
+ "LAO",
557
+ "LVA",
558
+ "LBN",
559
+ "LSO",
560
+ "LBR",
561
+ "LBY",
562
+ "LIE",
563
+ "LTU",
564
+ "LUX",
565
+ "MAC",
566
+ "MDG",
567
+ "MWI",
568
+ "MYS",
569
+ "MDV",
570
+ "MLI",
571
+ "MLT",
572
+ "MHL",
573
+ "MTQ",
574
+ "MRT",
575
+ "MUS",
576
+ "MYT",
577
+ "MEX",
578
+ "FSM",
579
+ "MDA",
580
+ "MCO",
581
+ "MNG",
582
+ "MNE",
583
+ "MSR",
584
+ "MAR",
585
+ "MOZ",
586
+ "MMR",
587
+ "NAM",
588
+ "NRU",
589
+ "NPL",
590
+ "NLD",
591
+ "NCL",
592
+ "NZL",
593
+ "NIC",
594
+ "NER",
595
+ "NGA",
596
+ "NIU",
597
+ "NFK",
598
+ "MNP",
599
+ "NOR",
600
+ "OMN",
601
+ "PAK",
602
+ "PLW",
603
+ "PSE",
604
+ "PAN",
605
+ "PNG",
606
+ "PRY",
607
+ "PER",
608
+ "PHL",
609
+ "PCN",
610
+ "POL",
611
+ "PRT",
612
+ "PRI",
613
+ "QAT",
614
+ "MKD",
615
+ "ROU",
616
+ "RUS",
617
+ "RWA",
618
+ "REU",
619
+ "BLM",
620
+ "SHN",
621
+ "KNA",
622
+ "LCA",
623
+ "MAF",
624
+ "SPM",
625
+ "VCT",
626
+ "WSM",
627
+ "SMR",
628
+ "STP",
629
+ "SAU",
630
+ "SEN",
631
+ "SRB",
632
+ "SYC",
633
+ "SLE",
634
+ "SGP",
635
+ "SXM",
636
+ "SVK",
637
+ "SVN",
638
+ "SLB",
639
+ "SOM",
640
+ "ZAF",
641
+ "SGS",
642
+ "SSD",
643
+ "ESP",
644
+ "LKA",
645
+ "SDN",
646
+ "SUR",
647
+ "SJM",
648
+ "SWE",
649
+ "CHE",
650
+ "SYR",
651
+ "TWN",
652
+ "TJK",
653
+ "TZA",
654
+ "THA",
655
+ "TLS",
656
+ "TGO",
657
+ "TKL",
658
+ "TON",
659
+ "TTO",
660
+ "TUN",
661
+ "TUR",
662
+ "TKM",
663
+ "TCA",
664
+ "TUV",
665
+ "UGA",
666
+ "UKR",
667
+ "ARE",
668
+ "GBR",
669
+ "UMI",
670
+ "USA",
671
+ "URY",
672
+ "UZB",
673
+ "VUT",
674
+ "VEN",
675
+ "VNM",
676
+ "VGB",
677
+ "VIR",
678
+ "WLF",
679
+ "ESH",
680
+ "YEM",
681
+ "ZMB",
682
+ "ZWE",
683
+ "ALA",
684
+ "ANT",
685
+ "XKX",
686
+ ];
687
+ description: "Country of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)";
688
+ };
689
+ fullName: {
690
+ type: "string";
691
+ description: "Full name of the credential subject";
692
+ };
693
+ birthDate: {
694
+ type: "integer";
695
+ description: "Birth Date of the credential subject in integer format of yyyymmdd, example: 20231226 2023 year, 12-December, 26-day";
696
+ };
697
+ countryOfBirth: {
698
+ type: "string";
699
+ enum: [
700
+ "AFG",
701
+ "ALB",
702
+ "DZA",
703
+ "ASM",
704
+ "AND",
705
+ "AGO",
706
+ "AIA",
707
+ "ATA",
708
+ "ATG",
709
+ "ARG",
710
+ "ARM",
711
+ "ABW",
712
+ "AUS",
713
+ "AUT",
714
+ "AZE",
715
+ "BHS",
716
+ "BHR",
717
+ "BGD",
718
+ "BRB",
719
+ "BLR",
720
+ "BEL",
721
+ "BLZ",
722
+ "BEN",
723
+ "BMU",
724
+ "BTN",
725
+ "BOL",
726
+ "BES",
727
+ "BIH",
728
+ "BWA",
729
+ "BVT",
730
+ "BRA",
731
+ "IOT",
732
+ "BRN",
733
+ "BGR",
734
+ "BFA",
735
+ "BDI",
736
+ "CPV",
737
+ "KHM",
738
+ "CMR",
739
+ "CAN",
740
+ "CYM",
741
+ "CAF",
742
+ "TCD",
743
+ "CHL",
744
+ "CHN",
745
+ "CXR",
746
+ "CCK",
747
+ "COL",
748
+ "COM",
749
+ "COD",
750
+ "COG",
751
+ "COK",
752
+ "CRI",
753
+ "HRV",
754
+ "CUB",
755
+ "CUW",
756
+ "CYP",
757
+ "CZE",
758
+ "CIV",
759
+ "DNK",
760
+ "DJI",
761
+ "DMA",
762
+ "DOM",
763
+ "ECU",
764
+ "EGY",
765
+ "SLV",
766
+ "GNQ",
767
+ "ERI",
768
+ "EST",
769
+ "SWZ",
770
+ "ETH",
771
+ "FLK",
772
+ "FRO",
773
+ "FJI",
774
+ "FIN",
775
+ "FRA",
776
+ "GUF",
777
+ "PYF",
778
+ "ATF",
779
+ "GAB",
780
+ "GMB",
781
+ "GEO",
782
+ "DEU",
783
+ "GHA",
784
+ "GIB",
785
+ "GRC",
786
+ "GRL",
787
+ "GRD",
788
+ "GLP",
789
+ "GUM",
790
+ "GTM",
791
+ "GGY",
792
+ "GIN",
793
+ "GNB",
794
+ "GUY",
795
+ "HTI",
796
+ "HMD",
797
+ "VAT",
798
+ "HND",
799
+ "HKG",
800
+ "HUN",
801
+ "ISL",
802
+ "IND",
803
+ "IDN",
804
+ "IRN",
805
+ "IRQ",
806
+ "IRL",
807
+ "IMN",
808
+ "ISR",
809
+ "ITA",
810
+ "JAM",
811
+ "JPN",
812
+ "JEY",
813
+ "JOR",
814
+ "KAZ",
815
+ "KEN",
816
+ "KIR",
817
+ "PRK",
818
+ "KOR",
819
+ "KWT",
820
+ "KGZ",
821
+ "LAO",
822
+ "LVA",
823
+ "LBN",
824
+ "LSO",
825
+ "LBR",
826
+ "LBY",
827
+ "LIE",
828
+ "LTU",
829
+ "LUX",
830
+ "MAC",
831
+ "MDG",
832
+ "MWI",
833
+ "MYS",
834
+ "MDV",
835
+ "MLI",
836
+ "MLT",
837
+ "MHL",
838
+ "MTQ",
839
+ "MRT",
840
+ "MUS",
841
+ "MYT",
842
+ "MEX",
843
+ "FSM",
844
+ "MDA",
845
+ "MCO",
846
+ "MNG",
847
+ "MNE",
848
+ "MSR",
849
+ "MAR",
850
+ "MOZ",
851
+ "MMR",
852
+ "NAM",
853
+ "NRU",
854
+ "NPL",
855
+ "NLD",
856
+ "NCL",
857
+ "NZL",
858
+ "NIC",
859
+ "NER",
860
+ "NGA",
861
+ "NIU",
862
+ "NFK",
863
+ "MNP",
864
+ "NOR",
865
+ "OMN",
866
+ "PAK",
867
+ "PLW",
868
+ "PSE",
869
+ "PAN",
870
+ "PNG",
871
+ "PRY",
872
+ "PER",
873
+ "PHL",
874
+ "PCN",
875
+ "POL",
876
+ "PRT",
877
+ "PRI",
878
+ "QAT",
879
+ "MKD",
880
+ "ROU",
881
+ "RUS",
882
+ "RWA",
883
+ "REU",
884
+ "BLM",
885
+ "SHN",
886
+ "KNA",
887
+ "LCA",
888
+ "MAF",
889
+ "SPM",
890
+ "VCT",
891
+ "WSM",
892
+ "SMR",
893
+ "STP",
894
+ "SAU",
895
+ "SEN",
896
+ "SRB",
897
+ "SYC",
898
+ "SLE",
899
+ "SGP",
900
+ "SXM",
901
+ "SVK",
902
+ "SVN",
903
+ "SLB",
904
+ "SOM",
905
+ "ZAF",
906
+ "SGS",
907
+ "SSD",
908
+ "ESP",
909
+ "LKA",
910
+ "SDN",
911
+ "SUR",
912
+ "SJM",
913
+ "SWE",
914
+ "CHE",
915
+ "SYR",
916
+ "TWN",
917
+ "TJK",
918
+ "TZA",
919
+ "THA",
920
+ "TLS",
921
+ "TGO",
922
+ "TKL",
923
+ "TON",
924
+ "TTO",
925
+ "TUN",
926
+ "TUR",
927
+ "TKM",
928
+ "TCA",
929
+ "TUV",
930
+ "UGA",
931
+ "UKR",
932
+ "ARE",
933
+ "GBR",
934
+ "UMI",
935
+ "USA",
936
+ "URY",
937
+ "UZB",
938
+ "VUT",
939
+ "VEN",
940
+ "VNM",
941
+ "VGB",
942
+ "VIR",
943
+ "WLF",
944
+ "ESH",
945
+ "YEM",
946
+ "ZMB",
947
+ "ZWE",
948
+ "ALA",
949
+ "ANT",
950
+ "XKX",
951
+ ];
952
+ description: "Country of birth of the credential subject - - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)";
953
+ };
954
+ stateOfBirth: {
955
+ type: "string";
956
+ description: "State of birth of the credential subject";
957
+ };
958
+ };
959
+ additionalProperties: false;
960
+ description: "Original data extracted by the provider";
961
+ };
962
+ isSandbox: {
963
+ type: "boolean";
964
+ description: "Indicates if the credential was generated in a sandbox environment";
965
+ };
966
+ };
967
+ required: [
968
+ "id",
969
+ "journeyId",
970
+ "reviewAnswer",
971
+ "documentType",
972
+ "entryDate",
973
+ "entryTime",
974
+ "personalData",
975
+ ];
976
+ additionalProperties: false;
977
+ description: "Stores the data of the credential";
978
+ };
979
+ credentialStatus: {
980
+ type: "object";
981
+ properties: {
982
+ id: { type: "string" };
983
+ type: {
984
+ type: "string";
985
+ enum: [
986
+ "SparseMerkleTreeProof",
987
+ "Iden3ReverseSparseMerkleTreeProof",
988
+ "Iden3commRevocationStatusV1.0",
989
+ "Iden3OnchainSparseMerkleTreeProof2023",
990
+ ];
991
+ };
992
+ revocationNonce: { type: "number" };
993
+ };
994
+ required: ["id", "type"];
995
+ additionalProperties: false;
996
+ };
997
+ issuer: { type: "string" };
998
+ credentialSchema: {
999
+ type: "object";
1000
+ properties: {
1001
+ id: { type: "string" };
1002
+ type: { type: "string" };
1003
+ };
1004
+ required: ["id", "type"];
1005
+ additionalProperties: false;
1006
+ };
1007
+ proof: {};
1008
+ };
1009
+ required: [
1010
+ "id",
1011
+ "type",
1012
+ "credentialSubject",
1013
+ "credentialStatus",
1014
+ "issuer",
1015
+ "credentialSchema",
1016
+ ];
1017
+ additionalProperties: false;
1018
+ };
1019
+ };
1020
+ required: ["v1"];
1021
+ additionalProperties: false;
1022
+ };
1023
+ IDImage: {
1024
+ type: "object";
1025
+ properties: {
1026
+ v1: {
1027
+ type: "object";
1028
+ properties: {
1029
+ id: { type: "string" };
1030
+ "@context": { type: "array"; items: { type: "string" } };
1031
+ type: { type: "array"; items: { type: "string" } };
1032
+ expirationDate: { type: "string" };
1033
+ issuanceDate: { type: "string" };
1034
+ credentialSubject: {
1035
+ type: "object";
1036
+ properties: {
1037
+ id: {
1038
+ type: "string";
1039
+ format: "uri";
1040
+ description: "Stores the DID of the subject that owns the credential";
1041
+ };
1042
+ journeyId: {
1043
+ type: "string";
1044
+ format: "uuid";
1045
+ description: "The ID of the journey that this credential is associated with";
1046
+ };
1047
+ base64_front: {
1048
+ type: "string";
1049
+ description: "Base64 encoded image of the front of the document";
1050
+ };
1051
+ base64_back: {
1052
+ type: "string";
1053
+ description: "Base64 encoded image of the back of the document";
1054
+ };
1055
+ name: {
1056
+ type: "string";
1057
+ description: "Name of the document (e.g. passport.jpg)";
1058
+ };
1059
+ documentType: {
1060
+ type: "string";
1061
+ enum: [
1062
+ "ID_CARD",
1063
+ "PASSPORT",
1064
+ "DRIVERS",
1065
+ "RESIDENCE_PERMIT",
1066
+ "UTILITY_BILL",
1067
+ "SELFIE",
1068
+ "VIDEO_SELFIE",
1069
+ "PROFILE_IMAGE",
1070
+ "ID_DOC_PHOTO",
1071
+ "AGREEMENT",
1072
+ "CONTRACT",
1073
+ "DRIVERS_TRANSLATION",
1074
+ "INVESTOR_DOC",
1075
+ "VEHICLE_REGISTRATION_CERTIFICATE",
1076
+ "INCOME_SOURCE",
1077
+ "PAYMENT_METHOD",
1078
+ "BANK_CARD",
1079
+ "COVID_VACCINATION_FORM",
1080
+ "OTHER",
1081
+ ];
1082
+ description: "Type of the document (e.g. passport)";
1083
+ };
1084
+ entryDate: {
1085
+ type: "integer";
1086
+ description: "Entry date associated with the credential";
1087
+ };
1088
+ entryTime: {
1089
+ type: "string";
1090
+ description: "Entry time associated with the credential";
1091
+ };
1092
+ mediaType_front: {
1093
+ type: "string";
1094
+ enum: [
1095
+ "image/jpeg",
1096
+ "image/jpg",
1097
+ "image/png",
1098
+ "application/pdf",
1099
+ ];
1100
+ description: "Media type of the front of the document (e.g. image/jpeg, image/png, application/pdf)";
1101
+ };
1102
+ mediaType_back: {
1103
+ type: "string";
1104
+ enum: [
1105
+ "image/jpeg",
1106
+ "image/jpg",
1107
+ "image/png",
1108
+ "application/pdf",
1109
+ ];
1110
+ description: "Media type of the back of the document (e.g. image/jpeg, image/png, application/pdf)";
1111
+ };
1112
+ reviewAnswer: {
1113
+ type: "string";
1114
+ enum: ["RED", "YELLOW", "GREEN"];
1115
+ description: "Review answer from kyc provider";
1116
+ };
1117
+ reviewRejectType: {
1118
+ type: "string";
1119
+ enum: ["FINAL", "RETRY"];
1120
+ description: "Review reject type";
1121
+ };
1122
+ reviewRejectLabels: {
1123
+ type: "array";
1124
+ items: {
1125
+ type: "string";
1126
+ enum: [
1127
+ "FORGERY",
1128
+ "DOCUMENT_TEMPLATE",
1129
+ "LOW_QUALITY",
1130
+ "SPAM",
1131
+ "NOT_DOCUMENT",
1132
+ "SELFIE_MISMATCH",
1133
+ "ID_INVALID",
1134
+ "FOREIGNER",
1135
+ "DUPLICATE",
1136
+ "BAD_AVATAR",
1137
+ "WRONG_USER_REGION",
1138
+ "INCOMPLETE_DOCUMENT",
1139
+ "BLACKLIST",
1140
+ "BLOCKLIST",
1141
+ "UNSATISFACTORY_PHOTOS",
1142
+ "DOCUMENT_PAGE_MISSING",
1143
+ "DOCUMENT_DAMAGED",
1144
+ "REGULATIONS_VIOLATIONS",
1145
+ "INCONSISTENT_PROFILE",
1146
+ "PROBLEMATIC_APPLICANT_DATA",
1147
+ "ADDITIONAL_DOCUMENT_REQUIRED",
1148
+ "AGE_REQUIREMENT_MISMATCH",
1149
+ "EXPERIENCE_REQUIREMENT_MISMATCH",
1150
+ "CRIMINAL",
1151
+ "WRONG_ADDRESS",
1152
+ "GRAPHIC_EDITOR",
1153
+ "DOCUMENT_DEPRIVED",
1154
+ "COMPROMISED_PERSONS",
1155
+ "PEP",
1156
+ "ADVERSE_MEDIA",
1157
+ "FRAUDULENT_PATTERNS",
1158
+ "SANCTIONS",
1159
+ "NOT_ALL_CHECKS_COMPLETED",
1160
+ "FRONT_SIDE_MISSING",
1161
+ "BACK_SIDE_MISSING",
1162
+ "SCREENSHOTS",
1163
+ "BLACK_AND_WHITE",
1164
+ "INCOMPATIBLE_LANGUAGE",
1165
+ "EXPIRATION_DATE",
1166
+ "UNFILLED_ID",
1167
+ "BAD_SELFIE",
1168
+ "BAD_VIDEO_SELFIE",
1169
+ "BAD_FACE_MATCHING",
1170
+ "BAD_PROOF_OF_IDENTITY",
1171
+ "BAD_PROOF_OF_ADDRESS",
1172
+ "BAD_PROOF_OF_PAYMENT",
1173
+ "SELFIE_WITH_PAPER",
1174
+ "FRAUDULENT_LIVENESS",
1175
+ "OTHER",
1176
+ "REQUESTED_DATA_MISMATCH",
1177
+ "OK",
1178
+ "COMPANY_NOT_DEFINED_STRUCTURE",
1179
+ "COMPANY_NOT_DEFINED_BENEFICIARIES",
1180
+ "COMPANY_NOT_VALIDATED_BENEFICIARIES",
1181
+ "COMPANY_NOT_DEFINED_REPRESENTATIVES",
1182
+ "COMPANY_NOT_VALIDATED_REPRESENTATIVES",
1183
+ "APPLICANT_INTERRUPTED_INTERVIEW",
1184
+ "DOCUMENT_MISSING",
1185
+ "UNSUITABLE_ENV",
1186
+ "CONNECTION_INTERRUPTED",
1187
+ "UNSUPPORTED_LANGUAGE",
1188
+ "THIRD_PARTY_INVOLVED",
1189
+ "CHECK_UNAVAILABLE",
1190
+ "INCORRECT_SOCIAL_NUMBER",
1191
+ ];
1192
+ };
1193
+ description: "Reject labels";
1194
+ };
1195
+ isSandbox: {
1196
+ type: "boolean";
1197
+ description: "Indicates if the credential was generated in a sandbox environment";
1198
+ };
1199
+ };
1200
+ required: [
1201
+ "id",
1202
+ "journeyId",
1203
+ "base64_front",
1204
+ "name",
1205
+ "documentType",
1206
+ "entryDate",
1207
+ "entryTime",
1208
+ "mediaType_front",
1209
+ "reviewAnswer",
1210
+ ];
1211
+ additionalProperties: false;
1212
+ description: "Stores the data of the credential";
1213
+ };
1214
+ credentialStatus: {
1215
+ type: "object";
1216
+ properties: {
1217
+ id: { type: "string" };
1218
+ type: {
1219
+ type: "string";
1220
+ enum: [
1221
+ "SparseMerkleTreeProof",
1222
+ "Iden3ReverseSparseMerkleTreeProof",
1223
+ "Iden3commRevocationStatusV1.0",
1224
+ "Iden3OnchainSparseMerkleTreeProof2023",
1225
+ ];
1226
+ };
1227
+ revocationNonce: { type: "number" };
1228
+ };
1229
+ required: ["id", "type"];
1230
+ additionalProperties: false;
1231
+ };
1232
+ issuer: { type: "string" };
1233
+ credentialSchema: {
1234
+ type: "object";
1235
+ properties: {
1236
+ id: { type: "string" };
1237
+ type: { type: "string" };
1238
+ };
1239
+ required: ["id", "type"];
1240
+ additionalProperties: false;
1241
+ };
1242
+ proof: {};
1243
+ };
1244
+ required: [
1245
+ "id",
1246
+ "type",
1247
+ "credentialSubject",
1248
+ "credentialStatus",
1249
+ "issuer",
1250
+ "credentialSchema",
1251
+ ];
1252
+ additionalProperties: false;
1253
+ };
1254
+ };
1255
+ required: ["v1"];
1256
+ additionalProperties: false;
1257
+ };
1258
+ SelfieImage: {
1259
+ type: "object";
1260
+ properties: {
1261
+ v1: {
1262
+ type: "object";
1263
+ properties: {
1264
+ id: { type: "string" };
1265
+ "@context": { type: "array"; items: { type: "string" } };
1266
+ type: { type: "array"; items: { type: "string" } };
1267
+ expirationDate: { type: "string" };
1268
+ issuanceDate: { type: "string" };
1269
+ credentialSubject: {
1270
+ type: "object";
1271
+ properties: {
1272
+ id: {
1273
+ type: "string";
1274
+ format: "uri";
1275
+ description: "Stores the DID of the subject that owns the credential";
1276
+ };
1277
+ journeyId: {
1278
+ type: "string";
1279
+ format: "uuid";
1280
+ description: "The ID of the journey that this credential is associated with";
1281
+ };
1282
+ base64: {
1283
+ type: "string";
1284
+ description: "Base64 encoded image of the selfie image";
1285
+ };
1286
+ name: {
1287
+ type: "string";
1288
+ description: "Name of the docuemnt (e.g. selfie.jpg)";
1289
+ };
1290
+ mediaType: {
1291
+ type: "string";
1292
+ enum: [
1293
+ "image/jpeg",
1294
+ "image/jpg",
1295
+ "application/pdf",
1296
+ "image/png",
1297
+ ];
1298
+ description: "Media type of the document (e.g. image/jpeg, image/png)";
1299
+ };
1300
+ entryDate: {
1301
+ type: "integer";
1302
+ description: "Entry date associated with the credential";
1303
+ };
1304
+ entryTime: {
1305
+ type: "string";
1306
+ description: "Entry time associated with the credential";
1307
+ };
1308
+ reviewAnswer: {
1309
+ type: "string";
1310
+ enum: ["RED", "YELLOW", "GREEN"];
1311
+ description: "Review result from kyc provider";
1312
+ };
1313
+ reviewRejectType: {
1314
+ type: "string";
1315
+ enum: ["FINAL", "RETRY"];
1316
+ description: "Review reject type";
1317
+ };
1318
+ reviewRejectLabels: {
1319
+ type: "array";
1320
+ items: {
1321
+ type: "string";
1322
+ enum: [
1323
+ "FORGERY",
1324
+ "DOCUMENT_TEMPLATE",
1325
+ "LOW_QUALITY",
1326
+ "SPAM",
1327
+ "NOT_DOCUMENT",
1328
+ "SELFIE_MISMATCH",
1329
+ "ID_INVALID",
1330
+ "FOREIGNER",
1331
+ "DUPLICATE",
1332
+ "BAD_AVATAR",
1333
+ "WRONG_USER_REGION",
1334
+ "INCOMPLETE_DOCUMENT",
1335
+ "BLACKLIST",
1336
+ "BLOCKLIST",
1337
+ "UNSATISFACTORY_PHOTOS",
1338
+ "DOCUMENT_PAGE_MISSING",
1339
+ "DOCUMENT_DAMAGED",
1340
+ "REGULATIONS_VIOLATIONS",
1341
+ "INCONSISTENT_PROFILE",
1342
+ "PROBLEMATIC_APPLICANT_DATA",
1343
+ "ADDITIONAL_DOCUMENT_REQUIRED",
1344
+ "AGE_REQUIREMENT_MISMATCH",
1345
+ "EXPERIENCE_REQUIREMENT_MISMATCH",
1346
+ "CRIMINAL",
1347
+ "WRONG_ADDRESS",
1348
+ "GRAPHIC_EDITOR",
1349
+ "DOCUMENT_DEPRIVED",
1350
+ "COMPROMISED_PERSONS",
1351
+ "PEP",
1352
+ "ADVERSE_MEDIA",
1353
+ "FRAUDULENT_PATTERNS",
1354
+ "SANCTIONS",
1355
+ "NOT_ALL_CHECKS_COMPLETED",
1356
+ "FRONT_SIDE_MISSING",
1357
+ "BACK_SIDE_MISSING",
1358
+ "SCREENSHOTS",
1359
+ "BLACK_AND_WHITE",
1360
+ "INCOMPATIBLE_LANGUAGE",
1361
+ "EXPIRATION_DATE",
1362
+ "UNFILLED_ID",
1363
+ "BAD_SELFIE",
1364
+ "BAD_VIDEO_SELFIE",
1365
+ "BAD_FACE_MATCHING",
1366
+ "BAD_PROOF_OF_IDENTITY",
1367
+ "BAD_PROOF_OF_ADDRESS",
1368
+ "BAD_PROOF_OF_PAYMENT",
1369
+ "SELFIE_WITH_PAPER",
1370
+ "FRAUDULENT_LIVENESS",
1371
+ "OTHER",
1372
+ "REQUESTED_DATA_MISMATCH",
1373
+ "OK",
1374
+ "COMPANY_NOT_DEFINED_STRUCTURE",
1375
+ "COMPANY_NOT_DEFINED_BENEFICIARIES",
1376
+ "COMPANY_NOT_VALIDATED_BENEFICIARIES",
1377
+ "COMPANY_NOT_DEFINED_REPRESENTATIVES",
1378
+ "COMPANY_NOT_VALIDATED_REPRESENTATIVES",
1379
+ "APPLICANT_INTERRUPTED_INTERVIEW",
1380
+ "DOCUMENT_MISSING",
1381
+ "UNSUITABLE_ENV",
1382
+ "CONNECTION_INTERRUPTED",
1383
+ "UNSUPPORTED_LANGUAGE",
1384
+ "THIRD_PARTY_INVOLVED",
1385
+ "CHECK_UNAVAILABLE",
1386
+ "INCORRECT_SOCIAL_NUMBER",
1387
+ ];
1388
+ };
1389
+ description: "Reject labels";
1390
+ };
1391
+ isSandbox: {
1392
+ type: "boolean";
1393
+ description: "Indicates if the credential was generated in a sandbox environment";
1394
+ };
1395
+ };
1396
+ required: [
1397
+ "id",
1398
+ "journeyId",
1399
+ "base64",
1400
+ "name",
1401
+ "mediaType",
1402
+ "entryDate",
1403
+ "entryTime",
1404
+ "reviewAnswer",
1405
+ ];
1406
+ additionalProperties: false;
1407
+ description: "Stores the data of the credential";
1408
+ };
1409
+ credentialStatus: {
1410
+ type: "object";
1411
+ properties: {
1412
+ id: { type: "string" };
1413
+ type: {
1414
+ type: "string";
1415
+ enum: [
1416
+ "SparseMerkleTreeProof",
1417
+ "Iden3ReverseSparseMerkleTreeProof",
1418
+ "Iden3commRevocationStatusV1.0",
1419
+ "Iden3OnchainSparseMerkleTreeProof2023",
1420
+ ];
1421
+ };
1422
+ revocationNonce: { type: "number" };
1423
+ };
1424
+ required: ["id", "type"];
1425
+ additionalProperties: false;
1426
+ };
1427
+ issuer: { type: "string" };
1428
+ credentialSchema: {
1429
+ type: "object";
1430
+ properties: {
1431
+ id: { type: "string" };
1432
+ type: { type: "string" };
1433
+ };
1434
+ required: ["id", "type"];
1435
+ additionalProperties: false;
1436
+ };
1437
+ proof: {};
1438
+ };
1439
+ required: [
1440
+ "id",
1441
+ "type",
1442
+ "credentialSubject",
1443
+ "credentialStatus",
1444
+ "issuer",
1445
+ "credentialSchema",
1446
+ ];
1447
+ additionalProperties: false;
1448
+ };
1449
+ };
1450
+ required: ["v1"];
1451
+ additionalProperties: false;
1452
+ };
1453
+ ProofOfResidence: {
1454
+ type: "object";
1455
+ properties: {
1456
+ v1: {
1457
+ type: "object";
1458
+ properties: {
1459
+ id: { type: "string" };
1460
+ "@context": { type: "array"; items: { type: "string" } };
1461
+ type: { type: "array"; items: { type: "string" } };
1462
+ expirationDate: { type: "string" };
1463
+ issuanceDate: { type: "string" };
1464
+ credentialSubject: {
1465
+ type: "object";
1466
+ properties: {
1467
+ id: {
1468
+ type: "string";
1469
+ format: "uri";
1470
+ description: "Stores the DID of the subject that owns the credential";
1471
+ };
1472
+ journeyId: {
1473
+ type: "string";
1474
+ format: "uuid";
1475
+ description: "The ID of the journey that this credential is associated with";
1476
+ };
1477
+ country: {
1478
+ type: "string";
1479
+ enum: [
1480
+ "AFG",
1481
+ "ALB",
1482
+ "DZA",
1483
+ "ASM",
1484
+ "AND",
1485
+ "AGO",
1486
+ "AIA",
1487
+ "ATA",
1488
+ "ATG",
1489
+ "ARG",
1490
+ "ARM",
1491
+ "ABW",
1492
+ "AUS",
1493
+ "AUT",
1494
+ "AZE",
1495
+ "BHS",
1496
+ "BHR",
1497
+ "BGD",
1498
+ "BRB",
1499
+ "BLR",
1500
+ "BEL",
1501
+ "BLZ",
1502
+ "BEN",
1503
+ "BMU",
1504
+ "BTN",
1505
+ "BOL",
1506
+ "BES",
1507
+ "BIH",
1508
+ "BWA",
1509
+ "BVT",
1510
+ "BRA",
1511
+ "IOT",
1512
+ "BRN",
1513
+ "BGR",
1514
+ "BFA",
1515
+ "BDI",
1516
+ "CPV",
1517
+ "KHM",
1518
+ "CMR",
1519
+ "CAN",
1520
+ "CYM",
1521
+ "CAF",
1522
+ "TCD",
1523
+ "CHL",
1524
+ "CHN",
1525
+ "CXR",
1526
+ "CCK",
1527
+ "COL",
1528
+ "COM",
1529
+ "COD",
1530
+ "COG",
1531
+ "COK",
1532
+ "CRI",
1533
+ "HRV",
1534
+ "CUB",
1535
+ "CUW",
1536
+ "CYP",
1537
+ "CZE",
1538
+ "CIV",
1539
+ "DNK",
1540
+ "DJI",
1541
+ "DMA",
1542
+ "DOM",
1543
+ "ECU",
1544
+ "EGY",
1545
+ "SLV",
1546
+ "GNQ",
1547
+ "ERI",
1548
+ "EST",
1549
+ "SWZ",
1550
+ "ETH",
1551
+ "FLK",
1552
+ "FRO",
1553
+ "FJI",
1554
+ "FIN",
1555
+ "FRA",
1556
+ "GUF",
1557
+ "PYF",
1558
+ "ATF",
1559
+ "GAB",
1560
+ "GMB",
1561
+ "GEO",
1562
+ "DEU",
1563
+ "GHA",
1564
+ "GIB",
1565
+ "GRC",
1566
+ "GRL",
1567
+ "GRD",
1568
+ "GLP",
1569
+ "GUM",
1570
+ "GTM",
1571
+ "GGY",
1572
+ "GIN",
1573
+ "GNB",
1574
+ "GUY",
1575
+ "HTI",
1576
+ "HMD",
1577
+ "VAT",
1578
+ "HND",
1579
+ "HKG",
1580
+ "HUN",
1581
+ "ISL",
1582
+ "IND",
1583
+ "IDN",
1584
+ "IRN",
1585
+ "IRQ",
1586
+ "IRL",
1587
+ "IMN",
1588
+ "ISR",
1589
+ "ITA",
1590
+ "JAM",
1591
+ "JPN",
1592
+ "JEY",
1593
+ "JOR",
1594
+ "KAZ",
1595
+ "KEN",
1596
+ "KIR",
1597
+ "PRK",
1598
+ "KOR",
1599
+ "KWT",
1600
+ "KGZ",
1601
+ "LAO",
1602
+ "LVA",
1603
+ "LBN",
1604
+ "LSO",
1605
+ "LBR",
1606
+ "LBY",
1607
+ "LIE",
1608
+ "LTU",
1609
+ "LUX",
1610
+ "MAC",
1611
+ "MDG",
1612
+ "MWI",
1613
+ "MYS",
1614
+ "MDV",
1615
+ "MLI",
1616
+ "MLT",
1617
+ "MHL",
1618
+ "MTQ",
1619
+ "MRT",
1620
+ "MUS",
1621
+ "MYT",
1622
+ "MEX",
1623
+ "FSM",
1624
+ "MDA",
1625
+ "MCO",
1626
+ "MNG",
1627
+ "MNE",
1628
+ "MSR",
1629
+ "MAR",
1630
+ "MOZ",
1631
+ "MMR",
1632
+ "NAM",
1633
+ "NRU",
1634
+ "NPL",
1635
+ "NLD",
1636
+ "NCL",
1637
+ "NZL",
1638
+ "NIC",
1639
+ "NER",
1640
+ "NGA",
1641
+ "NIU",
1642
+ "NFK",
1643
+ "MNP",
1644
+ "NOR",
1645
+ "OMN",
1646
+ "PAK",
1647
+ "PLW",
1648
+ "PSE",
1649
+ "PAN",
1650
+ "PNG",
1651
+ "PRY",
1652
+ "PER",
1653
+ "PHL",
1654
+ "PCN",
1655
+ "POL",
1656
+ "PRT",
1657
+ "PRI",
1658
+ "QAT",
1659
+ "MKD",
1660
+ "ROU",
1661
+ "RUS",
1662
+ "RWA",
1663
+ "REU",
1664
+ "BLM",
1665
+ "SHN",
1666
+ "KNA",
1667
+ "LCA",
1668
+ "MAF",
1669
+ "SPM",
1670
+ "VCT",
1671
+ "WSM",
1672
+ "SMR",
1673
+ "STP",
1674
+ "SAU",
1675
+ "SEN",
1676
+ "SRB",
1677
+ "SYC",
1678
+ "SLE",
1679
+ "SGP",
1680
+ "SXM",
1681
+ "SVK",
1682
+ "SVN",
1683
+ "SLB",
1684
+ "SOM",
1685
+ "ZAF",
1686
+ "SGS",
1687
+ "SSD",
1688
+ "ESP",
1689
+ "LKA",
1690
+ "SDN",
1691
+ "SUR",
1692
+ "SJM",
1693
+ "SWE",
1694
+ "CHE",
1695
+ "SYR",
1696
+ "TWN",
1697
+ "TJK",
1698
+ "TZA",
1699
+ "THA",
1700
+ "TLS",
1701
+ "TGO",
1702
+ "TKL",
1703
+ "TON",
1704
+ "TTO",
1705
+ "TUN",
1706
+ "TUR",
1707
+ "TKM",
1708
+ "TCA",
1709
+ "TUV",
1710
+ "UGA",
1711
+ "UKR",
1712
+ "ARE",
1713
+ "GBR",
1714
+ "UMI",
1715
+ "USA",
1716
+ "URY",
1717
+ "UZB",
1718
+ "VUT",
1719
+ "VEN",
1720
+ "VNM",
1721
+ "VGB",
1722
+ "VIR",
1723
+ "WLF",
1724
+ "ESH",
1725
+ "YEM",
1726
+ "ZMB",
1727
+ "ZWE",
1728
+ "ALA",
1729
+ "ANT",
1730
+ "XKX",
1731
+ ];
1732
+ description: "The country of residence - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)";
1733
+ };
1734
+ base64: {
1735
+ type: "string";
1736
+ description: "Base64 encoded image of the proof of residence";
1737
+ };
1738
+ name: {
1739
+ type: "string";
1740
+ description: "Name of the document (e.g. ProofOfResidence.jpg)";
1741
+ };
1742
+ documentType: {
1743
+ type: "string";
1744
+ enum: [
1745
+ "Gas_bill",
1746
+ "Internet_bill",
1747
+ "Electricity_bill",
1748
+ "Rent_agreement",
1749
+ "Bank_statement",
1750
+ ];
1751
+ description: "Type of the document (e.g. Gas bill, Internet bill, Electricity bill, Rent agreement, Bank statement)";
1752
+ };
1753
+ entryDate: {
1754
+ type: "integer";
1755
+ description: "Entry date associated with the credential";
1756
+ };
1757
+ entryTime: {
1758
+ type: "string";
1759
+ description: "Entry time associated with the credential";
1760
+ };
1761
+ mediaType: {
1762
+ type: "string";
1763
+ enum: [
1764
+ "image/jpeg",
1765
+ "image/jpg",
1766
+ "image/png",
1767
+ "application/pdf",
1768
+ ];
1769
+ description: "Media type of the document (e.g. image/jpeg, image/png, application/pdf)";
1770
+ };
1771
+ county: {
1772
+ type: "string";
1773
+ description: "The county of residence";
1774
+ };
1775
+ city: {
1776
+ type: "string";
1777
+ description: "The city of residence";
1778
+ };
1779
+ streetName: {
1780
+ type: "string";
1781
+ description: "The street name of residence";
1782
+ };
1783
+ postalCode: {
1784
+ type: "string";
1785
+ description: "The postal code of residence";
1786
+ };
1787
+ isSandbox: {
1788
+ type: "boolean";
1789
+ description: "Indicates if the credential was generated in a sandbox environment";
1790
+ };
1791
+ };
1792
+ required: [
1793
+ "id",
1794
+ "journeyId",
1795
+ "documentType",
1796
+ "entryDate",
1797
+ "entryTime",
1798
+ ];
1799
+ additionalProperties: false;
1800
+ description: "Stores the data of the credential";
1801
+ };
1802
+ credentialStatus: {
1803
+ type: "object";
1804
+ properties: {
1805
+ id: { type: "string" };
1806
+ type: {
1807
+ type: "string";
1808
+ enum: [
1809
+ "SparseMerkleTreeProof",
1810
+ "Iden3ReverseSparseMerkleTreeProof",
1811
+ "Iden3commRevocationStatusV1.0",
1812
+ "Iden3OnchainSparseMerkleTreeProof2023",
1813
+ ];
1814
+ };
1815
+ revocationNonce: { type: "number" };
1816
+ };
1817
+ required: ["id", "type"];
1818
+ additionalProperties: false;
1819
+ };
1820
+ issuer: { type: "string" };
1821
+ credentialSchema: {
1822
+ type: "object";
1823
+ properties: {
1824
+ id: { type: "string" };
1825
+ type: { type: "string" };
1826
+ };
1827
+ required: ["id", "type"];
1828
+ additionalProperties: false;
1829
+ };
1830
+ proof: {};
1831
+ };
1832
+ required: [
1833
+ "id",
1834
+ "type",
1835
+ "credentialSubject",
1836
+ "credentialStatus",
1837
+ "issuer",
1838
+ "credentialSchema",
1839
+ ];
1840
+ additionalProperties: false;
1841
+ };
1842
+ };
1843
+ required: ["v1"];
1844
+ additionalProperties: false;
1845
+ };
1846
+ };
1847
+ additionalProperties: false;
1848
+ };
1849
+ };
1850
+ required: ["vcs"];
1851
+ additionalProperties: false;
1852
+ };
1853
+ };
1854
+ $schema: "http://json-schema.org/draft-07/schema#";
1855
+ }
1856
+
1857
+ declare const KycSession: KycSession;
1858
+
1859
+ export = KycSession;