@learncard/types 2.0.1 → 2.1.2

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.
package/dist/vc.d.ts ADDED
@@ -0,0 +1,4114 @@
1
+ import { z } from 'zod';
2
+ export declare const ContextValidator: z.ZodArray<z.ZodString, "many">;
3
+ export declare type Context = z.infer<typeof ContextValidator>;
4
+ export declare const AchievementCriteriaValidator: z.ZodObject<{
5
+ type: z.ZodOptional<z.ZodString>;
6
+ narrative: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ type?: string | undefined;
9
+ narrative?: string | undefined;
10
+ }, {
11
+ type?: string | undefined;
12
+ narrative?: string | undefined;
13
+ }>;
14
+ export declare type AchievementCriteria = z.infer<typeof AchievementCriteriaValidator>;
15
+ export declare const ImageValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
16
+ id: z.ZodString;
17
+ type: z.ZodString;
18
+ caption: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ caption?: string | undefined;
21
+ type: string;
22
+ id: string;
23
+ }, {
24
+ caption?: string | undefined;
25
+ type: string;
26
+ id: string;
27
+ }>]>;
28
+ export declare type Image = z.infer<typeof ImageValidator>;
29
+ export declare const GeoCoordinatesValidator: z.ZodObject<{
30
+ type: z.ZodArray<z.ZodString, "atleastone">;
31
+ latitude: z.ZodNumber;
32
+ longitude: z.ZodNumber;
33
+ }, "strip", z.ZodTypeAny, {
34
+ type: [string, ...string[]];
35
+ latitude: number;
36
+ longitude: number;
37
+ }, {
38
+ type: [string, ...string[]];
39
+ latitude: number;
40
+ longitude: number;
41
+ }>;
42
+ export declare type GeoCoordinates = z.infer<typeof GeoCoordinatesValidator>;
43
+ export declare const AddressValidator: z.ZodObject<{
44
+ type: z.ZodArray<z.ZodString, "atleastone">;
45
+ addressCountry: z.ZodOptional<z.ZodString>;
46
+ addressCountryCode: z.ZodOptional<z.ZodString>;
47
+ addressRegion: z.ZodOptional<z.ZodString>;
48
+ addressLocality: z.ZodOptional<z.ZodString>;
49
+ streetAddress: z.ZodOptional<z.ZodString>;
50
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
51
+ postalCode: z.ZodOptional<z.ZodString>;
52
+ geo: z.ZodOptional<z.ZodObject<{
53
+ type: z.ZodArray<z.ZodString, "atleastone">;
54
+ latitude: z.ZodNumber;
55
+ longitude: z.ZodNumber;
56
+ }, "strip", z.ZodTypeAny, {
57
+ type: [string, ...string[]];
58
+ latitude: number;
59
+ longitude: number;
60
+ }, {
61
+ type: [string, ...string[]];
62
+ latitude: number;
63
+ longitude: number;
64
+ }>>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ addressCountry?: string | undefined;
67
+ addressCountryCode?: string | undefined;
68
+ addressRegion?: string | undefined;
69
+ addressLocality?: string | undefined;
70
+ streetAddress?: string | undefined;
71
+ postOfficeBoxNumber?: string | undefined;
72
+ postalCode?: string | undefined;
73
+ geo?: {
74
+ type: [string, ...string[]];
75
+ latitude: number;
76
+ longitude: number;
77
+ } | undefined;
78
+ type: [string, ...string[]];
79
+ }, {
80
+ addressCountry?: string | undefined;
81
+ addressCountryCode?: string | undefined;
82
+ addressRegion?: string | undefined;
83
+ addressLocality?: string | undefined;
84
+ streetAddress?: string | undefined;
85
+ postOfficeBoxNumber?: string | undefined;
86
+ postalCode?: string | undefined;
87
+ geo?: {
88
+ type: [string, ...string[]];
89
+ latitude: number;
90
+ longitude: number;
91
+ } | undefined;
92
+ type: [string, ...string[]];
93
+ }>;
94
+ export declare type Address = z.infer<typeof AddressValidator>;
95
+ export declare const IdentifierTypeValidator: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
96
+ export declare type IdentifierType = z.infer<typeof IdentifierTypeValidator>;
97
+ export declare const IdentifierEntryValidator: z.ZodObject<{
98
+ type: z.ZodArray<z.ZodString, "atleastone">;
99
+ identifier: z.ZodString;
100
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ type: [string, ...string[]];
103
+ identifier: string;
104
+ identifierType: string;
105
+ }, {
106
+ type: [string, ...string[]];
107
+ identifier: string;
108
+ identifierType: string;
109
+ }>;
110
+ export declare type IdentifierEntry = z.infer<typeof IdentifierEntryValidator>;
111
+ export declare const ProfileValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
112
+ id: z.ZodOptional<z.ZodString>;
113
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
114
+ name: z.ZodOptional<z.ZodString>;
115
+ url: z.ZodOptional<z.ZodString>;
116
+ phone: z.ZodOptional<z.ZodString>;
117
+ description: z.ZodOptional<z.ZodString>;
118
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
119
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
120
+ id: z.ZodString;
121
+ type: z.ZodString;
122
+ caption: z.ZodOptional<z.ZodString>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ caption?: string | undefined;
125
+ type: string;
126
+ id: string;
127
+ }, {
128
+ caption?: string | undefined;
129
+ type: string;
130
+ id: string;
131
+ }>]>>;
132
+ email: z.ZodOptional<z.ZodString>;
133
+ address: z.ZodOptional<z.ZodObject<{
134
+ type: z.ZodArray<z.ZodString, "atleastone">;
135
+ addressCountry: z.ZodOptional<z.ZodString>;
136
+ addressCountryCode: z.ZodOptional<z.ZodString>;
137
+ addressRegion: z.ZodOptional<z.ZodString>;
138
+ addressLocality: z.ZodOptional<z.ZodString>;
139
+ streetAddress: z.ZodOptional<z.ZodString>;
140
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
141
+ postalCode: z.ZodOptional<z.ZodString>;
142
+ geo: z.ZodOptional<z.ZodObject<{
143
+ type: z.ZodArray<z.ZodString, "atleastone">;
144
+ latitude: z.ZodNumber;
145
+ longitude: z.ZodNumber;
146
+ }, "strip", z.ZodTypeAny, {
147
+ type: [string, ...string[]];
148
+ latitude: number;
149
+ longitude: number;
150
+ }, {
151
+ type: [string, ...string[]];
152
+ latitude: number;
153
+ longitude: number;
154
+ }>>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ addressCountry?: string | undefined;
157
+ addressCountryCode?: string | undefined;
158
+ addressRegion?: string | undefined;
159
+ addressLocality?: string | undefined;
160
+ streetAddress?: string | undefined;
161
+ postOfficeBoxNumber?: string | undefined;
162
+ postalCode?: string | undefined;
163
+ geo?: {
164
+ type: [string, ...string[]];
165
+ latitude: number;
166
+ longitude: number;
167
+ } | undefined;
168
+ type: [string, ...string[]];
169
+ }, {
170
+ addressCountry?: string | undefined;
171
+ addressCountryCode?: string | undefined;
172
+ addressRegion?: string | undefined;
173
+ addressLocality?: string | undefined;
174
+ streetAddress?: string | undefined;
175
+ postOfficeBoxNumber?: string | undefined;
176
+ postalCode?: string | undefined;
177
+ geo?: {
178
+ type: [string, ...string[]];
179
+ latitude: number;
180
+ longitude: number;
181
+ } | undefined;
182
+ type: [string, ...string[]];
183
+ }>>;
184
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
185
+ type: z.ZodArray<z.ZodString, "atleastone">;
186
+ identifier: z.ZodString;
187
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ type: [string, ...string[]];
190
+ identifier: string;
191
+ identifierType: string;
192
+ }, {
193
+ type: [string, ...string[]];
194
+ identifier: string;
195
+ identifierType: string;
196
+ }>, "many">>;
197
+ official: z.ZodOptional<z.ZodString>;
198
+ parentOrg: z.ZodOptional<z.ZodAny>;
199
+ familyName: z.ZodOptional<z.ZodString>;
200
+ givenName: z.ZodOptional<z.ZodString>;
201
+ additionalName: z.ZodOptional<z.ZodString>;
202
+ patronymicName: z.ZodOptional<z.ZodString>;
203
+ honorificPrefix: z.ZodOptional<z.ZodString>;
204
+ honorificSuffix: z.ZodOptional<z.ZodString>;
205
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
206
+ dateOfBirth: z.ZodOptional<z.ZodString>;
207
+ }, "strip", z.ZodAny, {
208
+ [x: string]: any;
209
+ type?: [string, ...string[]] | undefined;
210
+ id?: string | undefined;
211
+ name?: string | undefined;
212
+ url?: string | undefined;
213
+ phone?: string | undefined;
214
+ description?: string | undefined;
215
+ endorsement?: any[] | undefined;
216
+ image?: string | {
217
+ caption?: string | undefined;
218
+ type: string;
219
+ id: string;
220
+ } | undefined;
221
+ email?: string | undefined;
222
+ address?: {
223
+ addressCountry?: string | undefined;
224
+ addressCountryCode?: string | undefined;
225
+ addressRegion?: string | undefined;
226
+ addressLocality?: string | undefined;
227
+ streetAddress?: string | undefined;
228
+ postOfficeBoxNumber?: string | undefined;
229
+ postalCode?: string | undefined;
230
+ geo?: {
231
+ type: [string, ...string[]];
232
+ latitude: number;
233
+ longitude: number;
234
+ } | undefined;
235
+ type: [string, ...string[]];
236
+ } | undefined;
237
+ otherIdentifier?: {
238
+ type: [string, ...string[]];
239
+ identifier: string;
240
+ identifierType: string;
241
+ }[] | undefined;
242
+ official?: string | undefined;
243
+ parentOrg?: any;
244
+ familyName?: string | undefined;
245
+ givenName?: string | undefined;
246
+ additionalName?: string | undefined;
247
+ patronymicName?: string | undefined;
248
+ honorificPrefix?: string | undefined;
249
+ honorificSuffix?: string | undefined;
250
+ familyNamePrefix?: string | undefined;
251
+ dateOfBirth?: string | undefined;
252
+ }, {
253
+ [x: string]: any;
254
+ type?: [string, ...string[]] | undefined;
255
+ id?: string | undefined;
256
+ name?: string | undefined;
257
+ url?: string | undefined;
258
+ phone?: string | undefined;
259
+ description?: string | undefined;
260
+ endorsement?: any[] | undefined;
261
+ image?: string | {
262
+ caption?: string | undefined;
263
+ type: string;
264
+ id: string;
265
+ } | undefined;
266
+ email?: string | undefined;
267
+ address?: {
268
+ addressCountry?: string | undefined;
269
+ addressCountryCode?: string | undefined;
270
+ addressRegion?: string | undefined;
271
+ addressLocality?: string | undefined;
272
+ streetAddress?: string | undefined;
273
+ postOfficeBoxNumber?: string | undefined;
274
+ postalCode?: string | undefined;
275
+ geo?: {
276
+ type: [string, ...string[]];
277
+ latitude: number;
278
+ longitude: number;
279
+ } | undefined;
280
+ type: [string, ...string[]];
281
+ } | undefined;
282
+ otherIdentifier?: {
283
+ type: [string, ...string[]];
284
+ identifier: string;
285
+ identifierType: string;
286
+ }[] | undefined;
287
+ official?: string | undefined;
288
+ parentOrg?: any;
289
+ familyName?: string | undefined;
290
+ givenName?: string | undefined;
291
+ additionalName?: string | undefined;
292
+ patronymicName?: string | undefined;
293
+ honorificPrefix?: string | undefined;
294
+ honorificSuffix?: string | undefined;
295
+ familyNamePrefix?: string | undefined;
296
+ dateOfBirth?: string | undefined;
297
+ }>]>;
298
+ export declare type Profile = z.infer<typeof ProfileValidator>;
299
+ export declare const CredentialSubjectValidator: z.ZodObject<{
300
+ id: z.ZodOptional<z.ZodString>;
301
+ }, "strip", z.ZodAny, {
302
+ [x: string]: any;
303
+ id?: string | undefined;
304
+ }, {
305
+ [x: string]: any;
306
+ id?: string | undefined;
307
+ }>;
308
+ export declare type CredentialSubject = z.infer<typeof CredentialSubjectValidator>;
309
+ export declare const CredentialStatusValidator: z.ZodObject<{
310
+ type: z.ZodString;
311
+ id: z.ZodString;
312
+ }, "strip", z.ZodTypeAny, {
313
+ type: string;
314
+ id: string;
315
+ }, {
316
+ type: string;
317
+ id: string;
318
+ }>;
319
+ export declare type CredentialStatus = z.infer<typeof CredentialStatusValidator>;
320
+ export declare const CredentialSchemaValidator: z.ZodObject<{
321
+ id: z.ZodString;
322
+ type: z.ZodString;
323
+ }, "strip", z.ZodTypeAny, {
324
+ type: string;
325
+ id: string;
326
+ }, {
327
+ type: string;
328
+ id: string;
329
+ }>;
330
+ export declare type CredentialSchema = z.infer<typeof CredentialSchemaValidator>;
331
+ export declare const RefreshServiceValidator: z.ZodObject<{
332
+ id: z.ZodString;
333
+ type: z.ZodString;
334
+ }, "strip", z.ZodAny, {
335
+ [x: string]: any;
336
+ type: string;
337
+ id: string;
338
+ }, {
339
+ [x: string]: any;
340
+ type: string;
341
+ id: string;
342
+ }>;
343
+ export declare type RefreshService = z.infer<typeof RefreshServiceValidator>;
344
+ export declare const UnsignedVCValidator: z.ZodObject<{
345
+ '@context': z.ZodArray<z.ZodString, "many">;
346
+ id: z.ZodOptional<z.ZodString>;
347
+ type: z.ZodArray<z.ZodString, "atleastone">;
348
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
349
+ id: z.ZodOptional<z.ZodString>;
350
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
351
+ name: z.ZodOptional<z.ZodString>;
352
+ url: z.ZodOptional<z.ZodString>;
353
+ phone: z.ZodOptional<z.ZodString>;
354
+ description: z.ZodOptional<z.ZodString>;
355
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
356
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
357
+ id: z.ZodString;
358
+ type: z.ZodString;
359
+ caption: z.ZodOptional<z.ZodString>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ caption?: string | undefined;
362
+ type: string;
363
+ id: string;
364
+ }, {
365
+ caption?: string | undefined;
366
+ type: string;
367
+ id: string;
368
+ }>]>>;
369
+ email: z.ZodOptional<z.ZodString>;
370
+ address: z.ZodOptional<z.ZodObject<{
371
+ type: z.ZodArray<z.ZodString, "atleastone">;
372
+ addressCountry: z.ZodOptional<z.ZodString>;
373
+ addressCountryCode: z.ZodOptional<z.ZodString>;
374
+ addressRegion: z.ZodOptional<z.ZodString>;
375
+ addressLocality: z.ZodOptional<z.ZodString>;
376
+ streetAddress: z.ZodOptional<z.ZodString>;
377
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
378
+ postalCode: z.ZodOptional<z.ZodString>;
379
+ geo: z.ZodOptional<z.ZodObject<{
380
+ type: z.ZodArray<z.ZodString, "atleastone">;
381
+ latitude: z.ZodNumber;
382
+ longitude: z.ZodNumber;
383
+ }, "strip", z.ZodTypeAny, {
384
+ type: [string, ...string[]];
385
+ latitude: number;
386
+ longitude: number;
387
+ }, {
388
+ type: [string, ...string[]];
389
+ latitude: number;
390
+ longitude: number;
391
+ }>>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ addressCountry?: string | undefined;
394
+ addressCountryCode?: string | undefined;
395
+ addressRegion?: string | undefined;
396
+ addressLocality?: string | undefined;
397
+ streetAddress?: string | undefined;
398
+ postOfficeBoxNumber?: string | undefined;
399
+ postalCode?: string | undefined;
400
+ geo?: {
401
+ type: [string, ...string[]];
402
+ latitude: number;
403
+ longitude: number;
404
+ } | undefined;
405
+ type: [string, ...string[]];
406
+ }, {
407
+ addressCountry?: string | undefined;
408
+ addressCountryCode?: string | undefined;
409
+ addressRegion?: string | undefined;
410
+ addressLocality?: string | undefined;
411
+ streetAddress?: string | undefined;
412
+ postOfficeBoxNumber?: string | undefined;
413
+ postalCode?: string | undefined;
414
+ geo?: {
415
+ type: [string, ...string[]];
416
+ latitude: number;
417
+ longitude: number;
418
+ } | undefined;
419
+ type: [string, ...string[]];
420
+ }>>;
421
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
422
+ type: z.ZodArray<z.ZodString, "atleastone">;
423
+ identifier: z.ZodString;
424
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ type: [string, ...string[]];
427
+ identifier: string;
428
+ identifierType: string;
429
+ }, {
430
+ type: [string, ...string[]];
431
+ identifier: string;
432
+ identifierType: string;
433
+ }>, "many">>;
434
+ official: z.ZodOptional<z.ZodString>;
435
+ parentOrg: z.ZodOptional<z.ZodAny>;
436
+ familyName: z.ZodOptional<z.ZodString>;
437
+ givenName: z.ZodOptional<z.ZodString>;
438
+ additionalName: z.ZodOptional<z.ZodString>;
439
+ patronymicName: z.ZodOptional<z.ZodString>;
440
+ honorificPrefix: z.ZodOptional<z.ZodString>;
441
+ honorificSuffix: z.ZodOptional<z.ZodString>;
442
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
443
+ dateOfBirth: z.ZodOptional<z.ZodString>;
444
+ }, "strip", z.ZodAny, {
445
+ [x: string]: any;
446
+ type?: [string, ...string[]] | undefined;
447
+ id?: string | undefined;
448
+ name?: string | undefined;
449
+ url?: string | undefined;
450
+ phone?: string | undefined;
451
+ description?: string | undefined;
452
+ endorsement?: any[] | undefined;
453
+ image?: string | {
454
+ caption?: string | undefined;
455
+ type: string;
456
+ id: string;
457
+ } | undefined;
458
+ email?: string | undefined;
459
+ address?: {
460
+ addressCountry?: string | undefined;
461
+ addressCountryCode?: string | undefined;
462
+ addressRegion?: string | undefined;
463
+ addressLocality?: string | undefined;
464
+ streetAddress?: string | undefined;
465
+ postOfficeBoxNumber?: string | undefined;
466
+ postalCode?: string | undefined;
467
+ geo?: {
468
+ type: [string, ...string[]];
469
+ latitude: number;
470
+ longitude: number;
471
+ } | undefined;
472
+ type: [string, ...string[]];
473
+ } | undefined;
474
+ otherIdentifier?: {
475
+ type: [string, ...string[]];
476
+ identifier: string;
477
+ identifierType: string;
478
+ }[] | undefined;
479
+ official?: string | undefined;
480
+ parentOrg?: any;
481
+ familyName?: string | undefined;
482
+ givenName?: string | undefined;
483
+ additionalName?: string | undefined;
484
+ patronymicName?: string | undefined;
485
+ honorificPrefix?: string | undefined;
486
+ honorificSuffix?: string | undefined;
487
+ familyNamePrefix?: string | undefined;
488
+ dateOfBirth?: string | undefined;
489
+ }, {
490
+ [x: string]: any;
491
+ type?: [string, ...string[]] | undefined;
492
+ id?: string | undefined;
493
+ name?: string | undefined;
494
+ url?: string | undefined;
495
+ phone?: string | undefined;
496
+ description?: string | undefined;
497
+ endorsement?: any[] | undefined;
498
+ image?: string | {
499
+ caption?: string | undefined;
500
+ type: string;
501
+ id: string;
502
+ } | undefined;
503
+ email?: string | undefined;
504
+ address?: {
505
+ addressCountry?: string | undefined;
506
+ addressCountryCode?: string | undefined;
507
+ addressRegion?: string | undefined;
508
+ addressLocality?: string | undefined;
509
+ streetAddress?: string | undefined;
510
+ postOfficeBoxNumber?: string | undefined;
511
+ postalCode?: string | undefined;
512
+ geo?: {
513
+ type: [string, ...string[]];
514
+ latitude: number;
515
+ longitude: number;
516
+ } | undefined;
517
+ type: [string, ...string[]];
518
+ } | undefined;
519
+ otherIdentifier?: {
520
+ type: [string, ...string[]];
521
+ identifier: string;
522
+ identifierType: string;
523
+ }[] | undefined;
524
+ official?: string | undefined;
525
+ parentOrg?: any;
526
+ familyName?: string | undefined;
527
+ givenName?: string | undefined;
528
+ additionalName?: string | undefined;
529
+ patronymicName?: string | undefined;
530
+ honorificPrefix?: string | undefined;
531
+ honorificSuffix?: string | undefined;
532
+ familyNamePrefix?: string | undefined;
533
+ dateOfBirth?: string | undefined;
534
+ }>]>;
535
+ issuanceDate: z.ZodString;
536
+ expirationDate: z.ZodOptional<z.ZodString>;
537
+ credentialSubject: z.ZodUnion<[z.ZodObject<{
538
+ id: z.ZodOptional<z.ZodString>;
539
+ }, "strip", z.ZodAny, {
540
+ [x: string]: any;
541
+ id?: string | undefined;
542
+ }, {
543
+ [x: string]: any;
544
+ id?: string | undefined;
545
+ }>, z.ZodArray<z.ZodObject<{
546
+ id: z.ZodOptional<z.ZodString>;
547
+ }, "strip", z.ZodAny, {
548
+ [x: string]: any;
549
+ id?: string | undefined;
550
+ }, {
551
+ [x: string]: any;
552
+ id?: string | undefined;
553
+ }>, "many">]>;
554
+ credentialStatus: z.ZodOptional<z.ZodObject<{
555
+ type: z.ZodString;
556
+ id: z.ZodString;
557
+ }, "strip", z.ZodTypeAny, {
558
+ type: string;
559
+ id: string;
560
+ }, {
561
+ type: string;
562
+ id: string;
563
+ }>>;
564
+ credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
565
+ id: z.ZodString;
566
+ type: z.ZodString;
567
+ }, "strip", z.ZodTypeAny, {
568
+ type: string;
569
+ id: string;
570
+ }, {
571
+ type: string;
572
+ id: string;
573
+ }>, "many">>;
574
+ refreshService: z.ZodOptional<z.ZodObject<{
575
+ id: z.ZodString;
576
+ type: z.ZodString;
577
+ }, "strip", z.ZodAny, {
578
+ [x: string]: any;
579
+ type: string;
580
+ id: string;
581
+ }, {
582
+ [x: string]: any;
583
+ type: string;
584
+ id: string;
585
+ }>>;
586
+ }, "strip", z.ZodAny, {
587
+ [x: string]: any;
588
+ id?: string | undefined;
589
+ expirationDate?: string | undefined;
590
+ credentialStatus?: {
591
+ type: string;
592
+ id: string;
593
+ } | undefined;
594
+ credentialSchema?: {
595
+ type: string;
596
+ id: string;
597
+ }[] | undefined;
598
+ refreshService?: {
599
+ [x: string]: any;
600
+ type: string;
601
+ id: string;
602
+ } | undefined;
603
+ type: [string, ...string[]];
604
+ '@context': string[];
605
+ issuer: string | {
606
+ [x: string]: any;
607
+ type?: [string, ...string[]] | undefined;
608
+ id?: string | undefined;
609
+ name?: string | undefined;
610
+ url?: string | undefined;
611
+ phone?: string | undefined;
612
+ description?: string | undefined;
613
+ endorsement?: any[] | undefined;
614
+ image?: string | {
615
+ caption?: string | undefined;
616
+ type: string;
617
+ id: string;
618
+ } | undefined;
619
+ email?: string | undefined;
620
+ address?: {
621
+ addressCountry?: string | undefined;
622
+ addressCountryCode?: string | undefined;
623
+ addressRegion?: string | undefined;
624
+ addressLocality?: string | undefined;
625
+ streetAddress?: string | undefined;
626
+ postOfficeBoxNumber?: string | undefined;
627
+ postalCode?: string | undefined;
628
+ geo?: {
629
+ type: [string, ...string[]];
630
+ latitude: number;
631
+ longitude: number;
632
+ } | undefined;
633
+ type: [string, ...string[]];
634
+ } | undefined;
635
+ otherIdentifier?: {
636
+ type: [string, ...string[]];
637
+ identifier: string;
638
+ identifierType: string;
639
+ }[] | undefined;
640
+ official?: string | undefined;
641
+ parentOrg?: any;
642
+ familyName?: string | undefined;
643
+ givenName?: string | undefined;
644
+ additionalName?: string | undefined;
645
+ patronymicName?: string | undefined;
646
+ honorificPrefix?: string | undefined;
647
+ honorificSuffix?: string | undefined;
648
+ familyNamePrefix?: string | undefined;
649
+ dateOfBirth?: string | undefined;
650
+ };
651
+ issuanceDate: string;
652
+ credentialSubject: {
653
+ [x: string]: any;
654
+ id?: string | undefined;
655
+ } | {
656
+ [x: string]: any;
657
+ id?: string | undefined;
658
+ }[];
659
+ }, {
660
+ [x: string]: any;
661
+ id?: string | undefined;
662
+ expirationDate?: string | undefined;
663
+ credentialStatus?: {
664
+ type: string;
665
+ id: string;
666
+ } | undefined;
667
+ credentialSchema?: {
668
+ type: string;
669
+ id: string;
670
+ }[] | undefined;
671
+ refreshService?: {
672
+ [x: string]: any;
673
+ type: string;
674
+ id: string;
675
+ } | undefined;
676
+ type: [string, ...string[]];
677
+ '@context': string[];
678
+ issuer: string | {
679
+ [x: string]: any;
680
+ type?: [string, ...string[]] | undefined;
681
+ id?: string | undefined;
682
+ name?: string | undefined;
683
+ url?: string | undefined;
684
+ phone?: string | undefined;
685
+ description?: string | undefined;
686
+ endorsement?: any[] | undefined;
687
+ image?: string | {
688
+ caption?: string | undefined;
689
+ type: string;
690
+ id: string;
691
+ } | undefined;
692
+ email?: string | undefined;
693
+ address?: {
694
+ addressCountry?: string | undefined;
695
+ addressCountryCode?: string | undefined;
696
+ addressRegion?: string | undefined;
697
+ addressLocality?: string | undefined;
698
+ streetAddress?: string | undefined;
699
+ postOfficeBoxNumber?: string | undefined;
700
+ postalCode?: string | undefined;
701
+ geo?: {
702
+ type: [string, ...string[]];
703
+ latitude: number;
704
+ longitude: number;
705
+ } | undefined;
706
+ type: [string, ...string[]];
707
+ } | undefined;
708
+ otherIdentifier?: {
709
+ type: [string, ...string[]];
710
+ identifier: string;
711
+ identifierType: string;
712
+ }[] | undefined;
713
+ official?: string | undefined;
714
+ parentOrg?: any;
715
+ familyName?: string | undefined;
716
+ givenName?: string | undefined;
717
+ additionalName?: string | undefined;
718
+ patronymicName?: string | undefined;
719
+ honorificPrefix?: string | undefined;
720
+ honorificSuffix?: string | undefined;
721
+ familyNamePrefix?: string | undefined;
722
+ dateOfBirth?: string | undefined;
723
+ };
724
+ issuanceDate: string;
725
+ credentialSubject: {
726
+ [x: string]: any;
727
+ id?: string | undefined;
728
+ } | {
729
+ [x: string]: any;
730
+ id?: string | undefined;
731
+ }[];
732
+ }>;
733
+ export declare type UnsignedVC = z.infer<typeof UnsignedVCValidator>;
734
+ export declare const ProofValidator: z.ZodObject<{
735
+ type: z.ZodString;
736
+ created: z.ZodString;
737
+ challenge: z.ZodOptional<z.ZodString>;
738
+ domain: z.ZodOptional<z.ZodString>;
739
+ nonce: z.ZodOptional<z.ZodString>;
740
+ proofPurpose: z.ZodString;
741
+ verificationMethod: z.ZodString;
742
+ jws: z.ZodOptional<z.ZodString>;
743
+ }, "strip", z.ZodAny, {
744
+ [x: string]: any;
745
+ challenge?: string | undefined;
746
+ domain?: string | undefined;
747
+ nonce?: string | undefined;
748
+ jws?: string | undefined;
749
+ type: string;
750
+ created: string;
751
+ proofPurpose: string;
752
+ verificationMethod: string;
753
+ }, {
754
+ [x: string]: any;
755
+ challenge?: string | undefined;
756
+ domain?: string | undefined;
757
+ nonce?: string | undefined;
758
+ jws?: string | undefined;
759
+ type: string;
760
+ created: string;
761
+ proofPurpose: string;
762
+ verificationMethod: string;
763
+ }>;
764
+ export declare type Proof = z.infer<typeof ProofValidator>;
765
+ export declare const VCValidator: z.ZodObject<z.extendShape<{
766
+ '@context': z.ZodArray<z.ZodString, "many">;
767
+ id: z.ZodOptional<z.ZodString>;
768
+ type: z.ZodArray<z.ZodString, "atleastone">;
769
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
770
+ id: z.ZodOptional<z.ZodString>;
771
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
772
+ name: z.ZodOptional<z.ZodString>;
773
+ url: z.ZodOptional<z.ZodString>;
774
+ phone: z.ZodOptional<z.ZodString>;
775
+ description: z.ZodOptional<z.ZodString>;
776
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
777
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
778
+ id: z.ZodString;
779
+ type: z.ZodString;
780
+ caption: z.ZodOptional<z.ZodString>;
781
+ }, "strip", z.ZodTypeAny, {
782
+ caption?: string | undefined;
783
+ type: string;
784
+ id: string;
785
+ }, {
786
+ caption?: string | undefined;
787
+ type: string;
788
+ id: string;
789
+ }>]>>;
790
+ email: z.ZodOptional<z.ZodString>;
791
+ address: z.ZodOptional<z.ZodObject<{
792
+ type: z.ZodArray<z.ZodString, "atleastone">;
793
+ addressCountry: z.ZodOptional<z.ZodString>;
794
+ addressCountryCode: z.ZodOptional<z.ZodString>;
795
+ addressRegion: z.ZodOptional<z.ZodString>;
796
+ addressLocality: z.ZodOptional<z.ZodString>;
797
+ streetAddress: z.ZodOptional<z.ZodString>;
798
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
799
+ postalCode: z.ZodOptional<z.ZodString>;
800
+ geo: z.ZodOptional<z.ZodObject<{
801
+ type: z.ZodArray<z.ZodString, "atleastone">;
802
+ latitude: z.ZodNumber;
803
+ longitude: z.ZodNumber;
804
+ }, "strip", z.ZodTypeAny, {
805
+ type: [string, ...string[]];
806
+ latitude: number;
807
+ longitude: number;
808
+ }, {
809
+ type: [string, ...string[]];
810
+ latitude: number;
811
+ longitude: number;
812
+ }>>;
813
+ }, "strip", z.ZodTypeAny, {
814
+ addressCountry?: string | undefined;
815
+ addressCountryCode?: string | undefined;
816
+ addressRegion?: string | undefined;
817
+ addressLocality?: string | undefined;
818
+ streetAddress?: string | undefined;
819
+ postOfficeBoxNumber?: string | undefined;
820
+ postalCode?: string | undefined;
821
+ geo?: {
822
+ type: [string, ...string[]];
823
+ latitude: number;
824
+ longitude: number;
825
+ } | undefined;
826
+ type: [string, ...string[]];
827
+ }, {
828
+ addressCountry?: string | undefined;
829
+ addressCountryCode?: string | undefined;
830
+ addressRegion?: string | undefined;
831
+ addressLocality?: string | undefined;
832
+ streetAddress?: string | undefined;
833
+ postOfficeBoxNumber?: string | undefined;
834
+ postalCode?: string | undefined;
835
+ geo?: {
836
+ type: [string, ...string[]];
837
+ latitude: number;
838
+ longitude: number;
839
+ } | undefined;
840
+ type: [string, ...string[]];
841
+ }>>;
842
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
843
+ type: z.ZodArray<z.ZodString, "atleastone">;
844
+ identifier: z.ZodString;
845
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
846
+ }, "strip", z.ZodTypeAny, {
847
+ type: [string, ...string[]];
848
+ identifier: string;
849
+ identifierType: string;
850
+ }, {
851
+ type: [string, ...string[]];
852
+ identifier: string;
853
+ identifierType: string;
854
+ }>, "many">>;
855
+ official: z.ZodOptional<z.ZodString>;
856
+ parentOrg: z.ZodOptional<z.ZodAny>;
857
+ familyName: z.ZodOptional<z.ZodString>;
858
+ givenName: z.ZodOptional<z.ZodString>;
859
+ additionalName: z.ZodOptional<z.ZodString>;
860
+ patronymicName: z.ZodOptional<z.ZodString>;
861
+ honorificPrefix: z.ZodOptional<z.ZodString>;
862
+ honorificSuffix: z.ZodOptional<z.ZodString>;
863
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
864
+ dateOfBirth: z.ZodOptional<z.ZodString>;
865
+ }, "strip", z.ZodAny, {
866
+ [x: string]: any;
867
+ type?: [string, ...string[]] | undefined;
868
+ id?: string | undefined;
869
+ name?: string | undefined;
870
+ url?: string | undefined;
871
+ phone?: string | undefined;
872
+ description?: string | undefined;
873
+ endorsement?: any[] | undefined;
874
+ image?: string | {
875
+ caption?: string | undefined;
876
+ type: string;
877
+ id: string;
878
+ } | undefined;
879
+ email?: string | undefined;
880
+ address?: {
881
+ addressCountry?: string | undefined;
882
+ addressCountryCode?: string | undefined;
883
+ addressRegion?: string | undefined;
884
+ addressLocality?: string | undefined;
885
+ streetAddress?: string | undefined;
886
+ postOfficeBoxNumber?: string | undefined;
887
+ postalCode?: string | undefined;
888
+ geo?: {
889
+ type: [string, ...string[]];
890
+ latitude: number;
891
+ longitude: number;
892
+ } | undefined;
893
+ type: [string, ...string[]];
894
+ } | undefined;
895
+ otherIdentifier?: {
896
+ type: [string, ...string[]];
897
+ identifier: string;
898
+ identifierType: string;
899
+ }[] | undefined;
900
+ official?: string | undefined;
901
+ parentOrg?: any;
902
+ familyName?: string | undefined;
903
+ givenName?: string | undefined;
904
+ additionalName?: string | undefined;
905
+ patronymicName?: string | undefined;
906
+ honorificPrefix?: string | undefined;
907
+ honorificSuffix?: string | undefined;
908
+ familyNamePrefix?: string | undefined;
909
+ dateOfBirth?: string | undefined;
910
+ }, {
911
+ [x: string]: any;
912
+ type?: [string, ...string[]] | undefined;
913
+ id?: string | undefined;
914
+ name?: string | undefined;
915
+ url?: string | undefined;
916
+ phone?: string | undefined;
917
+ description?: string | undefined;
918
+ endorsement?: any[] | undefined;
919
+ image?: string | {
920
+ caption?: string | undefined;
921
+ type: string;
922
+ id: string;
923
+ } | undefined;
924
+ email?: string | undefined;
925
+ address?: {
926
+ addressCountry?: string | undefined;
927
+ addressCountryCode?: string | undefined;
928
+ addressRegion?: string | undefined;
929
+ addressLocality?: string | undefined;
930
+ streetAddress?: string | undefined;
931
+ postOfficeBoxNumber?: string | undefined;
932
+ postalCode?: string | undefined;
933
+ geo?: {
934
+ type: [string, ...string[]];
935
+ latitude: number;
936
+ longitude: number;
937
+ } | undefined;
938
+ type: [string, ...string[]];
939
+ } | undefined;
940
+ otherIdentifier?: {
941
+ type: [string, ...string[]];
942
+ identifier: string;
943
+ identifierType: string;
944
+ }[] | undefined;
945
+ official?: string | undefined;
946
+ parentOrg?: any;
947
+ familyName?: string | undefined;
948
+ givenName?: string | undefined;
949
+ additionalName?: string | undefined;
950
+ patronymicName?: string | undefined;
951
+ honorificPrefix?: string | undefined;
952
+ honorificSuffix?: string | undefined;
953
+ familyNamePrefix?: string | undefined;
954
+ dateOfBirth?: string | undefined;
955
+ }>]>;
956
+ issuanceDate: z.ZodString;
957
+ expirationDate: z.ZodOptional<z.ZodString>;
958
+ credentialSubject: z.ZodUnion<[z.ZodObject<{
959
+ id: z.ZodOptional<z.ZodString>;
960
+ }, "strip", z.ZodAny, {
961
+ [x: string]: any;
962
+ id?: string | undefined;
963
+ }, {
964
+ [x: string]: any;
965
+ id?: string | undefined;
966
+ }>, z.ZodArray<z.ZodObject<{
967
+ id: z.ZodOptional<z.ZodString>;
968
+ }, "strip", z.ZodAny, {
969
+ [x: string]: any;
970
+ id?: string | undefined;
971
+ }, {
972
+ [x: string]: any;
973
+ id?: string | undefined;
974
+ }>, "many">]>;
975
+ credentialStatus: z.ZodOptional<z.ZodObject<{
976
+ type: z.ZodString;
977
+ id: z.ZodString;
978
+ }, "strip", z.ZodTypeAny, {
979
+ type: string;
980
+ id: string;
981
+ }, {
982
+ type: string;
983
+ id: string;
984
+ }>>;
985
+ credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
986
+ id: z.ZodString;
987
+ type: z.ZodString;
988
+ }, "strip", z.ZodTypeAny, {
989
+ type: string;
990
+ id: string;
991
+ }, {
992
+ type: string;
993
+ id: string;
994
+ }>, "many">>;
995
+ refreshService: z.ZodOptional<z.ZodObject<{
996
+ id: z.ZodString;
997
+ type: z.ZodString;
998
+ }, "strip", z.ZodAny, {
999
+ [x: string]: any;
1000
+ type: string;
1001
+ id: string;
1002
+ }, {
1003
+ [x: string]: any;
1004
+ type: string;
1005
+ id: string;
1006
+ }>>;
1007
+ }, {
1008
+ proof: z.ZodUnion<[z.ZodObject<{
1009
+ type: z.ZodString;
1010
+ created: z.ZodString;
1011
+ challenge: z.ZodOptional<z.ZodString>;
1012
+ domain: z.ZodOptional<z.ZodString>;
1013
+ nonce: z.ZodOptional<z.ZodString>;
1014
+ proofPurpose: z.ZodString;
1015
+ verificationMethod: z.ZodString;
1016
+ jws: z.ZodOptional<z.ZodString>;
1017
+ }, "strip", z.ZodAny, {
1018
+ [x: string]: any;
1019
+ challenge?: string | undefined;
1020
+ domain?: string | undefined;
1021
+ nonce?: string | undefined;
1022
+ jws?: string | undefined;
1023
+ type: string;
1024
+ created: string;
1025
+ proofPurpose: string;
1026
+ verificationMethod: string;
1027
+ }, {
1028
+ [x: string]: any;
1029
+ challenge?: string | undefined;
1030
+ domain?: string | undefined;
1031
+ nonce?: string | undefined;
1032
+ jws?: string | undefined;
1033
+ type: string;
1034
+ created: string;
1035
+ proofPurpose: string;
1036
+ verificationMethod: string;
1037
+ }>, z.ZodArray<z.ZodObject<{
1038
+ type: z.ZodString;
1039
+ created: z.ZodString;
1040
+ challenge: z.ZodOptional<z.ZodString>;
1041
+ domain: z.ZodOptional<z.ZodString>;
1042
+ nonce: z.ZodOptional<z.ZodString>;
1043
+ proofPurpose: z.ZodString;
1044
+ verificationMethod: z.ZodString;
1045
+ jws: z.ZodOptional<z.ZodString>;
1046
+ }, "strip", z.ZodAny, {
1047
+ [x: string]: any;
1048
+ challenge?: string | undefined;
1049
+ domain?: string | undefined;
1050
+ nonce?: string | undefined;
1051
+ jws?: string | undefined;
1052
+ type: string;
1053
+ created: string;
1054
+ proofPurpose: string;
1055
+ verificationMethod: string;
1056
+ }, {
1057
+ [x: string]: any;
1058
+ challenge?: string | undefined;
1059
+ domain?: string | undefined;
1060
+ nonce?: string | undefined;
1061
+ jws?: string | undefined;
1062
+ type: string;
1063
+ created: string;
1064
+ proofPurpose: string;
1065
+ verificationMethod: string;
1066
+ }>, "many">]>;
1067
+ }>, "strip", z.ZodAny, {
1068
+ [x: string]: any;
1069
+ id?: string | undefined;
1070
+ expirationDate?: string | undefined;
1071
+ credentialStatus?: {
1072
+ type: string;
1073
+ id: string;
1074
+ } | undefined;
1075
+ credentialSchema?: {
1076
+ type: string;
1077
+ id: string;
1078
+ }[] | undefined;
1079
+ refreshService?: {
1080
+ [x: string]: any;
1081
+ type: string;
1082
+ id: string;
1083
+ } | undefined;
1084
+ type: [string, ...string[]];
1085
+ '@context': string[];
1086
+ issuer: string | {
1087
+ [x: string]: any;
1088
+ type?: [string, ...string[]] | undefined;
1089
+ id?: string | undefined;
1090
+ name?: string | undefined;
1091
+ url?: string | undefined;
1092
+ phone?: string | undefined;
1093
+ description?: string | undefined;
1094
+ endorsement?: any[] | undefined;
1095
+ image?: string | {
1096
+ caption?: string | undefined;
1097
+ type: string;
1098
+ id: string;
1099
+ } | undefined;
1100
+ email?: string | undefined;
1101
+ address?: {
1102
+ addressCountry?: string | undefined;
1103
+ addressCountryCode?: string | undefined;
1104
+ addressRegion?: string | undefined;
1105
+ addressLocality?: string | undefined;
1106
+ streetAddress?: string | undefined;
1107
+ postOfficeBoxNumber?: string | undefined;
1108
+ postalCode?: string | undefined;
1109
+ geo?: {
1110
+ type: [string, ...string[]];
1111
+ latitude: number;
1112
+ longitude: number;
1113
+ } | undefined;
1114
+ type: [string, ...string[]];
1115
+ } | undefined;
1116
+ otherIdentifier?: {
1117
+ type: [string, ...string[]];
1118
+ identifier: string;
1119
+ identifierType: string;
1120
+ }[] | undefined;
1121
+ official?: string | undefined;
1122
+ parentOrg?: any;
1123
+ familyName?: string | undefined;
1124
+ givenName?: string | undefined;
1125
+ additionalName?: string | undefined;
1126
+ patronymicName?: string | undefined;
1127
+ honorificPrefix?: string | undefined;
1128
+ honorificSuffix?: string | undefined;
1129
+ familyNamePrefix?: string | undefined;
1130
+ dateOfBirth?: string | undefined;
1131
+ };
1132
+ issuanceDate: string;
1133
+ credentialSubject: {
1134
+ [x: string]: any;
1135
+ id?: string | undefined;
1136
+ } | {
1137
+ [x: string]: any;
1138
+ id?: string | undefined;
1139
+ }[];
1140
+ proof: {
1141
+ [x: string]: any;
1142
+ challenge?: string | undefined;
1143
+ domain?: string | undefined;
1144
+ nonce?: string | undefined;
1145
+ jws?: string | undefined;
1146
+ type: string;
1147
+ created: string;
1148
+ proofPurpose: string;
1149
+ verificationMethod: string;
1150
+ } | {
1151
+ [x: string]: any;
1152
+ challenge?: string | undefined;
1153
+ domain?: string | undefined;
1154
+ nonce?: string | undefined;
1155
+ jws?: string | undefined;
1156
+ type: string;
1157
+ created: string;
1158
+ proofPurpose: string;
1159
+ verificationMethod: string;
1160
+ }[];
1161
+ }, {
1162
+ [x: string]: any;
1163
+ id?: string | undefined;
1164
+ expirationDate?: string | undefined;
1165
+ credentialStatus?: {
1166
+ type: string;
1167
+ id: string;
1168
+ } | undefined;
1169
+ credentialSchema?: {
1170
+ type: string;
1171
+ id: string;
1172
+ }[] | undefined;
1173
+ refreshService?: {
1174
+ [x: string]: any;
1175
+ type: string;
1176
+ id: string;
1177
+ } | undefined;
1178
+ type: [string, ...string[]];
1179
+ '@context': string[];
1180
+ issuer: string | {
1181
+ [x: string]: any;
1182
+ type?: [string, ...string[]] | undefined;
1183
+ id?: string | undefined;
1184
+ name?: string | undefined;
1185
+ url?: string | undefined;
1186
+ phone?: string | undefined;
1187
+ description?: string | undefined;
1188
+ endorsement?: any[] | undefined;
1189
+ image?: string | {
1190
+ caption?: string | undefined;
1191
+ type: string;
1192
+ id: string;
1193
+ } | undefined;
1194
+ email?: string | undefined;
1195
+ address?: {
1196
+ addressCountry?: string | undefined;
1197
+ addressCountryCode?: string | undefined;
1198
+ addressRegion?: string | undefined;
1199
+ addressLocality?: string | undefined;
1200
+ streetAddress?: string | undefined;
1201
+ postOfficeBoxNumber?: string | undefined;
1202
+ postalCode?: string | undefined;
1203
+ geo?: {
1204
+ type: [string, ...string[]];
1205
+ latitude: number;
1206
+ longitude: number;
1207
+ } | undefined;
1208
+ type: [string, ...string[]];
1209
+ } | undefined;
1210
+ otherIdentifier?: {
1211
+ type: [string, ...string[]];
1212
+ identifier: string;
1213
+ identifierType: string;
1214
+ }[] | undefined;
1215
+ official?: string | undefined;
1216
+ parentOrg?: any;
1217
+ familyName?: string | undefined;
1218
+ givenName?: string | undefined;
1219
+ additionalName?: string | undefined;
1220
+ patronymicName?: string | undefined;
1221
+ honorificPrefix?: string | undefined;
1222
+ honorificSuffix?: string | undefined;
1223
+ familyNamePrefix?: string | undefined;
1224
+ dateOfBirth?: string | undefined;
1225
+ };
1226
+ issuanceDate: string;
1227
+ credentialSubject: {
1228
+ [x: string]: any;
1229
+ id?: string | undefined;
1230
+ } | {
1231
+ [x: string]: any;
1232
+ id?: string | undefined;
1233
+ }[];
1234
+ proof: {
1235
+ [x: string]: any;
1236
+ challenge?: string | undefined;
1237
+ domain?: string | undefined;
1238
+ nonce?: string | undefined;
1239
+ jws?: string | undefined;
1240
+ type: string;
1241
+ created: string;
1242
+ proofPurpose: string;
1243
+ verificationMethod: string;
1244
+ } | {
1245
+ [x: string]: any;
1246
+ challenge?: string | undefined;
1247
+ domain?: string | undefined;
1248
+ nonce?: string | undefined;
1249
+ jws?: string | undefined;
1250
+ type: string;
1251
+ created: string;
1252
+ proofPurpose: string;
1253
+ verificationMethod: string;
1254
+ }[];
1255
+ }>;
1256
+ export declare type VC = z.infer<typeof VCValidator>;
1257
+ export declare const UnsignedVPValidator: z.ZodObject<{
1258
+ '@context': z.ZodArray<z.ZodString, "many">;
1259
+ id: z.ZodOptional<z.ZodString>;
1260
+ type: z.ZodArray<z.ZodString, "atleastone">;
1261
+ verifiableCredential: z.ZodUnion<[z.ZodObject<z.extendShape<{
1262
+ '@context': z.ZodArray<z.ZodString, "many">;
1263
+ id: z.ZodOptional<z.ZodString>;
1264
+ type: z.ZodArray<z.ZodString, "atleastone">;
1265
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1266
+ id: z.ZodOptional<z.ZodString>;
1267
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
1268
+ name: z.ZodOptional<z.ZodString>;
1269
+ url: z.ZodOptional<z.ZodString>;
1270
+ phone: z.ZodOptional<z.ZodString>;
1271
+ description: z.ZodOptional<z.ZodString>;
1272
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1273
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1274
+ id: z.ZodString;
1275
+ type: z.ZodString;
1276
+ caption: z.ZodOptional<z.ZodString>;
1277
+ }, "strip", z.ZodTypeAny, {
1278
+ caption?: string | undefined;
1279
+ type: string;
1280
+ id: string;
1281
+ }, {
1282
+ caption?: string | undefined;
1283
+ type: string;
1284
+ id: string;
1285
+ }>]>>;
1286
+ email: z.ZodOptional<z.ZodString>;
1287
+ address: z.ZodOptional<z.ZodObject<{
1288
+ type: z.ZodArray<z.ZodString, "atleastone">;
1289
+ addressCountry: z.ZodOptional<z.ZodString>;
1290
+ addressCountryCode: z.ZodOptional<z.ZodString>;
1291
+ addressRegion: z.ZodOptional<z.ZodString>;
1292
+ addressLocality: z.ZodOptional<z.ZodString>;
1293
+ streetAddress: z.ZodOptional<z.ZodString>;
1294
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1295
+ postalCode: z.ZodOptional<z.ZodString>;
1296
+ geo: z.ZodOptional<z.ZodObject<{
1297
+ type: z.ZodArray<z.ZodString, "atleastone">;
1298
+ latitude: z.ZodNumber;
1299
+ longitude: z.ZodNumber;
1300
+ }, "strip", z.ZodTypeAny, {
1301
+ type: [string, ...string[]];
1302
+ latitude: number;
1303
+ longitude: number;
1304
+ }, {
1305
+ type: [string, ...string[]];
1306
+ latitude: number;
1307
+ longitude: number;
1308
+ }>>;
1309
+ }, "strip", z.ZodTypeAny, {
1310
+ addressCountry?: string | undefined;
1311
+ addressCountryCode?: string | undefined;
1312
+ addressRegion?: string | undefined;
1313
+ addressLocality?: string | undefined;
1314
+ streetAddress?: string | undefined;
1315
+ postOfficeBoxNumber?: string | undefined;
1316
+ postalCode?: string | undefined;
1317
+ geo?: {
1318
+ type: [string, ...string[]];
1319
+ latitude: number;
1320
+ longitude: number;
1321
+ } | undefined;
1322
+ type: [string, ...string[]];
1323
+ }, {
1324
+ addressCountry?: string | undefined;
1325
+ addressCountryCode?: string | undefined;
1326
+ addressRegion?: string | undefined;
1327
+ addressLocality?: string | undefined;
1328
+ streetAddress?: string | undefined;
1329
+ postOfficeBoxNumber?: string | undefined;
1330
+ postalCode?: string | undefined;
1331
+ geo?: {
1332
+ type: [string, ...string[]];
1333
+ latitude: number;
1334
+ longitude: number;
1335
+ } | undefined;
1336
+ type: [string, ...string[]];
1337
+ }>>;
1338
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1339
+ type: z.ZodArray<z.ZodString, "atleastone">;
1340
+ identifier: z.ZodString;
1341
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
1342
+ }, "strip", z.ZodTypeAny, {
1343
+ type: [string, ...string[]];
1344
+ identifier: string;
1345
+ identifierType: string;
1346
+ }, {
1347
+ type: [string, ...string[]];
1348
+ identifier: string;
1349
+ identifierType: string;
1350
+ }>, "many">>;
1351
+ official: z.ZodOptional<z.ZodString>;
1352
+ parentOrg: z.ZodOptional<z.ZodAny>;
1353
+ familyName: z.ZodOptional<z.ZodString>;
1354
+ givenName: z.ZodOptional<z.ZodString>;
1355
+ additionalName: z.ZodOptional<z.ZodString>;
1356
+ patronymicName: z.ZodOptional<z.ZodString>;
1357
+ honorificPrefix: z.ZodOptional<z.ZodString>;
1358
+ honorificSuffix: z.ZodOptional<z.ZodString>;
1359
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
1360
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1361
+ }, "strip", z.ZodAny, {
1362
+ [x: string]: any;
1363
+ type?: [string, ...string[]] | undefined;
1364
+ id?: string | undefined;
1365
+ name?: string | undefined;
1366
+ url?: string | undefined;
1367
+ phone?: string | undefined;
1368
+ description?: string | undefined;
1369
+ endorsement?: any[] | undefined;
1370
+ image?: string | {
1371
+ caption?: string | undefined;
1372
+ type: string;
1373
+ id: string;
1374
+ } | undefined;
1375
+ email?: string | undefined;
1376
+ address?: {
1377
+ addressCountry?: string | undefined;
1378
+ addressCountryCode?: string | undefined;
1379
+ addressRegion?: string | undefined;
1380
+ addressLocality?: string | undefined;
1381
+ streetAddress?: string | undefined;
1382
+ postOfficeBoxNumber?: string | undefined;
1383
+ postalCode?: string | undefined;
1384
+ geo?: {
1385
+ type: [string, ...string[]];
1386
+ latitude: number;
1387
+ longitude: number;
1388
+ } | undefined;
1389
+ type: [string, ...string[]];
1390
+ } | undefined;
1391
+ otherIdentifier?: {
1392
+ type: [string, ...string[]];
1393
+ identifier: string;
1394
+ identifierType: string;
1395
+ }[] | undefined;
1396
+ official?: string | undefined;
1397
+ parentOrg?: any;
1398
+ familyName?: string | undefined;
1399
+ givenName?: string | undefined;
1400
+ additionalName?: string | undefined;
1401
+ patronymicName?: string | undefined;
1402
+ honorificPrefix?: string | undefined;
1403
+ honorificSuffix?: string | undefined;
1404
+ familyNamePrefix?: string | undefined;
1405
+ dateOfBirth?: string | undefined;
1406
+ }, {
1407
+ [x: string]: any;
1408
+ type?: [string, ...string[]] | undefined;
1409
+ id?: string | undefined;
1410
+ name?: string | undefined;
1411
+ url?: string | undefined;
1412
+ phone?: string | undefined;
1413
+ description?: string | undefined;
1414
+ endorsement?: any[] | undefined;
1415
+ image?: string | {
1416
+ caption?: string | undefined;
1417
+ type: string;
1418
+ id: string;
1419
+ } | undefined;
1420
+ email?: string | undefined;
1421
+ address?: {
1422
+ addressCountry?: string | undefined;
1423
+ addressCountryCode?: string | undefined;
1424
+ addressRegion?: string | undefined;
1425
+ addressLocality?: string | undefined;
1426
+ streetAddress?: string | undefined;
1427
+ postOfficeBoxNumber?: string | undefined;
1428
+ postalCode?: string | undefined;
1429
+ geo?: {
1430
+ type: [string, ...string[]];
1431
+ latitude: number;
1432
+ longitude: number;
1433
+ } | undefined;
1434
+ type: [string, ...string[]];
1435
+ } | undefined;
1436
+ otherIdentifier?: {
1437
+ type: [string, ...string[]];
1438
+ identifier: string;
1439
+ identifierType: string;
1440
+ }[] | undefined;
1441
+ official?: string | undefined;
1442
+ parentOrg?: any;
1443
+ familyName?: string | undefined;
1444
+ givenName?: string | undefined;
1445
+ additionalName?: string | undefined;
1446
+ patronymicName?: string | undefined;
1447
+ honorificPrefix?: string | undefined;
1448
+ honorificSuffix?: string | undefined;
1449
+ familyNamePrefix?: string | undefined;
1450
+ dateOfBirth?: string | undefined;
1451
+ }>]>;
1452
+ issuanceDate: z.ZodString;
1453
+ expirationDate: z.ZodOptional<z.ZodString>;
1454
+ credentialSubject: z.ZodUnion<[z.ZodObject<{
1455
+ id: z.ZodOptional<z.ZodString>;
1456
+ }, "strip", z.ZodAny, {
1457
+ [x: string]: any;
1458
+ id?: string | undefined;
1459
+ }, {
1460
+ [x: string]: any;
1461
+ id?: string | undefined;
1462
+ }>, z.ZodArray<z.ZodObject<{
1463
+ id: z.ZodOptional<z.ZodString>;
1464
+ }, "strip", z.ZodAny, {
1465
+ [x: string]: any;
1466
+ id?: string | undefined;
1467
+ }, {
1468
+ [x: string]: any;
1469
+ id?: string | undefined;
1470
+ }>, "many">]>;
1471
+ credentialStatus: z.ZodOptional<z.ZodObject<{
1472
+ type: z.ZodString;
1473
+ id: z.ZodString;
1474
+ }, "strip", z.ZodTypeAny, {
1475
+ type: string;
1476
+ id: string;
1477
+ }, {
1478
+ type: string;
1479
+ id: string;
1480
+ }>>;
1481
+ credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
1482
+ id: z.ZodString;
1483
+ type: z.ZodString;
1484
+ }, "strip", z.ZodTypeAny, {
1485
+ type: string;
1486
+ id: string;
1487
+ }, {
1488
+ type: string;
1489
+ id: string;
1490
+ }>, "many">>;
1491
+ refreshService: z.ZodOptional<z.ZodObject<{
1492
+ id: z.ZodString;
1493
+ type: z.ZodString;
1494
+ }, "strip", z.ZodAny, {
1495
+ [x: string]: any;
1496
+ type: string;
1497
+ id: string;
1498
+ }, {
1499
+ [x: string]: any;
1500
+ type: string;
1501
+ id: string;
1502
+ }>>;
1503
+ }, {
1504
+ proof: z.ZodUnion<[z.ZodObject<{
1505
+ type: z.ZodString;
1506
+ created: z.ZodString;
1507
+ challenge: z.ZodOptional<z.ZodString>;
1508
+ domain: z.ZodOptional<z.ZodString>;
1509
+ nonce: z.ZodOptional<z.ZodString>;
1510
+ proofPurpose: z.ZodString;
1511
+ verificationMethod: z.ZodString;
1512
+ jws: z.ZodOptional<z.ZodString>;
1513
+ }, "strip", z.ZodAny, {
1514
+ [x: string]: any;
1515
+ challenge?: string | undefined;
1516
+ domain?: string | undefined;
1517
+ nonce?: string | undefined;
1518
+ jws?: string | undefined;
1519
+ type: string;
1520
+ created: string;
1521
+ proofPurpose: string;
1522
+ verificationMethod: string;
1523
+ }, {
1524
+ [x: string]: any;
1525
+ challenge?: string | undefined;
1526
+ domain?: string | undefined;
1527
+ nonce?: string | undefined;
1528
+ jws?: string | undefined;
1529
+ type: string;
1530
+ created: string;
1531
+ proofPurpose: string;
1532
+ verificationMethod: string;
1533
+ }>, z.ZodArray<z.ZodObject<{
1534
+ type: z.ZodString;
1535
+ created: z.ZodString;
1536
+ challenge: z.ZodOptional<z.ZodString>;
1537
+ domain: z.ZodOptional<z.ZodString>;
1538
+ nonce: z.ZodOptional<z.ZodString>;
1539
+ proofPurpose: z.ZodString;
1540
+ verificationMethod: z.ZodString;
1541
+ jws: z.ZodOptional<z.ZodString>;
1542
+ }, "strip", z.ZodAny, {
1543
+ [x: string]: any;
1544
+ challenge?: string | undefined;
1545
+ domain?: string | undefined;
1546
+ nonce?: string | undefined;
1547
+ jws?: string | undefined;
1548
+ type: string;
1549
+ created: string;
1550
+ proofPurpose: string;
1551
+ verificationMethod: string;
1552
+ }, {
1553
+ [x: string]: any;
1554
+ challenge?: string | undefined;
1555
+ domain?: string | undefined;
1556
+ nonce?: string | undefined;
1557
+ jws?: string | undefined;
1558
+ type: string;
1559
+ created: string;
1560
+ proofPurpose: string;
1561
+ verificationMethod: string;
1562
+ }>, "many">]>;
1563
+ }>, "strip", z.ZodAny, {
1564
+ [x: string]: any;
1565
+ id?: string | undefined;
1566
+ expirationDate?: string | undefined;
1567
+ credentialStatus?: {
1568
+ type: string;
1569
+ id: string;
1570
+ } | undefined;
1571
+ credentialSchema?: {
1572
+ type: string;
1573
+ id: string;
1574
+ }[] | undefined;
1575
+ refreshService?: {
1576
+ [x: string]: any;
1577
+ type: string;
1578
+ id: string;
1579
+ } | undefined;
1580
+ type: [string, ...string[]];
1581
+ '@context': string[];
1582
+ issuer: string | {
1583
+ [x: string]: any;
1584
+ type?: [string, ...string[]] | undefined;
1585
+ id?: string | undefined;
1586
+ name?: string | undefined;
1587
+ url?: string | undefined;
1588
+ phone?: string | undefined;
1589
+ description?: string | undefined;
1590
+ endorsement?: any[] | undefined;
1591
+ image?: string | {
1592
+ caption?: string | undefined;
1593
+ type: string;
1594
+ id: string;
1595
+ } | undefined;
1596
+ email?: string | undefined;
1597
+ address?: {
1598
+ addressCountry?: string | undefined;
1599
+ addressCountryCode?: string | undefined;
1600
+ addressRegion?: string | undefined;
1601
+ addressLocality?: string | undefined;
1602
+ streetAddress?: string | undefined;
1603
+ postOfficeBoxNumber?: string | undefined;
1604
+ postalCode?: string | undefined;
1605
+ geo?: {
1606
+ type: [string, ...string[]];
1607
+ latitude: number;
1608
+ longitude: number;
1609
+ } | undefined;
1610
+ type: [string, ...string[]];
1611
+ } | undefined;
1612
+ otherIdentifier?: {
1613
+ type: [string, ...string[]];
1614
+ identifier: string;
1615
+ identifierType: string;
1616
+ }[] | undefined;
1617
+ official?: string | undefined;
1618
+ parentOrg?: any;
1619
+ familyName?: string | undefined;
1620
+ givenName?: string | undefined;
1621
+ additionalName?: string | undefined;
1622
+ patronymicName?: string | undefined;
1623
+ honorificPrefix?: string | undefined;
1624
+ honorificSuffix?: string | undefined;
1625
+ familyNamePrefix?: string | undefined;
1626
+ dateOfBirth?: string | undefined;
1627
+ };
1628
+ issuanceDate: string;
1629
+ credentialSubject: {
1630
+ [x: string]: any;
1631
+ id?: string | undefined;
1632
+ } | {
1633
+ [x: string]: any;
1634
+ id?: string | undefined;
1635
+ }[];
1636
+ proof: {
1637
+ [x: string]: any;
1638
+ challenge?: string | undefined;
1639
+ domain?: string | undefined;
1640
+ nonce?: string | undefined;
1641
+ jws?: string | undefined;
1642
+ type: string;
1643
+ created: string;
1644
+ proofPurpose: string;
1645
+ verificationMethod: string;
1646
+ } | {
1647
+ [x: string]: any;
1648
+ challenge?: string | undefined;
1649
+ domain?: string | undefined;
1650
+ nonce?: string | undefined;
1651
+ jws?: string | undefined;
1652
+ type: string;
1653
+ created: string;
1654
+ proofPurpose: string;
1655
+ verificationMethod: string;
1656
+ }[];
1657
+ }, {
1658
+ [x: string]: any;
1659
+ id?: string | undefined;
1660
+ expirationDate?: string | undefined;
1661
+ credentialStatus?: {
1662
+ type: string;
1663
+ id: string;
1664
+ } | undefined;
1665
+ credentialSchema?: {
1666
+ type: string;
1667
+ id: string;
1668
+ }[] | undefined;
1669
+ refreshService?: {
1670
+ [x: string]: any;
1671
+ type: string;
1672
+ id: string;
1673
+ } | undefined;
1674
+ type: [string, ...string[]];
1675
+ '@context': string[];
1676
+ issuer: string | {
1677
+ [x: string]: any;
1678
+ type?: [string, ...string[]] | undefined;
1679
+ id?: string | undefined;
1680
+ name?: string | undefined;
1681
+ url?: string | undefined;
1682
+ phone?: string | undefined;
1683
+ description?: string | undefined;
1684
+ endorsement?: any[] | undefined;
1685
+ image?: string | {
1686
+ caption?: string | undefined;
1687
+ type: string;
1688
+ id: string;
1689
+ } | undefined;
1690
+ email?: string | undefined;
1691
+ address?: {
1692
+ addressCountry?: string | undefined;
1693
+ addressCountryCode?: string | undefined;
1694
+ addressRegion?: string | undefined;
1695
+ addressLocality?: string | undefined;
1696
+ streetAddress?: string | undefined;
1697
+ postOfficeBoxNumber?: string | undefined;
1698
+ postalCode?: string | undefined;
1699
+ geo?: {
1700
+ type: [string, ...string[]];
1701
+ latitude: number;
1702
+ longitude: number;
1703
+ } | undefined;
1704
+ type: [string, ...string[]];
1705
+ } | undefined;
1706
+ otherIdentifier?: {
1707
+ type: [string, ...string[]];
1708
+ identifier: string;
1709
+ identifierType: string;
1710
+ }[] | undefined;
1711
+ official?: string | undefined;
1712
+ parentOrg?: any;
1713
+ familyName?: string | undefined;
1714
+ givenName?: string | undefined;
1715
+ additionalName?: string | undefined;
1716
+ patronymicName?: string | undefined;
1717
+ honorificPrefix?: string | undefined;
1718
+ honorificSuffix?: string | undefined;
1719
+ familyNamePrefix?: string | undefined;
1720
+ dateOfBirth?: string | undefined;
1721
+ };
1722
+ issuanceDate: string;
1723
+ credentialSubject: {
1724
+ [x: string]: any;
1725
+ id?: string | undefined;
1726
+ } | {
1727
+ [x: string]: any;
1728
+ id?: string | undefined;
1729
+ }[];
1730
+ proof: {
1731
+ [x: string]: any;
1732
+ challenge?: string | undefined;
1733
+ domain?: string | undefined;
1734
+ nonce?: string | undefined;
1735
+ jws?: string | undefined;
1736
+ type: string;
1737
+ created: string;
1738
+ proofPurpose: string;
1739
+ verificationMethod: string;
1740
+ } | {
1741
+ [x: string]: any;
1742
+ challenge?: string | undefined;
1743
+ domain?: string | undefined;
1744
+ nonce?: string | undefined;
1745
+ jws?: string | undefined;
1746
+ type: string;
1747
+ created: string;
1748
+ proofPurpose: string;
1749
+ verificationMethod: string;
1750
+ }[];
1751
+ }>, z.ZodArray<z.ZodObject<z.extendShape<{
1752
+ '@context': z.ZodArray<z.ZodString, "many">;
1753
+ id: z.ZodOptional<z.ZodString>;
1754
+ type: z.ZodArray<z.ZodString, "atleastone">;
1755
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1756
+ id: z.ZodOptional<z.ZodString>;
1757
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
1758
+ name: z.ZodOptional<z.ZodString>;
1759
+ url: z.ZodOptional<z.ZodString>;
1760
+ phone: z.ZodOptional<z.ZodString>;
1761
+ description: z.ZodOptional<z.ZodString>;
1762
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1763
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1764
+ id: z.ZodString;
1765
+ type: z.ZodString;
1766
+ caption: z.ZodOptional<z.ZodString>;
1767
+ }, "strip", z.ZodTypeAny, {
1768
+ caption?: string | undefined;
1769
+ type: string;
1770
+ id: string;
1771
+ }, {
1772
+ caption?: string | undefined;
1773
+ type: string;
1774
+ id: string;
1775
+ }>]>>;
1776
+ email: z.ZodOptional<z.ZodString>;
1777
+ address: z.ZodOptional<z.ZodObject<{
1778
+ type: z.ZodArray<z.ZodString, "atleastone">;
1779
+ addressCountry: z.ZodOptional<z.ZodString>;
1780
+ addressCountryCode: z.ZodOptional<z.ZodString>;
1781
+ addressRegion: z.ZodOptional<z.ZodString>;
1782
+ addressLocality: z.ZodOptional<z.ZodString>;
1783
+ streetAddress: z.ZodOptional<z.ZodString>;
1784
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1785
+ postalCode: z.ZodOptional<z.ZodString>;
1786
+ geo: z.ZodOptional<z.ZodObject<{
1787
+ type: z.ZodArray<z.ZodString, "atleastone">;
1788
+ latitude: z.ZodNumber;
1789
+ longitude: z.ZodNumber;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ type: [string, ...string[]];
1792
+ latitude: number;
1793
+ longitude: number;
1794
+ }, {
1795
+ type: [string, ...string[]];
1796
+ latitude: number;
1797
+ longitude: number;
1798
+ }>>;
1799
+ }, "strip", z.ZodTypeAny, {
1800
+ addressCountry?: string | undefined;
1801
+ addressCountryCode?: string | undefined;
1802
+ addressRegion?: string | undefined;
1803
+ addressLocality?: string | undefined;
1804
+ streetAddress?: string | undefined;
1805
+ postOfficeBoxNumber?: string | undefined;
1806
+ postalCode?: string | undefined;
1807
+ geo?: {
1808
+ type: [string, ...string[]];
1809
+ latitude: number;
1810
+ longitude: number;
1811
+ } | undefined;
1812
+ type: [string, ...string[]];
1813
+ }, {
1814
+ addressCountry?: string | undefined;
1815
+ addressCountryCode?: string | undefined;
1816
+ addressRegion?: string | undefined;
1817
+ addressLocality?: string | undefined;
1818
+ streetAddress?: string | undefined;
1819
+ postOfficeBoxNumber?: string | undefined;
1820
+ postalCode?: string | undefined;
1821
+ geo?: {
1822
+ type: [string, ...string[]];
1823
+ latitude: number;
1824
+ longitude: number;
1825
+ } | undefined;
1826
+ type: [string, ...string[]];
1827
+ }>>;
1828
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1829
+ type: z.ZodArray<z.ZodString, "atleastone">;
1830
+ identifier: z.ZodString;
1831
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
1832
+ }, "strip", z.ZodTypeAny, {
1833
+ type: [string, ...string[]];
1834
+ identifier: string;
1835
+ identifierType: string;
1836
+ }, {
1837
+ type: [string, ...string[]];
1838
+ identifier: string;
1839
+ identifierType: string;
1840
+ }>, "many">>;
1841
+ official: z.ZodOptional<z.ZodString>;
1842
+ parentOrg: z.ZodOptional<z.ZodAny>;
1843
+ familyName: z.ZodOptional<z.ZodString>;
1844
+ givenName: z.ZodOptional<z.ZodString>;
1845
+ additionalName: z.ZodOptional<z.ZodString>;
1846
+ patronymicName: z.ZodOptional<z.ZodString>;
1847
+ honorificPrefix: z.ZodOptional<z.ZodString>;
1848
+ honorificSuffix: z.ZodOptional<z.ZodString>;
1849
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
1850
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1851
+ }, "strip", z.ZodAny, {
1852
+ [x: string]: any;
1853
+ type?: [string, ...string[]] | undefined;
1854
+ id?: string | undefined;
1855
+ name?: string | undefined;
1856
+ url?: string | undefined;
1857
+ phone?: string | undefined;
1858
+ description?: string | undefined;
1859
+ endorsement?: any[] | undefined;
1860
+ image?: string | {
1861
+ caption?: string | undefined;
1862
+ type: string;
1863
+ id: string;
1864
+ } | undefined;
1865
+ email?: string | undefined;
1866
+ address?: {
1867
+ addressCountry?: string | undefined;
1868
+ addressCountryCode?: string | undefined;
1869
+ addressRegion?: string | undefined;
1870
+ addressLocality?: string | undefined;
1871
+ streetAddress?: string | undefined;
1872
+ postOfficeBoxNumber?: string | undefined;
1873
+ postalCode?: string | undefined;
1874
+ geo?: {
1875
+ type: [string, ...string[]];
1876
+ latitude: number;
1877
+ longitude: number;
1878
+ } | undefined;
1879
+ type: [string, ...string[]];
1880
+ } | undefined;
1881
+ otherIdentifier?: {
1882
+ type: [string, ...string[]];
1883
+ identifier: string;
1884
+ identifierType: string;
1885
+ }[] | undefined;
1886
+ official?: string | undefined;
1887
+ parentOrg?: any;
1888
+ familyName?: string | undefined;
1889
+ givenName?: string | undefined;
1890
+ additionalName?: string | undefined;
1891
+ patronymicName?: string | undefined;
1892
+ honorificPrefix?: string | undefined;
1893
+ honorificSuffix?: string | undefined;
1894
+ familyNamePrefix?: string | undefined;
1895
+ dateOfBirth?: string | undefined;
1896
+ }, {
1897
+ [x: string]: any;
1898
+ type?: [string, ...string[]] | undefined;
1899
+ id?: string | undefined;
1900
+ name?: string | undefined;
1901
+ url?: string | undefined;
1902
+ phone?: string | undefined;
1903
+ description?: string | undefined;
1904
+ endorsement?: any[] | undefined;
1905
+ image?: string | {
1906
+ caption?: string | undefined;
1907
+ type: string;
1908
+ id: string;
1909
+ } | undefined;
1910
+ email?: string | undefined;
1911
+ address?: {
1912
+ addressCountry?: string | undefined;
1913
+ addressCountryCode?: string | undefined;
1914
+ addressRegion?: string | undefined;
1915
+ addressLocality?: string | undefined;
1916
+ streetAddress?: string | undefined;
1917
+ postOfficeBoxNumber?: string | undefined;
1918
+ postalCode?: string | undefined;
1919
+ geo?: {
1920
+ type: [string, ...string[]];
1921
+ latitude: number;
1922
+ longitude: number;
1923
+ } | undefined;
1924
+ type: [string, ...string[]];
1925
+ } | undefined;
1926
+ otherIdentifier?: {
1927
+ type: [string, ...string[]];
1928
+ identifier: string;
1929
+ identifierType: string;
1930
+ }[] | undefined;
1931
+ official?: string | undefined;
1932
+ parentOrg?: any;
1933
+ familyName?: string | undefined;
1934
+ givenName?: string | undefined;
1935
+ additionalName?: string | undefined;
1936
+ patronymicName?: string | undefined;
1937
+ honorificPrefix?: string | undefined;
1938
+ honorificSuffix?: string | undefined;
1939
+ familyNamePrefix?: string | undefined;
1940
+ dateOfBirth?: string | undefined;
1941
+ }>]>;
1942
+ issuanceDate: z.ZodString;
1943
+ expirationDate: z.ZodOptional<z.ZodString>;
1944
+ credentialSubject: z.ZodUnion<[z.ZodObject<{
1945
+ id: z.ZodOptional<z.ZodString>;
1946
+ }, "strip", z.ZodAny, {
1947
+ [x: string]: any;
1948
+ id?: string | undefined;
1949
+ }, {
1950
+ [x: string]: any;
1951
+ id?: string | undefined;
1952
+ }>, z.ZodArray<z.ZodObject<{
1953
+ id: z.ZodOptional<z.ZodString>;
1954
+ }, "strip", z.ZodAny, {
1955
+ [x: string]: any;
1956
+ id?: string | undefined;
1957
+ }, {
1958
+ [x: string]: any;
1959
+ id?: string | undefined;
1960
+ }>, "many">]>;
1961
+ credentialStatus: z.ZodOptional<z.ZodObject<{
1962
+ type: z.ZodString;
1963
+ id: z.ZodString;
1964
+ }, "strip", z.ZodTypeAny, {
1965
+ type: string;
1966
+ id: string;
1967
+ }, {
1968
+ type: string;
1969
+ id: string;
1970
+ }>>;
1971
+ credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
1972
+ id: z.ZodString;
1973
+ type: z.ZodString;
1974
+ }, "strip", z.ZodTypeAny, {
1975
+ type: string;
1976
+ id: string;
1977
+ }, {
1978
+ type: string;
1979
+ id: string;
1980
+ }>, "many">>;
1981
+ refreshService: z.ZodOptional<z.ZodObject<{
1982
+ id: z.ZodString;
1983
+ type: z.ZodString;
1984
+ }, "strip", z.ZodAny, {
1985
+ [x: string]: any;
1986
+ type: string;
1987
+ id: string;
1988
+ }, {
1989
+ [x: string]: any;
1990
+ type: string;
1991
+ id: string;
1992
+ }>>;
1993
+ }, {
1994
+ proof: z.ZodUnion<[z.ZodObject<{
1995
+ type: z.ZodString;
1996
+ created: z.ZodString;
1997
+ challenge: z.ZodOptional<z.ZodString>;
1998
+ domain: z.ZodOptional<z.ZodString>;
1999
+ nonce: z.ZodOptional<z.ZodString>;
2000
+ proofPurpose: z.ZodString;
2001
+ verificationMethod: z.ZodString;
2002
+ jws: z.ZodOptional<z.ZodString>;
2003
+ }, "strip", z.ZodAny, {
2004
+ [x: string]: any;
2005
+ challenge?: string | undefined;
2006
+ domain?: string | undefined;
2007
+ nonce?: string | undefined;
2008
+ jws?: string | undefined;
2009
+ type: string;
2010
+ created: string;
2011
+ proofPurpose: string;
2012
+ verificationMethod: string;
2013
+ }, {
2014
+ [x: string]: any;
2015
+ challenge?: string | undefined;
2016
+ domain?: string | undefined;
2017
+ nonce?: string | undefined;
2018
+ jws?: string | undefined;
2019
+ type: string;
2020
+ created: string;
2021
+ proofPurpose: string;
2022
+ verificationMethod: string;
2023
+ }>, z.ZodArray<z.ZodObject<{
2024
+ type: z.ZodString;
2025
+ created: z.ZodString;
2026
+ challenge: z.ZodOptional<z.ZodString>;
2027
+ domain: z.ZodOptional<z.ZodString>;
2028
+ nonce: z.ZodOptional<z.ZodString>;
2029
+ proofPurpose: z.ZodString;
2030
+ verificationMethod: z.ZodString;
2031
+ jws: z.ZodOptional<z.ZodString>;
2032
+ }, "strip", z.ZodAny, {
2033
+ [x: string]: any;
2034
+ challenge?: string | undefined;
2035
+ domain?: string | undefined;
2036
+ nonce?: string | undefined;
2037
+ jws?: string | undefined;
2038
+ type: string;
2039
+ created: string;
2040
+ proofPurpose: string;
2041
+ verificationMethod: string;
2042
+ }, {
2043
+ [x: string]: any;
2044
+ challenge?: string | undefined;
2045
+ domain?: string | undefined;
2046
+ nonce?: string | undefined;
2047
+ jws?: string | undefined;
2048
+ type: string;
2049
+ created: string;
2050
+ proofPurpose: string;
2051
+ verificationMethod: string;
2052
+ }>, "many">]>;
2053
+ }>, "strip", z.ZodAny, {
2054
+ [x: string]: any;
2055
+ id?: string | undefined;
2056
+ expirationDate?: string | undefined;
2057
+ credentialStatus?: {
2058
+ type: string;
2059
+ id: string;
2060
+ } | undefined;
2061
+ credentialSchema?: {
2062
+ type: string;
2063
+ id: string;
2064
+ }[] | undefined;
2065
+ refreshService?: {
2066
+ [x: string]: any;
2067
+ type: string;
2068
+ id: string;
2069
+ } | undefined;
2070
+ type: [string, ...string[]];
2071
+ '@context': string[];
2072
+ issuer: string | {
2073
+ [x: string]: any;
2074
+ type?: [string, ...string[]] | undefined;
2075
+ id?: string | undefined;
2076
+ name?: string | undefined;
2077
+ url?: string | undefined;
2078
+ phone?: string | undefined;
2079
+ description?: string | undefined;
2080
+ endorsement?: any[] | undefined;
2081
+ image?: string | {
2082
+ caption?: string | undefined;
2083
+ type: string;
2084
+ id: string;
2085
+ } | undefined;
2086
+ email?: string | undefined;
2087
+ address?: {
2088
+ addressCountry?: string | undefined;
2089
+ addressCountryCode?: string | undefined;
2090
+ addressRegion?: string | undefined;
2091
+ addressLocality?: string | undefined;
2092
+ streetAddress?: string | undefined;
2093
+ postOfficeBoxNumber?: string | undefined;
2094
+ postalCode?: string | undefined;
2095
+ geo?: {
2096
+ type: [string, ...string[]];
2097
+ latitude: number;
2098
+ longitude: number;
2099
+ } | undefined;
2100
+ type: [string, ...string[]];
2101
+ } | undefined;
2102
+ otherIdentifier?: {
2103
+ type: [string, ...string[]];
2104
+ identifier: string;
2105
+ identifierType: string;
2106
+ }[] | undefined;
2107
+ official?: string | undefined;
2108
+ parentOrg?: any;
2109
+ familyName?: string | undefined;
2110
+ givenName?: string | undefined;
2111
+ additionalName?: string | undefined;
2112
+ patronymicName?: string | undefined;
2113
+ honorificPrefix?: string | undefined;
2114
+ honorificSuffix?: string | undefined;
2115
+ familyNamePrefix?: string | undefined;
2116
+ dateOfBirth?: string | undefined;
2117
+ };
2118
+ issuanceDate: string;
2119
+ credentialSubject: {
2120
+ [x: string]: any;
2121
+ id?: string | undefined;
2122
+ } | {
2123
+ [x: string]: any;
2124
+ id?: string | undefined;
2125
+ }[];
2126
+ proof: {
2127
+ [x: string]: any;
2128
+ challenge?: string | undefined;
2129
+ domain?: string | undefined;
2130
+ nonce?: string | undefined;
2131
+ jws?: string | undefined;
2132
+ type: string;
2133
+ created: string;
2134
+ proofPurpose: string;
2135
+ verificationMethod: string;
2136
+ } | {
2137
+ [x: string]: any;
2138
+ challenge?: string | undefined;
2139
+ domain?: string | undefined;
2140
+ nonce?: string | undefined;
2141
+ jws?: string | undefined;
2142
+ type: string;
2143
+ created: string;
2144
+ proofPurpose: string;
2145
+ verificationMethod: string;
2146
+ }[];
2147
+ }, {
2148
+ [x: string]: any;
2149
+ id?: string | undefined;
2150
+ expirationDate?: string | undefined;
2151
+ credentialStatus?: {
2152
+ type: string;
2153
+ id: string;
2154
+ } | undefined;
2155
+ credentialSchema?: {
2156
+ type: string;
2157
+ id: string;
2158
+ }[] | undefined;
2159
+ refreshService?: {
2160
+ [x: string]: any;
2161
+ type: string;
2162
+ id: string;
2163
+ } | undefined;
2164
+ type: [string, ...string[]];
2165
+ '@context': string[];
2166
+ issuer: string | {
2167
+ [x: string]: any;
2168
+ type?: [string, ...string[]] | undefined;
2169
+ id?: string | undefined;
2170
+ name?: string | undefined;
2171
+ url?: string | undefined;
2172
+ phone?: string | undefined;
2173
+ description?: string | undefined;
2174
+ endorsement?: any[] | undefined;
2175
+ image?: string | {
2176
+ caption?: string | undefined;
2177
+ type: string;
2178
+ id: string;
2179
+ } | undefined;
2180
+ email?: string | undefined;
2181
+ address?: {
2182
+ addressCountry?: string | undefined;
2183
+ addressCountryCode?: string | undefined;
2184
+ addressRegion?: string | undefined;
2185
+ addressLocality?: string | undefined;
2186
+ streetAddress?: string | undefined;
2187
+ postOfficeBoxNumber?: string | undefined;
2188
+ postalCode?: string | undefined;
2189
+ geo?: {
2190
+ type: [string, ...string[]];
2191
+ latitude: number;
2192
+ longitude: number;
2193
+ } | undefined;
2194
+ type: [string, ...string[]];
2195
+ } | undefined;
2196
+ otherIdentifier?: {
2197
+ type: [string, ...string[]];
2198
+ identifier: string;
2199
+ identifierType: string;
2200
+ }[] | undefined;
2201
+ official?: string | undefined;
2202
+ parentOrg?: any;
2203
+ familyName?: string | undefined;
2204
+ givenName?: string | undefined;
2205
+ additionalName?: string | undefined;
2206
+ patronymicName?: string | undefined;
2207
+ honorificPrefix?: string | undefined;
2208
+ honorificSuffix?: string | undefined;
2209
+ familyNamePrefix?: string | undefined;
2210
+ dateOfBirth?: string | undefined;
2211
+ };
2212
+ issuanceDate: string;
2213
+ credentialSubject: {
2214
+ [x: string]: any;
2215
+ id?: string | undefined;
2216
+ } | {
2217
+ [x: string]: any;
2218
+ id?: string | undefined;
2219
+ }[];
2220
+ proof: {
2221
+ [x: string]: any;
2222
+ challenge?: string | undefined;
2223
+ domain?: string | undefined;
2224
+ nonce?: string | undefined;
2225
+ jws?: string | undefined;
2226
+ type: string;
2227
+ created: string;
2228
+ proofPurpose: string;
2229
+ verificationMethod: string;
2230
+ } | {
2231
+ [x: string]: any;
2232
+ challenge?: string | undefined;
2233
+ domain?: string | undefined;
2234
+ nonce?: string | undefined;
2235
+ jws?: string | undefined;
2236
+ type: string;
2237
+ created: string;
2238
+ proofPurpose: string;
2239
+ verificationMethod: string;
2240
+ }[];
2241
+ }>, "many">]>;
2242
+ holder: z.ZodOptional<z.ZodString>;
2243
+ }, "strip", z.ZodAny, {
2244
+ [x: string]: any;
2245
+ id?: string | undefined;
2246
+ holder?: string | undefined;
2247
+ type: [string, ...string[]];
2248
+ '@context': string[];
2249
+ verifiableCredential: {
2250
+ [x: string]: any;
2251
+ id?: string | undefined;
2252
+ expirationDate?: string | undefined;
2253
+ credentialStatus?: {
2254
+ type: string;
2255
+ id: string;
2256
+ } | undefined;
2257
+ credentialSchema?: {
2258
+ type: string;
2259
+ id: string;
2260
+ }[] | undefined;
2261
+ refreshService?: {
2262
+ [x: string]: any;
2263
+ type: string;
2264
+ id: string;
2265
+ } | undefined;
2266
+ type: [string, ...string[]];
2267
+ '@context': string[];
2268
+ issuer: string | {
2269
+ [x: string]: any;
2270
+ type?: [string, ...string[]] | undefined;
2271
+ id?: string | undefined;
2272
+ name?: string | undefined;
2273
+ url?: string | undefined;
2274
+ phone?: string | undefined;
2275
+ description?: string | undefined;
2276
+ endorsement?: any[] | undefined;
2277
+ image?: string | {
2278
+ caption?: string | undefined;
2279
+ type: string;
2280
+ id: string;
2281
+ } | undefined;
2282
+ email?: string | undefined;
2283
+ address?: {
2284
+ addressCountry?: string | undefined;
2285
+ addressCountryCode?: string | undefined;
2286
+ addressRegion?: string | undefined;
2287
+ addressLocality?: string | undefined;
2288
+ streetAddress?: string | undefined;
2289
+ postOfficeBoxNumber?: string | undefined;
2290
+ postalCode?: string | undefined;
2291
+ geo?: {
2292
+ type: [string, ...string[]];
2293
+ latitude: number;
2294
+ longitude: number;
2295
+ } | undefined;
2296
+ type: [string, ...string[]];
2297
+ } | undefined;
2298
+ otherIdentifier?: {
2299
+ type: [string, ...string[]];
2300
+ identifier: string;
2301
+ identifierType: string;
2302
+ }[] | undefined;
2303
+ official?: string | undefined;
2304
+ parentOrg?: any;
2305
+ familyName?: string | undefined;
2306
+ givenName?: string | undefined;
2307
+ additionalName?: string | undefined;
2308
+ patronymicName?: string | undefined;
2309
+ honorificPrefix?: string | undefined;
2310
+ honorificSuffix?: string | undefined;
2311
+ familyNamePrefix?: string | undefined;
2312
+ dateOfBirth?: string | undefined;
2313
+ };
2314
+ issuanceDate: string;
2315
+ credentialSubject: {
2316
+ [x: string]: any;
2317
+ id?: string | undefined;
2318
+ } | {
2319
+ [x: string]: any;
2320
+ id?: string | undefined;
2321
+ }[];
2322
+ proof: {
2323
+ [x: string]: any;
2324
+ challenge?: string | undefined;
2325
+ domain?: string | undefined;
2326
+ nonce?: string | undefined;
2327
+ jws?: string | undefined;
2328
+ type: string;
2329
+ created: string;
2330
+ proofPurpose: string;
2331
+ verificationMethod: string;
2332
+ } | {
2333
+ [x: string]: any;
2334
+ challenge?: string | undefined;
2335
+ domain?: string | undefined;
2336
+ nonce?: string | undefined;
2337
+ jws?: string | undefined;
2338
+ type: string;
2339
+ created: string;
2340
+ proofPurpose: string;
2341
+ verificationMethod: string;
2342
+ }[];
2343
+ } | {
2344
+ [x: string]: any;
2345
+ id?: string | undefined;
2346
+ expirationDate?: string | undefined;
2347
+ credentialStatus?: {
2348
+ type: string;
2349
+ id: string;
2350
+ } | undefined;
2351
+ credentialSchema?: {
2352
+ type: string;
2353
+ id: string;
2354
+ }[] | undefined;
2355
+ refreshService?: {
2356
+ [x: string]: any;
2357
+ type: string;
2358
+ id: string;
2359
+ } | undefined;
2360
+ type: [string, ...string[]];
2361
+ '@context': string[];
2362
+ issuer: string | {
2363
+ [x: string]: any;
2364
+ type?: [string, ...string[]] | undefined;
2365
+ id?: string | undefined;
2366
+ name?: string | undefined;
2367
+ url?: string | undefined;
2368
+ phone?: string | undefined;
2369
+ description?: string | undefined;
2370
+ endorsement?: any[] | undefined;
2371
+ image?: string | {
2372
+ caption?: string | undefined;
2373
+ type: string;
2374
+ id: string;
2375
+ } | undefined;
2376
+ email?: string | undefined;
2377
+ address?: {
2378
+ addressCountry?: string | undefined;
2379
+ addressCountryCode?: string | undefined;
2380
+ addressRegion?: string | undefined;
2381
+ addressLocality?: string | undefined;
2382
+ streetAddress?: string | undefined;
2383
+ postOfficeBoxNumber?: string | undefined;
2384
+ postalCode?: string | undefined;
2385
+ geo?: {
2386
+ type: [string, ...string[]];
2387
+ latitude: number;
2388
+ longitude: number;
2389
+ } | undefined;
2390
+ type: [string, ...string[]];
2391
+ } | undefined;
2392
+ otherIdentifier?: {
2393
+ type: [string, ...string[]];
2394
+ identifier: string;
2395
+ identifierType: string;
2396
+ }[] | undefined;
2397
+ official?: string | undefined;
2398
+ parentOrg?: any;
2399
+ familyName?: string | undefined;
2400
+ givenName?: string | undefined;
2401
+ additionalName?: string | undefined;
2402
+ patronymicName?: string | undefined;
2403
+ honorificPrefix?: string | undefined;
2404
+ honorificSuffix?: string | undefined;
2405
+ familyNamePrefix?: string | undefined;
2406
+ dateOfBirth?: string | undefined;
2407
+ };
2408
+ issuanceDate: string;
2409
+ credentialSubject: {
2410
+ [x: string]: any;
2411
+ id?: string | undefined;
2412
+ } | {
2413
+ [x: string]: any;
2414
+ id?: string | undefined;
2415
+ }[];
2416
+ proof: {
2417
+ [x: string]: any;
2418
+ challenge?: string | undefined;
2419
+ domain?: string | undefined;
2420
+ nonce?: string | undefined;
2421
+ jws?: string | undefined;
2422
+ type: string;
2423
+ created: string;
2424
+ proofPurpose: string;
2425
+ verificationMethod: string;
2426
+ } | {
2427
+ [x: string]: any;
2428
+ challenge?: string | undefined;
2429
+ domain?: string | undefined;
2430
+ nonce?: string | undefined;
2431
+ jws?: string | undefined;
2432
+ type: string;
2433
+ created: string;
2434
+ proofPurpose: string;
2435
+ verificationMethod: string;
2436
+ }[];
2437
+ }[];
2438
+ }, {
2439
+ [x: string]: any;
2440
+ id?: string | undefined;
2441
+ holder?: string | undefined;
2442
+ type: [string, ...string[]];
2443
+ '@context': string[];
2444
+ verifiableCredential: {
2445
+ [x: string]: any;
2446
+ id?: string | undefined;
2447
+ expirationDate?: string | undefined;
2448
+ credentialStatus?: {
2449
+ type: string;
2450
+ id: string;
2451
+ } | undefined;
2452
+ credentialSchema?: {
2453
+ type: string;
2454
+ id: string;
2455
+ }[] | undefined;
2456
+ refreshService?: {
2457
+ [x: string]: any;
2458
+ type: string;
2459
+ id: string;
2460
+ } | undefined;
2461
+ type: [string, ...string[]];
2462
+ '@context': string[];
2463
+ issuer: string | {
2464
+ [x: string]: any;
2465
+ type?: [string, ...string[]] | undefined;
2466
+ id?: string | undefined;
2467
+ name?: string | undefined;
2468
+ url?: string | undefined;
2469
+ phone?: string | undefined;
2470
+ description?: string | undefined;
2471
+ endorsement?: any[] | undefined;
2472
+ image?: string | {
2473
+ caption?: string | undefined;
2474
+ type: string;
2475
+ id: string;
2476
+ } | undefined;
2477
+ email?: string | undefined;
2478
+ address?: {
2479
+ addressCountry?: string | undefined;
2480
+ addressCountryCode?: string | undefined;
2481
+ addressRegion?: string | undefined;
2482
+ addressLocality?: string | undefined;
2483
+ streetAddress?: string | undefined;
2484
+ postOfficeBoxNumber?: string | undefined;
2485
+ postalCode?: string | undefined;
2486
+ geo?: {
2487
+ type: [string, ...string[]];
2488
+ latitude: number;
2489
+ longitude: number;
2490
+ } | undefined;
2491
+ type: [string, ...string[]];
2492
+ } | undefined;
2493
+ otherIdentifier?: {
2494
+ type: [string, ...string[]];
2495
+ identifier: string;
2496
+ identifierType: string;
2497
+ }[] | undefined;
2498
+ official?: string | undefined;
2499
+ parentOrg?: any;
2500
+ familyName?: string | undefined;
2501
+ givenName?: string | undefined;
2502
+ additionalName?: string | undefined;
2503
+ patronymicName?: string | undefined;
2504
+ honorificPrefix?: string | undefined;
2505
+ honorificSuffix?: string | undefined;
2506
+ familyNamePrefix?: string | undefined;
2507
+ dateOfBirth?: string | undefined;
2508
+ };
2509
+ issuanceDate: string;
2510
+ credentialSubject: {
2511
+ [x: string]: any;
2512
+ id?: string | undefined;
2513
+ } | {
2514
+ [x: string]: any;
2515
+ id?: string | undefined;
2516
+ }[];
2517
+ proof: {
2518
+ [x: string]: any;
2519
+ challenge?: string | undefined;
2520
+ domain?: string | undefined;
2521
+ nonce?: string | undefined;
2522
+ jws?: string | undefined;
2523
+ type: string;
2524
+ created: string;
2525
+ proofPurpose: string;
2526
+ verificationMethod: string;
2527
+ } | {
2528
+ [x: string]: any;
2529
+ challenge?: string | undefined;
2530
+ domain?: string | undefined;
2531
+ nonce?: string | undefined;
2532
+ jws?: string | undefined;
2533
+ type: string;
2534
+ created: string;
2535
+ proofPurpose: string;
2536
+ verificationMethod: string;
2537
+ }[];
2538
+ } | {
2539
+ [x: string]: any;
2540
+ id?: string | undefined;
2541
+ expirationDate?: string | undefined;
2542
+ credentialStatus?: {
2543
+ type: string;
2544
+ id: string;
2545
+ } | undefined;
2546
+ credentialSchema?: {
2547
+ type: string;
2548
+ id: string;
2549
+ }[] | undefined;
2550
+ refreshService?: {
2551
+ [x: string]: any;
2552
+ type: string;
2553
+ id: string;
2554
+ } | undefined;
2555
+ type: [string, ...string[]];
2556
+ '@context': string[];
2557
+ issuer: string | {
2558
+ [x: string]: any;
2559
+ type?: [string, ...string[]] | undefined;
2560
+ id?: string | undefined;
2561
+ name?: string | undefined;
2562
+ url?: string | undefined;
2563
+ phone?: string | undefined;
2564
+ description?: string | undefined;
2565
+ endorsement?: any[] | undefined;
2566
+ image?: string | {
2567
+ caption?: string | undefined;
2568
+ type: string;
2569
+ id: string;
2570
+ } | undefined;
2571
+ email?: string | undefined;
2572
+ address?: {
2573
+ addressCountry?: string | undefined;
2574
+ addressCountryCode?: string | undefined;
2575
+ addressRegion?: string | undefined;
2576
+ addressLocality?: string | undefined;
2577
+ streetAddress?: string | undefined;
2578
+ postOfficeBoxNumber?: string | undefined;
2579
+ postalCode?: string | undefined;
2580
+ geo?: {
2581
+ type: [string, ...string[]];
2582
+ latitude: number;
2583
+ longitude: number;
2584
+ } | undefined;
2585
+ type: [string, ...string[]];
2586
+ } | undefined;
2587
+ otherIdentifier?: {
2588
+ type: [string, ...string[]];
2589
+ identifier: string;
2590
+ identifierType: string;
2591
+ }[] | undefined;
2592
+ official?: string | undefined;
2593
+ parentOrg?: any;
2594
+ familyName?: string | undefined;
2595
+ givenName?: string | undefined;
2596
+ additionalName?: string | undefined;
2597
+ patronymicName?: string | undefined;
2598
+ honorificPrefix?: string | undefined;
2599
+ honorificSuffix?: string | undefined;
2600
+ familyNamePrefix?: string | undefined;
2601
+ dateOfBirth?: string | undefined;
2602
+ };
2603
+ issuanceDate: string;
2604
+ credentialSubject: {
2605
+ [x: string]: any;
2606
+ id?: string | undefined;
2607
+ } | {
2608
+ [x: string]: any;
2609
+ id?: string | undefined;
2610
+ }[];
2611
+ proof: {
2612
+ [x: string]: any;
2613
+ challenge?: string | undefined;
2614
+ domain?: string | undefined;
2615
+ nonce?: string | undefined;
2616
+ jws?: string | undefined;
2617
+ type: string;
2618
+ created: string;
2619
+ proofPurpose: string;
2620
+ verificationMethod: string;
2621
+ } | {
2622
+ [x: string]: any;
2623
+ challenge?: string | undefined;
2624
+ domain?: string | undefined;
2625
+ nonce?: string | undefined;
2626
+ jws?: string | undefined;
2627
+ type: string;
2628
+ created: string;
2629
+ proofPurpose: string;
2630
+ verificationMethod: string;
2631
+ }[];
2632
+ }[];
2633
+ }>;
2634
+ export declare type UnsignedVP = z.infer<typeof UnsignedVPValidator>;
2635
+ export declare const VPValidator: z.ZodObject<z.extendShape<{
2636
+ '@context': z.ZodArray<z.ZodString, "many">;
2637
+ id: z.ZodOptional<z.ZodString>;
2638
+ type: z.ZodArray<z.ZodString, "atleastone">;
2639
+ verifiableCredential: z.ZodUnion<[z.ZodObject<z.extendShape<{
2640
+ '@context': z.ZodArray<z.ZodString, "many">;
2641
+ id: z.ZodOptional<z.ZodString>;
2642
+ type: z.ZodArray<z.ZodString, "atleastone">;
2643
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
2644
+ id: z.ZodOptional<z.ZodString>;
2645
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
2646
+ name: z.ZodOptional<z.ZodString>;
2647
+ url: z.ZodOptional<z.ZodString>;
2648
+ phone: z.ZodOptional<z.ZodString>;
2649
+ description: z.ZodOptional<z.ZodString>;
2650
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2651
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2652
+ id: z.ZodString;
2653
+ type: z.ZodString;
2654
+ caption: z.ZodOptional<z.ZodString>;
2655
+ }, "strip", z.ZodTypeAny, {
2656
+ caption?: string | undefined;
2657
+ type: string;
2658
+ id: string;
2659
+ }, {
2660
+ caption?: string | undefined;
2661
+ type: string;
2662
+ id: string;
2663
+ }>]>>;
2664
+ email: z.ZodOptional<z.ZodString>;
2665
+ address: z.ZodOptional<z.ZodObject<{
2666
+ type: z.ZodArray<z.ZodString, "atleastone">;
2667
+ addressCountry: z.ZodOptional<z.ZodString>;
2668
+ addressCountryCode: z.ZodOptional<z.ZodString>;
2669
+ addressRegion: z.ZodOptional<z.ZodString>;
2670
+ addressLocality: z.ZodOptional<z.ZodString>;
2671
+ streetAddress: z.ZodOptional<z.ZodString>;
2672
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
2673
+ postalCode: z.ZodOptional<z.ZodString>;
2674
+ geo: z.ZodOptional<z.ZodObject<{
2675
+ type: z.ZodArray<z.ZodString, "atleastone">;
2676
+ latitude: z.ZodNumber;
2677
+ longitude: z.ZodNumber;
2678
+ }, "strip", z.ZodTypeAny, {
2679
+ type: [string, ...string[]];
2680
+ latitude: number;
2681
+ longitude: number;
2682
+ }, {
2683
+ type: [string, ...string[]];
2684
+ latitude: number;
2685
+ longitude: number;
2686
+ }>>;
2687
+ }, "strip", z.ZodTypeAny, {
2688
+ addressCountry?: string | undefined;
2689
+ addressCountryCode?: string | undefined;
2690
+ addressRegion?: string | undefined;
2691
+ addressLocality?: string | undefined;
2692
+ streetAddress?: string | undefined;
2693
+ postOfficeBoxNumber?: string | undefined;
2694
+ postalCode?: string | undefined;
2695
+ geo?: {
2696
+ type: [string, ...string[]];
2697
+ latitude: number;
2698
+ longitude: number;
2699
+ } | undefined;
2700
+ type: [string, ...string[]];
2701
+ }, {
2702
+ addressCountry?: string | undefined;
2703
+ addressCountryCode?: string | undefined;
2704
+ addressRegion?: string | undefined;
2705
+ addressLocality?: string | undefined;
2706
+ streetAddress?: string | undefined;
2707
+ postOfficeBoxNumber?: string | undefined;
2708
+ postalCode?: string | undefined;
2709
+ geo?: {
2710
+ type: [string, ...string[]];
2711
+ latitude: number;
2712
+ longitude: number;
2713
+ } | undefined;
2714
+ type: [string, ...string[]];
2715
+ }>>;
2716
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
2717
+ type: z.ZodArray<z.ZodString, "atleastone">;
2718
+ identifier: z.ZodString;
2719
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
2720
+ }, "strip", z.ZodTypeAny, {
2721
+ type: [string, ...string[]];
2722
+ identifier: string;
2723
+ identifierType: string;
2724
+ }, {
2725
+ type: [string, ...string[]];
2726
+ identifier: string;
2727
+ identifierType: string;
2728
+ }>, "many">>;
2729
+ official: z.ZodOptional<z.ZodString>;
2730
+ parentOrg: z.ZodOptional<z.ZodAny>;
2731
+ familyName: z.ZodOptional<z.ZodString>;
2732
+ givenName: z.ZodOptional<z.ZodString>;
2733
+ additionalName: z.ZodOptional<z.ZodString>;
2734
+ patronymicName: z.ZodOptional<z.ZodString>;
2735
+ honorificPrefix: z.ZodOptional<z.ZodString>;
2736
+ honorificSuffix: z.ZodOptional<z.ZodString>;
2737
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
2738
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2739
+ }, "strip", z.ZodAny, {
2740
+ [x: string]: any;
2741
+ type?: [string, ...string[]] | undefined;
2742
+ id?: string | undefined;
2743
+ name?: string | undefined;
2744
+ url?: string | undefined;
2745
+ phone?: string | undefined;
2746
+ description?: string | undefined;
2747
+ endorsement?: any[] | undefined;
2748
+ image?: string | {
2749
+ caption?: string | undefined;
2750
+ type: string;
2751
+ id: string;
2752
+ } | undefined;
2753
+ email?: string | undefined;
2754
+ address?: {
2755
+ addressCountry?: string | undefined;
2756
+ addressCountryCode?: string | undefined;
2757
+ addressRegion?: string | undefined;
2758
+ addressLocality?: string | undefined;
2759
+ streetAddress?: string | undefined;
2760
+ postOfficeBoxNumber?: string | undefined;
2761
+ postalCode?: string | undefined;
2762
+ geo?: {
2763
+ type: [string, ...string[]];
2764
+ latitude: number;
2765
+ longitude: number;
2766
+ } | undefined;
2767
+ type: [string, ...string[]];
2768
+ } | undefined;
2769
+ otherIdentifier?: {
2770
+ type: [string, ...string[]];
2771
+ identifier: string;
2772
+ identifierType: string;
2773
+ }[] | undefined;
2774
+ official?: string | undefined;
2775
+ parentOrg?: any;
2776
+ familyName?: string | undefined;
2777
+ givenName?: string | undefined;
2778
+ additionalName?: string | undefined;
2779
+ patronymicName?: string | undefined;
2780
+ honorificPrefix?: string | undefined;
2781
+ honorificSuffix?: string | undefined;
2782
+ familyNamePrefix?: string | undefined;
2783
+ dateOfBirth?: string | undefined;
2784
+ }, {
2785
+ [x: string]: any;
2786
+ type?: [string, ...string[]] | undefined;
2787
+ id?: string | undefined;
2788
+ name?: string | undefined;
2789
+ url?: string | undefined;
2790
+ phone?: string | undefined;
2791
+ description?: string | undefined;
2792
+ endorsement?: any[] | undefined;
2793
+ image?: string | {
2794
+ caption?: string | undefined;
2795
+ type: string;
2796
+ id: string;
2797
+ } | undefined;
2798
+ email?: string | undefined;
2799
+ address?: {
2800
+ addressCountry?: string | undefined;
2801
+ addressCountryCode?: string | undefined;
2802
+ addressRegion?: string | undefined;
2803
+ addressLocality?: string | undefined;
2804
+ streetAddress?: string | undefined;
2805
+ postOfficeBoxNumber?: string | undefined;
2806
+ postalCode?: string | undefined;
2807
+ geo?: {
2808
+ type: [string, ...string[]];
2809
+ latitude: number;
2810
+ longitude: number;
2811
+ } | undefined;
2812
+ type: [string, ...string[]];
2813
+ } | undefined;
2814
+ otherIdentifier?: {
2815
+ type: [string, ...string[]];
2816
+ identifier: string;
2817
+ identifierType: string;
2818
+ }[] | undefined;
2819
+ official?: string | undefined;
2820
+ parentOrg?: any;
2821
+ familyName?: string | undefined;
2822
+ givenName?: string | undefined;
2823
+ additionalName?: string | undefined;
2824
+ patronymicName?: string | undefined;
2825
+ honorificPrefix?: string | undefined;
2826
+ honorificSuffix?: string | undefined;
2827
+ familyNamePrefix?: string | undefined;
2828
+ dateOfBirth?: string | undefined;
2829
+ }>]>;
2830
+ issuanceDate: z.ZodString;
2831
+ expirationDate: z.ZodOptional<z.ZodString>;
2832
+ credentialSubject: z.ZodUnion<[z.ZodObject<{
2833
+ id: z.ZodOptional<z.ZodString>;
2834
+ }, "strip", z.ZodAny, {
2835
+ [x: string]: any;
2836
+ id?: string | undefined;
2837
+ }, {
2838
+ [x: string]: any;
2839
+ id?: string | undefined;
2840
+ }>, z.ZodArray<z.ZodObject<{
2841
+ id: z.ZodOptional<z.ZodString>;
2842
+ }, "strip", z.ZodAny, {
2843
+ [x: string]: any;
2844
+ id?: string | undefined;
2845
+ }, {
2846
+ [x: string]: any;
2847
+ id?: string | undefined;
2848
+ }>, "many">]>;
2849
+ credentialStatus: z.ZodOptional<z.ZodObject<{
2850
+ type: z.ZodString;
2851
+ id: z.ZodString;
2852
+ }, "strip", z.ZodTypeAny, {
2853
+ type: string;
2854
+ id: string;
2855
+ }, {
2856
+ type: string;
2857
+ id: string;
2858
+ }>>;
2859
+ credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2860
+ id: z.ZodString;
2861
+ type: z.ZodString;
2862
+ }, "strip", z.ZodTypeAny, {
2863
+ type: string;
2864
+ id: string;
2865
+ }, {
2866
+ type: string;
2867
+ id: string;
2868
+ }>, "many">>;
2869
+ refreshService: z.ZodOptional<z.ZodObject<{
2870
+ id: z.ZodString;
2871
+ type: z.ZodString;
2872
+ }, "strip", z.ZodAny, {
2873
+ [x: string]: any;
2874
+ type: string;
2875
+ id: string;
2876
+ }, {
2877
+ [x: string]: any;
2878
+ type: string;
2879
+ id: string;
2880
+ }>>;
2881
+ }, {
2882
+ proof: z.ZodUnion<[z.ZodObject<{
2883
+ type: z.ZodString;
2884
+ created: z.ZodString;
2885
+ challenge: z.ZodOptional<z.ZodString>;
2886
+ domain: z.ZodOptional<z.ZodString>;
2887
+ nonce: z.ZodOptional<z.ZodString>;
2888
+ proofPurpose: z.ZodString;
2889
+ verificationMethod: z.ZodString;
2890
+ jws: z.ZodOptional<z.ZodString>;
2891
+ }, "strip", z.ZodAny, {
2892
+ [x: string]: any;
2893
+ challenge?: string | undefined;
2894
+ domain?: string | undefined;
2895
+ nonce?: string | undefined;
2896
+ jws?: string | undefined;
2897
+ type: string;
2898
+ created: string;
2899
+ proofPurpose: string;
2900
+ verificationMethod: string;
2901
+ }, {
2902
+ [x: string]: any;
2903
+ challenge?: string | undefined;
2904
+ domain?: string | undefined;
2905
+ nonce?: string | undefined;
2906
+ jws?: string | undefined;
2907
+ type: string;
2908
+ created: string;
2909
+ proofPurpose: string;
2910
+ verificationMethod: string;
2911
+ }>, z.ZodArray<z.ZodObject<{
2912
+ type: z.ZodString;
2913
+ created: z.ZodString;
2914
+ challenge: z.ZodOptional<z.ZodString>;
2915
+ domain: z.ZodOptional<z.ZodString>;
2916
+ nonce: z.ZodOptional<z.ZodString>;
2917
+ proofPurpose: z.ZodString;
2918
+ verificationMethod: z.ZodString;
2919
+ jws: z.ZodOptional<z.ZodString>;
2920
+ }, "strip", z.ZodAny, {
2921
+ [x: string]: any;
2922
+ challenge?: string | undefined;
2923
+ domain?: string | undefined;
2924
+ nonce?: string | undefined;
2925
+ jws?: string | undefined;
2926
+ type: string;
2927
+ created: string;
2928
+ proofPurpose: string;
2929
+ verificationMethod: string;
2930
+ }, {
2931
+ [x: string]: any;
2932
+ challenge?: string | undefined;
2933
+ domain?: string | undefined;
2934
+ nonce?: string | undefined;
2935
+ jws?: string | undefined;
2936
+ type: string;
2937
+ created: string;
2938
+ proofPurpose: string;
2939
+ verificationMethod: string;
2940
+ }>, "many">]>;
2941
+ }>, "strip", z.ZodAny, {
2942
+ [x: string]: any;
2943
+ id?: string | undefined;
2944
+ expirationDate?: string | undefined;
2945
+ credentialStatus?: {
2946
+ type: string;
2947
+ id: string;
2948
+ } | undefined;
2949
+ credentialSchema?: {
2950
+ type: string;
2951
+ id: string;
2952
+ }[] | undefined;
2953
+ refreshService?: {
2954
+ [x: string]: any;
2955
+ type: string;
2956
+ id: string;
2957
+ } | undefined;
2958
+ type: [string, ...string[]];
2959
+ '@context': string[];
2960
+ issuer: string | {
2961
+ [x: string]: any;
2962
+ type?: [string, ...string[]] | undefined;
2963
+ id?: string | undefined;
2964
+ name?: string | undefined;
2965
+ url?: string | undefined;
2966
+ phone?: string | undefined;
2967
+ description?: string | undefined;
2968
+ endorsement?: any[] | undefined;
2969
+ image?: string | {
2970
+ caption?: string | undefined;
2971
+ type: string;
2972
+ id: string;
2973
+ } | undefined;
2974
+ email?: string | undefined;
2975
+ address?: {
2976
+ addressCountry?: string | undefined;
2977
+ addressCountryCode?: string | undefined;
2978
+ addressRegion?: string | undefined;
2979
+ addressLocality?: string | undefined;
2980
+ streetAddress?: string | undefined;
2981
+ postOfficeBoxNumber?: string | undefined;
2982
+ postalCode?: string | undefined;
2983
+ geo?: {
2984
+ type: [string, ...string[]];
2985
+ latitude: number;
2986
+ longitude: number;
2987
+ } | undefined;
2988
+ type: [string, ...string[]];
2989
+ } | undefined;
2990
+ otherIdentifier?: {
2991
+ type: [string, ...string[]];
2992
+ identifier: string;
2993
+ identifierType: string;
2994
+ }[] | undefined;
2995
+ official?: string | undefined;
2996
+ parentOrg?: any;
2997
+ familyName?: string | undefined;
2998
+ givenName?: string | undefined;
2999
+ additionalName?: string | undefined;
3000
+ patronymicName?: string | undefined;
3001
+ honorificPrefix?: string | undefined;
3002
+ honorificSuffix?: string | undefined;
3003
+ familyNamePrefix?: string | undefined;
3004
+ dateOfBirth?: string | undefined;
3005
+ };
3006
+ issuanceDate: string;
3007
+ credentialSubject: {
3008
+ [x: string]: any;
3009
+ id?: string | undefined;
3010
+ } | {
3011
+ [x: string]: any;
3012
+ id?: string | undefined;
3013
+ }[];
3014
+ proof: {
3015
+ [x: string]: any;
3016
+ challenge?: string | undefined;
3017
+ domain?: string | undefined;
3018
+ nonce?: string | undefined;
3019
+ jws?: string | undefined;
3020
+ type: string;
3021
+ created: string;
3022
+ proofPurpose: string;
3023
+ verificationMethod: string;
3024
+ } | {
3025
+ [x: string]: any;
3026
+ challenge?: string | undefined;
3027
+ domain?: string | undefined;
3028
+ nonce?: string | undefined;
3029
+ jws?: string | undefined;
3030
+ type: string;
3031
+ created: string;
3032
+ proofPurpose: string;
3033
+ verificationMethod: string;
3034
+ }[];
3035
+ }, {
3036
+ [x: string]: any;
3037
+ id?: string | undefined;
3038
+ expirationDate?: string | undefined;
3039
+ credentialStatus?: {
3040
+ type: string;
3041
+ id: string;
3042
+ } | undefined;
3043
+ credentialSchema?: {
3044
+ type: string;
3045
+ id: string;
3046
+ }[] | undefined;
3047
+ refreshService?: {
3048
+ [x: string]: any;
3049
+ type: string;
3050
+ id: string;
3051
+ } | undefined;
3052
+ type: [string, ...string[]];
3053
+ '@context': string[];
3054
+ issuer: string | {
3055
+ [x: string]: any;
3056
+ type?: [string, ...string[]] | undefined;
3057
+ id?: string | undefined;
3058
+ name?: string | undefined;
3059
+ url?: string | undefined;
3060
+ phone?: string | undefined;
3061
+ description?: string | undefined;
3062
+ endorsement?: any[] | undefined;
3063
+ image?: string | {
3064
+ caption?: string | undefined;
3065
+ type: string;
3066
+ id: string;
3067
+ } | undefined;
3068
+ email?: string | undefined;
3069
+ address?: {
3070
+ addressCountry?: string | undefined;
3071
+ addressCountryCode?: string | undefined;
3072
+ addressRegion?: string | undefined;
3073
+ addressLocality?: string | undefined;
3074
+ streetAddress?: string | undefined;
3075
+ postOfficeBoxNumber?: string | undefined;
3076
+ postalCode?: string | undefined;
3077
+ geo?: {
3078
+ type: [string, ...string[]];
3079
+ latitude: number;
3080
+ longitude: number;
3081
+ } | undefined;
3082
+ type: [string, ...string[]];
3083
+ } | undefined;
3084
+ otherIdentifier?: {
3085
+ type: [string, ...string[]];
3086
+ identifier: string;
3087
+ identifierType: string;
3088
+ }[] | undefined;
3089
+ official?: string | undefined;
3090
+ parentOrg?: any;
3091
+ familyName?: string | undefined;
3092
+ givenName?: string | undefined;
3093
+ additionalName?: string | undefined;
3094
+ patronymicName?: string | undefined;
3095
+ honorificPrefix?: string | undefined;
3096
+ honorificSuffix?: string | undefined;
3097
+ familyNamePrefix?: string | undefined;
3098
+ dateOfBirth?: string | undefined;
3099
+ };
3100
+ issuanceDate: string;
3101
+ credentialSubject: {
3102
+ [x: string]: any;
3103
+ id?: string | undefined;
3104
+ } | {
3105
+ [x: string]: any;
3106
+ id?: string | undefined;
3107
+ }[];
3108
+ proof: {
3109
+ [x: string]: any;
3110
+ challenge?: string | undefined;
3111
+ domain?: string | undefined;
3112
+ nonce?: string | undefined;
3113
+ jws?: string | undefined;
3114
+ type: string;
3115
+ created: string;
3116
+ proofPurpose: string;
3117
+ verificationMethod: string;
3118
+ } | {
3119
+ [x: string]: any;
3120
+ challenge?: string | undefined;
3121
+ domain?: string | undefined;
3122
+ nonce?: string | undefined;
3123
+ jws?: string | undefined;
3124
+ type: string;
3125
+ created: string;
3126
+ proofPurpose: string;
3127
+ verificationMethod: string;
3128
+ }[];
3129
+ }>, z.ZodArray<z.ZodObject<z.extendShape<{
3130
+ '@context': z.ZodArray<z.ZodString, "many">;
3131
+ id: z.ZodOptional<z.ZodString>;
3132
+ type: z.ZodArray<z.ZodString, "atleastone">;
3133
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
3134
+ id: z.ZodOptional<z.ZodString>;
3135
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
3136
+ name: z.ZodOptional<z.ZodString>;
3137
+ url: z.ZodOptional<z.ZodString>;
3138
+ phone: z.ZodOptional<z.ZodString>;
3139
+ description: z.ZodOptional<z.ZodString>;
3140
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3141
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3142
+ id: z.ZodString;
3143
+ type: z.ZodString;
3144
+ caption: z.ZodOptional<z.ZodString>;
3145
+ }, "strip", z.ZodTypeAny, {
3146
+ caption?: string | undefined;
3147
+ type: string;
3148
+ id: string;
3149
+ }, {
3150
+ caption?: string | undefined;
3151
+ type: string;
3152
+ id: string;
3153
+ }>]>>;
3154
+ email: z.ZodOptional<z.ZodString>;
3155
+ address: z.ZodOptional<z.ZodObject<{
3156
+ type: z.ZodArray<z.ZodString, "atleastone">;
3157
+ addressCountry: z.ZodOptional<z.ZodString>;
3158
+ addressCountryCode: z.ZodOptional<z.ZodString>;
3159
+ addressRegion: z.ZodOptional<z.ZodString>;
3160
+ addressLocality: z.ZodOptional<z.ZodString>;
3161
+ streetAddress: z.ZodOptional<z.ZodString>;
3162
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
3163
+ postalCode: z.ZodOptional<z.ZodString>;
3164
+ geo: z.ZodOptional<z.ZodObject<{
3165
+ type: z.ZodArray<z.ZodString, "atleastone">;
3166
+ latitude: z.ZodNumber;
3167
+ longitude: z.ZodNumber;
3168
+ }, "strip", z.ZodTypeAny, {
3169
+ type: [string, ...string[]];
3170
+ latitude: number;
3171
+ longitude: number;
3172
+ }, {
3173
+ type: [string, ...string[]];
3174
+ latitude: number;
3175
+ longitude: number;
3176
+ }>>;
3177
+ }, "strip", z.ZodTypeAny, {
3178
+ addressCountry?: string | undefined;
3179
+ addressCountryCode?: string | undefined;
3180
+ addressRegion?: string | undefined;
3181
+ addressLocality?: string | undefined;
3182
+ streetAddress?: string | undefined;
3183
+ postOfficeBoxNumber?: string | undefined;
3184
+ postalCode?: string | undefined;
3185
+ geo?: {
3186
+ type: [string, ...string[]];
3187
+ latitude: number;
3188
+ longitude: number;
3189
+ } | undefined;
3190
+ type: [string, ...string[]];
3191
+ }, {
3192
+ addressCountry?: string | undefined;
3193
+ addressCountryCode?: string | undefined;
3194
+ addressRegion?: string | undefined;
3195
+ addressLocality?: string | undefined;
3196
+ streetAddress?: string | undefined;
3197
+ postOfficeBoxNumber?: string | undefined;
3198
+ postalCode?: string | undefined;
3199
+ geo?: {
3200
+ type: [string, ...string[]];
3201
+ latitude: number;
3202
+ longitude: number;
3203
+ } | undefined;
3204
+ type: [string, ...string[]];
3205
+ }>>;
3206
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
3207
+ type: z.ZodArray<z.ZodString, "atleastone">;
3208
+ identifier: z.ZodString;
3209
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
3210
+ }, "strip", z.ZodTypeAny, {
3211
+ type: [string, ...string[]];
3212
+ identifier: string;
3213
+ identifierType: string;
3214
+ }, {
3215
+ type: [string, ...string[]];
3216
+ identifier: string;
3217
+ identifierType: string;
3218
+ }>, "many">>;
3219
+ official: z.ZodOptional<z.ZodString>;
3220
+ parentOrg: z.ZodOptional<z.ZodAny>;
3221
+ familyName: z.ZodOptional<z.ZodString>;
3222
+ givenName: z.ZodOptional<z.ZodString>;
3223
+ additionalName: z.ZodOptional<z.ZodString>;
3224
+ patronymicName: z.ZodOptional<z.ZodString>;
3225
+ honorificPrefix: z.ZodOptional<z.ZodString>;
3226
+ honorificSuffix: z.ZodOptional<z.ZodString>;
3227
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
3228
+ dateOfBirth: z.ZodOptional<z.ZodString>;
3229
+ }, "strip", z.ZodAny, {
3230
+ [x: string]: any;
3231
+ type?: [string, ...string[]] | undefined;
3232
+ id?: string | undefined;
3233
+ name?: string | undefined;
3234
+ url?: string | undefined;
3235
+ phone?: string | undefined;
3236
+ description?: string | undefined;
3237
+ endorsement?: any[] | undefined;
3238
+ image?: string | {
3239
+ caption?: string | undefined;
3240
+ type: string;
3241
+ id: string;
3242
+ } | undefined;
3243
+ email?: string | undefined;
3244
+ address?: {
3245
+ addressCountry?: string | undefined;
3246
+ addressCountryCode?: string | undefined;
3247
+ addressRegion?: string | undefined;
3248
+ addressLocality?: string | undefined;
3249
+ streetAddress?: string | undefined;
3250
+ postOfficeBoxNumber?: string | undefined;
3251
+ postalCode?: string | undefined;
3252
+ geo?: {
3253
+ type: [string, ...string[]];
3254
+ latitude: number;
3255
+ longitude: number;
3256
+ } | undefined;
3257
+ type: [string, ...string[]];
3258
+ } | undefined;
3259
+ otherIdentifier?: {
3260
+ type: [string, ...string[]];
3261
+ identifier: string;
3262
+ identifierType: string;
3263
+ }[] | undefined;
3264
+ official?: string | undefined;
3265
+ parentOrg?: any;
3266
+ familyName?: string | undefined;
3267
+ givenName?: string | undefined;
3268
+ additionalName?: string | undefined;
3269
+ patronymicName?: string | undefined;
3270
+ honorificPrefix?: string | undefined;
3271
+ honorificSuffix?: string | undefined;
3272
+ familyNamePrefix?: string | undefined;
3273
+ dateOfBirth?: string | undefined;
3274
+ }, {
3275
+ [x: string]: any;
3276
+ type?: [string, ...string[]] | undefined;
3277
+ id?: string | undefined;
3278
+ name?: string | undefined;
3279
+ url?: string | undefined;
3280
+ phone?: string | undefined;
3281
+ description?: string | undefined;
3282
+ endorsement?: any[] | undefined;
3283
+ image?: string | {
3284
+ caption?: string | undefined;
3285
+ type: string;
3286
+ id: string;
3287
+ } | undefined;
3288
+ email?: string | undefined;
3289
+ address?: {
3290
+ addressCountry?: string | undefined;
3291
+ addressCountryCode?: string | undefined;
3292
+ addressRegion?: string | undefined;
3293
+ addressLocality?: string | undefined;
3294
+ streetAddress?: string | undefined;
3295
+ postOfficeBoxNumber?: string | undefined;
3296
+ postalCode?: string | undefined;
3297
+ geo?: {
3298
+ type: [string, ...string[]];
3299
+ latitude: number;
3300
+ longitude: number;
3301
+ } | undefined;
3302
+ type: [string, ...string[]];
3303
+ } | undefined;
3304
+ otherIdentifier?: {
3305
+ type: [string, ...string[]];
3306
+ identifier: string;
3307
+ identifierType: string;
3308
+ }[] | undefined;
3309
+ official?: string | undefined;
3310
+ parentOrg?: any;
3311
+ familyName?: string | undefined;
3312
+ givenName?: string | undefined;
3313
+ additionalName?: string | undefined;
3314
+ patronymicName?: string | undefined;
3315
+ honorificPrefix?: string | undefined;
3316
+ honorificSuffix?: string | undefined;
3317
+ familyNamePrefix?: string | undefined;
3318
+ dateOfBirth?: string | undefined;
3319
+ }>]>;
3320
+ issuanceDate: z.ZodString;
3321
+ expirationDate: z.ZodOptional<z.ZodString>;
3322
+ credentialSubject: z.ZodUnion<[z.ZodObject<{
3323
+ id: z.ZodOptional<z.ZodString>;
3324
+ }, "strip", z.ZodAny, {
3325
+ [x: string]: any;
3326
+ id?: string | undefined;
3327
+ }, {
3328
+ [x: string]: any;
3329
+ id?: string | undefined;
3330
+ }>, z.ZodArray<z.ZodObject<{
3331
+ id: z.ZodOptional<z.ZodString>;
3332
+ }, "strip", z.ZodAny, {
3333
+ [x: string]: any;
3334
+ id?: string | undefined;
3335
+ }, {
3336
+ [x: string]: any;
3337
+ id?: string | undefined;
3338
+ }>, "many">]>;
3339
+ credentialStatus: z.ZodOptional<z.ZodObject<{
3340
+ type: z.ZodString;
3341
+ id: z.ZodString;
3342
+ }, "strip", z.ZodTypeAny, {
3343
+ type: string;
3344
+ id: string;
3345
+ }, {
3346
+ type: string;
3347
+ id: string;
3348
+ }>>;
3349
+ credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
3350
+ id: z.ZodString;
3351
+ type: z.ZodString;
3352
+ }, "strip", z.ZodTypeAny, {
3353
+ type: string;
3354
+ id: string;
3355
+ }, {
3356
+ type: string;
3357
+ id: string;
3358
+ }>, "many">>;
3359
+ refreshService: z.ZodOptional<z.ZodObject<{
3360
+ id: z.ZodString;
3361
+ type: z.ZodString;
3362
+ }, "strip", z.ZodAny, {
3363
+ [x: string]: any;
3364
+ type: string;
3365
+ id: string;
3366
+ }, {
3367
+ [x: string]: any;
3368
+ type: string;
3369
+ id: string;
3370
+ }>>;
3371
+ }, {
3372
+ proof: z.ZodUnion<[z.ZodObject<{
3373
+ type: z.ZodString;
3374
+ created: z.ZodString;
3375
+ challenge: z.ZodOptional<z.ZodString>;
3376
+ domain: z.ZodOptional<z.ZodString>;
3377
+ nonce: z.ZodOptional<z.ZodString>;
3378
+ proofPurpose: z.ZodString;
3379
+ verificationMethod: z.ZodString;
3380
+ jws: z.ZodOptional<z.ZodString>;
3381
+ }, "strip", z.ZodAny, {
3382
+ [x: string]: any;
3383
+ challenge?: string | undefined;
3384
+ domain?: string | undefined;
3385
+ nonce?: string | undefined;
3386
+ jws?: string | undefined;
3387
+ type: string;
3388
+ created: string;
3389
+ proofPurpose: string;
3390
+ verificationMethod: string;
3391
+ }, {
3392
+ [x: string]: any;
3393
+ challenge?: string | undefined;
3394
+ domain?: string | undefined;
3395
+ nonce?: string | undefined;
3396
+ jws?: string | undefined;
3397
+ type: string;
3398
+ created: string;
3399
+ proofPurpose: string;
3400
+ verificationMethod: string;
3401
+ }>, z.ZodArray<z.ZodObject<{
3402
+ type: z.ZodString;
3403
+ created: z.ZodString;
3404
+ challenge: z.ZodOptional<z.ZodString>;
3405
+ domain: z.ZodOptional<z.ZodString>;
3406
+ nonce: z.ZodOptional<z.ZodString>;
3407
+ proofPurpose: z.ZodString;
3408
+ verificationMethod: z.ZodString;
3409
+ jws: z.ZodOptional<z.ZodString>;
3410
+ }, "strip", z.ZodAny, {
3411
+ [x: string]: any;
3412
+ challenge?: string | undefined;
3413
+ domain?: string | undefined;
3414
+ nonce?: string | undefined;
3415
+ jws?: string | undefined;
3416
+ type: string;
3417
+ created: string;
3418
+ proofPurpose: string;
3419
+ verificationMethod: string;
3420
+ }, {
3421
+ [x: string]: any;
3422
+ challenge?: string | undefined;
3423
+ domain?: string | undefined;
3424
+ nonce?: string | undefined;
3425
+ jws?: string | undefined;
3426
+ type: string;
3427
+ created: string;
3428
+ proofPurpose: string;
3429
+ verificationMethod: string;
3430
+ }>, "many">]>;
3431
+ }>, "strip", z.ZodAny, {
3432
+ [x: string]: any;
3433
+ id?: string | undefined;
3434
+ expirationDate?: string | undefined;
3435
+ credentialStatus?: {
3436
+ type: string;
3437
+ id: string;
3438
+ } | undefined;
3439
+ credentialSchema?: {
3440
+ type: string;
3441
+ id: string;
3442
+ }[] | undefined;
3443
+ refreshService?: {
3444
+ [x: string]: any;
3445
+ type: string;
3446
+ id: string;
3447
+ } | undefined;
3448
+ type: [string, ...string[]];
3449
+ '@context': string[];
3450
+ issuer: string | {
3451
+ [x: string]: any;
3452
+ type?: [string, ...string[]] | undefined;
3453
+ id?: string | undefined;
3454
+ name?: string | undefined;
3455
+ url?: string | undefined;
3456
+ phone?: string | undefined;
3457
+ description?: string | undefined;
3458
+ endorsement?: any[] | undefined;
3459
+ image?: string | {
3460
+ caption?: string | undefined;
3461
+ type: string;
3462
+ id: string;
3463
+ } | undefined;
3464
+ email?: string | undefined;
3465
+ address?: {
3466
+ addressCountry?: string | undefined;
3467
+ addressCountryCode?: string | undefined;
3468
+ addressRegion?: string | undefined;
3469
+ addressLocality?: string | undefined;
3470
+ streetAddress?: string | undefined;
3471
+ postOfficeBoxNumber?: string | undefined;
3472
+ postalCode?: string | undefined;
3473
+ geo?: {
3474
+ type: [string, ...string[]];
3475
+ latitude: number;
3476
+ longitude: number;
3477
+ } | undefined;
3478
+ type: [string, ...string[]];
3479
+ } | undefined;
3480
+ otherIdentifier?: {
3481
+ type: [string, ...string[]];
3482
+ identifier: string;
3483
+ identifierType: string;
3484
+ }[] | undefined;
3485
+ official?: string | undefined;
3486
+ parentOrg?: any;
3487
+ familyName?: string | undefined;
3488
+ givenName?: string | undefined;
3489
+ additionalName?: string | undefined;
3490
+ patronymicName?: string | undefined;
3491
+ honorificPrefix?: string | undefined;
3492
+ honorificSuffix?: string | undefined;
3493
+ familyNamePrefix?: string | undefined;
3494
+ dateOfBirth?: string | undefined;
3495
+ };
3496
+ issuanceDate: string;
3497
+ credentialSubject: {
3498
+ [x: string]: any;
3499
+ id?: string | undefined;
3500
+ } | {
3501
+ [x: string]: any;
3502
+ id?: string | undefined;
3503
+ }[];
3504
+ proof: {
3505
+ [x: string]: any;
3506
+ challenge?: string | undefined;
3507
+ domain?: string | undefined;
3508
+ nonce?: string | undefined;
3509
+ jws?: string | undefined;
3510
+ type: string;
3511
+ created: string;
3512
+ proofPurpose: string;
3513
+ verificationMethod: string;
3514
+ } | {
3515
+ [x: string]: any;
3516
+ challenge?: string | undefined;
3517
+ domain?: string | undefined;
3518
+ nonce?: string | undefined;
3519
+ jws?: string | undefined;
3520
+ type: string;
3521
+ created: string;
3522
+ proofPurpose: string;
3523
+ verificationMethod: string;
3524
+ }[];
3525
+ }, {
3526
+ [x: string]: any;
3527
+ id?: string | undefined;
3528
+ expirationDate?: string | undefined;
3529
+ credentialStatus?: {
3530
+ type: string;
3531
+ id: string;
3532
+ } | undefined;
3533
+ credentialSchema?: {
3534
+ type: string;
3535
+ id: string;
3536
+ }[] | undefined;
3537
+ refreshService?: {
3538
+ [x: string]: any;
3539
+ type: string;
3540
+ id: string;
3541
+ } | undefined;
3542
+ type: [string, ...string[]];
3543
+ '@context': string[];
3544
+ issuer: string | {
3545
+ [x: string]: any;
3546
+ type?: [string, ...string[]] | undefined;
3547
+ id?: string | undefined;
3548
+ name?: string | undefined;
3549
+ url?: string | undefined;
3550
+ phone?: string | undefined;
3551
+ description?: string | undefined;
3552
+ endorsement?: any[] | undefined;
3553
+ image?: string | {
3554
+ caption?: string | undefined;
3555
+ type: string;
3556
+ id: string;
3557
+ } | undefined;
3558
+ email?: string | undefined;
3559
+ address?: {
3560
+ addressCountry?: string | undefined;
3561
+ addressCountryCode?: string | undefined;
3562
+ addressRegion?: string | undefined;
3563
+ addressLocality?: string | undefined;
3564
+ streetAddress?: string | undefined;
3565
+ postOfficeBoxNumber?: string | undefined;
3566
+ postalCode?: string | undefined;
3567
+ geo?: {
3568
+ type: [string, ...string[]];
3569
+ latitude: number;
3570
+ longitude: number;
3571
+ } | undefined;
3572
+ type: [string, ...string[]];
3573
+ } | undefined;
3574
+ otherIdentifier?: {
3575
+ type: [string, ...string[]];
3576
+ identifier: string;
3577
+ identifierType: string;
3578
+ }[] | undefined;
3579
+ official?: string | undefined;
3580
+ parentOrg?: any;
3581
+ familyName?: string | undefined;
3582
+ givenName?: string | undefined;
3583
+ additionalName?: string | undefined;
3584
+ patronymicName?: string | undefined;
3585
+ honorificPrefix?: string | undefined;
3586
+ honorificSuffix?: string | undefined;
3587
+ familyNamePrefix?: string | undefined;
3588
+ dateOfBirth?: string | undefined;
3589
+ };
3590
+ issuanceDate: string;
3591
+ credentialSubject: {
3592
+ [x: string]: any;
3593
+ id?: string | undefined;
3594
+ } | {
3595
+ [x: string]: any;
3596
+ id?: string | undefined;
3597
+ }[];
3598
+ proof: {
3599
+ [x: string]: any;
3600
+ challenge?: string | undefined;
3601
+ domain?: string | undefined;
3602
+ nonce?: string | undefined;
3603
+ jws?: string | undefined;
3604
+ type: string;
3605
+ created: string;
3606
+ proofPurpose: string;
3607
+ verificationMethod: string;
3608
+ } | {
3609
+ [x: string]: any;
3610
+ challenge?: string | undefined;
3611
+ domain?: string | undefined;
3612
+ nonce?: string | undefined;
3613
+ jws?: string | undefined;
3614
+ type: string;
3615
+ created: string;
3616
+ proofPurpose: string;
3617
+ verificationMethod: string;
3618
+ }[];
3619
+ }>, "many">]>;
3620
+ holder: z.ZodOptional<z.ZodString>;
3621
+ }, {
3622
+ proof: z.ZodUnion<[z.ZodObject<{
3623
+ type: z.ZodString;
3624
+ created: z.ZodString;
3625
+ challenge: z.ZodOptional<z.ZodString>;
3626
+ domain: z.ZodOptional<z.ZodString>;
3627
+ nonce: z.ZodOptional<z.ZodString>;
3628
+ proofPurpose: z.ZodString;
3629
+ verificationMethod: z.ZodString;
3630
+ jws: z.ZodOptional<z.ZodString>;
3631
+ }, "strip", z.ZodAny, {
3632
+ [x: string]: any;
3633
+ challenge?: string | undefined;
3634
+ domain?: string | undefined;
3635
+ nonce?: string | undefined;
3636
+ jws?: string | undefined;
3637
+ type: string;
3638
+ created: string;
3639
+ proofPurpose: string;
3640
+ verificationMethod: string;
3641
+ }, {
3642
+ [x: string]: any;
3643
+ challenge?: string | undefined;
3644
+ domain?: string | undefined;
3645
+ nonce?: string | undefined;
3646
+ jws?: string | undefined;
3647
+ type: string;
3648
+ created: string;
3649
+ proofPurpose: string;
3650
+ verificationMethod: string;
3651
+ }>, z.ZodArray<z.ZodObject<{
3652
+ type: z.ZodString;
3653
+ created: z.ZodString;
3654
+ challenge: z.ZodOptional<z.ZodString>;
3655
+ domain: z.ZodOptional<z.ZodString>;
3656
+ nonce: z.ZodOptional<z.ZodString>;
3657
+ proofPurpose: z.ZodString;
3658
+ verificationMethod: z.ZodString;
3659
+ jws: z.ZodOptional<z.ZodString>;
3660
+ }, "strip", z.ZodAny, {
3661
+ [x: string]: any;
3662
+ challenge?: string | undefined;
3663
+ domain?: string | undefined;
3664
+ nonce?: string | undefined;
3665
+ jws?: string | undefined;
3666
+ type: string;
3667
+ created: string;
3668
+ proofPurpose: string;
3669
+ verificationMethod: string;
3670
+ }, {
3671
+ [x: string]: any;
3672
+ challenge?: string | undefined;
3673
+ domain?: string | undefined;
3674
+ nonce?: string | undefined;
3675
+ jws?: string | undefined;
3676
+ type: string;
3677
+ created: string;
3678
+ proofPurpose: string;
3679
+ verificationMethod: string;
3680
+ }>, "many">]>;
3681
+ }>, "strip", z.ZodAny, {
3682
+ [x: string]: any;
3683
+ id?: string | undefined;
3684
+ holder?: string | undefined;
3685
+ type: [string, ...string[]];
3686
+ '@context': string[];
3687
+ proof: {
3688
+ [x: string]: any;
3689
+ challenge?: string | undefined;
3690
+ domain?: string | undefined;
3691
+ nonce?: string | undefined;
3692
+ jws?: string | undefined;
3693
+ type: string;
3694
+ created: string;
3695
+ proofPurpose: string;
3696
+ verificationMethod: string;
3697
+ } | {
3698
+ [x: string]: any;
3699
+ challenge?: string | undefined;
3700
+ domain?: string | undefined;
3701
+ nonce?: string | undefined;
3702
+ jws?: string | undefined;
3703
+ type: string;
3704
+ created: string;
3705
+ proofPurpose: string;
3706
+ verificationMethod: string;
3707
+ }[];
3708
+ verifiableCredential: {
3709
+ [x: string]: any;
3710
+ id?: string | undefined;
3711
+ expirationDate?: string | undefined;
3712
+ credentialStatus?: {
3713
+ type: string;
3714
+ id: string;
3715
+ } | undefined;
3716
+ credentialSchema?: {
3717
+ type: string;
3718
+ id: string;
3719
+ }[] | undefined;
3720
+ refreshService?: {
3721
+ [x: string]: any;
3722
+ type: string;
3723
+ id: string;
3724
+ } | undefined;
3725
+ type: [string, ...string[]];
3726
+ '@context': string[];
3727
+ issuer: string | {
3728
+ [x: string]: any;
3729
+ type?: [string, ...string[]] | undefined;
3730
+ id?: string | undefined;
3731
+ name?: string | undefined;
3732
+ url?: string | undefined;
3733
+ phone?: string | undefined;
3734
+ description?: string | undefined;
3735
+ endorsement?: any[] | undefined;
3736
+ image?: string | {
3737
+ caption?: string | undefined;
3738
+ type: string;
3739
+ id: string;
3740
+ } | undefined;
3741
+ email?: string | undefined;
3742
+ address?: {
3743
+ addressCountry?: string | undefined;
3744
+ addressCountryCode?: string | undefined;
3745
+ addressRegion?: string | undefined;
3746
+ addressLocality?: string | undefined;
3747
+ streetAddress?: string | undefined;
3748
+ postOfficeBoxNumber?: string | undefined;
3749
+ postalCode?: string | undefined;
3750
+ geo?: {
3751
+ type: [string, ...string[]];
3752
+ latitude: number;
3753
+ longitude: number;
3754
+ } | undefined;
3755
+ type: [string, ...string[]];
3756
+ } | undefined;
3757
+ otherIdentifier?: {
3758
+ type: [string, ...string[]];
3759
+ identifier: string;
3760
+ identifierType: string;
3761
+ }[] | undefined;
3762
+ official?: string | undefined;
3763
+ parentOrg?: any;
3764
+ familyName?: string | undefined;
3765
+ givenName?: string | undefined;
3766
+ additionalName?: string | undefined;
3767
+ patronymicName?: string | undefined;
3768
+ honorificPrefix?: string | undefined;
3769
+ honorificSuffix?: string | undefined;
3770
+ familyNamePrefix?: string | undefined;
3771
+ dateOfBirth?: string | undefined;
3772
+ };
3773
+ issuanceDate: string;
3774
+ credentialSubject: {
3775
+ [x: string]: any;
3776
+ id?: string | undefined;
3777
+ } | {
3778
+ [x: string]: any;
3779
+ id?: string | undefined;
3780
+ }[];
3781
+ proof: {
3782
+ [x: string]: any;
3783
+ challenge?: string | undefined;
3784
+ domain?: string | undefined;
3785
+ nonce?: string | undefined;
3786
+ jws?: string | undefined;
3787
+ type: string;
3788
+ created: string;
3789
+ proofPurpose: string;
3790
+ verificationMethod: string;
3791
+ } | {
3792
+ [x: string]: any;
3793
+ challenge?: string | undefined;
3794
+ domain?: string | undefined;
3795
+ nonce?: string | undefined;
3796
+ jws?: string | undefined;
3797
+ type: string;
3798
+ created: string;
3799
+ proofPurpose: string;
3800
+ verificationMethod: string;
3801
+ }[];
3802
+ } | {
3803
+ [x: string]: any;
3804
+ id?: string | undefined;
3805
+ expirationDate?: string | undefined;
3806
+ credentialStatus?: {
3807
+ type: string;
3808
+ id: string;
3809
+ } | undefined;
3810
+ credentialSchema?: {
3811
+ type: string;
3812
+ id: string;
3813
+ }[] | undefined;
3814
+ refreshService?: {
3815
+ [x: string]: any;
3816
+ type: string;
3817
+ id: string;
3818
+ } | undefined;
3819
+ type: [string, ...string[]];
3820
+ '@context': string[];
3821
+ issuer: string | {
3822
+ [x: string]: any;
3823
+ type?: [string, ...string[]] | undefined;
3824
+ id?: string | undefined;
3825
+ name?: string | undefined;
3826
+ url?: string | undefined;
3827
+ phone?: string | undefined;
3828
+ description?: string | undefined;
3829
+ endorsement?: any[] | undefined;
3830
+ image?: string | {
3831
+ caption?: string | undefined;
3832
+ type: string;
3833
+ id: string;
3834
+ } | undefined;
3835
+ email?: string | undefined;
3836
+ address?: {
3837
+ addressCountry?: string | undefined;
3838
+ addressCountryCode?: string | undefined;
3839
+ addressRegion?: string | undefined;
3840
+ addressLocality?: string | undefined;
3841
+ streetAddress?: string | undefined;
3842
+ postOfficeBoxNumber?: string | undefined;
3843
+ postalCode?: string | undefined;
3844
+ geo?: {
3845
+ type: [string, ...string[]];
3846
+ latitude: number;
3847
+ longitude: number;
3848
+ } | undefined;
3849
+ type: [string, ...string[]];
3850
+ } | undefined;
3851
+ otherIdentifier?: {
3852
+ type: [string, ...string[]];
3853
+ identifier: string;
3854
+ identifierType: string;
3855
+ }[] | undefined;
3856
+ official?: string | undefined;
3857
+ parentOrg?: any;
3858
+ familyName?: string | undefined;
3859
+ givenName?: string | undefined;
3860
+ additionalName?: string | undefined;
3861
+ patronymicName?: string | undefined;
3862
+ honorificPrefix?: string | undefined;
3863
+ honorificSuffix?: string | undefined;
3864
+ familyNamePrefix?: string | undefined;
3865
+ dateOfBirth?: string | undefined;
3866
+ };
3867
+ issuanceDate: string;
3868
+ credentialSubject: {
3869
+ [x: string]: any;
3870
+ id?: string | undefined;
3871
+ } | {
3872
+ [x: string]: any;
3873
+ id?: string | undefined;
3874
+ }[];
3875
+ proof: {
3876
+ [x: string]: any;
3877
+ challenge?: string | undefined;
3878
+ domain?: string | undefined;
3879
+ nonce?: string | undefined;
3880
+ jws?: string | undefined;
3881
+ type: string;
3882
+ created: string;
3883
+ proofPurpose: string;
3884
+ verificationMethod: string;
3885
+ } | {
3886
+ [x: string]: any;
3887
+ challenge?: string | undefined;
3888
+ domain?: string | undefined;
3889
+ nonce?: string | undefined;
3890
+ jws?: string | undefined;
3891
+ type: string;
3892
+ created: string;
3893
+ proofPurpose: string;
3894
+ verificationMethod: string;
3895
+ }[];
3896
+ }[];
3897
+ }, {
3898
+ [x: string]: any;
3899
+ id?: string | undefined;
3900
+ holder?: string | undefined;
3901
+ type: [string, ...string[]];
3902
+ '@context': string[];
3903
+ proof: {
3904
+ [x: string]: any;
3905
+ challenge?: string | undefined;
3906
+ domain?: string | undefined;
3907
+ nonce?: string | undefined;
3908
+ jws?: string | undefined;
3909
+ type: string;
3910
+ created: string;
3911
+ proofPurpose: string;
3912
+ verificationMethod: string;
3913
+ } | {
3914
+ [x: string]: any;
3915
+ challenge?: string | undefined;
3916
+ domain?: string | undefined;
3917
+ nonce?: string | undefined;
3918
+ jws?: string | undefined;
3919
+ type: string;
3920
+ created: string;
3921
+ proofPurpose: string;
3922
+ verificationMethod: string;
3923
+ }[];
3924
+ verifiableCredential: {
3925
+ [x: string]: any;
3926
+ id?: string | undefined;
3927
+ expirationDate?: string | undefined;
3928
+ credentialStatus?: {
3929
+ type: string;
3930
+ id: string;
3931
+ } | undefined;
3932
+ credentialSchema?: {
3933
+ type: string;
3934
+ id: string;
3935
+ }[] | undefined;
3936
+ refreshService?: {
3937
+ [x: string]: any;
3938
+ type: string;
3939
+ id: string;
3940
+ } | undefined;
3941
+ type: [string, ...string[]];
3942
+ '@context': string[];
3943
+ issuer: string | {
3944
+ [x: string]: any;
3945
+ type?: [string, ...string[]] | undefined;
3946
+ id?: string | undefined;
3947
+ name?: string | undefined;
3948
+ url?: string | undefined;
3949
+ phone?: string | undefined;
3950
+ description?: string | undefined;
3951
+ endorsement?: any[] | undefined;
3952
+ image?: string | {
3953
+ caption?: string | undefined;
3954
+ type: string;
3955
+ id: string;
3956
+ } | undefined;
3957
+ email?: string | undefined;
3958
+ address?: {
3959
+ addressCountry?: string | undefined;
3960
+ addressCountryCode?: string | undefined;
3961
+ addressRegion?: string | undefined;
3962
+ addressLocality?: string | undefined;
3963
+ streetAddress?: string | undefined;
3964
+ postOfficeBoxNumber?: string | undefined;
3965
+ postalCode?: string | undefined;
3966
+ geo?: {
3967
+ type: [string, ...string[]];
3968
+ latitude: number;
3969
+ longitude: number;
3970
+ } | undefined;
3971
+ type: [string, ...string[]];
3972
+ } | undefined;
3973
+ otherIdentifier?: {
3974
+ type: [string, ...string[]];
3975
+ identifier: string;
3976
+ identifierType: string;
3977
+ }[] | undefined;
3978
+ official?: string | undefined;
3979
+ parentOrg?: any;
3980
+ familyName?: string | undefined;
3981
+ givenName?: string | undefined;
3982
+ additionalName?: string | undefined;
3983
+ patronymicName?: string | undefined;
3984
+ honorificPrefix?: string | undefined;
3985
+ honorificSuffix?: string | undefined;
3986
+ familyNamePrefix?: string | undefined;
3987
+ dateOfBirth?: string | undefined;
3988
+ };
3989
+ issuanceDate: string;
3990
+ credentialSubject: {
3991
+ [x: string]: any;
3992
+ id?: string | undefined;
3993
+ } | {
3994
+ [x: string]: any;
3995
+ id?: string | undefined;
3996
+ }[];
3997
+ proof: {
3998
+ [x: string]: any;
3999
+ challenge?: string | undefined;
4000
+ domain?: string | undefined;
4001
+ nonce?: string | undefined;
4002
+ jws?: string | undefined;
4003
+ type: string;
4004
+ created: string;
4005
+ proofPurpose: string;
4006
+ verificationMethod: string;
4007
+ } | {
4008
+ [x: string]: any;
4009
+ challenge?: string | undefined;
4010
+ domain?: string | undefined;
4011
+ nonce?: string | undefined;
4012
+ jws?: string | undefined;
4013
+ type: string;
4014
+ created: string;
4015
+ proofPurpose: string;
4016
+ verificationMethod: string;
4017
+ }[];
4018
+ } | {
4019
+ [x: string]: any;
4020
+ id?: string | undefined;
4021
+ expirationDate?: string | undefined;
4022
+ credentialStatus?: {
4023
+ type: string;
4024
+ id: string;
4025
+ } | undefined;
4026
+ credentialSchema?: {
4027
+ type: string;
4028
+ id: string;
4029
+ }[] | undefined;
4030
+ refreshService?: {
4031
+ [x: string]: any;
4032
+ type: string;
4033
+ id: string;
4034
+ } | undefined;
4035
+ type: [string, ...string[]];
4036
+ '@context': string[];
4037
+ issuer: string | {
4038
+ [x: string]: any;
4039
+ type?: [string, ...string[]] | undefined;
4040
+ id?: string | undefined;
4041
+ name?: string | undefined;
4042
+ url?: string | undefined;
4043
+ phone?: string | undefined;
4044
+ description?: string | undefined;
4045
+ endorsement?: any[] | undefined;
4046
+ image?: string | {
4047
+ caption?: string | undefined;
4048
+ type: string;
4049
+ id: string;
4050
+ } | undefined;
4051
+ email?: string | undefined;
4052
+ address?: {
4053
+ addressCountry?: string | undefined;
4054
+ addressCountryCode?: string | undefined;
4055
+ addressRegion?: string | undefined;
4056
+ addressLocality?: string | undefined;
4057
+ streetAddress?: string | undefined;
4058
+ postOfficeBoxNumber?: string | undefined;
4059
+ postalCode?: string | undefined;
4060
+ geo?: {
4061
+ type: [string, ...string[]];
4062
+ latitude: number;
4063
+ longitude: number;
4064
+ } | undefined;
4065
+ type: [string, ...string[]];
4066
+ } | undefined;
4067
+ otherIdentifier?: {
4068
+ type: [string, ...string[]];
4069
+ identifier: string;
4070
+ identifierType: string;
4071
+ }[] | undefined;
4072
+ official?: string | undefined;
4073
+ parentOrg?: any;
4074
+ familyName?: string | undefined;
4075
+ givenName?: string | undefined;
4076
+ additionalName?: string | undefined;
4077
+ patronymicName?: string | undefined;
4078
+ honorificPrefix?: string | undefined;
4079
+ honorificSuffix?: string | undefined;
4080
+ familyNamePrefix?: string | undefined;
4081
+ dateOfBirth?: string | undefined;
4082
+ };
4083
+ issuanceDate: string;
4084
+ credentialSubject: {
4085
+ [x: string]: any;
4086
+ id?: string | undefined;
4087
+ } | {
4088
+ [x: string]: any;
4089
+ id?: string | undefined;
4090
+ }[];
4091
+ proof: {
4092
+ [x: string]: any;
4093
+ challenge?: string | undefined;
4094
+ domain?: string | undefined;
4095
+ nonce?: string | undefined;
4096
+ jws?: string | undefined;
4097
+ type: string;
4098
+ created: string;
4099
+ proofPurpose: string;
4100
+ verificationMethod: string;
4101
+ } | {
4102
+ [x: string]: any;
4103
+ challenge?: string | undefined;
4104
+ domain?: string | undefined;
4105
+ nonce?: string | undefined;
4106
+ jws?: string | undefined;
4107
+ type: string;
4108
+ created: string;
4109
+ proofPurpose: string;
4110
+ verificationMethod: string;
4111
+ }[];
4112
+ }[];
4113
+ }>;
4114
+ export declare type VP = z.infer<typeof VPValidator>;