@learncard/types 5.2.7 → 5.2.8

Sign up to get free protection for your applications and to get access to all the features.
package/dist/vc.d.ts DELETED
@@ -1,4108 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const ContextValidator: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
3
- export 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 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 type Image = z.infer<typeof ImageValidator>;
29
- export declare const GeoCoordinatesValidator: z.ZodObject<{
30
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
31
- latitude: z.ZodNumber;
32
- longitude: z.ZodNumber;
33
- }, "strip", z.ZodTypeAny, {
34
- type: string | [string, ...string[]];
35
- latitude: number;
36
- longitude: number;
37
- }, {
38
- type: string | [string, ...string[]];
39
- latitude: number;
40
- longitude: number;
41
- }>;
42
- export type GeoCoordinates = z.infer<typeof GeoCoordinatesValidator>;
43
- export declare const AddressValidator: z.ZodObject<{
44
- type: z.ZodUnion<[z.ZodString, 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.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
54
- latitude: z.ZodNumber;
55
- longitude: z.ZodNumber;
56
- }, "strip", z.ZodTypeAny, {
57
- type: string | [string, ...string[]];
58
- latitude: number;
59
- longitude: number;
60
- }, {
61
- type: string | [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, ...string[]];
75
- latitude: number;
76
- longitude: number;
77
- } | undefined;
78
- type: string | [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, ...string[]];
89
- latitude: number;
90
- longitude: number;
91
- } | undefined;
92
- type: string | [string, ...string[]];
93
- }>;
94
- export 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 type IdentifierType = z.infer<typeof IdentifierTypeValidator>;
97
- export declare const IdentifierEntryValidator: z.ZodObject<{
98
- type: z.ZodUnion<[z.ZodString, 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, ...string[]];
103
- identifier: string;
104
- identifierType: string;
105
- }, {
106
- type: string | [string, ...string[]];
107
- identifier: string;
108
- identifierType: string;
109
- }>;
110
- export 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.ZodUnion<[z.ZodString, 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.ZodUnion<[z.ZodString, 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.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
144
- latitude: z.ZodNumber;
145
- longitude: z.ZodNumber;
146
- }, "strip", z.ZodTypeAny, {
147
- type: string | [string, ...string[]];
148
- latitude: number;
149
- longitude: number;
150
- }, {
151
- type: string | [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, ...string[]];
165
- latitude: number;
166
- longitude: number;
167
- } | undefined;
168
- type: string | [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, ...string[]];
179
- latitude: number;
180
- longitude: number;
181
- } | undefined;
182
- type: string | [string, ...string[]];
183
- }>>;
184
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
185
- type: z.ZodUnion<[z.ZodString, 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, ...string[]];
190
- identifier: string;
191
- identifierType: string;
192
- }, {
193
- type: string | [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, ...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, ...string[]];
232
- latitude: number;
233
- longitude: number;
234
- } | undefined;
235
- type: string | [string, ...string[]];
236
- } | undefined;
237
- otherIdentifier?: {
238
- type: string | [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, ...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, ...string[]];
277
- latitude: number;
278
- longitude: number;
279
- } | undefined;
280
- type: string | [string, ...string[]];
281
- } | undefined;
282
- otherIdentifier?: {
283
- type: string | [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 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 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 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 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 type RefreshService = z.infer<typeof RefreshServiceValidator>;
344
- export declare const UnsignedVCValidator: z.ZodObject<{
345
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "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.ZodUnion<[z.ZodString, 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.ZodUnion<[z.ZodString, 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.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
381
- latitude: z.ZodNumber;
382
- longitude: z.ZodNumber;
383
- }, "strip", z.ZodTypeAny, {
384
- type: string | [string, ...string[]];
385
- latitude: number;
386
- longitude: number;
387
- }, {
388
- type: string | [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, ...string[]];
402
- latitude: number;
403
- longitude: number;
404
- } | undefined;
405
- type: string | [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, ...string[]];
416
- latitude: number;
417
- longitude: number;
418
- } | undefined;
419
- type: string | [string, ...string[]];
420
- }>>;
421
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
422
- type: z.ZodUnion<[z.ZodString, 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, ...string[]];
427
- identifier: string;
428
- identifierType: string;
429
- }, {
430
- type: string | [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, ...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, ...string[]];
469
- latitude: number;
470
- longitude: number;
471
- } | undefined;
472
- type: string | [string, ...string[]];
473
- } | undefined;
474
- otherIdentifier?: {
475
- type: string | [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, ...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, ...string[]];
514
- latitude: number;
515
- longitude: number;
516
- } | undefined;
517
- type: string | [string, ...string[]];
518
- } | undefined;
519
- otherIdentifier?: {
520
- type: string | [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 | Record<string, any>)[];
605
- issuer: string | {
606
- [x: string]: any;
607
- type?: string | [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, ...string[]];
630
- latitude: number;
631
- longitude: number;
632
- } | undefined;
633
- type: string | [string, ...string[]];
634
- } | undefined;
635
- otherIdentifier?: {
636
- type: string | [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 | Record<string, any>)[];
678
- issuer: string | {
679
- [x: string]: any;
680
- type?: string | [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, ...string[]];
703
- latitude: number;
704
- longitude: number;
705
- } | undefined;
706
- type: string | [string, ...string[]];
707
- } | undefined;
708
- otherIdentifier?: {
709
- type: string | [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 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 type Proof = z.infer<typeof ProofValidator>;
765
- export declare const VCValidator: z.ZodObject<{
766
- type: z.ZodArray<z.ZodString, "atleastone">;
767
- id: z.ZodOptional<z.ZodString>;
768
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
769
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
770
- id: z.ZodOptional<z.ZodString>;
771
- type: z.ZodUnion<[z.ZodString, 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.ZodUnion<[z.ZodString, 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.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
802
- latitude: z.ZodNumber;
803
- longitude: z.ZodNumber;
804
- }, "strip", z.ZodTypeAny, {
805
- type: string | [string, ...string[]];
806
- latitude: number;
807
- longitude: number;
808
- }, {
809
- type: string | [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, ...string[]];
823
- latitude: number;
824
- longitude: number;
825
- } | undefined;
826
- type: string | [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, ...string[]];
837
- latitude: number;
838
- longitude: number;
839
- } | undefined;
840
- type: string | [string, ...string[]];
841
- }>>;
842
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
843
- type: z.ZodUnion<[z.ZodString, 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, ...string[]];
848
- identifier: string;
849
- identifierType: string;
850
- }, {
851
- type: string | [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, ...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, ...string[]];
890
- latitude: number;
891
- longitude: number;
892
- } | undefined;
893
- type: string | [string, ...string[]];
894
- } | undefined;
895
- otherIdentifier?: {
896
- type: string | [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, ...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, ...string[]];
935
- latitude: number;
936
- longitude: number;
937
- } | undefined;
938
- type: string | [string, ...string[]];
939
- } | undefined;
940
- otherIdentifier?: {
941
- type: string | [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
- proof: z.ZodUnion<[z.ZodObject<{
1008
- type: z.ZodString;
1009
- created: z.ZodString;
1010
- challenge: z.ZodOptional<z.ZodString>;
1011
- domain: z.ZodOptional<z.ZodString>;
1012
- nonce: z.ZodOptional<z.ZodString>;
1013
- proofPurpose: z.ZodString;
1014
- verificationMethod: z.ZodString;
1015
- jws: z.ZodOptional<z.ZodString>;
1016
- }, "strip", z.ZodAny, {
1017
- [x: string]: any;
1018
- challenge?: string | undefined;
1019
- domain?: string | undefined;
1020
- nonce?: string | undefined;
1021
- jws?: string | undefined;
1022
- type: string;
1023
- created: string;
1024
- proofPurpose: string;
1025
- verificationMethod: string;
1026
- }, {
1027
- [x: string]: any;
1028
- challenge?: string | undefined;
1029
- domain?: string | undefined;
1030
- nonce?: string | undefined;
1031
- jws?: string | undefined;
1032
- type: string;
1033
- created: string;
1034
- proofPurpose: string;
1035
- verificationMethod: string;
1036
- }>, z.ZodArray<z.ZodObject<{
1037
- type: z.ZodString;
1038
- created: z.ZodString;
1039
- challenge: z.ZodOptional<z.ZodString>;
1040
- domain: z.ZodOptional<z.ZodString>;
1041
- nonce: z.ZodOptional<z.ZodString>;
1042
- proofPurpose: z.ZodString;
1043
- verificationMethod: z.ZodString;
1044
- jws: z.ZodOptional<z.ZodString>;
1045
- }, "strip", z.ZodAny, {
1046
- [x: string]: any;
1047
- challenge?: string | undefined;
1048
- domain?: string | undefined;
1049
- nonce?: string | undefined;
1050
- jws?: string | undefined;
1051
- type: string;
1052
- created: string;
1053
- proofPurpose: string;
1054
- verificationMethod: string;
1055
- }, {
1056
- [x: string]: any;
1057
- challenge?: string | undefined;
1058
- domain?: string | undefined;
1059
- nonce?: string | undefined;
1060
- jws?: string | undefined;
1061
- type: string;
1062
- created: string;
1063
- proofPurpose: string;
1064
- verificationMethod: string;
1065
- }>, "many">]>;
1066
- }, "strip", z.ZodAny, {
1067
- [x: string]: any;
1068
- id?: string | undefined;
1069
- expirationDate?: string | undefined;
1070
- credentialStatus?: {
1071
- type: string;
1072
- id: string;
1073
- } | undefined;
1074
- credentialSchema?: {
1075
- type: string;
1076
- id: string;
1077
- }[] | undefined;
1078
- refreshService?: {
1079
- [x: string]: any;
1080
- type: string;
1081
- id: string;
1082
- } | undefined;
1083
- type: [string, ...string[]];
1084
- '@context': (string | Record<string, any>)[];
1085
- issuer: string | {
1086
- [x: string]: any;
1087
- type?: string | [string, ...string[]] | undefined;
1088
- id?: string | undefined;
1089
- name?: string | undefined;
1090
- url?: string | undefined;
1091
- phone?: string | undefined;
1092
- description?: string | undefined;
1093
- endorsement?: any[] | undefined;
1094
- image?: string | {
1095
- caption?: string | undefined;
1096
- type: string;
1097
- id: string;
1098
- } | undefined;
1099
- email?: string | undefined;
1100
- address?: {
1101
- addressCountry?: string | undefined;
1102
- addressCountryCode?: string | undefined;
1103
- addressRegion?: string | undefined;
1104
- addressLocality?: string | undefined;
1105
- streetAddress?: string | undefined;
1106
- postOfficeBoxNumber?: string | undefined;
1107
- postalCode?: string | undefined;
1108
- geo?: {
1109
- type: string | [string, ...string[]];
1110
- latitude: number;
1111
- longitude: number;
1112
- } | undefined;
1113
- type: string | [string, ...string[]];
1114
- } | undefined;
1115
- otherIdentifier?: {
1116
- type: string | [string, ...string[]];
1117
- identifier: string;
1118
- identifierType: string;
1119
- }[] | undefined;
1120
- official?: string | undefined;
1121
- parentOrg?: any;
1122
- familyName?: string | undefined;
1123
- givenName?: string | undefined;
1124
- additionalName?: string | undefined;
1125
- patronymicName?: string | undefined;
1126
- honorificPrefix?: string | undefined;
1127
- honorificSuffix?: string | undefined;
1128
- familyNamePrefix?: string | undefined;
1129
- dateOfBirth?: string | undefined;
1130
- };
1131
- issuanceDate: string;
1132
- credentialSubject: {
1133
- [x: string]: any;
1134
- id?: string | undefined;
1135
- } | {
1136
- [x: string]: any;
1137
- id?: string | undefined;
1138
- }[];
1139
- proof: {
1140
- [x: string]: any;
1141
- challenge?: string | undefined;
1142
- domain?: string | undefined;
1143
- nonce?: string | undefined;
1144
- jws?: string | undefined;
1145
- type: string;
1146
- created: string;
1147
- proofPurpose: string;
1148
- verificationMethod: string;
1149
- } | {
1150
- [x: string]: any;
1151
- challenge?: string | undefined;
1152
- domain?: string | undefined;
1153
- nonce?: string | undefined;
1154
- jws?: string | undefined;
1155
- type: string;
1156
- created: string;
1157
- proofPurpose: string;
1158
- verificationMethod: string;
1159
- }[];
1160
- }, {
1161
- [x: string]: any;
1162
- id?: string | undefined;
1163
- expirationDate?: string | undefined;
1164
- credentialStatus?: {
1165
- type: string;
1166
- id: string;
1167
- } | undefined;
1168
- credentialSchema?: {
1169
- type: string;
1170
- id: string;
1171
- }[] | undefined;
1172
- refreshService?: {
1173
- [x: string]: any;
1174
- type: string;
1175
- id: string;
1176
- } | undefined;
1177
- type: [string, ...string[]];
1178
- '@context': (string | Record<string, any>)[];
1179
- issuer: string | {
1180
- [x: string]: any;
1181
- type?: string | [string, ...string[]] | undefined;
1182
- id?: string | undefined;
1183
- name?: string | undefined;
1184
- url?: string | undefined;
1185
- phone?: string | undefined;
1186
- description?: string | undefined;
1187
- endorsement?: any[] | undefined;
1188
- image?: string | {
1189
- caption?: string | undefined;
1190
- type: string;
1191
- id: string;
1192
- } | undefined;
1193
- email?: string | undefined;
1194
- address?: {
1195
- addressCountry?: string | undefined;
1196
- addressCountryCode?: string | undefined;
1197
- addressRegion?: string | undefined;
1198
- addressLocality?: string | undefined;
1199
- streetAddress?: string | undefined;
1200
- postOfficeBoxNumber?: string | undefined;
1201
- postalCode?: string | undefined;
1202
- geo?: {
1203
- type: string | [string, ...string[]];
1204
- latitude: number;
1205
- longitude: number;
1206
- } | undefined;
1207
- type: string | [string, ...string[]];
1208
- } | undefined;
1209
- otherIdentifier?: {
1210
- type: string | [string, ...string[]];
1211
- identifier: string;
1212
- identifierType: string;
1213
- }[] | undefined;
1214
- official?: string | undefined;
1215
- parentOrg?: any;
1216
- familyName?: string | undefined;
1217
- givenName?: string | undefined;
1218
- additionalName?: string | undefined;
1219
- patronymicName?: string | undefined;
1220
- honorificPrefix?: string | undefined;
1221
- honorificSuffix?: string | undefined;
1222
- familyNamePrefix?: string | undefined;
1223
- dateOfBirth?: string | undefined;
1224
- };
1225
- issuanceDate: string;
1226
- credentialSubject: {
1227
- [x: string]: any;
1228
- id?: string | undefined;
1229
- } | {
1230
- [x: string]: any;
1231
- id?: string | undefined;
1232
- }[];
1233
- proof: {
1234
- [x: string]: any;
1235
- challenge?: string | undefined;
1236
- domain?: string | undefined;
1237
- nonce?: string | undefined;
1238
- jws?: string | undefined;
1239
- type: string;
1240
- created: string;
1241
- proofPurpose: string;
1242
- verificationMethod: string;
1243
- } | {
1244
- [x: string]: any;
1245
- challenge?: string | undefined;
1246
- domain?: string | undefined;
1247
- nonce?: string | undefined;
1248
- jws?: string | undefined;
1249
- type: string;
1250
- created: string;
1251
- proofPurpose: string;
1252
- verificationMethod: string;
1253
- }[];
1254
- }>;
1255
- export type VC = z.infer<typeof VCValidator>;
1256
- export declare const UnsignedVPValidator: z.ZodObject<{
1257
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1258
- id: z.ZodOptional<z.ZodString>;
1259
- type: z.ZodArray<z.ZodString, "atleastone">;
1260
- verifiableCredential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1261
- type: z.ZodArray<z.ZodString, "atleastone">;
1262
- id: z.ZodOptional<z.ZodString>;
1263
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1264
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1265
- id: z.ZodOptional<z.ZodString>;
1266
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
1267
- name: z.ZodOptional<z.ZodString>;
1268
- url: z.ZodOptional<z.ZodString>;
1269
- phone: z.ZodOptional<z.ZodString>;
1270
- description: z.ZodOptional<z.ZodString>;
1271
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1272
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1273
- id: z.ZodString;
1274
- type: z.ZodString;
1275
- caption: z.ZodOptional<z.ZodString>;
1276
- }, "strip", z.ZodTypeAny, {
1277
- caption?: string | undefined;
1278
- type: string;
1279
- id: string;
1280
- }, {
1281
- caption?: string | undefined;
1282
- type: string;
1283
- id: string;
1284
- }>]>>;
1285
- email: z.ZodOptional<z.ZodString>;
1286
- address: z.ZodOptional<z.ZodObject<{
1287
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1288
- addressCountry: z.ZodOptional<z.ZodString>;
1289
- addressCountryCode: z.ZodOptional<z.ZodString>;
1290
- addressRegion: z.ZodOptional<z.ZodString>;
1291
- addressLocality: z.ZodOptional<z.ZodString>;
1292
- streetAddress: z.ZodOptional<z.ZodString>;
1293
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1294
- postalCode: z.ZodOptional<z.ZodString>;
1295
- geo: z.ZodOptional<z.ZodObject<{
1296
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1297
- latitude: z.ZodNumber;
1298
- longitude: z.ZodNumber;
1299
- }, "strip", z.ZodTypeAny, {
1300
- type: string | [string, ...string[]];
1301
- latitude: number;
1302
- longitude: number;
1303
- }, {
1304
- type: string | [string, ...string[]];
1305
- latitude: number;
1306
- longitude: number;
1307
- }>>;
1308
- }, "strip", z.ZodTypeAny, {
1309
- addressCountry?: string | undefined;
1310
- addressCountryCode?: string | undefined;
1311
- addressRegion?: string | undefined;
1312
- addressLocality?: string | undefined;
1313
- streetAddress?: string | undefined;
1314
- postOfficeBoxNumber?: string | undefined;
1315
- postalCode?: string | undefined;
1316
- geo?: {
1317
- type: string | [string, ...string[]];
1318
- latitude: number;
1319
- longitude: number;
1320
- } | undefined;
1321
- type: string | [string, ...string[]];
1322
- }, {
1323
- addressCountry?: string | undefined;
1324
- addressCountryCode?: string | undefined;
1325
- addressRegion?: string | undefined;
1326
- addressLocality?: string | undefined;
1327
- streetAddress?: string | undefined;
1328
- postOfficeBoxNumber?: string | undefined;
1329
- postalCode?: string | undefined;
1330
- geo?: {
1331
- type: string | [string, ...string[]];
1332
- latitude: number;
1333
- longitude: number;
1334
- } | undefined;
1335
- type: string | [string, ...string[]];
1336
- }>>;
1337
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1338
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1339
- identifier: z.ZodString;
1340
- 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]>;
1341
- }, "strip", z.ZodTypeAny, {
1342
- type: string | [string, ...string[]];
1343
- identifier: string;
1344
- identifierType: string;
1345
- }, {
1346
- type: string | [string, ...string[]];
1347
- identifier: string;
1348
- identifierType: string;
1349
- }>, "many">>;
1350
- official: z.ZodOptional<z.ZodString>;
1351
- parentOrg: z.ZodOptional<z.ZodAny>;
1352
- familyName: z.ZodOptional<z.ZodString>;
1353
- givenName: z.ZodOptional<z.ZodString>;
1354
- additionalName: z.ZodOptional<z.ZodString>;
1355
- patronymicName: z.ZodOptional<z.ZodString>;
1356
- honorificPrefix: z.ZodOptional<z.ZodString>;
1357
- honorificSuffix: z.ZodOptional<z.ZodString>;
1358
- familyNamePrefix: z.ZodOptional<z.ZodString>;
1359
- dateOfBirth: z.ZodOptional<z.ZodString>;
1360
- }, "strip", z.ZodAny, {
1361
- [x: string]: any;
1362
- type?: string | [string, ...string[]] | undefined;
1363
- id?: string | undefined;
1364
- name?: string | undefined;
1365
- url?: string | undefined;
1366
- phone?: string | undefined;
1367
- description?: string | undefined;
1368
- endorsement?: any[] | undefined;
1369
- image?: string | {
1370
- caption?: string | undefined;
1371
- type: string;
1372
- id: string;
1373
- } | undefined;
1374
- email?: string | undefined;
1375
- address?: {
1376
- addressCountry?: string | undefined;
1377
- addressCountryCode?: string | undefined;
1378
- addressRegion?: string | undefined;
1379
- addressLocality?: string | undefined;
1380
- streetAddress?: string | undefined;
1381
- postOfficeBoxNumber?: string | undefined;
1382
- postalCode?: string | undefined;
1383
- geo?: {
1384
- type: string | [string, ...string[]];
1385
- latitude: number;
1386
- longitude: number;
1387
- } | undefined;
1388
- type: string | [string, ...string[]];
1389
- } | undefined;
1390
- otherIdentifier?: {
1391
- type: string | [string, ...string[]];
1392
- identifier: string;
1393
- identifierType: string;
1394
- }[] | undefined;
1395
- official?: string | undefined;
1396
- parentOrg?: any;
1397
- familyName?: string | undefined;
1398
- givenName?: string | undefined;
1399
- additionalName?: string | undefined;
1400
- patronymicName?: string | undefined;
1401
- honorificPrefix?: string | undefined;
1402
- honorificSuffix?: string | undefined;
1403
- familyNamePrefix?: string | undefined;
1404
- dateOfBirth?: string | undefined;
1405
- }, {
1406
- [x: string]: any;
1407
- type?: string | [string, ...string[]] | undefined;
1408
- id?: string | undefined;
1409
- name?: string | undefined;
1410
- url?: string | undefined;
1411
- phone?: string | undefined;
1412
- description?: string | undefined;
1413
- endorsement?: any[] | undefined;
1414
- image?: string | {
1415
- caption?: string | undefined;
1416
- type: string;
1417
- id: string;
1418
- } | undefined;
1419
- email?: string | undefined;
1420
- address?: {
1421
- addressCountry?: string | undefined;
1422
- addressCountryCode?: string | undefined;
1423
- addressRegion?: string | undefined;
1424
- addressLocality?: string | undefined;
1425
- streetAddress?: string | undefined;
1426
- postOfficeBoxNumber?: string | undefined;
1427
- postalCode?: string | undefined;
1428
- geo?: {
1429
- type: string | [string, ...string[]];
1430
- latitude: number;
1431
- longitude: number;
1432
- } | undefined;
1433
- type: string | [string, ...string[]];
1434
- } | undefined;
1435
- otherIdentifier?: {
1436
- type: string | [string, ...string[]];
1437
- identifier: string;
1438
- identifierType: string;
1439
- }[] | undefined;
1440
- official?: string | undefined;
1441
- parentOrg?: any;
1442
- familyName?: string | undefined;
1443
- givenName?: string | undefined;
1444
- additionalName?: string | undefined;
1445
- patronymicName?: string | undefined;
1446
- honorificPrefix?: string | undefined;
1447
- honorificSuffix?: string | undefined;
1448
- familyNamePrefix?: string | undefined;
1449
- dateOfBirth?: string | undefined;
1450
- }>]>;
1451
- issuanceDate: z.ZodString;
1452
- expirationDate: z.ZodOptional<z.ZodString>;
1453
- credentialSubject: z.ZodUnion<[z.ZodObject<{
1454
- id: z.ZodOptional<z.ZodString>;
1455
- }, "strip", z.ZodAny, {
1456
- [x: string]: any;
1457
- id?: string | undefined;
1458
- }, {
1459
- [x: string]: any;
1460
- id?: string | undefined;
1461
- }>, z.ZodArray<z.ZodObject<{
1462
- id: z.ZodOptional<z.ZodString>;
1463
- }, "strip", z.ZodAny, {
1464
- [x: string]: any;
1465
- id?: string | undefined;
1466
- }, {
1467
- [x: string]: any;
1468
- id?: string | undefined;
1469
- }>, "many">]>;
1470
- credentialStatus: z.ZodOptional<z.ZodObject<{
1471
- type: z.ZodString;
1472
- id: z.ZodString;
1473
- }, "strip", z.ZodTypeAny, {
1474
- type: string;
1475
- id: string;
1476
- }, {
1477
- type: string;
1478
- id: string;
1479
- }>>;
1480
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
1481
- id: z.ZodString;
1482
- type: z.ZodString;
1483
- }, "strip", z.ZodTypeAny, {
1484
- type: string;
1485
- id: string;
1486
- }, {
1487
- type: string;
1488
- id: string;
1489
- }>, "many">>;
1490
- refreshService: z.ZodOptional<z.ZodObject<{
1491
- id: z.ZodString;
1492
- type: z.ZodString;
1493
- }, "strip", z.ZodAny, {
1494
- [x: string]: any;
1495
- type: string;
1496
- id: string;
1497
- }, {
1498
- [x: string]: any;
1499
- type: string;
1500
- id: string;
1501
- }>>;
1502
- proof: z.ZodUnion<[z.ZodObject<{
1503
- type: z.ZodString;
1504
- created: z.ZodString;
1505
- challenge: z.ZodOptional<z.ZodString>;
1506
- domain: z.ZodOptional<z.ZodString>;
1507
- nonce: z.ZodOptional<z.ZodString>;
1508
- proofPurpose: z.ZodString;
1509
- verificationMethod: z.ZodString;
1510
- jws: z.ZodOptional<z.ZodString>;
1511
- }, "strip", z.ZodAny, {
1512
- [x: string]: any;
1513
- challenge?: string | undefined;
1514
- domain?: string | undefined;
1515
- nonce?: string | undefined;
1516
- jws?: string | undefined;
1517
- type: string;
1518
- created: string;
1519
- proofPurpose: string;
1520
- verificationMethod: string;
1521
- }, {
1522
- [x: string]: any;
1523
- challenge?: string | undefined;
1524
- domain?: string | undefined;
1525
- nonce?: string | undefined;
1526
- jws?: string | undefined;
1527
- type: string;
1528
- created: string;
1529
- proofPurpose: string;
1530
- verificationMethod: string;
1531
- }>, z.ZodArray<z.ZodObject<{
1532
- type: z.ZodString;
1533
- created: z.ZodString;
1534
- challenge: z.ZodOptional<z.ZodString>;
1535
- domain: z.ZodOptional<z.ZodString>;
1536
- nonce: z.ZodOptional<z.ZodString>;
1537
- proofPurpose: z.ZodString;
1538
- verificationMethod: z.ZodString;
1539
- jws: z.ZodOptional<z.ZodString>;
1540
- }, "strip", z.ZodAny, {
1541
- [x: string]: any;
1542
- challenge?: string | undefined;
1543
- domain?: string | undefined;
1544
- nonce?: string | undefined;
1545
- jws?: string | undefined;
1546
- type: string;
1547
- created: string;
1548
- proofPurpose: string;
1549
- verificationMethod: string;
1550
- }, {
1551
- [x: string]: any;
1552
- challenge?: string | undefined;
1553
- domain?: string | undefined;
1554
- nonce?: string | undefined;
1555
- jws?: string | undefined;
1556
- type: string;
1557
- created: string;
1558
- proofPurpose: string;
1559
- verificationMethod: string;
1560
- }>, "many">]>;
1561
- }, "strip", z.ZodAny, {
1562
- [x: string]: any;
1563
- id?: string | undefined;
1564
- expirationDate?: string | undefined;
1565
- credentialStatus?: {
1566
- type: string;
1567
- id: string;
1568
- } | undefined;
1569
- credentialSchema?: {
1570
- type: string;
1571
- id: string;
1572
- }[] | undefined;
1573
- refreshService?: {
1574
- [x: string]: any;
1575
- type: string;
1576
- id: string;
1577
- } | undefined;
1578
- type: [string, ...string[]];
1579
- '@context': (string | Record<string, any>)[];
1580
- issuer: string | {
1581
- [x: string]: any;
1582
- type?: string | [string, ...string[]] | undefined;
1583
- id?: string | undefined;
1584
- name?: string | undefined;
1585
- url?: string | undefined;
1586
- phone?: string | undefined;
1587
- description?: string | undefined;
1588
- endorsement?: any[] | undefined;
1589
- image?: string | {
1590
- caption?: string | undefined;
1591
- type: string;
1592
- id: string;
1593
- } | undefined;
1594
- email?: string | undefined;
1595
- address?: {
1596
- addressCountry?: string | undefined;
1597
- addressCountryCode?: string | undefined;
1598
- addressRegion?: string | undefined;
1599
- addressLocality?: string | undefined;
1600
- streetAddress?: string | undefined;
1601
- postOfficeBoxNumber?: string | undefined;
1602
- postalCode?: string | undefined;
1603
- geo?: {
1604
- type: string | [string, ...string[]];
1605
- latitude: number;
1606
- longitude: number;
1607
- } | undefined;
1608
- type: string | [string, ...string[]];
1609
- } | undefined;
1610
- otherIdentifier?: {
1611
- type: string | [string, ...string[]];
1612
- identifier: string;
1613
- identifierType: string;
1614
- }[] | undefined;
1615
- official?: string | undefined;
1616
- parentOrg?: any;
1617
- familyName?: string | undefined;
1618
- givenName?: string | undefined;
1619
- additionalName?: string | undefined;
1620
- patronymicName?: string | undefined;
1621
- honorificPrefix?: string | undefined;
1622
- honorificSuffix?: string | undefined;
1623
- familyNamePrefix?: string | undefined;
1624
- dateOfBirth?: string | undefined;
1625
- };
1626
- issuanceDate: string;
1627
- credentialSubject: {
1628
- [x: string]: any;
1629
- id?: string | undefined;
1630
- } | {
1631
- [x: string]: any;
1632
- id?: string | undefined;
1633
- }[];
1634
- proof: {
1635
- [x: string]: any;
1636
- challenge?: string | undefined;
1637
- domain?: string | undefined;
1638
- nonce?: string | undefined;
1639
- jws?: string | undefined;
1640
- type: string;
1641
- created: string;
1642
- proofPurpose: string;
1643
- verificationMethod: string;
1644
- } | {
1645
- [x: string]: any;
1646
- challenge?: string | undefined;
1647
- domain?: string | undefined;
1648
- nonce?: string | undefined;
1649
- jws?: string | undefined;
1650
- type: string;
1651
- created: string;
1652
- proofPurpose: string;
1653
- verificationMethod: string;
1654
- }[];
1655
- }, {
1656
- [x: string]: any;
1657
- id?: string | undefined;
1658
- expirationDate?: string | undefined;
1659
- credentialStatus?: {
1660
- type: string;
1661
- id: string;
1662
- } | undefined;
1663
- credentialSchema?: {
1664
- type: string;
1665
- id: string;
1666
- }[] | undefined;
1667
- refreshService?: {
1668
- [x: string]: any;
1669
- type: string;
1670
- id: string;
1671
- } | undefined;
1672
- type: [string, ...string[]];
1673
- '@context': (string | Record<string, any>)[];
1674
- issuer: string | {
1675
- [x: string]: any;
1676
- type?: string | [string, ...string[]] | undefined;
1677
- id?: string | undefined;
1678
- name?: string | undefined;
1679
- url?: string | undefined;
1680
- phone?: string | undefined;
1681
- description?: string | undefined;
1682
- endorsement?: any[] | undefined;
1683
- image?: string | {
1684
- caption?: string | undefined;
1685
- type: string;
1686
- id: string;
1687
- } | undefined;
1688
- email?: string | undefined;
1689
- address?: {
1690
- addressCountry?: string | undefined;
1691
- addressCountryCode?: string | undefined;
1692
- addressRegion?: string | undefined;
1693
- addressLocality?: string | undefined;
1694
- streetAddress?: string | undefined;
1695
- postOfficeBoxNumber?: string | undefined;
1696
- postalCode?: string | undefined;
1697
- geo?: {
1698
- type: string | [string, ...string[]];
1699
- latitude: number;
1700
- longitude: number;
1701
- } | undefined;
1702
- type: string | [string, ...string[]];
1703
- } | undefined;
1704
- otherIdentifier?: {
1705
- type: string | [string, ...string[]];
1706
- identifier: string;
1707
- identifierType: string;
1708
- }[] | undefined;
1709
- official?: string | undefined;
1710
- parentOrg?: any;
1711
- familyName?: string | undefined;
1712
- givenName?: string | undefined;
1713
- additionalName?: string | undefined;
1714
- patronymicName?: string | undefined;
1715
- honorificPrefix?: string | undefined;
1716
- honorificSuffix?: string | undefined;
1717
- familyNamePrefix?: string | undefined;
1718
- dateOfBirth?: string | undefined;
1719
- };
1720
- issuanceDate: string;
1721
- credentialSubject: {
1722
- [x: string]: any;
1723
- id?: string | undefined;
1724
- } | {
1725
- [x: string]: any;
1726
- id?: string | undefined;
1727
- }[];
1728
- proof: {
1729
- [x: string]: any;
1730
- challenge?: string | undefined;
1731
- domain?: string | undefined;
1732
- nonce?: string | undefined;
1733
- jws?: string | undefined;
1734
- type: string;
1735
- created: string;
1736
- proofPurpose: string;
1737
- verificationMethod: string;
1738
- } | {
1739
- [x: string]: any;
1740
- challenge?: string | undefined;
1741
- domain?: string | undefined;
1742
- nonce?: string | undefined;
1743
- jws?: string | undefined;
1744
- type: string;
1745
- created: string;
1746
- proofPurpose: string;
1747
- verificationMethod: string;
1748
- }[];
1749
- }>, z.ZodArray<z.ZodObject<{
1750
- type: z.ZodArray<z.ZodString, "atleastone">;
1751
- id: z.ZodOptional<z.ZodString>;
1752
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1753
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1754
- id: z.ZodOptional<z.ZodString>;
1755
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
1756
- name: z.ZodOptional<z.ZodString>;
1757
- url: z.ZodOptional<z.ZodString>;
1758
- phone: z.ZodOptional<z.ZodString>;
1759
- description: z.ZodOptional<z.ZodString>;
1760
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1761
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1762
- id: z.ZodString;
1763
- type: z.ZodString;
1764
- caption: z.ZodOptional<z.ZodString>;
1765
- }, "strip", z.ZodTypeAny, {
1766
- caption?: string | undefined;
1767
- type: string;
1768
- id: string;
1769
- }, {
1770
- caption?: string | undefined;
1771
- type: string;
1772
- id: string;
1773
- }>]>>;
1774
- email: z.ZodOptional<z.ZodString>;
1775
- address: z.ZodOptional<z.ZodObject<{
1776
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1777
- addressCountry: z.ZodOptional<z.ZodString>;
1778
- addressCountryCode: z.ZodOptional<z.ZodString>;
1779
- addressRegion: z.ZodOptional<z.ZodString>;
1780
- addressLocality: z.ZodOptional<z.ZodString>;
1781
- streetAddress: z.ZodOptional<z.ZodString>;
1782
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1783
- postalCode: z.ZodOptional<z.ZodString>;
1784
- geo: z.ZodOptional<z.ZodObject<{
1785
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1786
- latitude: z.ZodNumber;
1787
- longitude: z.ZodNumber;
1788
- }, "strip", z.ZodTypeAny, {
1789
- type: string | [string, ...string[]];
1790
- latitude: number;
1791
- longitude: number;
1792
- }, {
1793
- type: string | [string, ...string[]];
1794
- latitude: number;
1795
- longitude: number;
1796
- }>>;
1797
- }, "strip", z.ZodTypeAny, {
1798
- addressCountry?: string | undefined;
1799
- addressCountryCode?: string | undefined;
1800
- addressRegion?: string | undefined;
1801
- addressLocality?: string | undefined;
1802
- streetAddress?: string | undefined;
1803
- postOfficeBoxNumber?: string | undefined;
1804
- postalCode?: string | undefined;
1805
- geo?: {
1806
- type: string | [string, ...string[]];
1807
- latitude: number;
1808
- longitude: number;
1809
- } | undefined;
1810
- type: string | [string, ...string[]];
1811
- }, {
1812
- addressCountry?: string | undefined;
1813
- addressCountryCode?: string | undefined;
1814
- addressRegion?: string | undefined;
1815
- addressLocality?: string | undefined;
1816
- streetAddress?: string | undefined;
1817
- postOfficeBoxNumber?: string | undefined;
1818
- postalCode?: string | undefined;
1819
- geo?: {
1820
- type: string | [string, ...string[]];
1821
- latitude: number;
1822
- longitude: number;
1823
- } | undefined;
1824
- type: string | [string, ...string[]];
1825
- }>>;
1826
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1827
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1828
- identifier: z.ZodString;
1829
- 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]>;
1830
- }, "strip", z.ZodTypeAny, {
1831
- type: string | [string, ...string[]];
1832
- identifier: string;
1833
- identifierType: string;
1834
- }, {
1835
- type: string | [string, ...string[]];
1836
- identifier: string;
1837
- identifierType: string;
1838
- }>, "many">>;
1839
- official: z.ZodOptional<z.ZodString>;
1840
- parentOrg: z.ZodOptional<z.ZodAny>;
1841
- familyName: z.ZodOptional<z.ZodString>;
1842
- givenName: z.ZodOptional<z.ZodString>;
1843
- additionalName: z.ZodOptional<z.ZodString>;
1844
- patronymicName: z.ZodOptional<z.ZodString>;
1845
- honorificPrefix: z.ZodOptional<z.ZodString>;
1846
- honorificSuffix: z.ZodOptional<z.ZodString>;
1847
- familyNamePrefix: z.ZodOptional<z.ZodString>;
1848
- dateOfBirth: z.ZodOptional<z.ZodString>;
1849
- }, "strip", z.ZodAny, {
1850
- [x: string]: any;
1851
- type?: string | [string, ...string[]] | undefined;
1852
- id?: string | undefined;
1853
- name?: string | undefined;
1854
- url?: string | undefined;
1855
- phone?: string | undefined;
1856
- description?: string | undefined;
1857
- endorsement?: any[] | undefined;
1858
- image?: string | {
1859
- caption?: string | undefined;
1860
- type: string;
1861
- id: string;
1862
- } | undefined;
1863
- email?: string | undefined;
1864
- address?: {
1865
- addressCountry?: string | undefined;
1866
- addressCountryCode?: string | undefined;
1867
- addressRegion?: string | undefined;
1868
- addressLocality?: string | undefined;
1869
- streetAddress?: string | undefined;
1870
- postOfficeBoxNumber?: string | undefined;
1871
- postalCode?: string | undefined;
1872
- geo?: {
1873
- type: string | [string, ...string[]];
1874
- latitude: number;
1875
- longitude: number;
1876
- } | undefined;
1877
- type: string | [string, ...string[]];
1878
- } | undefined;
1879
- otherIdentifier?: {
1880
- type: string | [string, ...string[]];
1881
- identifier: string;
1882
- identifierType: string;
1883
- }[] | undefined;
1884
- official?: string | undefined;
1885
- parentOrg?: any;
1886
- familyName?: string | undefined;
1887
- givenName?: string | undefined;
1888
- additionalName?: string | undefined;
1889
- patronymicName?: string | undefined;
1890
- honorificPrefix?: string | undefined;
1891
- honorificSuffix?: string | undefined;
1892
- familyNamePrefix?: string | undefined;
1893
- dateOfBirth?: string | undefined;
1894
- }, {
1895
- [x: string]: any;
1896
- type?: string | [string, ...string[]] | undefined;
1897
- id?: string | undefined;
1898
- name?: string | undefined;
1899
- url?: string | undefined;
1900
- phone?: string | undefined;
1901
- description?: string | undefined;
1902
- endorsement?: any[] | undefined;
1903
- image?: string | {
1904
- caption?: string | undefined;
1905
- type: string;
1906
- id: string;
1907
- } | undefined;
1908
- email?: string | undefined;
1909
- address?: {
1910
- addressCountry?: string | undefined;
1911
- addressCountryCode?: string | undefined;
1912
- addressRegion?: string | undefined;
1913
- addressLocality?: string | undefined;
1914
- streetAddress?: string | undefined;
1915
- postOfficeBoxNumber?: string | undefined;
1916
- postalCode?: string | undefined;
1917
- geo?: {
1918
- type: string | [string, ...string[]];
1919
- latitude: number;
1920
- longitude: number;
1921
- } | undefined;
1922
- type: string | [string, ...string[]];
1923
- } | undefined;
1924
- otherIdentifier?: {
1925
- type: string | [string, ...string[]];
1926
- identifier: string;
1927
- identifierType: string;
1928
- }[] | undefined;
1929
- official?: string | undefined;
1930
- parentOrg?: any;
1931
- familyName?: string | undefined;
1932
- givenName?: string | undefined;
1933
- additionalName?: string | undefined;
1934
- patronymicName?: string | undefined;
1935
- honorificPrefix?: string | undefined;
1936
- honorificSuffix?: string | undefined;
1937
- familyNamePrefix?: string | undefined;
1938
- dateOfBirth?: string | undefined;
1939
- }>]>;
1940
- issuanceDate: z.ZodString;
1941
- expirationDate: z.ZodOptional<z.ZodString>;
1942
- credentialSubject: z.ZodUnion<[z.ZodObject<{
1943
- id: z.ZodOptional<z.ZodString>;
1944
- }, "strip", z.ZodAny, {
1945
- [x: string]: any;
1946
- id?: string | undefined;
1947
- }, {
1948
- [x: string]: any;
1949
- id?: string | undefined;
1950
- }>, z.ZodArray<z.ZodObject<{
1951
- id: z.ZodOptional<z.ZodString>;
1952
- }, "strip", z.ZodAny, {
1953
- [x: string]: any;
1954
- id?: string | undefined;
1955
- }, {
1956
- [x: string]: any;
1957
- id?: string | undefined;
1958
- }>, "many">]>;
1959
- credentialStatus: z.ZodOptional<z.ZodObject<{
1960
- type: z.ZodString;
1961
- id: z.ZodString;
1962
- }, "strip", z.ZodTypeAny, {
1963
- type: string;
1964
- id: string;
1965
- }, {
1966
- type: string;
1967
- id: string;
1968
- }>>;
1969
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
1970
- id: z.ZodString;
1971
- type: z.ZodString;
1972
- }, "strip", z.ZodTypeAny, {
1973
- type: string;
1974
- id: string;
1975
- }, {
1976
- type: string;
1977
- id: string;
1978
- }>, "many">>;
1979
- refreshService: z.ZodOptional<z.ZodObject<{
1980
- id: z.ZodString;
1981
- type: z.ZodString;
1982
- }, "strip", z.ZodAny, {
1983
- [x: string]: any;
1984
- type: string;
1985
- id: string;
1986
- }, {
1987
- [x: string]: any;
1988
- type: string;
1989
- id: string;
1990
- }>>;
1991
- proof: z.ZodUnion<[z.ZodObject<{
1992
- type: z.ZodString;
1993
- created: z.ZodString;
1994
- challenge: z.ZodOptional<z.ZodString>;
1995
- domain: z.ZodOptional<z.ZodString>;
1996
- nonce: z.ZodOptional<z.ZodString>;
1997
- proofPurpose: z.ZodString;
1998
- verificationMethod: z.ZodString;
1999
- jws: z.ZodOptional<z.ZodString>;
2000
- }, "strip", z.ZodAny, {
2001
- [x: string]: any;
2002
- challenge?: string | undefined;
2003
- domain?: string | undefined;
2004
- nonce?: string | undefined;
2005
- jws?: string | undefined;
2006
- type: string;
2007
- created: string;
2008
- proofPurpose: string;
2009
- verificationMethod: string;
2010
- }, {
2011
- [x: string]: any;
2012
- challenge?: string | undefined;
2013
- domain?: string | undefined;
2014
- nonce?: string | undefined;
2015
- jws?: string | undefined;
2016
- type: string;
2017
- created: string;
2018
- proofPurpose: string;
2019
- verificationMethod: string;
2020
- }>, z.ZodArray<z.ZodObject<{
2021
- type: z.ZodString;
2022
- created: z.ZodString;
2023
- challenge: z.ZodOptional<z.ZodString>;
2024
- domain: z.ZodOptional<z.ZodString>;
2025
- nonce: z.ZodOptional<z.ZodString>;
2026
- proofPurpose: z.ZodString;
2027
- verificationMethod: z.ZodString;
2028
- jws: z.ZodOptional<z.ZodString>;
2029
- }, "strip", z.ZodAny, {
2030
- [x: string]: any;
2031
- challenge?: string | undefined;
2032
- domain?: string | undefined;
2033
- nonce?: string | undefined;
2034
- jws?: string | undefined;
2035
- type: string;
2036
- created: string;
2037
- proofPurpose: string;
2038
- verificationMethod: string;
2039
- }, {
2040
- [x: string]: any;
2041
- challenge?: string | undefined;
2042
- domain?: string | undefined;
2043
- nonce?: string | undefined;
2044
- jws?: string | undefined;
2045
- type: string;
2046
- created: string;
2047
- proofPurpose: string;
2048
- verificationMethod: string;
2049
- }>, "many">]>;
2050
- }, "strip", z.ZodAny, {
2051
- [x: string]: any;
2052
- id?: string | undefined;
2053
- expirationDate?: string | undefined;
2054
- credentialStatus?: {
2055
- type: string;
2056
- id: string;
2057
- } | undefined;
2058
- credentialSchema?: {
2059
- type: string;
2060
- id: string;
2061
- }[] | undefined;
2062
- refreshService?: {
2063
- [x: string]: any;
2064
- type: string;
2065
- id: string;
2066
- } | undefined;
2067
- type: [string, ...string[]];
2068
- '@context': (string | Record<string, any>)[];
2069
- issuer: string | {
2070
- [x: string]: any;
2071
- type?: string | [string, ...string[]] | undefined;
2072
- id?: string | undefined;
2073
- name?: string | undefined;
2074
- url?: string | undefined;
2075
- phone?: string | undefined;
2076
- description?: string | undefined;
2077
- endorsement?: any[] | undefined;
2078
- image?: string | {
2079
- caption?: string | undefined;
2080
- type: string;
2081
- id: string;
2082
- } | undefined;
2083
- email?: string | undefined;
2084
- address?: {
2085
- addressCountry?: string | undefined;
2086
- addressCountryCode?: string | undefined;
2087
- addressRegion?: string | undefined;
2088
- addressLocality?: string | undefined;
2089
- streetAddress?: string | undefined;
2090
- postOfficeBoxNumber?: string | undefined;
2091
- postalCode?: string | undefined;
2092
- geo?: {
2093
- type: string | [string, ...string[]];
2094
- latitude: number;
2095
- longitude: number;
2096
- } | undefined;
2097
- type: string | [string, ...string[]];
2098
- } | undefined;
2099
- otherIdentifier?: {
2100
- type: string | [string, ...string[]];
2101
- identifier: string;
2102
- identifierType: string;
2103
- }[] | undefined;
2104
- official?: string | undefined;
2105
- parentOrg?: any;
2106
- familyName?: string | undefined;
2107
- givenName?: string | undefined;
2108
- additionalName?: string | undefined;
2109
- patronymicName?: string | undefined;
2110
- honorificPrefix?: string | undefined;
2111
- honorificSuffix?: string | undefined;
2112
- familyNamePrefix?: string | undefined;
2113
- dateOfBirth?: string | undefined;
2114
- };
2115
- issuanceDate: string;
2116
- credentialSubject: {
2117
- [x: string]: any;
2118
- id?: string | undefined;
2119
- } | {
2120
- [x: string]: any;
2121
- id?: string | undefined;
2122
- }[];
2123
- proof: {
2124
- [x: string]: any;
2125
- challenge?: string | undefined;
2126
- domain?: string | undefined;
2127
- nonce?: string | undefined;
2128
- jws?: string | undefined;
2129
- type: string;
2130
- created: string;
2131
- proofPurpose: string;
2132
- verificationMethod: string;
2133
- } | {
2134
- [x: string]: any;
2135
- challenge?: string | undefined;
2136
- domain?: string | undefined;
2137
- nonce?: string | undefined;
2138
- jws?: string | undefined;
2139
- type: string;
2140
- created: string;
2141
- proofPurpose: string;
2142
- verificationMethod: string;
2143
- }[];
2144
- }, {
2145
- [x: string]: any;
2146
- id?: string | undefined;
2147
- expirationDate?: string | undefined;
2148
- credentialStatus?: {
2149
- type: string;
2150
- id: string;
2151
- } | undefined;
2152
- credentialSchema?: {
2153
- type: string;
2154
- id: string;
2155
- }[] | undefined;
2156
- refreshService?: {
2157
- [x: string]: any;
2158
- type: string;
2159
- id: string;
2160
- } | undefined;
2161
- type: [string, ...string[]];
2162
- '@context': (string | Record<string, any>)[];
2163
- issuer: string | {
2164
- [x: string]: any;
2165
- type?: string | [string, ...string[]] | undefined;
2166
- id?: string | undefined;
2167
- name?: string | undefined;
2168
- url?: string | undefined;
2169
- phone?: string | undefined;
2170
- description?: string | undefined;
2171
- endorsement?: any[] | undefined;
2172
- image?: string | {
2173
- caption?: string | undefined;
2174
- type: string;
2175
- id: string;
2176
- } | undefined;
2177
- email?: string | undefined;
2178
- address?: {
2179
- addressCountry?: string | undefined;
2180
- addressCountryCode?: string | undefined;
2181
- addressRegion?: string | undefined;
2182
- addressLocality?: string | undefined;
2183
- streetAddress?: string | undefined;
2184
- postOfficeBoxNumber?: string | undefined;
2185
- postalCode?: string | undefined;
2186
- geo?: {
2187
- type: string | [string, ...string[]];
2188
- latitude: number;
2189
- longitude: number;
2190
- } | undefined;
2191
- type: string | [string, ...string[]];
2192
- } | undefined;
2193
- otherIdentifier?: {
2194
- type: string | [string, ...string[]];
2195
- identifier: string;
2196
- identifierType: string;
2197
- }[] | undefined;
2198
- official?: string | undefined;
2199
- parentOrg?: any;
2200
- familyName?: string | undefined;
2201
- givenName?: string | undefined;
2202
- additionalName?: string | undefined;
2203
- patronymicName?: string | undefined;
2204
- honorificPrefix?: string | undefined;
2205
- honorificSuffix?: string | undefined;
2206
- familyNamePrefix?: string | undefined;
2207
- dateOfBirth?: string | undefined;
2208
- };
2209
- issuanceDate: string;
2210
- credentialSubject: {
2211
- [x: string]: any;
2212
- id?: string | undefined;
2213
- } | {
2214
- [x: string]: any;
2215
- id?: string | undefined;
2216
- }[];
2217
- proof: {
2218
- [x: string]: any;
2219
- challenge?: string | undefined;
2220
- domain?: string | undefined;
2221
- nonce?: string | undefined;
2222
- jws?: string | undefined;
2223
- type: string;
2224
- created: string;
2225
- proofPurpose: string;
2226
- verificationMethod: string;
2227
- } | {
2228
- [x: string]: any;
2229
- challenge?: string | undefined;
2230
- domain?: string | undefined;
2231
- nonce?: string | undefined;
2232
- jws?: string | undefined;
2233
- type: string;
2234
- created: string;
2235
- proofPurpose: string;
2236
- verificationMethod: string;
2237
- }[];
2238
- }>, "many">]>>;
2239
- holder: z.ZodOptional<z.ZodString>;
2240
- }, "strip", z.ZodAny, {
2241
- [x: string]: any;
2242
- id?: string | undefined;
2243
- verifiableCredential?: {
2244
- [x: string]: any;
2245
- id?: string | undefined;
2246
- expirationDate?: string | undefined;
2247
- credentialStatus?: {
2248
- type: string;
2249
- id: string;
2250
- } | undefined;
2251
- credentialSchema?: {
2252
- type: string;
2253
- id: string;
2254
- }[] | undefined;
2255
- refreshService?: {
2256
- [x: string]: any;
2257
- type: string;
2258
- id: string;
2259
- } | undefined;
2260
- type: [string, ...string[]];
2261
- '@context': (string | Record<string, any>)[];
2262
- issuer: string | {
2263
- [x: string]: any;
2264
- type?: string | [string, ...string[]] | undefined;
2265
- id?: string | undefined;
2266
- name?: string | undefined;
2267
- url?: string | undefined;
2268
- phone?: string | undefined;
2269
- description?: string | undefined;
2270
- endorsement?: any[] | undefined;
2271
- image?: string | {
2272
- caption?: string | undefined;
2273
- type: string;
2274
- id: string;
2275
- } | undefined;
2276
- email?: string | undefined;
2277
- address?: {
2278
- addressCountry?: string | undefined;
2279
- addressCountryCode?: string | undefined;
2280
- addressRegion?: string | undefined;
2281
- addressLocality?: string | undefined;
2282
- streetAddress?: string | undefined;
2283
- postOfficeBoxNumber?: string | undefined;
2284
- postalCode?: string | undefined;
2285
- geo?: {
2286
- type: string | [string, ...string[]];
2287
- latitude: number;
2288
- longitude: number;
2289
- } | undefined;
2290
- type: string | [string, ...string[]];
2291
- } | undefined;
2292
- otherIdentifier?: {
2293
- type: string | [string, ...string[]];
2294
- identifier: string;
2295
- identifierType: string;
2296
- }[] | undefined;
2297
- official?: string | undefined;
2298
- parentOrg?: any;
2299
- familyName?: string | undefined;
2300
- givenName?: string | undefined;
2301
- additionalName?: string | undefined;
2302
- patronymicName?: string | undefined;
2303
- honorificPrefix?: string | undefined;
2304
- honorificSuffix?: string | undefined;
2305
- familyNamePrefix?: string | undefined;
2306
- dateOfBirth?: string | undefined;
2307
- };
2308
- issuanceDate: string;
2309
- credentialSubject: {
2310
- [x: string]: any;
2311
- id?: string | undefined;
2312
- } | {
2313
- [x: string]: any;
2314
- id?: string | undefined;
2315
- }[];
2316
- proof: {
2317
- [x: string]: any;
2318
- challenge?: string | undefined;
2319
- domain?: string | undefined;
2320
- nonce?: string | undefined;
2321
- jws?: string | undefined;
2322
- type: string;
2323
- created: string;
2324
- proofPurpose: string;
2325
- verificationMethod: string;
2326
- } | {
2327
- [x: string]: any;
2328
- challenge?: string | undefined;
2329
- domain?: string | undefined;
2330
- nonce?: string | undefined;
2331
- jws?: string | undefined;
2332
- type: string;
2333
- created: string;
2334
- proofPurpose: string;
2335
- verificationMethod: string;
2336
- }[];
2337
- } | {
2338
- [x: string]: any;
2339
- id?: string | undefined;
2340
- expirationDate?: string | undefined;
2341
- credentialStatus?: {
2342
- type: string;
2343
- id: string;
2344
- } | undefined;
2345
- credentialSchema?: {
2346
- type: string;
2347
- id: string;
2348
- }[] | undefined;
2349
- refreshService?: {
2350
- [x: string]: any;
2351
- type: string;
2352
- id: string;
2353
- } | undefined;
2354
- type: [string, ...string[]];
2355
- '@context': (string | Record<string, any>)[];
2356
- issuer: string | {
2357
- [x: string]: any;
2358
- type?: string | [string, ...string[]] | undefined;
2359
- id?: string | undefined;
2360
- name?: string | undefined;
2361
- url?: string | undefined;
2362
- phone?: string | undefined;
2363
- description?: string | undefined;
2364
- endorsement?: any[] | undefined;
2365
- image?: string | {
2366
- caption?: string | undefined;
2367
- type: string;
2368
- id: string;
2369
- } | undefined;
2370
- email?: string | undefined;
2371
- address?: {
2372
- addressCountry?: string | undefined;
2373
- addressCountryCode?: string | undefined;
2374
- addressRegion?: string | undefined;
2375
- addressLocality?: string | undefined;
2376
- streetAddress?: string | undefined;
2377
- postOfficeBoxNumber?: string | undefined;
2378
- postalCode?: string | undefined;
2379
- geo?: {
2380
- type: string | [string, ...string[]];
2381
- latitude: number;
2382
- longitude: number;
2383
- } | undefined;
2384
- type: string | [string, ...string[]];
2385
- } | undefined;
2386
- otherIdentifier?: {
2387
- type: string | [string, ...string[]];
2388
- identifier: string;
2389
- identifierType: string;
2390
- }[] | undefined;
2391
- official?: string | undefined;
2392
- parentOrg?: any;
2393
- familyName?: string | undefined;
2394
- givenName?: string | undefined;
2395
- additionalName?: string | undefined;
2396
- patronymicName?: string | undefined;
2397
- honorificPrefix?: string | undefined;
2398
- honorificSuffix?: string | undefined;
2399
- familyNamePrefix?: string | undefined;
2400
- dateOfBirth?: string | undefined;
2401
- };
2402
- issuanceDate: string;
2403
- credentialSubject: {
2404
- [x: string]: any;
2405
- id?: string | undefined;
2406
- } | {
2407
- [x: string]: any;
2408
- id?: string | undefined;
2409
- }[];
2410
- proof: {
2411
- [x: string]: any;
2412
- challenge?: string | undefined;
2413
- domain?: string | undefined;
2414
- nonce?: string | undefined;
2415
- jws?: string | undefined;
2416
- type: string;
2417
- created: string;
2418
- proofPurpose: string;
2419
- verificationMethod: string;
2420
- } | {
2421
- [x: string]: any;
2422
- challenge?: string | undefined;
2423
- domain?: string | undefined;
2424
- nonce?: string | undefined;
2425
- jws?: string | undefined;
2426
- type: string;
2427
- created: string;
2428
- proofPurpose: string;
2429
- verificationMethod: string;
2430
- }[];
2431
- }[] | undefined;
2432
- holder?: string | undefined;
2433
- type: [string, ...string[]];
2434
- '@context': (string | Record<string, any>)[];
2435
- }, {
2436
- [x: string]: any;
2437
- id?: string | undefined;
2438
- verifiableCredential?: {
2439
- [x: string]: any;
2440
- id?: string | undefined;
2441
- expirationDate?: string | undefined;
2442
- credentialStatus?: {
2443
- type: string;
2444
- id: string;
2445
- } | undefined;
2446
- credentialSchema?: {
2447
- type: string;
2448
- id: string;
2449
- }[] | undefined;
2450
- refreshService?: {
2451
- [x: string]: any;
2452
- type: string;
2453
- id: string;
2454
- } | undefined;
2455
- type: [string, ...string[]];
2456
- '@context': (string | Record<string, any>)[];
2457
- issuer: string | {
2458
- [x: string]: any;
2459
- type?: string | [string, ...string[]] | undefined;
2460
- id?: string | undefined;
2461
- name?: string | undefined;
2462
- url?: string | undefined;
2463
- phone?: string | undefined;
2464
- description?: string | undefined;
2465
- endorsement?: any[] | undefined;
2466
- image?: string | {
2467
- caption?: string | undefined;
2468
- type: string;
2469
- id: string;
2470
- } | undefined;
2471
- email?: string | undefined;
2472
- address?: {
2473
- addressCountry?: string | undefined;
2474
- addressCountryCode?: string | undefined;
2475
- addressRegion?: string | undefined;
2476
- addressLocality?: string | undefined;
2477
- streetAddress?: string | undefined;
2478
- postOfficeBoxNumber?: string | undefined;
2479
- postalCode?: string | undefined;
2480
- geo?: {
2481
- type: string | [string, ...string[]];
2482
- latitude: number;
2483
- longitude: number;
2484
- } | undefined;
2485
- type: string | [string, ...string[]];
2486
- } | undefined;
2487
- otherIdentifier?: {
2488
- type: string | [string, ...string[]];
2489
- identifier: string;
2490
- identifierType: string;
2491
- }[] | undefined;
2492
- official?: string | undefined;
2493
- parentOrg?: any;
2494
- familyName?: string | undefined;
2495
- givenName?: string | undefined;
2496
- additionalName?: string | undefined;
2497
- patronymicName?: string | undefined;
2498
- honorificPrefix?: string | undefined;
2499
- honorificSuffix?: string | undefined;
2500
- familyNamePrefix?: string | undefined;
2501
- dateOfBirth?: string | undefined;
2502
- };
2503
- issuanceDate: string;
2504
- credentialSubject: {
2505
- [x: string]: any;
2506
- id?: string | undefined;
2507
- } | {
2508
- [x: string]: any;
2509
- id?: string | undefined;
2510
- }[];
2511
- proof: {
2512
- [x: string]: any;
2513
- challenge?: string | undefined;
2514
- domain?: string | undefined;
2515
- nonce?: string | undefined;
2516
- jws?: string | undefined;
2517
- type: string;
2518
- created: string;
2519
- proofPurpose: string;
2520
- verificationMethod: string;
2521
- } | {
2522
- [x: string]: any;
2523
- challenge?: string | undefined;
2524
- domain?: string | undefined;
2525
- nonce?: string | undefined;
2526
- jws?: string | undefined;
2527
- type: string;
2528
- created: string;
2529
- proofPurpose: string;
2530
- verificationMethod: string;
2531
- }[];
2532
- } | {
2533
- [x: string]: any;
2534
- id?: string | undefined;
2535
- expirationDate?: string | undefined;
2536
- credentialStatus?: {
2537
- type: string;
2538
- id: string;
2539
- } | undefined;
2540
- credentialSchema?: {
2541
- type: string;
2542
- id: string;
2543
- }[] | undefined;
2544
- refreshService?: {
2545
- [x: string]: any;
2546
- type: string;
2547
- id: string;
2548
- } | undefined;
2549
- type: [string, ...string[]];
2550
- '@context': (string | Record<string, any>)[];
2551
- issuer: string | {
2552
- [x: string]: any;
2553
- type?: string | [string, ...string[]] | undefined;
2554
- id?: string | undefined;
2555
- name?: string | undefined;
2556
- url?: string | undefined;
2557
- phone?: string | undefined;
2558
- description?: string | undefined;
2559
- endorsement?: any[] | undefined;
2560
- image?: string | {
2561
- caption?: string | undefined;
2562
- type: string;
2563
- id: string;
2564
- } | undefined;
2565
- email?: string | undefined;
2566
- address?: {
2567
- addressCountry?: string | undefined;
2568
- addressCountryCode?: string | undefined;
2569
- addressRegion?: string | undefined;
2570
- addressLocality?: string | undefined;
2571
- streetAddress?: string | undefined;
2572
- postOfficeBoxNumber?: string | undefined;
2573
- postalCode?: string | undefined;
2574
- geo?: {
2575
- type: string | [string, ...string[]];
2576
- latitude: number;
2577
- longitude: number;
2578
- } | undefined;
2579
- type: string | [string, ...string[]];
2580
- } | undefined;
2581
- otherIdentifier?: {
2582
- type: string | [string, ...string[]];
2583
- identifier: string;
2584
- identifierType: string;
2585
- }[] | undefined;
2586
- official?: string | undefined;
2587
- parentOrg?: any;
2588
- familyName?: string | undefined;
2589
- givenName?: string | undefined;
2590
- additionalName?: string | undefined;
2591
- patronymicName?: string | undefined;
2592
- honorificPrefix?: string | undefined;
2593
- honorificSuffix?: string | undefined;
2594
- familyNamePrefix?: string | undefined;
2595
- dateOfBirth?: string | undefined;
2596
- };
2597
- issuanceDate: string;
2598
- credentialSubject: {
2599
- [x: string]: any;
2600
- id?: string | undefined;
2601
- } | {
2602
- [x: string]: any;
2603
- id?: string | undefined;
2604
- }[];
2605
- proof: {
2606
- [x: string]: any;
2607
- challenge?: string | undefined;
2608
- domain?: string | undefined;
2609
- nonce?: string | undefined;
2610
- jws?: string | undefined;
2611
- type: string;
2612
- created: string;
2613
- proofPurpose: string;
2614
- verificationMethod: string;
2615
- } | {
2616
- [x: string]: any;
2617
- challenge?: string | undefined;
2618
- domain?: string | undefined;
2619
- nonce?: string | undefined;
2620
- jws?: string | undefined;
2621
- type: string;
2622
- created: string;
2623
- proofPurpose: string;
2624
- verificationMethod: string;
2625
- }[];
2626
- }[] | undefined;
2627
- holder?: string | undefined;
2628
- type: [string, ...string[]];
2629
- '@context': (string | Record<string, any>)[];
2630
- }>;
2631
- export type UnsignedVP = z.infer<typeof UnsignedVPValidator>;
2632
- export declare const VPValidator: z.ZodObject<{
2633
- type: z.ZodArray<z.ZodString, "atleastone">;
2634
- id: z.ZodOptional<z.ZodString>;
2635
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
2636
- verifiableCredential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2637
- type: z.ZodArray<z.ZodString, "atleastone">;
2638
- id: z.ZodOptional<z.ZodString>;
2639
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
2640
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
2641
- id: z.ZodOptional<z.ZodString>;
2642
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
2643
- name: z.ZodOptional<z.ZodString>;
2644
- url: z.ZodOptional<z.ZodString>;
2645
- phone: z.ZodOptional<z.ZodString>;
2646
- description: z.ZodOptional<z.ZodString>;
2647
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2648
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2649
- id: z.ZodString;
2650
- type: z.ZodString;
2651
- caption: z.ZodOptional<z.ZodString>;
2652
- }, "strip", z.ZodTypeAny, {
2653
- caption?: string | undefined;
2654
- type: string;
2655
- id: string;
2656
- }, {
2657
- caption?: string | undefined;
2658
- type: string;
2659
- id: string;
2660
- }>]>>;
2661
- email: z.ZodOptional<z.ZodString>;
2662
- address: z.ZodOptional<z.ZodObject<{
2663
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2664
- addressCountry: z.ZodOptional<z.ZodString>;
2665
- addressCountryCode: z.ZodOptional<z.ZodString>;
2666
- addressRegion: z.ZodOptional<z.ZodString>;
2667
- addressLocality: z.ZodOptional<z.ZodString>;
2668
- streetAddress: z.ZodOptional<z.ZodString>;
2669
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
2670
- postalCode: z.ZodOptional<z.ZodString>;
2671
- geo: z.ZodOptional<z.ZodObject<{
2672
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2673
- latitude: z.ZodNumber;
2674
- longitude: z.ZodNumber;
2675
- }, "strip", z.ZodTypeAny, {
2676
- type: string | [string, ...string[]];
2677
- latitude: number;
2678
- longitude: number;
2679
- }, {
2680
- type: string | [string, ...string[]];
2681
- latitude: number;
2682
- longitude: number;
2683
- }>>;
2684
- }, "strip", z.ZodTypeAny, {
2685
- addressCountry?: string | undefined;
2686
- addressCountryCode?: string | undefined;
2687
- addressRegion?: string | undefined;
2688
- addressLocality?: string | undefined;
2689
- streetAddress?: string | undefined;
2690
- postOfficeBoxNumber?: string | undefined;
2691
- postalCode?: string | undefined;
2692
- geo?: {
2693
- type: string | [string, ...string[]];
2694
- latitude: number;
2695
- longitude: number;
2696
- } | undefined;
2697
- type: string | [string, ...string[]];
2698
- }, {
2699
- addressCountry?: string | undefined;
2700
- addressCountryCode?: string | undefined;
2701
- addressRegion?: string | undefined;
2702
- addressLocality?: string | undefined;
2703
- streetAddress?: string | undefined;
2704
- postOfficeBoxNumber?: string | undefined;
2705
- postalCode?: string | undefined;
2706
- geo?: {
2707
- type: string | [string, ...string[]];
2708
- latitude: number;
2709
- longitude: number;
2710
- } | undefined;
2711
- type: string | [string, ...string[]];
2712
- }>>;
2713
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
2714
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2715
- identifier: z.ZodString;
2716
- 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]>;
2717
- }, "strip", z.ZodTypeAny, {
2718
- type: string | [string, ...string[]];
2719
- identifier: string;
2720
- identifierType: string;
2721
- }, {
2722
- type: string | [string, ...string[]];
2723
- identifier: string;
2724
- identifierType: string;
2725
- }>, "many">>;
2726
- official: z.ZodOptional<z.ZodString>;
2727
- parentOrg: z.ZodOptional<z.ZodAny>;
2728
- familyName: z.ZodOptional<z.ZodString>;
2729
- givenName: z.ZodOptional<z.ZodString>;
2730
- additionalName: z.ZodOptional<z.ZodString>;
2731
- patronymicName: z.ZodOptional<z.ZodString>;
2732
- honorificPrefix: z.ZodOptional<z.ZodString>;
2733
- honorificSuffix: z.ZodOptional<z.ZodString>;
2734
- familyNamePrefix: z.ZodOptional<z.ZodString>;
2735
- dateOfBirth: z.ZodOptional<z.ZodString>;
2736
- }, "strip", z.ZodAny, {
2737
- [x: string]: any;
2738
- type?: string | [string, ...string[]] | undefined;
2739
- id?: string | undefined;
2740
- name?: string | undefined;
2741
- url?: string | undefined;
2742
- phone?: string | undefined;
2743
- description?: string | undefined;
2744
- endorsement?: any[] | undefined;
2745
- image?: string | {
2746
- caption?: string | undefined;
2747
- type: string;
2748
- id: string;
2749
- } | undefined;
2750
- email?: string | undefined;
2751
- address?: {
2752
- addressCountry?: string | undefined;
2753
- addressCountryCode?: string | undefined;
2754
- addressRegion?: string | undefined;
2755
- addressLocality?: string | undefined;
2756
- streetAddress?: string | undefined;
2757
- postOfficeBoxNumber?: string | undefined;
2758
- postalCode?: string | undefined;
2759
- geo?: {
2760
- type: string | [string, ...string[]];
2761
- latitude: number;
2762
- longitude: number;
2763
- } | undefined;
2764
- type: string | [string, ...string[]];
2765
- } | undefined;
2766
- otherIdentifier?: {
2767
- type: string | [string, ...string[]];
2768
- identifier: string;
2769
- identifierType: string;
2770
- }[] | undefined;
2771
- official?: string | undefined;
2772
- parentOrg?: any;
2773
- familyName?: string | undefined;
2774
- givenName?: string | undefined;
2775
- additionalName?: string | undefined;
2776
- patronymicName?: string | undefined;
2777
- honorificPrefix?: string | undefined;
2778
- honorificSuffix?: string | undefined;
2779
- familyNamePrefix?: string | undefined;
2780
- dateOfBirth?: string | undefined;
2781
- }, {
2782
- [x: string]: any;
2783
- type?: string | [string, ...string[]] | undefined;
2784
- id?: string | undefined;
2785
- name?: string | undefined;
2786
- url?: string | undefined;
2787
- phone?: string | undefined;
2788
- description?: string | undefined;
2789
- endorsement?: any[] | undefined;
2790
- image?: string | {
2791
- caption?: string | undefined;
2792
- type: string;
2793
- id: string;
2794
- } | undefined;
2795
- email?: string | undefined;
2796
- address?: {
2797
- addressCountry?: string | undefined;
2798
- addressCountryCode?: string | undefined;
2799
- addressRegion?: string | undefined;
2800
- addressLocality?: string | undefined;
2801
- streetAddress?: string | undefined;
2802
- postOfficeBoxNumber?: string | undefined;
2803
- postalCode?: string | undefined;
2804
- geo?: {
2805
- type: string | [string, ...string[]];
2806
- latitude: number;
2807
- longitude: number;
2808
- } | undefined;
2809
- type: string | [string, ...string[]];
2810
- } | undefined;
2811
- otherIdentifier?: {
2812
- type: string | [string, ...string[]];
2813
- identifier: string;
2814
- identifierType: string;
2815
- }[] | undefined;
2816
- official?: string | undefined;
2817
- parentOrg?: any;
2818
- familyName?: string | undefined;
2819
- givenName?: string | undefined;
2820
- additionalName?: string | undefined;
2821
- patronymicName?: string | undefined;
2822
- honorificPrefix?: string | undefined;
2823
- honorificSuffix?: string | undefined;
2824
- familyNamePrefix?: string | undefined;
2825
- dateOfBirth?: string | undefined;
2826
- }>]>;
2827
- issuanceDate: z.ZodString;
2828
- expirationDate: z.ZodOptional<z.ZodString>;
2829
- credentialSubject: z.ZodUnion<[z.ZodObject<{
2830
- id: z.ZodOptional<z.ZodString>;
2831
- }, "strip", z.ZodAny, {
2832
- [x: string]: any;
2833
- id?: string | undefined;
2834
- }, {
2835
- [x: string]: any;
2836
- id?: string | undefined;
2837
- }>, z.ZodArray<z.ZodObject<{
2838
- id: z.ZodOptional<z.ZodString>;
2839
- }, "strip", z.ZodAny, {
2840
- [x: string]: any;
2841
- id?: string | undefined;
2842
- }, {
2843
- [x: string]: any;
2844
- id?: string | undefined;
2845
- }>, "many">]>;
2846
- credentialStatus: z.ZodOptional<z.ZodObject<{
2847
- type: z.ZodString;
2848
- id: z.ZodString;
2849
- }, "strip", z.ZodTypeAny, {
2850
- type: string;
2851
- id: string;
2852
- }, {
2853
- type: string;
2854
- id: string;
2855
- }>>;
2856
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2857
- id: z.ZodString;
2858
- type: z.ZodString;
2859
- }, "strip", z.ZodTypeAny, {
2860
- type: string;
2861
- id: string;
2862
- }, {
2863
- type: string;
2864
- id: string;
2865
- }>, "many">>;
2866
- refreshService: z.ZodOptional<z.ZodObject<{
2867
- id: z.ZodString;
2868
- type: z.ZodString;
2869
- }, "strip", z.ZodAny, {
2870
- [x: string]: any;
2871
- type: string;
2872
- id: string;
2873
- }, {
2874
- [x: string]: any;
2875
- type: string;
2876
- id: string;
2877
- }>>;
2878
- proof: z.ZodUnion<[z.ZodObject<{
2879
- type: z.ZodString;
2880
- created: z.ZodString;
2881
- challenge: z.ZodOptional<z.ZodString>;
2882
- domain: z.ZodOptional<z.ZodString>;
2883
- nonce: z.ZodOptional<z.ZodString>;
2884
- proofPurpose: z.ZodString;
2885
- verificationMethod: z.ZodString;
2886
- jws: z.ZodOptional<z.ZodString>;
2887
- }, "strip", z.ZodAny, {
2888
- [x: string]: any;
2889
- challenge?: string | undefined;
2890
- domain?: string | undefined;
2891
- nonce?: string | undefined;
2892
- jws?: string | undefined;
2893
- type: string;
2894
- created: string;
2895
- proofPurpose: string;
2896
- verificationMethod: string;
2897
- }, {
2898
- [x: string]: any;
2899
- challenge?: string | undefined;
2900
- domain?: string | undefined;
2901
- nonce?: string | undefined;
2902
- jws?: string | undefined;
2903
- type: string;
2904
- created: string;
2905
- proofPurpose: string;
2906
- verificationMethod: string;
2907
- }>, z.ZodArray<z.ZodObject<{
2908
- type: z.ZodString;
2909
- created: z.ZodString;
2910
- challenge: z.ZodOptional<z.ZodString>;
2911
- domain: z.ZodOptional<z.ZodString>;
2912
- nonce: z.ZodOptional<z.ZodString>;
2913
- proofPurpose: z.ZodString;
2914
- verificationMethod: z.ZodString;
2915
- jws: z.ZodOptional<z.ZodString>;
2916
- }, "strip", z.ZodAny, {
2917
- [x: string]: any;
2918
- challenge?: string | undefined;
2919
- domain?: string | undefined;
2920
- nonce?: string | undefined;
2921
- jws?: string | undefined;
2922
- type: string;
2923
- created: string;
2924
- proofPurpose: string;
2925
- verificationMethod: string;
2926
- }, {
2927
- [x: string]: any;
2928
- challenge?: string | undefined;
2929
- domain?: string | undefined;
2930
- nonce?: string | undefined;
2931
- jws?: string | undefined;
2932
- type: string;
2933
- created: string;
2934
- proofPurpose: string;
2935
- verificationMethod: string;
2936
- }>, "many">]>;
2937
- }, "strip", z.ZodAny, {
2938
- [x: string]: any;
2939
- id?: string | undefined;
2940
- expirationDate?: string | undefined;
2941
- credentialStatus?: {
2942
- type: string;
2943
- id: string;
2944
- } | undefined;
2945
- credentialSchema?: {
2946
- type: string;
2947
- id: string;
2948
- }[] | undefined;
2949
- refreshService?: {
2950
- [x: string]: any;
2951
- type: string;
2952
- id: string;
2953
- } | undefined;
2954
- type: [string, ...string[]];
2955
- '@context': (string | Record<string, any>)[];
2956
- issuer: string | {
2957
- [x: string]: any;
2958
- type?: string | [string, ...string[]] | undefined;
2959
- id?: string | undefined;
2960
- name?: string | undefined;
2961
- url?: string | undefined;
2962
- phone?: string | undefined;
2963
- description?: string | undefined;
2964
- endorsement?: any[] | undefined;
2965
- image?: string | {
2966
- caption?: string | undefined;
2967
- type: string;
2968
- id: string;
2969
- } | undefined;
2970
- email?: string | undefined;
2971
- address?: {
2972
- addressCountry?: string | undefined;
2973
- addressCountryCode?: string | undefined;
2974
- addressRegion?: string | undefined;
2975
- addressLocality?: string | undefined;
2976
- streetAddress?: string | undefined;
2977
- postOfficeBoxNumber?: string | undefined;
2978
- postalCode?: string | undefined;
2979
- geo?: {
2980
- type: string | [string, ...string[]];
2981
- latitude: number;
2982
- longitude: number;
2983
- } | undefined;
2984
- type: string | [string, ...string[]];
2985
- } | undefined;
2986
- otherIdentifier?: {
2987
- type: string | [string, ...string[]];
2988
- identifier: string;
2989
- identifierType: string;
2990
- }[] | undefined;
2991
- official?: string | undefined;
2992
- parentOrg?: any;
2993
- familyName?: string | undefined;
2994
- givenName?: string | undefined;
2995
- additionalName?: string | undefined;
2996
- patronymicName?: string | undefined;
2997
- honorificPrefix?: string | undefined;
2998
- honorificSuffix?: string | undefined;
2999
- familyNamePrefix?: string | undefined;
3000
- dateOfBirth?: string | undefined;
3001
- };
3002
- issuanceDate: string;
3003
- credentialSubject: {
3004
- [x: string]: any;
3005
- id?: string | undefined;
3006
- } | {
3007
- [x: string]: any;
3008
- id?: string | undefined;
3009
- }[];
3010
- proof: {
3011
- [x: string]: any;
3012
- challenge?: string | undefined;
3013
- domain?: string | undefined;
3014
- nonce?: string | undefined;
3015
- jws?: string | undefined;
3016
- type: string;
3017
- created: string;
3018
- proofPurpose: string;
3019
- verificationMethod: string;
3020
- } | {
3021
- [x: string]: any;
3022
- challenge?: string | undefined;
3023
- domain?: string | undefined;
3024
- nonce?: string | undefined;
3025
- jws?: string | undefined;
3026
- type: string;
3027
- created: string;
3028
- proofPurpose: string;
3029
- verificationMethod: string;
3030
- }[];
3031
- }, {
3032
- [x: string]: any;
3033
- id?: string | undefined;
3034
- expirationDate?: string | undefined;
3035
- credentialStatus?: {
3036
- type: string;
3037
- id: string;
3038
- } | undefined;
3039
- credentialSchema?: {
3040
- type: string;
3041
- id: string;
3042
- }[] | undefined;
3043
- refreshService?: {
3044
- [x: string]: any;
3045
- type: string;
3046
- id: string;
3047
- } | undefined;
3048
- type: [string, ...string[]];
3049
- '@context': (string | Record<string, any>)[];
3050
- issuer: string | {
3051
- [x: string]: any;
3052
- type?: string | [string, ...string[]] | undefined;
3053
- id?: string | undefined;
3054
- name?: string | undefined;
3055
- url?: string | undefined;
3056
- phone?: string | undefined;
3057
- description?: string | undefined;
3058
- endorsement?: any[] | undefined;
3059
- image?: string | {
3060
- caption?: string | undefined;
3061
- type: string;
3062
- id: string;
3063
- } | undefined;
3064
- email?: string | undefined;
3065
- address?: {
3066
- addressCountry?: string | undefined;
3067
- addressCountryCode?: string | undefined;
3068
- addressRegion?: string | undefined;
3069
- addressLocality?: string | undefined;
3070
- streetAddress?: string | undefined;
3071
- postOfficeBoxNumber?: string | undefined;
3072
- postalCode?: string | undefined;
3073
- geo?: {
3074
- type: string | [string, ...string[]];
3075
- latitude: number;
3076
- longitude: number;
3077
- } | undefined;
3078
- type: string | [string, ...string[]];
3079
- } | undefined;
3080
- otherIdentifier?: {
3081
- type: string | [string, ...string[]];
3082
- identifier: string;
3083
- identifierType: string;
3084
- }[] | undefined;
3085
- official?: string | undefined;
3086
- parentOrg?: any;
3087
- familyName?: string | undefined;
3088
- givenName?: string | undefined;
3089
- additionalName?: string | undefined;
3090
- patronymicName?: string | undefined;
3091
- honorificPrefix?: string | undefined;
3092
- honorificSuffix?: string | undefined;
3093
- familyNamePrefix?: string | undefined;
3094
- dateOfBirth?: string | undefined;
3095
- };
3096
- issuanceDate: string;
3097
- credentialSubject: {
3098
- [x: string]: any;
3099
- id?: string | undefined;
3100
- } | {
3101
- [x: string]: any;
3102
- id?: string | undefined;
3103
- }[];
3104
- proof: {
3105
- [x: string]: any;
3106
- challenge?: string | undefined;
3107
- domain?: string | undefined;
3108
- nonce?: string | undefined;
3109
- jws?: string | undefined;
3110
- type: string;
3111
- created: string;
3112
- proofPurpose: string;
3113
- verificationMethod: string;
3114
- } | {
3115
- [x: string]: any;
3116
- challenge?: string | undefined;
3117
- domain?: string | undefined;
3118
- nonce?: string | undefined;
3119
- jws?: string | undefined;
3120
- type: string;
3121
- created: string;
3122
- proofPurpose: string;
3123
- verificationMethod: string;
3124
- }[];
3125
- }>, z.ZodArray<z.ZodObject<{
3126
- type: z.ZodArray<z.ZodString, "atleastone">;
3127
- id: z.ZodOptional<z.ZodString>;
3128
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
3129
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
3130
- id: z.ZodOptional<z.ZodString>;
3131
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
3132
- name: z.ZodOptional<z.ZodString>;
3133
- url: z.ZodOptional<z.ZodString>;
3134
- phone: z.ZodOptional<z.ZodString>;
3135
- description: z.ZodOptional<z.ZodString>;
3136
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3137
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3138
- id: z.ZodString;
3139
- type: z.ZodString;
3140
- caption: z.ZodOptional<z.ZodString>;
3141
- }, "strip", z.ZodTypeAny, {
3142
- caption?: string | undefined;
3143
- type: string;
3144
- id: string;
3145
- }, {
3146
- caption?: string | undefined;
3147
- type: string;
3148
- id: string;
3149
- }>]>>;
3150
- email: z.ZodOptional<z.ZodString>;
3151
- address: z.ZodOptional<z.ZodObject<{
3152
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3153
- addressCountry: z.ZodOptional<z.ZodString>;
3154
- addressCountryCode: z.ZodOptional<z.ZodString>;
3155
- addressRegion: z.ZodOptional<z.ZodString>;
3156
- addressLocality: z.ZodOptional<z.ZodString>;
3157
- streetAddress: z.ZodOptional<z.ZodString>;
3158
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
3159
- postalCode: z.ZodOptional<z.ZodString>;
3160
- geo: z.ZodOptional<z.ZodObject<{
3161
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3162
- latitude: z.ZodNumber;
3163
- longitude: z.ZodNumber;
3164
- }, "strip", z.ZodTypeAny, {
3165
- type: string | [string, ...string[]];
3166
- latitude: number;
3167
- longitude: number;
3168
- }, {
3169
- type: string | [string, ...string[]];
3170
- latitude: number;
3171
- longitude: number;
3172
- }>>;
3173
- }, "strip", z.ZodTypeAny, {
3174
- addressCountry?: string | undefined;
3175
- addressCountryCode?: string | undefined;
3176
- addressRegion?: string | undefined;
3177
- addressLocality?: string | undefined;
3178
- streetAddress?: string | undefined;
3179
- postOfficeBoxNumber?: string | undefined;
3180
- postalCode?: string | undefined;
3181
- geo?: {
3182
- type: string | [string, ...string[]];
3183
- latitude: number;
3184
- longitude: number;
3185
- } | undefined;
3186
- type: string | [string, ...string[]];
3187
- }, {
3188
- addressCountry?: string | undefined;
3189
- addressCountryCode?: string | undefined;
3190
- addressRegion?: string | undefined;
3191
- addressLocality?: string | undefined;
3192
- streetAddress?: string | undefined;
3193
- postOfficeBoxNumber?: string | undefined;
3194
- postalCode?: string | undefined;
3195
- geo?: {
3196
- type: string | [string, ...string[]];
3197
- latitude: number;
3198
- longitude: number;
3199
- } | undefined;
3200
- type: string | [string, ...string[]];
3201
- }>>;
3202
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
3203
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3204
- identifier: z.ZodString;
3205
- 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]>;
3206
- }, "strip", z.ZodTypeAny, {
3207
- type: string | [string, ...string[]];
3208
- identifier: string;
3209
- identifierType: string;
3210
- }, {
3211
- type: string | [string, ...string[]];
3212
- identifier: string;
3213
- identifierType: string;
3214
- }>, "many">>;
3215
- official: z.ZodOptional<z.ZodString>;
3216
- parentOrg: z.ZodOptional<z.ZodAny>;
3217
- familyName: z.ZodOptional<z.ZodString>;
3218
- givenName: z.ZodOptional<z.ZodString>;
3219
- additionalName: z.ZodOptional<z.ZodString>;
3220
- patronymicName: z.ZodOptional<z.ZodString>;
3221
- honorificPrefix: z.ZodOptional<z.ZodString>;
3222
- honorificSuffix: z.ZodOptional<z.ZodString>;
3223
- familyNamePrefix: z.ZodOptional<z.ZodString>;
3224
- dateOfBirth: z.ZodOptional<z.ZodString>;
3225
- }, "strip", z.ZodAny, {
3226
- [x: string]: any;
3227
- type?: string | [string, ...string[]] | undefined;
3228
- id?: string | undefined;
3229
- name?: string | undefined;
3230
- url?: string | undefined;
3231
- phone?: string | undefined;
3232
- description?: string | undefined;
3233
- endorsement?: any[] | undefined;
3234
- image?: string | {
3235
- caption?: string | undefined;
3236
- type: string;
3237
- id: string;
3238
- } | undefined;
3239
- email?: string | undefined;
3240
- address?: {
3241
- addressCountry?: string | undefined;
3242
- addressCountryCode?: string | undefined;
3243
- addressRegion?: string | undefined;
3244
- addressLocality?: string | undefined;
3245
- streetAddress?: string | undefined;
3246
- postOfficeBoxNumber?: string | undefined;
3247
- postalCode?: string | undefined;
3248
- geo?: {
3249
- type: string | [string, ...string[]];
3250
- latitude: number;
3251
- longitude: number;
3252
- } | undefined;
3253
- type: string | [string, ...string[]];
3254
- } | undefined;
3255
- otherIdentifier?: {
3256
- type: string | [string, ...string[]];
3257
- identifier: string;
3258
- identifierType: string;
3259
- }[] | undefined;
3260
- official?: string | undefined;
3261
- parentOrg?: any;
3262
- familyName?: string | undefined;
3263
- givenName?: string | undefined;
3264
- additionalName?: string | undefined;
3265
- patronymicName?: string | undefined;
3266
- honorificPrefix?: string | undefined;
3267
- honorificSuffix?: string | undefined;
3268
- familyNamePrefix?: string | undefined;
3269
- dateOfBirth?: string | undefined;
3270
- }, {
3271
- [x: string]: any;
3272
- type?: string | [string, ...string[]] | undefined;
3273
- id?: string | undefined;
3274
- name?: string | undefined;
3275
- url?: string | undefined;
3276
- phone?: string | undefined;
3277
- description?: string | undefined;
3278
- endorsement?: any[] | undefined;
3279
- image?: string | {
3280
- caption?: string | undefined;
3281
- type: string;
3282
- id: string;
3283
- } | undefined;
3284
- email?: string | undefined;
3285
- address?: {
3286
- addressCountry?: string | undefined;
3287
- addressCountryCode?: string | undefined;
3288
- addressRegion?: string | undefined;
3289
- addressLocality?: string | undefined;
3290
- streetAddress?: string | undefined;
3291
- postOfficeBoxNumber?: string | undefined;
3292
- postalCode?: string | undefined;
3293
- geo?: {
3294
- type: string | [string, ...string[]];
3295
- latitude: number;
3296
- longitude: number;
3297
- } | undefined;
3298
- type: string | [string, ...string[]];
3299
- } | undefined;
3300
- otherIdentifier?: {
3301
- type: string | [string, ...string[]];
3302
- identifier: string;
3303
- identifierType: string;
3304
- }[] | undefined;
3305
- official?: string | undefined;
3306
- parentOrg?: any;
3307
- familyName?: string | undefined;
3308
- givenName?: string | undefined;
3309
- additionalName?: string | undefined;
3310
- patronymicName?: string | undefined;
3311
- honorificPrefix?: string | undefined;
3312
- honorificSuffix?: string | undefined;
3313
- familyNamePrefix?: string | undefined;
3314
- dateOfBirth?: string | undefined;
3315
- }>]>;
3316
- issuanceDate: z.ZodString;
3317
- expirationDate: z.ZodOptional<z.ZodString>;
3318
- credentialSubject: z.ZodUnion<[z.ZodObject<{
3319
- id: z.ZodOptional<z.ZodString>;
3320
- }, "strip", z.ZodAny, {
3321
- [x: string]: any;
3322
- id?: string | undefined;
3323
- }, {
3324
- [x: string]: any;
3325
- id?: string | undefined;
3326
- }>, z.ZodArray<z.ZodObject<{
3327
- id: z.ZodOptional<z.ZodString>;
3328
- }, "strip", z.ZodAny, {
3329
- [x: string]: any;
3330
- id?: string | undefined;
3331
- }, {
3332
- [x: string]: any;
3333
- id?: string | undefined;
3334
- }>, "many">]>;
3335
- credentialStatus: z.ZodOptional<z.ZodObject<{
3336
- type: z.ZodString;
3337
- id: z.ZodString;
3338
- }, "strip", z.ZodTypeAny, {
3339
- type: string;
3340
- id: string;
3341
- }, {
3342
- type: string;
3343
- id: string;
3344
- }>>;
3345
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
3346
- id: z.ZodString;
3347
- type: z.ZodString;
3348
- }, "strip", z.ZodTypeAny, {
3349
- type: string;
3350
- id: string;
3351
- }, {
3352
- type: string;
3353
- id: string;
3354
- }>, "many">>;
3355
- refreshService: z.ZodOptional<z.ZodObject<{
3356
- id: z.ZodString;
3357
- type: z.ZodString;
3358
- }, "strip", z.ZodAny, {
3359
- [x: string]: any;
3360
- type: string;
3361
- id: string;
3362
- }, {
3363
- [x: string]: any;
3364
- type: string;
3365
- id: string;
3366
- }>>;
3367
- proof: z.ZodUnion<[z.ZodObject<{
3368
- type: z.ZodString;
3369
- created: z.ZodString;
3370
- challenge: z.ZodOptional<z.ZodString>;
3371
- domain: z.ZodOptional<z.ZodString>;
3372
- nonce: z.ZodOptional<z.ZodString>;
3373
- proofPurpose: z.ZodString;
3374
- verificationMethod: z.ZodString;
3375
- jws: z.ZodOptional<z.ZodString>;
3376
- }, "strip", z.ZodAny, {
3377
- [x: string]: any;
3378
- challenge?: string | undefined;
3379
- domain?: string | undefined;
3380
- nonce?: string | undefined;
3381
- jws?: string | undefined;
3382
- type: string;
3383
- created: string;
3384
- proofPurpose: string;
3385
- verificationMethod: string;
3386
- }, {
3387
- [x: string]: any;
3388
- challenge?: string | undefined;
3389
- domain?: string | undefined;
3390
- nonce?: string | undefined;
3391
- jws?: string | undefined;
3392
- type: string;
3393
- created: string;
3394
- proofPurpose: string;
3395
- verificationMethod: string;
3396
- }>, z.ZodArray<z.ZodObject<{
3397
- type: z.ZodString;
3398
- created: z.ZodString;
3399
- challenge: z.ZodOptional<z.ZodString>;
3400
- domain: z.ZodOptional<z.ZodString>;
3401
- nonce: z.ZodOptional<z.ZodString>;
3402
- proofPurpose: z.ZodString;
3403
- verificationMethod: z.ZodString;
3404
- jws: z.ZodOptional<z.ZodString>;
3405
- }, "strip", z.ZodAny, {
3406
- [x: string]: any;
3407
- challenge?: string | undefined;
3408
- domain?: string | undefined;
3409
- nonce?: string | undefined;
3410
- jws?: string | undefined;
3411
- type: string;
3412
- created: string;
3413
- proofPurpose: string;
3414
- verificationMethod: string;
3415
- }, {
3416
- [x: string]: any;
3417
- challenge?: string | undefined;
3418
- domain?: string | undefined;
3419
- nonce?: string | undefined;
3420
- jws?: string | undefined;
3421
- type: string;
3422
- created: string;
3423
- proofPurpose: string;
3424
- verificationMethod: string;
3425
- }>, "many">]>;
3426
- }, "strip", z.ZodAny, {
3427
- [x: string]: any;
3428
- id?: string | undefined;
3429
- expirationDate?: string | undefined;
3430
- credentialStatus?: {
3431
- type: string;
3432
- id: string;
3433
- } | undefined;
3434
- credentialSchema?: {
3435
- type: string;
3436
- id: string;
3437
- }[] | undefined;
3438
- refreshService?: {
3439
- [x: string]: any;
3440
- type: string;
3441
- id: string;
3442
- } | undefined;
3443
- type: [string, ...string[]];
3444
- '@context': (string | Record<string, any>)[];
3445
- issuer: string | {
3446
- [x: string]: any;
3447
- type?: string | [string, ...string[]] | undefined;
3448
- id?: string | undefined;
3449
- name?: string | undefined;
3450
- url?: string | undefined;
3451
- phone?: string | undefined;
3452
- description?: string | undefined;
3453
- endorsement?: any[] | undefined;
3454
- image?: string | {
3455
- caption?: string | undefined;
3456
- type: string;
3457
- id: string;
3458
- } | undefined;
3459
- email?: string | undefined;
3460
- address?: {
3461
- addressCountry?: string | undefined;
3462
- addressCountryCode?: string | undefined;
3463
- addressRegion?: string | undefined;
3464
- addressLocality?: string | undefined;
3465
- streetAddress?: string | undefined;
3466
- postOfficeBoxNumber?: string | undefined;
3467
- postalCode?: string | undefined;
3468
- geo?: {
3469
- type: string | [string, ...string[]];
3470
- latitude: number;
3471
- longitude: number;
3472
- } | undefined;
3473
- type: string | [string, ...string[]];
3474
- } | undefined;
3475
- otherIdentifier?: {
3476
- type: string | [string, ...string[]];
3477
- identifier: string;
3478
- identifierType: string;
3479
- }[] | undefined;
3480
- official?: string | undefined;
3481
- parentOrg?: any;
3482
- familyName?: string | undefined;
3483
- givenName?: string | undefined;
3484
- additionalName?: string | undefined;
3485
- patronymicName?: string | undefined;
3486
- honorificPrefix?: string | undefined;
3487
- honorificSuffix?: string | undefined;
3488
- familyNamePrefix?: string | undefined;
3489
- dateOfBirth?: string | undefined;
3490
- };
3491
- issuanceDate: string;
3492
- credentialSubject: {
3493
- [x: string]: any;
3494
- id?: string | undefined;
3495
- } | {
3496
- [x: string]: any;
3497
- id?: string | undefined;
3498
- }[];
3499
- proof: {
3500
- [x: string]: any;
3501
- challenge?: string | undefined;
3502
- domain?: string | undefined;
3503
- nonce?: string | undefined;
3504
- jws?: string | undefined;
3505
- type: string;
3506
- created: string;
3507
- proofPurpose: string;
3508
- verificationMethod: string;
3509
- } | {
3510
- [x: string]: any;
3511
- challenge?: string | undefined;
3512
- domain?: string | undefined;
3513
- nonce?: string | undefined;
3514
- jws?: string | undefined;
3515
- type: string;
3516
- created: string;
3517
- proofPurpose: string;
3518
- verificationMethod: string;
3519
- }[];
3520
- }, {
3521
- [x: string]: any;
3522
- id?: string | undefined;
3523
- expirationDate?: string | undefined;
3524
- credentialStatus?: {
3525
- type: string;
3526
- id: string;
3527
- } | undefined;
3528
- credentialSchema?: {
3529
- type: string;
3530
- id: string;
3531
- }[] | undefined;
3532
- refreshService?: {
3533
- [x: string]: any;
3534
- type: string;
3535
- id: string;
3536
- } | undefined;
3537
- type: [string, ...string[]];
3538
- '@context': (string | Record<string, any>)[];
3539
- issuer: string | {
3540
- [x: string]: any;
3541
- type?: string | [string, ...string[]] | undefined;
3542
- id?: string | undefined;
3543
- name?: string | undefined;
3544
- url?: string | undefined;
3545
- phone?: string | undefined;
3546
- description?: string | undefined;
3547
- endorsement?: any[] | undefined;
3548
- image?: string | {
3549
- caption?: string | undefined;
3550
- type: string;
3551
- id: string;
3552
- } | undefined;
3553
- email?: string | undefined;
3554
- address?: {
3555
- addressCountry?: string | undefined;
3556
- addressCountryCode?: string | undefined;
3557
- addressRegion?: string | undefined;
3558
- addressLocality?: string | undefined;
3559
- streetAddress?: string | undefined;
3560
- postOfficeBoxNumber?: string | undefined;
3561
- postalCode?: string | undefined;
3562
- geo?: {
3563
- type: string | [string, ...string[]];
3564
- latitude: number;
3565
- longitude: number;
3566
- } | undefined;
3567
- type: string | [string, ...string[]];
3568
- } | undefined;
3569
- otherIdentifier?: {
3570
- type: string | [string, ...string[]];
3571
- identifier: string;
3572
- identifierType: string;
3573
- }[] | undefined;
3574
- official?: string | undefined;
3575
- parentOrg?: any;
3576
- familyName?: string | undefined;
3577
- givenName?: string | undefined;
3578
- additionalName?: string | undefined;
3579
- patronymicName?: string | undefined;
3580
- honorificPrefix?: string | undefined;
3581
- honorificSuffix?: string | undefined;
3582
- familyNamePrefix?: string | undefined;
3583
- dateOfBirth?: string | undefined;
3584
- };
3585
- issuanceDate: string;
3586
- credentialSubject: {
3587
- [x: string]: any;
3588
- id?: string | undefined;
3589
- } | {
3590
- [x: string]: any;
3591
- id?: string | undefined;
3592
- }[];
3593
- proof: {
3594
- [x: string]: any;
3595
- challenge?: string | undefined;
3596
- domain?: string | undefined;
3597
- nonce?: string | undefined;
3598
- jws?: string | undefined;
3599
- type: string;
3600
- created: string;
3601
- proofPurpose: string;
3602
- verificationMethod: string;
3603
- } | {
3604
- [x: string]: any;
3605
- challenge?: string | undefined;
3606
- domain?: string | undefined;
3607
- nonce?: string | undefined;
3608
- jws?: string | undefined;
3609
- type: string;
3610
- created: string;
3611
- proofPurpose: string;
3612
- verificationMethod: string;
3613
- }[];
3614
- }>, "many">]>>;
3615
- holder: z.ZodOptional<z.ZodString>;
3616
- proof: z.ZodUnion<[z.ZodObject<{
3617
- type: z.ZodString;
3618
- created: z.ZodString;
3619
- challenge: z.ZodOptional<z.ZodString>;
3620
- domain: z.ZodOptional<z.ZodString>;
3621
- nonce: z.ZodOptional<z.ZodString>;
3622
- proofPurpose: z.ZodString;
3623
- verificationMethod: z.ZodString;
3624
- jws: z.ZodOptional<z.ZodString>;
3625
- }, "strip", z.ZodAny, {
3626
- [x: string]: any;
3627
- challenge?: string | undefined;
3628
- domain?: string | undefined;
3629
- nonce?: string | undefined;
3630
- jws?: string | undefined;
3631
- type: string;
3632
- created: string;
3633
- proofPurpose: string;
3634
- verificationMethod: string;
3635
- }, {
3636
- [x: string]: any;
3637
- challenge?: string | undefined;
3638
- domain?: string | undefined;
3639
- nonce?: string | undefined;
3640
- jws?: string | undefined;
3641
- type: string;
3642
- created: string;
3643
- proofPurpose: string;
3644
- verificationMethod: string;
3645
- }>, z.ZodArray<z.ZodObject<{
3646
- type: z.ZodString;
3647
- created: z.ZodString;
3648
- challenge: z.ZodOptional<z.ZodString>;
3649
- domain: z.ZodOptional<z.ZodString>;
3650
- nonce: z.ZodOptional<z.ZodString>;
3651
- proofPurpose: z.ZodString;
3652
- verificationMethod: z.ZodString;
3653
- jws: z.ZodOptional<z.ZodString>;
3654
- }, "strip", z.ZodAny, {
3655
- [x: string]: any;
3656
- challenge?: string | undefined;
3657
- domain?: string | undefined;
3658
- nonce?: string | undefined;
3659
- jws?: string | undefined;
3660
- type: string;
3661
- created: string;
3662
- proofPurpose: string;
3663
- verificationMethod: string;
3664
- }, {
3665
- [x: string]: any;
3666
- challenge?: string | undefined;
3667
- domain?: string | undefined;
3668
- nonce?: string | undefined;
3669
- jws?: string | undefined;
3670
- type: string;
3671
- created: string;
3672
- proofPurpose: string;
3673
- verificationMethod: string;
3674
- }>, "many">]>;
3675
- }, "strip", z.ZodAny, {
3676
- [x: string]: any;
3677
- id?: string | undefined;
3678
- verifiableCredential?: {
3679
- [x: string]: any;
3680
- id?: string | undefined;
3681
- expirationDate?: string | undefined;
3682
- credentialStatus?: {
3683
- type: string;
3684
- id: string;
3685
- } | undefined;
3686
- credentialSchema?: {
3687
- type: string;
3688
- id: string;
3689
- }[] | undefined;
3690
- refreshService?: {
3691
- [x: string]: any;
3692
- type: string;
3693
- id: string;
3694
- } | undefined;
3695
- type: [string, ...string[]];
3696
- '@context': (string | Record<string, any>)[];
3697
- issuer: string | {
3698
- [x: string]: any;
3699
- type?: string | [string, ...string[]] | undefined;
3700
- id?: string | undefined;
3701
- name?: string | undefined;
3702
- url?: string | undefined;
3703
- phone?: string | undefined;
3704
- description?: string | undefined;
3705
- endorsement?: any[] | undefined;
3706
- image?: string | {
3707
- caption?: string | undefined;
3708
- type: string;
3709
- id: string;
3710
- } | undefined;
3711
- email?: string | undefined;
3712
- address?: {
3713
- addressCountry?: string | undefined;
3714
- addressCountryCode?: string | undefined;
3715
- addressRegion?: string | undefined;
3716
- addressLocality?: string | undefined;
3717
- streetAddress?: string | undefined;
3718
- postOfficeBoxNumber?: string | undefined;
3719
- postalCode?: string | undefined;
3720
- geo?: {
3721
- type: string | [string, ...string[]];
3722
- latitude: number;
3723
- longitude: number;
3724
- } | undefined;
3725
- type: string | [string, ...string[]];
3726
- } | undefined;
3727
- otherIdentifier?: {
3728
- type: string | [string, ...string[]];
3729
- identifier: string;
3730
- identifierType: string;
3731
- }[] | undefined;
3732
- official?: string | undefined;
3733
- parentOrg?: any;
3734
- familyName?: string | undefined;
3735
- givenName?: string | undefined;
3736
- additionalName?: string | undefined;
3737
- patronymicName?: string | undefined;
3738
- honorificPrefix?: string | undefined;
3739
- honorificSuffix?: string | undefined;
3740
- familyNamePrefix?: string | undefined;
3741
- dateOfBirth?: string | undefined;
3742
- };
3743
- issuanceDate: string;
3744
- credentialSubject: {
3745
- [x: string]: any;
3746
- id?: string | undefined;
3747
- } | {
3748
- [x: string]: any;
3749
- id?: string | undefined;
3750
- }[];
3751
- proof: {
3752
- [x: string]: any;
3753
- challenge?: string | undefined;
3754
- domain?: string | undefined;
3755
- nonce?: string | undefined;
3756
- jws?: string | undefined;
3757
- type: string;
3758
- created: string;
3759
- proofPurpose: string;
3760
- verificationMethod: string;
3761
- } | {
3762
- [x: string]: any;
3763
- challenge?: string | undefined;
3764
- domain?: string | undefined;
3765
- nonce?: string | undefined;
3766
- jws?: string | undefined;
3767
- type: string;
3768
- created: string;
3769
- proofPurpose: string;
3770
- verificationMethod: string;
3771
- }[];
3772
- } | {
3773
- [x: string]: any;
3774
- id?: string | undefined;
3775
- expirationDate?: string | undefined;
3776
- credentialStatus?: {
3777
- type: string;
3778
- id: string;
3779
- } | undefined;
3780
- credentialSchema?: {
3781
- type: string;
3782
- id: string;
3783
- }[] | undefined;
3784
- refreshService?: {
3785
- [x: string]: any;
3786
- type: string;
3787
- id: string;
3788
- } | undefined;
3789
- type: [string, ...string[]];
3790
- '@context': (string | Record<string, any>)[];
3791
- issuer: string | {
3792
- [x: string]: any;
3793
- type?: string | [string, ...string[]] | undefined;
3794
- id?: string | undefined;
3795
- name?: string | undefined;
3796
- url?: string | undefined;
3797
- phone?: string | undefined;
3798
- description?: string | undefined;
3799
- endorsement?: any[] | undefined;
3800
- image?: string | {
3801
- caption?: string | undefined;
3802
- type: string;
3803
- id: string;
3804
- } | undefined;
3805
- email?: string | undefined;
3806
- address?: {
3807
- addressCountry?: string | undefined;
3808
- addressCountryCode?: string | undefined;
3809
- addressRegion?: string | undefined;
3810
- addressLocality?: string | undefined;
3811
- streetAddress?: string | undefined;
3812
- postOfficeBoxNumber?: string | undefined;
3813
- postalCode?: string | undefined;
3814
- geo?: {
3815
- type: string | [string, ...string[]];
3816
- latitude: number;
3817
- longitude: number;
3818
- } | undefined;
3819
- type: string | [string, ...string[]];
3820
- } | undefined;
3821
- otherIdentifier?: {
3822
- type: string | [string, ...string[]];
3823
- identifier: string;
3824
- identifierType: string;
3825
- }[] | undefined;
3826
- official?: string | undefined;
3827
- parentOrg?: any;
3828
- familyName?: string | undefined;
3829
- givenName?: string | undefined;
3830
- additionalName?: string | undefined;
3831
- patronymicName?: string | undefined;
3832
- honorificPrefix?: string | undefined;
3833
- honorificSuffix?: string | undefined;
3834
- familyNamePrefix?: string | undefined;
3835
- dateOfBirth?: string | undefined;
3836
- };
3837
- issuanceDate: string;
3838
- credentialSubject: {
3839
- [x: string]: any;
3840
- id?: string | undefined;
3841
- } | {
3842
- [x: string]: any;
3843
- id?: string | undefined;
3844
- }[];
3845
- proof: {
3846
- [x: string]: any;
3847
- challenge?: string | undefined;
3848
- domain?: string | undefined;
3849
- nonce?: string | undefined;
3850
- jws?: string | undefined;
3851
- type: string;
3852
- created: string;
3853
- proofPurpose: string;
3854
- verificationMethod: string;
3855
- } | {
3856
- [x: string]: any;
3857
- challenge?: string | undefined;
3858
- domain?: string | undefined;
3859
- nonce?: string | undefined;
3860
- jws?: string | undefined;
3861
- type: string;
3862
- created: string;
3863
- proofPurpose: string;
3864
- verificationMethod: string;
3865
- }[];
3866
- }[] | undefined;
3867
- holder?: string | undefined;
3868
- type: [string, ...string[]];
3869
- '@context': (string | Record<string, any>)[];
3870
- proof: {
3871
- [x: string]: any;
3872
- challenge?: string | undefined;
3873
- domain?: string | undefined;
3874
- nonce?: string | undefined;
3875
- jws?: string | undefined;
3876
- type: string;
3877
- created: string;
3878
- proofPurpose: string;
3879
- verificationMethod: string;
3880
- } | {
3881
- [x: string]: any;
3882
- challenge?: string | undefined;
3883
- domain?: string | undefined;
3884
- nonce?: string | undefined;
3885
- jws?: string | undefined;
3886
- type: string;
3887
- created: string;
3888
- proofPurpose: string;
3889
- verificationMethod: string;
3890
- }[];
3891
- }, {
3892
- [x: string]: any;
3893
- id?: string | undefined;
3894
- verifiableCredential?: {
3895
- [x: string]: any;
3896
- id?: string | undefined;
3897
- expirationDate?: string | undefined;
3898
- credentialStatus?: {
3899
- type: string;
3900
- id: string;
3901
- } | undefined;
3902
- credentialSchema?: {
3903
- type: string;
3904
- id: string;
3905
- }[] | undefined;
3906
- refreshService?: {
3907
- [x: string]: any;
3908
- type: string;
3909
- id: string;
3910
- } | undefined;
3911
- type: [string, ...string[]];
3912
- '@context': (string | Record<string, any>)[];
3913
- issuer: string | {
3914
- [x: string]: any;
3915
- type?: string | [string, ...string[]] | undefined;
3916
- id?: string | undefined;
3917
- name?: string | undefined;
3918
- url?: string | undefined;
3919
- phone?: string | undefined;
3920
- description?: string | undefined;
3921
- endorsement?: any[] | undefined;
3922
- image?: string | {
3923
- caption?: string | undefined;
3924
- type: string;
3925
- id: string;
3926
- } | undefined;
3927
- email?: string | undefined;
3928
- address?: {
3929
- addressCountry?: string | undefined;
3930
- addressCountryCode?: string | undefined;
3931
- addressRegion?: string | undefined;
3932
- addressLocality?: string | undefined;
3933
- streetAddress?: string | undefined;
3934
- postOfficeBoxNumber?: string | undefined;
3935
- postalCode?: string | undefined;
3936
- geo?: {
3937
- type: string | [string, ...string[]];
3938
- latitude: number;
3939
- longitude: number;
3940
- } | undefined;
3941
- type: string | [string, ...string[]];
3942
- } | undefined;
3943
- otherIdentifier?: {
3944
- type: string | [string, ...string[]];
3945
- identifier: string;
3946
- identifierType: string;
3947
- }[] | undefined;
3948
- official?: string | undefined;
3949
- parentOrg?: any;
3950
- familyName?: string | undefined;
3951
- givenName?: string | undefined;
3952
- additionalName?: string | undefined;
3953
- patronymicName?: string | undefined;
3954
- honorificPrefix?: string | undefined;
3955
- honorificSuffix?: string | undefined;
3956
- familyNamePrefix?: string | undefined;
3957
- dateOfBirth?: string | undefined;
3958
- };
3959
- issuanceDate: string;
3960
- credentialSubject: {
3961
- [x: string]: any;
3962
- id?: string | undefined;
3963
- } | {
3964
- [x: string]: any;
3965
- id?: string | undefined;
3966
- }[];
3967
- proof: {
3968
- [x: string]: any;
3969
- challenge?: string | undefined;
3970
- domain?: string | undefined;
3971
- nonce?: string | undefined;
3972
- jws?: string | undefined;
3973
- type: string;
3974
- created: string;
3975
- proofPurpose: string;
3976
- verificationMethod: string;
3977
- } | {
3978
- [x: string]: any;
3979
- challenge?: string | undefined;
3980
- domain?: string | undefined;
3981
- nonce?: string | undefined;
3982
- jws?: string | undefined;
3983
- type: string;
3984
- created: string;
3985
- proofPurpose: string;
3986
- verificationMethod: string;
3987
- }[];
3988
- } | {
3989
- [x: string]: any;
3990
- id?: string | undefined;
3991
- expirationDate?: string | undefined;
3992
- credentialStatus?: {
3993
- type: string;
3994
- id: string;
3995
- } | undefined;
3996
- credentialSchema?: {
3997
- type: string;
3998
- id: string;
3999
- }[] | undefined;
4000
- refreshService?: {
4001
- [x: string]: any;
4002
- type: string;
4003
- id: string;
4004
- } | undefined;
4005
- type: [string, ...string[]];
4006
- '@context': (string | Record<string, any>)[];
4007
- issuer: string | {
4008
- [x: string]: any;
4009
- type?: string | [string, ...string[]] | undefined;
4010
- id?: string | undefined;
4011
- name?: string | undefined;
4012
- url?: string | undefined;
4013
- phone?: string | undefined;
4014
- description?: string | undefined;
4015
- endorsement?: any[] | undefined;
4016
- image?: string | {
4017
- caption?: string | undefined;
4018
- type: string;
4019
- id: string;
4020
- } | undefined;
4021
- email?: string | undefined;
4022
- address?: {
4023
- addressCountry?: string | undefined;
4024
- addressCountryCode?: string | undefined;
4025
- addressRegion?: string | undefined;
4026
- addressLocality?: string | undefined;
4027
- streetAddress?: string | undefined;
4028
- postOfficeBoxNumber?: string | undefined;
4029
- postalCode?: string | undefined;
4030
- geo?: {
4031
- type: string | [string, ...string[]];
4032
- latitude: number;
4033
- longitude: number;
4034
- } | undefined;
4035
- type: string | [string, ...string[]];
4036
- } | undefined;
4037
- otherIdentifier?: {
4038
- type: string | [string, ...string[]];
4039
- identifier: string;
4040
- identifierType: string;
4041
- }[] | undefined;
4042
- official?: string | undefined;
4043
- parentOrg?: any;
4044
- familyName?: string | undefined;
4045
- givenName?: string | undefined;
4046
- additionalName?: string | undefined;
4047
- patronymicName?: string | undefined;
4048
- honorificPrefix?: string | undefined;
4049
- honorificSuffix?: string | undefined;
4050
- familyNamePrefix?: string | undefined;
4051
- dateOfBirth?: string | undefined;
4052
- };
4053
- issuanceDate: string;
4054
- credentialSubject: {
4055
- [x: string]: any;
4056
- id?: string | undefined;
4057
- } | {
4058
- [x: string]: any;
4059
- id?: string | undefined;
4060
- }[];
4061
- proof: {
4062
- [x: string]: any;
4063
- challenge?: string | undefined;
4064
- domain?: string | undefined;
4065
- nonce?: string | undefined;
4066
- jws?: string | undefined;
4067
- type: string;
4068
- created: string;
4069
- proofPurpose: string;
4070
- verificationMethod: string;
4071
- } | {
4072
- [x: string]: any;
4073
- challenge?: string | undefined;
4074
- domain?: string | undefined;
4075
- nonce?: string | undefined;
4076
- jws?: string | undefined;
4077
- type: string;
4078
- created: string;
4079
- proofPurpose: string;
4080
- verificationMethod: string;
4081
- }[];
4082
- }[] | undefined;
4083
- holder?: string | undefined;
4084
- type: [string, ...string[]];
4085
- '@context': (string | Record<string, any>)[];
4086
- proof: {
4087
- [x: string]: any;
4088
- challenge?: string | undefined;
4089
- domain?: string | undefined;
4090
- nonce?: string | undefined;
4091
- jws?: string | undefined;
4092
- type: string;
4093
- created: string;
4094
- proofPurpose: string;
4095
- verificationMethod: string;
4096
- } | {
4097
- [x: string]: any;
4098
- challenge?: string | undefined;
4099
- domain?: string | undefined;
4100
- nonce?: string | undefined;
4101
- jws?: string | undefined;
4102
- type: string;
4103
- created: string;
4104
- proofPurpose: string;
4105
- verificationMethod: string;
4106
- }[];
4107
- }>;
4108
- export type VP = z.infer<typeof VPValidator>;