@learncard/types 5.1.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/obv3.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const AlignmentTargetTypeValidator: z.ZodUnion<[z.ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, z.ZodString]>;
3
- export declare type AlignmentTargetType = z.infer<typeof AlignmentTargetTypeValidator>;
3
+ export type AlignmentTargetType = z.infer<typeof AlignmentTargetTypeValidator>;
4
4
  export declare const AlignmentValidator: z.ZodObject<{
5
5
  type: z.ZodArray<z.ZodString, "atleastone">;
6
6
  targetCode: z.ZodOptional<z.ZodString>;
@@ -26,11 +26,11 @@ export declare const AlignmentValidator: z.ZodObject<{
26
26
  targetName: string;
27
27
  targetUrl: string;
28
28
  }>;
29
- export declare type Alignment = z.infer<typeof AlignmentValidator>;
29
+ export type Alignment = z.infer<typeof AlignmentValidator>;
30
30
  export declare const KnownAchievementTypeValidator: z.ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService", "Competency", "Course", "CoCurricular", "Degree", "Diploma", "DoctoralDegree", "Fieldwork", "GeneralEducationDevelopment", "JourneymanCertificate", "LearningProgram", "License", "Membership", "ProfessionalDoctorate", "QualityAssuranceCredential", "MasterCertificate", "MasterDegree", "MicroCredential", "ResearchDoctorate", "SecondarySchoolDiploma"]>;
31
- export declare type KnownAchievementType = z.infer<typeof KnownAchievementTypeValidator>;
31
+ export type KnownAchievementType = z.infer<typeof KnownAchievementTypeValidator>;
32
32
  export declare const AchievementTypeValidator: z.ZodUnion<[z.ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService", "Competency", "Course", "CoCurricular", "Degree", "Diploma", "DoctoralDegree", "Fieldwork", "GeneralEducationDevelopment", "JourneymanCertificate", "LearningProgram", "License", "Membership", "ProfessionalDoctorate", "QualityAssuranceCredential", "MasterCertificate", "MasterDegree", "MicroCredential", "ResearchDoctorate", "SecondarySchoolDiploma"]>, z.ZodString]>;
33
- export declare type AchievementType = z.infer<typeof AchievementTypeValidator>;
33
+ export type AchievementType = z.infer<typeof AchievementTypeValidator>;
34
34
  export declare const CriteriaValidator: z.ZodObject<{
35
35
  id: z.ZodOptional<z.ZodString>;
36
36
  narrative: z.ZodOptional<z.ZodString>;
@@ -43,7 +43,7 @@ export declare const CriteriaValidator: z.ZodObject<{
43
43
  narrative?: string | undefined;
44
44
  id?: string | undefined;
45
45
  }>;
46
- export declare type Criteria = z.infer<typeof CriteriaValidator>;
46
+ export type Criteria = z.infer<typeof CriteriaValidator>;
47
47
  export declare const EndorsementSubjectValidator: z.ZodObject<{
48
48
  id: z.ZodString;
49
49
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -57,11 +57,11 @@ export declare const EndorsementSubjectValidator: z.ZodObject<{
57
57
  type: [string, ...string[]];
58
58
  id: string;
59
59
  }>;
60
- export declare type EndorsementSubject = z.infer<typeof EndorsementSubjectValidator>;
61
- export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
62
- '@context': z.ZodArray<z.ZodString, "many">;
63
- id: z.ZodOptional<z.ZodString>;
60
+ export type EndorsementSubject = z.infer<typeof EndorsementSubjectValidator>;
61
+ export declare const EndorsementCredentialValidator: z.ZodObject<{
64
62
  type: z.ZodArray<z.ZodString, "atleastone">;
63
+ id: z.ZodOptional<z.ZodString>;
64
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
65
65
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
66
66
  id: z.ZodOptional<z.ZodString>;
67
67
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -251,23 +251,6 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
251
251
  }>]>;
252
252
  issuanceDate: z.ZodString;
253
253
  expirationDate: z.ZodOptional<z.ZodString>;
254
- credentialSubject: z.ZodUnion<[z.ZodObject<{
255
- id: z.ZodOptional<z.ZodString>;
256
- }, "strip", z.ZodAny, {
257
- [x: string]: any;
258
- id?: string | undefined;
259
- }, {
260
- [x: string]: any;
261
- id?: string | undefined;
262
- }>, z.ZodArray<z.ZodObject<{
263
- id: z.ZodOptional<z.ZodString>;
264
- }, "strip", z.ZodAny, {
265
- [x: string]: any;
266
- id?: string | undefined;
267
- }, {
268
- [x: string]: any;
269
- id?: string | undefined;
270
- }>, "many">]>;
271
254
  credentialStatus: z.ZodOptional<z.ZodObject<{
272
255
  type: z.ZodString;
273
256
  id: z.ZodString;
@@ -300,7 +283,6 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
300
283
  type: string;
301
284
  id: string;
302
285
  }>>;
303
- }, {
304
286
  credentialSubject: z.ZodObject<{
305
287
  id: z.ZodString;
306
288
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -373,7 +355,7 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
373
355
  proofPurpose: string;
374
356
  verificationMethod: string;
375
357
  }>, "many">]>>;
376
- }>, "strip", z.ZodAny, {
358
+ }, "strip", z.ZodAny, {
377
359
  [x: string]: any;
378
360
  id?: string | undefined;
379
361
  expirationDate?: string | undefined;
@@ -412,7 +394,7 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
412
394
  verificationMethod: string;
413
395
  }[] | undefined;
414
396
  type: [string, ...string[]];
415
- '@context': string[];
397
+ '@context': (string | Record<string, any>)[];
416
398
  issuer: string | {
417
399
  [x: string]: any;
418
400
  type?: string | [string, ...string[]] | undefined;
@@ -504,7 +486,7 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
504
486
  verificationMethod: string;
505
487
  }[] | undefined;
506
488
  type: [string, ...string[]];
507
- '@context': string[];
489
+ '@context': (string | Record<string, any>)[];
508
490
  issuer: string | {
509
491
  [x: string]: any;
510
492
  type?: string | [string, ...string[]] | undefined;
@@ -558,7 +540,7 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
558
540
  id: string;
559
541
  };
560
542
  }>;
561
- export declare type EndorsementCredential = z.infer<typeof EndorsementCredentialValidator>;
543
+ export type EndorsementCredential = z.infer<typeof EndorsementCredentialValidator>;
562
544
  export declare const RelatedValidator: z.ZodObject<{
563
545
  id: z.ZodString;
564
546
  '@language': z.ZodOptional<z.ZodString>;
@@ -572,9 +554,9 @@ export declare const RelatedValidator: z.ZodObject<{
572
554
  version?: string | undefined;
573
555
  id: string;
574
556
  }>;
575
- export declare type Related = z.infer<typeof RelatedValidator>;
557
+ export type Related = z.infer<typeof RelatedValidator>;
576
558
  export declare const ResultTypeValidator: z.ZodUnion<[z.ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, z.ZodString]>;
577
- export declare type ResultType = z.infer<typeof ResultTypeValidator>;
559
+ export type ResultType = z.infer<typeof ResultTypeValidator>;
578
560
  export declare const RubricCriterionValidator: z.ZodObject<{
579
561
  id: z.ZodString;
580
562
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -642,7 +624,7 @@ export declare const RubricCriterionValidator: z.ZodObject<{
642
624
  id: string;
643
625
  name: string;
644
626
  }>;
645
- export declare type RubricCriterion = z.infer<typeof RubricCriterionValidator>;
627
+ export type RubricCriterion = z.infer<typeof RubricCriterionValidator>;
646
628
  export declare const ResultDescriptionValidator: z.ZodObject<{
647
629
  id: z.ZodString;
648
630
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -822,7 +804,7 @@ export declare const ResultDescriptionValidator: z.ZodObject<{
822
804
  name: string;
823
805
  resultType: string;
824
806
  }>;
825
- export declare type ResultDescription = z.infer<typeof ResultDescriptionValidator>;
807
+ export type ResultDescription = z.infer<typeof ResultDescriptionValidator>;
826
808
  export declare const AchievementValidator: z.ZodObject<{
827
809
  id: z.ZodOptional<z.ZodString>;
828
810
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -1053,10 +1035,10 @@ export declare const AchievementValidator: z.ZodObject<{
1053
1035
  id?: string | undefined;
1054
1036
  }>;
1055
1037
  description: z.ZodString;
1056
- endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
1057
- '@context': z.ZodArray<z.ZodString, "many">;
1058
- id: z.ZodOptional<z.ZodString>;
1038
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
1059
1039
  type: z.ZodArray<z.ZodString, "atleastone">;
1040
+ id: z.ZodOptional<z.ZodString>;
1041
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
1060
1042
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1061
1043
  id: z.ZodOptional<z.ZodString>;
1062
1044
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -1246,23 +1228,6 @@ export declare const AchievementValidator: z.ZodObject<{
1246
1228
  }>]>;
1247
1229
  issuanceDate: z.ZodString;
1248
1230
  expirationDate: z.ZodOptional<z.ZodString>;
1249
- credentialSubject: z.ZodUnion<[z.ZodObject<{
1250
- id: z.ZodOptional<z.ZodString>;
1251
- }, "strip", z.ZodAny, {
1252
- [x: string]: any;
1253
- id?: string | undefined;
1254
- }, {
1255
- [x: string]: any;
1256
- id?: string | undefined;
1257
- }>, z.ZodArray<z.ZodObject<{
1258
- id: z.ZodOptional<z.ZodString>;
1259
- }, "strip", z.ZodAny, {
1260
- [x: string]: any;
1261
- id?: string | undefined;
1262
- }, {
1263
- [x: string]: any;
1264
- id?: string | undefined;
1265
- }>, "many">]>;
1266
1231
  credentialStatus: z.ZodOptional<z.ZodObject<{
1267
1232
  type: z.ZodString;
1268
1233
  id: z.ZodString;
@@ -1295,7 +1260,6 @@ export declare const AchievementValidator: z.ZodObject<{
1295
1260
  type: string;
1296
1261
  id: string;
1297
1262
  }>>;
1298
- }, {
1299
1263
  credentialSubject: z.ZodObject<{
1300
1264
  id: z.ZodString;
1301
1265
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -1368,7 +1332,7 @@ export declare const AchievementValidator: z.ZodObject<{
1368
1332
  proofPurpose: string;
1369
1333
  verificationMethod: string;
1370
1334
  }>, "many">]>>;
1371
- }>, "strip", z.ZodAny, {
1335
+ }, "strip", z.ZodAny, {
1372
1336
  [x: string]: any;
1373
1337
  id?: string | undefined;
1374
1338
  expirationDate?: string | undefined;
@@ -1407,7 +1371,7 @@ export declare const AchievementValidator: z.ZodObject<{
1407
1371
  verificationMethod: string;
1408
1372
  }[] | undefined;
1409
1373
  type: [string, ...string[]];
1410
- '@context': string[];
1374
+ '@context': (string | Record<string, any>)[];
1411
1375
  issuer: string | {
1412
1376
  [x: string]: any;
1413
1377
  type?: string | [string, ...string[]] | undefined;
@@ -1499,7 +1463,7 @@ export declare const AchievementValidator: z.ZodObject<{
1499
1463
  verificationMethod: string;
1500
1464
  }[] | undefined;
1501
1465
  type: [string, ...string[]];
1502
- '@context': string[];
1466
+ '@context': (string | Record<string, any>)[];
1503
1467
  issuer: string | {
1504
1468
  [x: string]: any;
1505
1469
  type?: string | [string, ...string[]] | undefined;
@@ -1780,6 +1744,7 @@ export declare const AchievementValidator: z.ZodObject<{
1780
1744
  version: z.ZodOptional<z.ZodString>;
1781
1745
  }, "strip", z.ZodAny, {
1782
1746
  [x: string]: any;
1747
+ tag?: string[] | undefined;
1783
1748
  id?: string | undefined;
1784
1749
  endorsement?: {
1785
1750
  [x: string]: any;
@@ -1820,7 +1785,7 @@ export declare const AchievementValidator: z.ZodObject<{
1820
1785
  verificationMethod: string;
1821
1786
  }[] | undefined;
1822
1787
  type: [string, ...string[]];
1823
- '@context': string[];
1788
+ '@context': (string | Record<string, any>)[];
1824
1789
  issuer: string | {
1825
1790
  [x: string]: any;
1826
1791
  type?: string | [string, ...string[]] | undefined;
@@ -1990,7 +1955,6 @@ export declare const AchievementValidator: z.ZodObject<{
1990
1955
  resultType: string;
1991
1956
  }[] | undefined;
1992
1957
  specialization?: string | undefined;
1993
- tag?: string[] | undefined;
1994
1958
  type: [string, ...string[]];
1995
1959
  name: string;
1996
1960
  description: string;
@@ -2001,6 +1965,7 @@ export declare const AchievementValidator: z.ZodObject<{
2001
1965
  };
2002
1966
  }, {
2003
1967
  [x: string]: any;
1968
+ tag?: string[] | undefined;
2004
1969
  id?: string | undefined;
2005
1970
  endorsement?: {
2006
1971
  [x: string]: any;
@@ -2041,7 +2006,7 @@ export declare const AchievementValidator: z.ZodObject<{
2041
2006
  verificationMethod: string;
2042
2007
  }[] | undefined;
2043
2008
  type: [string, ...string[]];
2044
- '@context': string[];
2009
+ '@context': (string | Record<string, any>)[];
2045
2010
  issuer: string | {
2046
2011
  [x: string]: any;
2047
2012
  type?: string | [string, ...string[]] | undefined;
@@ -2211,7 +2176,6 @@ export declare const AchievementValidator: z.ZodObject<{
2211
2176
  resultType: string;
2212
2177
  }[] | undefined;
2213
2178
  specialization?: string | undefined;
2214
- tag?: string[] | undefined;
2215
2179
  type: [string, ...string[]];
2216
2180
  name: string;
2217
2181
  description: string;
@@ -2221,7 +2185,7 @@ export declare const AchievementValidator: z.ZodObject<{
2221
2185
  id?: string | undefined;
2222
2186
  };
2223
2187
  }>;
2224
- export declare type Achievement = z.infer<typeof AchievementValidator>;
2188
+ export type Achievement = z.infer<typeof AchievementValidator>;
2225
2189
  export declare const IdentityObjectValidator: z.ZodObject<{
2226
2190
  type: z.ZodString;
2227
2191
  hashed: z.ZodBoolean;
@@ -2241,9 +2205,9 @@ export declare const IdentityObjectValidator: z.ZodObject<{
2241
2205
  identityHash: string;
2242
2206
  identityType: string;
2243
2207
  }>;
2244
- export declare type IdentityObject = z.infer<typeof IdentityObjectValidator>;
2208
+ export type IdentityObject = z.infer<typeof IdentityObjectValidator>;
2245
2209
  export declare const ResultStatusTypeValidator: z.ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>;
2246
- export declare type ResultStatusType = z.infer<typeof ResultStatusTypeValidator>;
2210
+ export type ResultStatusType = z.infer<typeof ResultStatusTypeValidator>;
2247
2211
  export declare const ResultValidator: z.ZodObject<{
2248
2212
  type: z.ZodArray<z.ZodString, "atleastone">;
2249
2213
  achievedLevel: z.ZodOptional<z.ZodString>;
@@ -2308,7 +2272,7 @@ export declare const ResultValidator: z.ZodObject<{
2308
2272
  achievedLevel?: string | undefined;
2309
2273
  type: [string, ...string[]];
2310
2274
  }>;
2311
- export declare type Result = z.infer<typeof ResultValidator>;
2275
+ export type Result = z.infer<typeof ResultValidator>;
2312
2276
  export declare const AchievementSubjectValidator: z.ZodObject<{
2313
2277
  id: z.ZodOptional<z.ZodString>;
2314
2278
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -2545,10 +2509,10 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2545
2509
  id?: string | undefined;
2546
2510
  }>;
2547
2511
  description: z.ZodString;
2548
- endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
2549
- '@context': z.ZodArray<z.ZodString, "many">;
2550
- id: z.ZodOptional<z.ZodString>;
2512
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
2551
2513
  type: z.ZodArray<z.ZodString, "atleastone">;
2514
+ id: z.ZodOptional<z.ZodString>;
2515
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
2552
2516
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
2553
2517
  id: z.ZodOptional<z.ZodString>;
2554
2518
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -2738,23 +2702,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2738
2702
  }>]>;
2739
2703
  issuanceDate: z.ZodString;
2740
2704
  expirationDate: z.ZodOptional<z.ZodString>;
2741
- credentialSubject: z.ZodUnion<[z.ZodObject<{
2742
- id: z.ZodOptional<z.ZodString>;
2743
- }, "strip", z.ZodAny, {
2744
- [x: string]: any;
2745
- id?: string | undefined;
2746
- }, {
2747
- [x: string]: any;
2748
- id?: string | undefined;
2749
- }>, z.ZodArray<z.ZodObject<{
2750
- id: z.ZodOptional<z.ZodString>;
2751
- }, "strip", z.ZodAny, {
2752
- [x: string]: any;
2753
- id?: string | undefined;
2754
- }, {
2755
- [x: string]: any;
2756
- id?: string | undefined;
2757
- }>, "many">]>;
2758
2705
  credentialStatus: z.ZodOptional<z.ZodObject<{
2759
2706
  type: z.ZodString;
2760
2707
  id: z.ZodString;
@@ -2787,7 +2734,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2787
2734
  type: string;
2788
2735
  id: string;
2789
2736
  }>>;
2790
- }, {
2791
2737
  credentialSubject: z.ZodObject<{
2792
2738
  id: z.ZodString;
2793
2739
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -2860,7 +2806,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2860
2806
  proofPurpose: string;
2861
2807
  verificationMethod: string;
2862
2808
  }>, "many">]>>;
2863
- }>, "strip", z.ZodAny, {
2809
+ }, "strip", z.ZodAny, {
2864
2810
  [x: string]: any;
2865
2811
  id?: string | undefined;
2866
2812
  expirationDate?: string | undefined;
@@ -2899,7 +2845,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2899
2845
  verificationMethod: string;
2900
2846
  }[] | undefined;
2901
2847
  type: [string, ...string[]];
2902
- '@context': string[];
2848
+ '@context': (string | Record<string, any>)[];
2903
2849
  issuer: string | {
2904
2850
  [x: string]: any;
2905
2851
  type?: string | [string, ...string[]] | undefined;
@@ -2991,7 +2937,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2991
2937
  verificationMethod: string;
2992
2938
  }[] | undefined;
2993
2939
  type: [string, ...string[]];
2994
- '@context': string[];
2940
+ '@context': (string | Record<string, any>)[];
2995
2941
  issuer: string | {
2996
2942
  [x: string]: any;
2997
2943
  type?: string | [string, ...string[]] | undefined;
@@ -3272,6 +3218,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3272
3218
  version: z.ZodOptional<z.ZodString>;
3273
3219
  }, "strip", z.ZodAny, {
3274
3220
  [x: string]: any;
3221
+ tag?: string[] | undefined;
3275
3222
  id?: string | undefined;
3276
3223
  endorsement?: {
3277
3224
  [x: string]: any;
@@ -3312,7 +3259,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3312
3259
  verificationMethod: string;
3313
3260
  }[] | undefined;
3314
3261
  type: [string, ...string[]];
3315
- '@context': string[];
3262
+ '@context': (string | Record<string, any>)[];
3316
3263
  issuer: string | {
3317
3264
  [x: string]: any;
3318
3265
  type?: string | [string, ...string[]] | undefined;
@@ -3482,7 +3429,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3482
3429
  resultType: string;
3483
3430
  }[] | undefined;
3484
3431
  specialization?: string | undefined;
3485
- tag?: string[] | undefined;
3486
3432
  type: [string, ...string[]];
3487
3433
  name: string;
3488
3434
  description: string;
@@ -3493,6 +3439,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3493
3439
  };
3494
3440
  }, {
3495
3441
  [x: string]: any;
3442
+ tag?: string[] | undefined;
3496
3443
  id?: string | undefined;
3497
3444
  endorsement?: {
3498
3445
  [x: string]: any;
@@ -3533,7 +3480,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3533
3480
  verificationMethod: string;
3534
3481
  }[] | undefined;
3535
3482
  type: [string, ...string[]];
3536
- '@context': string[];
3483
+ '@context': (string | Record<string, any>)[];
3537
3484
  issuer: string | {
3538
3485
  [x: string]: any;
3539
3486
  type?: string | [string, ...string[]] | undefined;
@@ -3703,7 +3650,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3703
3650
  resultType: string;
3704
3651
  }[] | undefined;
3705
3652
  specialization?: string | undefined;
3706
- tag?: string[] | undefined;
3707
3653
  type: [string, ...string[]];
3708
3654
  name: string;
3709
3655
  description: string;
@@ -4021,6 +3967,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4021
3967
  creditsEarned?: number | undefined;
4022
3968
  achievement?: {
4023
3969
  [x: string]: any;
3970
+ tag?: string[] | undefined;
4024
3971
  id?: string | undefined;
4025
3972
  endorsement?: {
4026
3973
  [x: string]: any;
@@ -4061,7 +4008,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4061
4008
  verificationMethod: string;
4062
4009
  }[] | undefined;
4063
4010
  type: [string, ...string[]];
4064
- '@context': string[];
4011
+ '@context': (string | Record<string, any>)[];
4065
4012
  issuer: string | {
4066
4013
  [x: string]: any;
4067
4014
  type?: string | [string, ...string[]] | undefined;
@@ -4231,7 +4178,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4231
4178
  resultType: string;
4232
4179
  }[] | undefined;
4233
4180
  specialization?: string | undefined;
4234
- tag?: string[] | undefined;
4235
4181
  type: [string, ...string[]];
4236
4182
  name: string;
4237
4183
  description: string;
@@ -4329,6 +4275,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4329
4275
  creditsEarned?: number | undefined;
4330
4276
  achievement?: {
4331
4277
  [x: string]: any;
4278
+ tag?: string[] | undefined;
4332
4279
  id?: string | undefined;
4333
4280
  endorsement?: {
4334
4281
  [x: string]: any;
@@ -4369,7 +4316,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4369
4316
  verificationMethod: string;
4370
4317
  }[] | undefined;
4371
4318
  type: [string, ...string[]];
4372
- '@context': string[];
4319
+ '@context': (string | Record<string, any>)[];
4373
4320
  issuer: string | {
4374
4321
  [x: string]: any;
4375
4322
  type?: string | [string, ...string[]] | undefined;
@@ -4539,7 +4486,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4539
4486
  resultType: string;
4540
4487
  }[] | undefined;
4541
4488
  specialization?: string | undefined;
4542
- tag?: string[] | undefined;
4543
4489
  type: [string, ...string[]];
4544
4490
  name: string;
4545
4491
  description: string;
@@ -4617,7 +4563,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4617
4563
  term?: string | undefined;
4618
4564
  type: [string, ...string[]];
4619
4565
  }>;
4620
- export declare type AchievementSubject = z.infer<typeof AchievementSubjectValidator>;
4566
+ export type AchievementSubject = z.infer<typeof AchievementSubjectValidator>;
4621
4567
  export declare const EvidenceValidator: z.ZodObject<{
4622
4568
  id: z.ZodOptional<z.ZodString>;
4623
4569
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -4645,11 +4591,11 @@ export declare const EvidenceValidator: z.ZodObject<{
4645
4591
  audience?: string | undefined;
4646
4592
  type: [string, ...string[]];
4647
4593
  }>;
4648
- export declare type Evidence = z.infer<typeof EvidenceValidator>;
4649
- export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.extendShape<{
4650
- '@context': z.ZodArray<z.ZodString, "many">;
4651
- id: z.ZodOptional<z.ZodString>;
4594
+ export type Evidence = z.infer<typeof EvidenceValidator>;
4595
+ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<{
4652
4596
  type: z.ZodArray<z.ZodString, "atleastone">;
4597
+ id: z.ZodOptional<z.ZodString>;
4598
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
4653
4599
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
4654
4600
  id: z.ZodOptional<z.ZodString>;
4655
4601
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -4839,23 +4785,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
4839
4785
  }>]>;
4840
4786
  issuanceDate: z.ZodString;
4841
4787
  expirationDate: z.ZodOptional<z.ZodString>;
4842
- credentialSubject: z.ZodUnion<[z.ZodObject<{
4843
- id: z.ZodOptional<z.ZodString>;
4844
- }, "strip", z.ZodAny, {
4845
- [x: string]: any;
4846
- id?: string | undefined;
4847
- }, {
4848
- [x: string]: any;
4849
- id?: string | undefined;
4850
- }>, z.ZodArray<z.ZodObject<{
4851
- id: z.ZodOptional<z.ZodString>;
4852
- }, "strip", z.ZodAny, {
4853
- [x: string]: any;
4854
- id?: string | undefined;
4855
- }, {
4856
- [x: string]: any;
4857
- id?: string | undefined;
4858
- }>, "many">]>;
4859
4788
  credentialStatus: z.ZodOptional<z.ZodObject<{
4860
4789
  type: z.ZodString;
4861
4790
  id: z.ZodString;
@@ -4888,7 +4817,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
4888
4817
  type: string;
4889
4818
  id: string;
4890
4819
  }>>;
4891
- }, {
4892
4820
  name: z.ZodOptional<z.ZodString>;
4893
4821
  description: z.ZodOptional<z.ZodString>;
4894
4822
  image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -5140,10 +5068,10 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5140
5068
  id?: string | undefined;
5141
5069
  }>;
5142
5070
  description: z.ZodString;
5143
- endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
5144
- '@context': z.ZodArray<z.ZodString, "many">;
5145
- id: z.ZodOptional<z.ZodString>;
5071
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
5146
5072
  type: z.ZodArray<z.ZodString, "atleastone">;
5073
+ id: z.ZodOptional<z.ZodString>;
5074
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
5147
5075
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
5148
5076
  id: z.ZodOptional<z.ZodString>;
5149
5077
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -5333,23 +5261,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5333
5261
  }>]>;
5334
5262
  issuanceDate: z.ZodString;
5335
5263
  expirationDate: z.ZodOptional<z.ZodString>;
5336
- credentialSubject: z.ZodUnion<[z.ZodObject<{
5337
- id: z.ZodOptional<z.ZodString>;
5338
- }, "strip", z.ZodAny, {
5339
- [x: string]: any;
5340
- id?: string | undefined;
5341
- }, {
5342
- [x: string]: any;
5343
- id?: string | undefined;
5344
- }>, z.ZodArray<z.ZodObject<{
5345
- id: z.ZodOptional<z.ZodString>;
5346
- }, "strip", z.ZodAny, {
5347
- [x: string]: any;
5348
- id?: string | undefined;
5349
- }, {
5350
- [x: string]: any;
5351
- id?: string | undefined;
5352
- }>, "many">]>;
5353
5264
  credentialStatus: z.ZodOptional<z.ZodObject<{
5354
5265
  type: z.ZodString;
5355
5266
  id: z.ZodString;
@@ -5382,7 +5293,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5382
5293
  type: string;
5383
5294
  id: string;
5384
5295
  }>>;
5385
- }, {
5386
5296
  credentialSubject: z.ZodObject<{
5387
5297
  id: z.ZodString;
5388
5298
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -5455,7 +5365,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5455
5365
  proofPurpose: string;
5456
5366
  verificationMethod: string;
5457
5367
  }>, "many">]>>;
5458
- }>, "strip", z.ZodAny, {
5368
+ }, "strip", z.ZodAny, {
5459
5369
  [x: string]: any;
5460
5370
  id?: string | undefined;
5461
5371
  expirationDate?: string | undefined;
@@ -5494,7 +5404,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5494
5404
  verificationMethod: string;
5495
5405
  }[] | undefined;
5496
5406
  type: [string, ...string[]];
5497
- '@context': string[];
5407
+ '@context': (string | Record<string, any>)[];
5498
5408
  issuer: string | {
5499
5409
  [x: string]: any;
5500
5410
  type?: string | [string, ...string[]] | undefined;
@@ -5586,7 +5496,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5586
5496
  verificationMethod: string;
5587
5497
  }[] | undefined;
5588
5498
  type: [string, ...string[]];
5589
- '@context': string[];
5499
+ '@context': (string | Record<string, any>)[];
5590
5500
  issuer: string | {
5591
5501
  [x: string]: any;
5592
5502
  type?: string | [string, ...string[]] | undefined;
@@ -5867,6 +5777,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5867
5777
  version: z.ZodOptional<z.ZodString>;
5868
5778
  }, "strip", z.ZodAny, {
5869
5779
  [x: string]: any;
5780
+ tag?: string[] | undefined;
5870
5781
  id?: string | undefined;
5871
5782
  endorsement?: {
5872
5783
  [x: string]: any;
@@ -5907,7 +5818,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5907
5818
  verificationMethod: string;
5908
5819
  }[] | undefined;
5909
5820
  type: [string, ...string[]];
5910
- '@context': string[];
5821
+ '@context': (string | Record<string, any>)[];
5911
5822
  issuer: string | {
5912
5823
  [x: string]: any;
5913
5824
  type?: string | [string, ...string[]] | undefined;
@@ -6077,7 +5988,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6077
5988
  resultType: string;
6078
5989
  }[] | undefined;
6079
5990
  specialization?: string | undefined;
6080
- tag?: string[] | undefined;
6081
5991
  type: [string, ...string[]];
6082
5992
  name: string;
6083
5993
  description: string;
@@ -6088,6 +5998,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6088
5998
  };
6089
5999
  }, {
6090
6000
  [x: string]: any;
6001
+ tag?: string[] | undefined;
6091
6002
  id?: string | undefined;
6092
6003
  endorsement?: {
6093
6004
  [x: string]: any;
@@ -6128,7 +6039,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6128
6039
  verificationMethod: string;
6129
6040
  }[] | undefined;
6130
6041
  type: [string, ...string[]];
6131
- '@context': string[];
6042
+ '@context': (string | Record<string, any>)[];
6132
6043
  issuer: string | {
6133
6044
  [x: string]: any;
6134
6045
  type?: string | [string, ...string[]] | undefined;
@@ -6298,7 +6209,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6298
6209
  resultType: string;
6299
6210
  }[] | undefined;
6300
6211
  specialization?: string | undefined;
6301
- tag?: string[] | undefined;
6302
6212
  type: [string, ...string[]];
6303
6213
  name: string;
6304
6214
  description: string;
@@ -6616,6 +6526,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6616
6526
  creditsEarned?: number | undefined;
6617
6527
  achievement?: {
6618
6528
  [x: string]: any;
6529
+ tag?: string[] | undefined;
6619
6530
  id?: string | undefined;
6620
6531
  endorsement?: {
6621
6532
  [x: string]: any;
@@ -6656,7 +6567,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6656
6567
  verificationMethod: string;
6657
6568
  }[] | undefined;
6658
6569
  type: [string, ...string[]];
6659
- '@context': string[];
6570
+ '@context': (string | Record<string, any>)[];
6660
6571
  issuer: string | {
6661
6572
  [x: string]: any;
6662
6573
  type?: string | [string, ...string[]] | undefined;
@@ -6826,7 +6737,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6826
6737
  resultType: string;
6827
6738
  }[] | undefined;
6828
6739
  specialization?: string | undefined;
6829
- tag?: string[] | undefined;
6830
6740
  type: [string, ...string[]];
6831
6741
  name: string;
6832
6742
  description: string;
@@ -6924,6 +6834,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6924
6834
  creditsEarned?: number | undefined;
6925
6835
  achievement?: {
6926
6836
  [x: string]: any;
6837
+ tag?: string[] | undefined;
6927
6838
  id?: string | undefined;
6928
6839
  endorsement?: {
6929
6840
  [x: string]: any;
@@ -6964,7 +6875,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6964
6875
  verificationMethod: string;
6965
6876
  }[] | undefined;
6966
6877
  type: [string, ...string[]];
6967
- '@context': string[];
6878
+ '@context': (string | Record<string, any>)[];
6968
6879
  issuer: string | {
6969
6880
  [x: string]: any;
6970
6881
  type?: string | [string, ...string[]] | undefined;
@@ -7134,7 +7045,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
7134
7045
  resultType: string;
7135
7046
  }[] | undefined;
7136
7047
  specialization?: string | undefined;
7137
- tag?: string[] | undefined;
7138
7048
  type: [string, ...string[]];
7139
7049
  name: string;
7140
7050
  description: string;
@@ -7447,10 +7357,10 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
7447
7357
  id?: string | undefined;
7448
7358
  }>;
7449
7359
  description: z.ZodString;
7450
- endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
7451
- '@context': z.ZodArray<z.ZodString, "many">;
7452
- id: z.ZodOptional<z.ZodString>;
7360
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
7453
7361
  type: z.ZodArray<z.ZodString, "atleastone">;
7362
+ id: z.ZodOptional<z.ZodString>;
7363
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
7454
7364
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
7455
7365
  id: z.ZodOptional<z.ZodString>;
7456
7366
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -7640,23 +7550,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
7640
7550
  }>]>;
7641
7551
  issuanceDate: z.ZodString;
7642
7552
  expirationDate: z.ZodOptional<z.ZodString>;
7643
- credentialSubject: z.ZodUnion<[z.ZodObject<{
7644
- id: z.ZodOptional<z.ZodString>;
7645
- }, "strip", z.ZodAny, {
7646
- [x: string]: any;
7647
- id?: string | undefined;
7648
- }, {
7649
- [x: string]: any;
7650
- id?: string | undefined;
7651
- }>, z.ZodArray<z.ZodObject<{
7652
- id: z.ZodOptional<z.ZodString>;
7653
- }, "strip", z.ZodAny, {
7654
- [x: string]: any;
7655
- id?: string | undefined;
7656
- }, {
7657
- [x: string]: any;
7658
- id?: string | undefined;
7659
- }>, "many">]>;
7660
7553
  credentialStatus: z.ZodOptional<z.ZodObject<{
7661
7554
  type: z.ZodString;
7662
7555
  id: z.ZodString;
@@ -7689,7 +7582,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
7689
7582
  type: string;
7690
7583
  id: string;
7691
7584
  }>>;
7692
- }, {
7693
7585
  credentialSubject: z.ZodObject<{
7694
7586
  id: z.ZodString;
7695
7587
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -7762,7 +7654,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
7762
7654
  proofPurpose: string;
7763
7655
  verificationMethod: string;
7764
7656
  }>, "many">]>>;
7765
- }>, "strip", z.ZodAny, {
7657
+ }, "strip", z.ZodAny, {
7766
7658
  [x: string]: any;
7767
7659
  id?: string | undefined;
7768
7660
  expirationDate?: string | undefined;
@@ -7801,7 +7693,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
7801
7693
  verificationMethod: string;
7802
7694
  }[] | undefined;
7803
7695
  type: [string, ...string[]];
7804
- '@context': string[];
7696
+ '@context': (string | Record<string, any>)[];
7805
7697
  issuer: string | {
7806
7698
  [x: string]: any;
7807
7699
  type?: string | [string, ...string[]] | undefined;
@@ -7893,7 +7785,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
7893
7785
  verificationMethod: string;
7894
7786
  }[] | undefined;
7895
7787
  type: [string, ...string[]];
7896
- '@context': string[];
7788
+ '@context': (string | Record<string, any>)[];
7897
7789
  issuer: string | {
7898
7790
  [x: string]: any;
7899
7791
  type?: string | [string, ...string[]] | undefined;
@@ -8174,6 +8066,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
8174
8066
  version: z.ZodOptional<z.ZodString>;
8175
8067
  }, "strip", z.ZodAny, {
8176
8068
  [x: string]: any;
8069
+ tag?: string[] | undefined;
8177
8070
  id?: string | undefined;
8178
8071
  endorsement?: {
8179
8072
  [x: string]: any;
@@ -8214,7 +8107,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
8214
8107
  verificationMethod: string;
8215
8108
  }[] | undefined;
8216
8109
  type: [string, ...string[]];
8217
- '@context': string[];
8110
+ '@context': (string | Record<string, any>)[];
8218
8111
  issuer: string | {
8219
8112
  [x: string]: any;
8220
8113
  type?: string | [string, ...string[]] | undefined;
@@ -8384,7 +8277,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
8384
8277
  resultType: string;
8385
8278
  }[] | undefined;
8386
8279
  specialization?: string | undefined;
8387
- tag?: string[] | undefined;
8388
8280
  type: [string, ...string[]];
8389
8281
  name: string;
8390
8282
  description: string;
@@ -8395,6 +8287,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
8395
8287
  };
8396
8288
  }, {
8397
8289
  [x: string]: any;
8290
+ tag?: string[] | undefined;
8398
8291
  id?: string | undefined;
8399
8292
  endorsement?: {
8400
8293
  [x: string]: any;
@@ -8435,7 +8328,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
8435
8328
  verificationMethod: string;
8436
8329
  }[] | undefined;
8437
8330
  type: [string, ...string[]];
8438
- '@context': string[];
8331
+ '@context': (string | Record<string, any>)[];
8439
8332
  issuer: string | {
8440
8333
  [x: string]: any;
8441
8334
  type?: string | [string, ...string[]] | undefined;
@@ -8605,7 +8498,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
8605
8498
  resultType: string;
8606
8499
  }[] | undefined;
8607
8500
  specialization?: string | undefined;
8608
- tag?: string[] | undefined;
8609
8501
  type: [string, ...string[]];
8610
8502
  name: string;
8611
8503
  description: string;
@@ -8923,6 +8815,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
8923
8815
  creditsEarned?: number | undefined;
8924
8816
  achievement?: {
8925
8817
  [x: string]: any;
8818
+ tag?: string[] | undefined;
8926
8819
  id?: string | undefined;
8927
8820
  endorsement?: {
8928
8821
  [x: string]: any;
@@ -8963,7 +8856,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
8963
8856
  verificationMethod: string;
8964
8857
  }[] | undefined;
8965
8858
  type: [string, ...string[]];
8966
- '@context': string[];
8859
+ '@context': (string | Record<string, any>)[];
8967
8860
  issuer: string | {
8968
8861
  [x: string]: any;
8969
8862
  type?: string | [string, ...string[]] | undefined;
@@ -9133,7 +9026,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9133
9026
  resultType: string;
9134
9027
  }[] | undefined;
9135
9028
  specialization?: string | undefined;
9136
- tag?: string[] | undefined;
9137
9029
  type: [string, ...string[]];
9138
9030
  name: string;
9139
9031
  description: string;
@@ -9231,6 +9123,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9231
9123
  creditsEarned?: number | undefined;
9232
9124
  achievement?: {
9233
9125
  [x: string]: any;
9126
+ tag?: string[] | undefined;
9234
9127
  id?: string | undefined;
9235
9128
  endorsement?: {
9236
9129
  [x: string]: any;
@@ -9271,7 +9164,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9271
9164
  verificationMethod: string;
9272
9165
  }[] | undefined;
9273
9166
  type: [string, ...string[]];
9274
- '@context': string[];
9167
+ '@context': (string | Record<string, any>)[];
9275
9168
  issuer: string | {
9276
9169
  [x: string]: any;
9277
9170
  type?: string | [string, ...string[]] | undefined;
@@ -9441,7 +9334,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9441
9334
  resultType: string;
9442
9335
  }[] | undefined;
9443
9336
  specialization?: string | undefined;
9444
- tag?: string[] | undefined;
9445
9337
  type: [string, ...string[]];
9446
9338
  name: string;
9447
9339
  description: string;
@@ -9520,7 +9412,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9520
9412
  type: [string, ...string[]];
9521
9413
  }>, "many">]>;
9522
9414
  endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
9523
- '@context': z.ZodArray<z.ZodString, "many">;
9415
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
9524
9416
  id: z.ZodOptional<z.ZodString>;
9525
9417
  type: z.ZodArray<z.ZodString, "atleastone">;
9526
9418
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -9779,7 +9671,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9779
9671
  id: string;
9780
9672
  } | undefined;
9781
9673
  type: [string, ...string[]];
9782
- '@context': string[];
9674
+ '@context': (string | Record<string, any>)[];
9783
9675
  issuer: string | {
9784
9676
  [x: string]: any;
9785
9677
  type?: string | [string, ...string[]] | undefined;
@@ -9852,7 +9744,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9852
9744
  id: string;
9853
9745
  } | undefined;
9854
9746
  type: [string, ...string[]];
9855
- '@context': string[];
9747
+ '@context': (string | Record<string, any>)[];
9856
9748
  issuer: string | {
9857
9749
  [x: string]: any;
9858
9750
  type?: string | [string, ...string[]] | undefined;
@@ -9935,7 +9827,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9935
9827
  audience?: string | undefined;
9936
9828
  type: [string, ...string[]];
9937
9829
  }>, "many">>;
9938
- }>, "strip", z.ZodAny, {
9830
+ }, "strip", z.ZodAny, {
9939
9831
  [x: string]: any;
9940
9832
  id?: string | undefined;
9941
9833
  name?: string | undefined;
@@ -9958,7 +9850,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
9958
9850
  id: string;
9959
9851
  } | undefined;
9960
9852
  type: [string, ...string[]];
9961
- '@context': string[];
9853
+ '@context': (string | Record<string, any>)[];
9962
9854
  issuer: string | {
9963
9855
  [x: string]: any;
9964
9856
  type?: string | [string, ...string[]] | undefined;
@@ -10044,7 +9936,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10044
9936
  type: [string, ...string[]];
10045
9937
  }[] | undefined;
10046
9938
  type: [string, ...string[]];
10047
- '@context': string[];
9939
+ '@context': (string | Record<string, any>)[];
10048
9940
  issuer: string | {
10049
9941
  [x: string]: any;
10050
9942
  type?: string | [string, ...string[]] | undefined;
@@ -10113,6 +10005,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10113
10005
  creditsEarned?: number | undefined;
10114
10006
  achievement?: {
10115
10007
  [x: string]: any;
10008
+ tag?: string[] | undefined;
10116
10009
  id?: string | undefined;
10117
10010
  endorsement?: {
10118
10011
  [x: string]: any;
@@ -10153,7 +10046,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10153
10046
  verificationMethod: string;
10154
10047
  }[] | undefined;
10155
10048
  type: [string, ...string[]];
10156
- '@context': string[];
10049
+ '@context': (string | Record<string, any>)[];
10157
10050
  issuer: string | {
10158
10051
  [x: string]: any;
10159
10052
  type?: string | [string, ...string[]] | undefined;
@@ -10323,7 +10216,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10323
10216
  resultType: string;
10324
10217
  }[] | undefined;
10325
10218
  specialization?: string | undefined;
10326
- tag?: string[] | undefined;
10327
10219
  type: [string, ...string[]];
10328
10220
  name: string;
10329
10221
  description: string;
@@ -10421,6 +10313,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10421
10313
  creditsEarned?: number | undefined;
10422
10314
  achievement?: {
10423
10315
  [x: string]: any;
10316
+ tag?: string[] | undefined;
10424
10317
  id?: string | undefined;
10425
10318
  endorsement?: {
10426
10319
  [x: string]: any;
@@ -10461,7 +10354,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10461
10354
  verificationMethod: string;
10462
10355
  }[] | undefined;
10463
10356
  type: [string, ...string[]];
10464
- '@context': string[];
10357
+ '@context': (string | Record<string, any>)[];
10465
10358
  issuer: string | {
10466
10359
  [x: string]: any;
10467
10360
  type?: string | [string, ...string[]] | undefined;
@@ -10631,7 +10524,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10631
10524
  resultType: string;
10632
10525
  }[] | undefined;
10633
10526
  specialization?: string | undefined;
10634
- tag?: string[] | undefined;
10635
10527
  type: [string, ...string[]];
10636
10528
  name: string;
10637
10529
  description: string;
@@ -10732,7 +10624,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10732
10624
  id: string;
10733
10625
  } | undefined;
10734
10626
  type: [string, ...string[]];
10735
- '@context': string[];
10627
+ '@context': (string | Record<string, any>)[];
10736
10628
  issuer: string | {
10737
10629
  [x: string]: any;
10738
10630
  type?: string | [string, ...string[]] | undefined;
@@ -10818,7 +10710,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10818
10710
  type: [string, ...string[]];
10819
10711
  }[] | undefined;
10820
10712
  type: [string, ...string[]];
10821
- '@context': string[];
10713
+ '@context': (string | Record<string, any>)[];
10822
10714
  issuer: string | {
10823
10715
  [x: string]: any;
10824
10716
  type?: string | [string, ...string[]] | undefined;
@@ -10887,6 +10779,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10887
10779
  creditsEarned?: number | undefined;
10888
10780
  achievement?: {
10889
10781
  [x: string]: any;
10782
+ tag?: string[] | undefined;
10890
10783
  id?: string | undefined;
10891
10784
  endorsement?: {
10892
10785
  [x: string]: any;
@@ -10927,7 +10820,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
10927
10820
  verificationMethod: string;
10928
10821
  }[] | undefined;
10929
10822
  type: [string, ...string[]];
10930
- '@context': string[];
10823
+ '@context': (string | Record<string, any>)[];
10931
10824
  issuer: string | {
10932
10825
  [x: string]: any;
10933
10826
  type?: string | [string, ...string[]] | undefined;
@@ -11097,7 +10990,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
11097
10990
  resultType: string;
11098
10991
  }[] | undefined;
11099
10992
  specialization?: string | undefined;
11100
- tag?: string[] | undefined;
11101
10993
  type: [string, ...string[]];
11102
10994
  name: string;
11103
10995
  description: string;
@@ -11195,6 +11087,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
11195
11087
  creditsEarned?: number | undefined;
11196
11088
  achievement?: {
11197
11089
  [x: string]: any;
11090
+ tag?: string[] | undefined;
11198
11091
  id?: string | undefined;
11199
11092
  endorsement?: {
11200
11093
  [x: string]: any;
@@ -11235,7 +11128,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
11235
11128
  verificationMethod: string;
11236
11129
  }[] | undefined;
11237
11130
  type: [string, ...string[]];
11238
- '@context': string[];
11131
+ '@context': (string | Record<string, any>)[];
11239
11132
  issuer: string | {
11240
11133
  [x: string]: any;
11241
11134
  type?: string | [string, ...string[]] | undefined;
@@ -11405,7 +11298,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
11405
11298
  resultType: string;
11406
11299
  }[] | undefined;
11407
11300
  specialization?: string | undefined;
11408
- tag?: string[] | undefined;
11409
11301
  type: [string, ...string[]];
11410
11302
  name: string;
11411
11303
  description: string;
@@ -11484,153 +11376,512 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
11484
11376
  type: [string, ...string[]];
11485
11377
  }[];
11486
11378
  }>;
11487
- export declare type UnsignedAchievementCredential = z.infer<typeof UnsignedAchievementCredentialValidator>;
11488
- export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z.extendShape<{
11489
- '@context': z.ZodArray<z.ZodString, "many">;
11490
- id: z.ZodOptional<z.ZodString>;
11379
+ export type UnsignedAchievementCredential = z.infer<typeof UnsignedAchievementCredentialValidator>;
11380
+ export declare const AchievementCredentialValidator: z.ZodObject<{
11491
11381
  type: z.ZodArray<z.ZodString, "atleastone">;
11492
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
11382
+ id: z.ZodOptional<z.ZodString>;
11383
+ name: z.ZodOptional<z.ZodString>;
11384
+ description: z.ZodOptional<z.ZodString>;
11385
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
11386
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
11493
11387
  id: z.ZodOptional<z.ZodString>;
11494
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
11495
- name: z.ZodOptional<z.ZodString>;
11496
- url: z.ZodOptional<z.ZodString>;
11497
- phone: z.ZodOptional<z.ZodString>;
11498
- description: z.ZodOptional<z.ZodString>;
11499
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
11500
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
11501
- id: z.ZodString;
11502
- type: z.ZodString;
11503
- caption: z.ZodOptional<z.ZodString>;
11504
- }, "strip", z.ZodTypeAny, {
11505
- caption?: string | undefined;
11506
- type: string;
11507
- id: string;
11508
- }, {
11509
- caption?: string | undefined;
11510
- type: string;
11511
- id: string;
11512
- }>]>>;
11513
- email: z.ZodOptional<z.ZodString>;
11514
- address: z.ZodOptional<z.ZodObject<{
11515
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
11516
- addressCountry: z.ZodOptional<z.ZodString>;
11517
- addressCountryCode: z.ZodOptional<z.ZodString>;
11518
- addressRegion: z.ZodOptional<z.ZodString>;
11519
- addressLocality: z.ZodOptional<z.ZodString>;
11520
- streetAddress: z.ZodOptional<z.ZodString>;
11521
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
11522
- postalCode: z.ZodOptional<z.ZodString>;
11523
- geo: z.ZodOptional<z.ZodObject<{
11388
+ type: z.ZodArray<z.ZodString, "atleastone">;
11389
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
11390
+ id: z.ZodOptional<z.ZodString>;
11391
+ type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
11392
+ name: z.ZodOptional<z.ZodString>;
11393
+ url: z.ZodOptional<z.ZodString>;
11394
+ phone: z.ZodOptional<z.ZodString>;
11395
+ description: z.ZodOptional<z.ZodString>;
11396
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
11397
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
11398
+ id: z.ZodString;
11399
+ type: z.ZodString;
11400
+ caption: z.ZodOptional<z.ZodString>;
11401
+ }, "strip", z.ZodTypeAny, {
11402
+ caption?: string | undefined;
11403
+ type: string;
11404
+ id: string;
11405
+ }, {
11406
+ caption?: string | undefined;
11407
+ type: string;
11408
+ id: string;
11409
+ }>]>>;
11410
+ email: z.ZodOptional<z.ZodString>;
11411
+ address: z.ZodOptional<z.ZodObject<{
11524
11412
  type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
11525
- latitude: z.ZodNumber;
11526
- longitude: z.ZodNumber;
11413
+ addressCountry: z.ZodOptional<z.ZodString>;
11414
+ addressCountryCode: z.ZodOptional<z.ZodString>;
11415
+ addressRegion: z.ZodOptional<z.ZodString>;
11416
+ addressLocality: z.ZodOptional<z.ZodString>;
11417
+ streetAddress: z.ZodOptional<z.ZodString>;
11418
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
11419
+ postalCode: z.ZodOptional<z.ZodString>;
11420
+ geo: z.ZodOptional<z.ZodObject<{
11421
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
11422
+ latitude: z.ZodNumber;
11423
+ longitude: z.ZodNumber;
11424
+ }, "strip", z.ZodTypeAny, {
11425
+ type: string | [string, ...string[]];
11426
+ latitude: number;
11427
+ longitude: number;
11428
+ }, {
11429
+ type: string | [string, ...string[]];
11430
+ latitude: number;
11431
+ longitude: number;
11432
+ }>>;
11527
11433
  }, "strip", z.ZodTypeAny, {
11434
+ addressCountry?: string | undefined;
11435
+ addressCountryCode?: string | undefined;
11436
+ addressRegion?: string | undefined;
11437
+ addressLocality?: string | undefined;
11438
+ streetAddress?: string | undefined;
11439
+ postOfficeBoxNumber?: string | undefined;
11440
+ postalCode?: string | undefined;
11441
+ geo?: {
11442
+ type: string | [string, ...string[]];
11443
+ latitude: number;
11444
+ longitude: number;
11445
+ } | undefined;
11528
11446
  type: string | [string, ...string[]];
11529
- latitude: number;
11530
- longitude: number;
11531
11447
  }, {
11532
- type: string | [string, ...string[]];
11533
- latitude: number;
11534
- longitude: number;
11448
+ addressCountry?: string | undefined;
11449
+ addressCountryCode?: string | undefined;
11450
+ addressRegion?: string | undefined;
11451
+ addressLocality?: string | undefined;
11452
+ streetAddress?: string | undefined;
11453
+ postOfficeBoxNumber?: string | undefined;
11454
+ postalCode?: string | undefined;
11455
+ geo?: {
11456
+ type: string | [string, ...string[]];
11457
+ latitude: number;
11458
+ longitude: number;
11459
+ } | undefined;
11460
+ type: string | [string, ...string[]];
11535
11461
  }>>;
11536
- }, "strip", z.ZodTypeAny, {
11537
- addressCountry?: string | undefined;
11538
- addressCountryCode?: string | undefined;
11539
- addressRegion?: string | undefined;
11540
- addressLocality?: string | undefined;
11541
- streetAddress?: string | undefined;
11542
- postOfficeBoxNumber?: string | undefined;
11543
- postalCode?: string | undefined;
11544
- geo?: {
11462
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
11463
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
11464
+ identifier: z.ZodString;
11465
+ 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]>;
11466
+ }, "strip", z.ZodTypeAny, {
11545
11467
  type: string | [string, ...string[]];
11546
- latitude: number;
11547
- longitude: number;
11468
+ identifier: string;
11469
+ identifierType: string;
11470
+ }, {
11471
+ type: string | [string, ...string[]];
11472
+ identifier: string;
11473
+ identifierType: string;
11474
+ }>, "many">>;
11475
+ official: z.ZodOptional<z.ZodString>;
11476
+ parentOrg: z.ZodOptional<z.ZodAny>;
11477
+ familyName: z.ZodOptional<z.ZodString>;
11478
+ givenName: z.ZodOptional<z.ZodString>;
11479
+ additionalName: z.ZodOptional<z.ZodString>;
11480
+ patronymicName: z.ZodOptional<z.ZodString>;
11481
+ honorificPrefix: z.ZodOptional<z.ZodString>;
11482
+ honorificSuffix: z.ZodOptional<z.ZodString>;
11483
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
11484
+ dateOfBirth: z.ZodOptional<z.ZodString>;
11485
+ }, "strip", z.ZodAny, {
11486
+ [x: string]: any;
11487
+ type?: string | [string, ...string[]] | undefined;
11488
+ id?: string | undefined;
11489
+ name?: string | undefined;
11490
+ url?: string | undefined;
11491
+ phone?: string | undefined;
11492
+ description?: string | undefined;
11493
+ endorsement?: any[] | undefined;
11494
+ image?: string | {
11495
+ caption?: string | undefined;
11496
+ type: string;
11497
+ id: string;
11548
11498
  } | undefined;
11549
- type: string | [string, ...string[]];
11499
+ email?: string | undefined;
11500
+ address?: {
11501
+ addressCountry?: string | undefined;
11502
+ addressCountryCode?: string | undefined;
11503
+ addressRegion?: string | undefined;
11504
+ addressLocality?: string | undefined;
11505
+ streetAddress?: string | undefined;
11506
+ postOfficeBoxNumber?: string | undefined;
11507
+ postalCode?: string | undefined;
11508
+ geo?: {
11509
+ type: string | [string, ...string[]];
11510
+ latitude: number;
11511
+ longitude: number;
11512
+ } | undefined;
11513
+ type: string | [string, ...string[]];
11514
+ } | undefined;
11515
+ otherIdentifier?: {
11516
+ type: string | [string, ...string[]];
11517
+ identifier: string;
11518
+ identifierType: string;
11519
+ }[] | undefined;
11520
+ official?: string | undefined;
11521
+ parentOrg?: any;
11522
+ familyName?: string | undefined;
11523
+ givenName?: string | undefined;
11524
+ additionalName?: string | undefined;
11525
+ patronymicName?: string | undefined;
11526
+ honorificPrefix?: string | undefined;
11527
+ honorificSuffix?: string | undefined;
11528
+ familyNamePrefix?: string | undefined;
11529
+ dateOfBirth?: string | undefined;
11550
11530
  }, {
11551
- addressCountry?: string | undefined;
11552
- addressCountryCode?: string | undefined;
11553
- addressRegion?: string | undefined;
11554
- addressLocality?: string | undefined;
11555
- streetAddress?: string | undefined;
11556
- postOfficeBoxNumber?: string | undefined;
11557
- postalCode?: string | undefined;
11558
- geo?: {
11531
+ [x: string]: any;
11532
+ type?: string | [string, ...string[]] | undefined;
11533
+ id?: string | undefined;
11534
+ name?: string | undefined;
11535
+ url?: string | undefined;
11536
+ phone?: string | undefined;
11537
+ description?: string | undefined;
11538
+ endorsement?: any[] | undefined;
11539
+ image?: string | {
11540
+ caption?: string | undefined;
11541
+ type: string;
11542
+ id: string;
11543
+ } | undefined;
11544
+ email?: string | undefined;
11545
+ address?: {
11546
+ addressCountry?: string | undefined;
11547
+ addressCountryCode?: string | undefined;
11548
+ addressRegion?: string | undefined;
11549
+ addressLocality?: string | undefined;
11550
+ streetAddress?: string | undefined;
11551
+ postOfficeBoxNumber?: string | undefined;
11552
+ postalCode?: string | undefined;
11553
+ geo?: {
11554
+ type: string | [string, ...string[]];
11555
+ latitude: number;
11556
+ longitude: number;
11557
+ } | undefined;
11559
11558
  type: string | [string, ...string[]];
11560
- latitude: number;
11561
- longitude: number;
11562
11559
  } | undefined;
11563
- type: string | [string, ...string[]];
11560
+ otherIdentifier?: {
11561
+ type: string | [string, ...string[]];
11562
+ identifier: string;
11563
+ identifierType: string;
11564
+ }[] | undefined;
11565
+ official?: string | undefined;
11566
+ parentOrg?: any;
11567
+ familyName?: string | undefined;
11568
+ givenName?: string | undefined;
11569
+ additionalName?: string | undefined;
11570
+ patronymicName?: string | undefined;
11571
+ honorificPrefix?: string | undefined;
11572
+ honorificSuffix?: string | undefined;
11573
+ familyNamePrefix?: string | undefined;
11574
+ dateOfBirth?: string | undefined;
11575
+ }>]>;
11576
+ issuanceDate: z.ZodString;
11577
+ expirationDate: z.ZodOptional<z.ZodString>;
11578
+ credentialSubject: z.ZodUnion<[z.ZodObject<{
11579
+ id: z.ZodOptional<z.ZodString>;
11580
+ }, "strip", z.ZodAny, {
11581
+ [x: string]: any;
11582
+ id?: string | undefined;
11583
+ }, {
11584
+ [x: string]: any;
11585
+ id?: string | undefined;
11586
+ }>, z.ZodArray<z.ZodObject<{
11587
+ id: z.ZodOptional<z.ZodString>;
11588
+ }, "strip", z.ZodAny, {
11589
+ [x: string]: any;
11590
+ id?: string | undefined;
11591
+ }, {
11592
+ [x: string]: any;
11593
+ id?: string | undefined;
11594
+ }>, "many">]>;
11595
+ credentialStatus: z.ZodOptional<z.ZodObject<{
11596
+ type: z.ZodString;
11597
+ id: z.ZodString;
11598
+ }, "strip", z.ZodTypeAny, {
11599
+ type: string;
11600
+ id: string;
11601
+ }, {
11602
+ type: string;
11603
+ id: string;
11564
11604
  }>>;
11565
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
11566
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
11567
- identifier: z.ZodString;
11568
- 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]>;
11605
+ credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
11606
+ id: z.ZodString;
11607
+ type: z.ZodString;
11569
11608
  }, "strip", z.ZodTypeAny, {
11570
- type: string | [string, ...string[]];
11571
- identifier: string;
11572
- identifierType: string;
11609
+ type: string;
11610
+ id: string;
11573
11611
  }, {
11574
- type: string | [string, ...string[]];
11575
- identifier: string;
11576
- identifierType: string;
11612
+ type: string;
11613
+ id: string;
11577
11614
  }>, "many">>;
11578
- official: z.ZodOptional<z.ZodString>;
11579
- parentOrg: z.ZodOptional<z.ZodAny>;
11580
- familyName: z.ZodOptional<z.ZodString>;
11581
- givenName: z.ZodOptional<z.ZodString>;
11582
- additionalName: z.ZodOptional<z.ZodString>;
11583
- patronymicName: z.ZodOptional<z.ZodString>;
11584
- honorificPrefix: z.ZodOptional<z.ZodString>;
11585
- honorificSuffix: z.ZodOptional<z.ZodString>;
11586
- familyNamePrefix: z.ZodOptional<z.ZodString>;
11587
- dateOfBirth: z.ZodOptional<z.ZodString>;
11615
+ refreshService: z.ZodOptional<z.ZodObject<{
11616
+ id: z.ZodString;
11617
+ type: z.ZodString;
11618
+ }, "strip", z.ZodAny, {
11619
+ [x: string]: any;
11620
+ type: string;
11621
+ id: string;
11622
+ }, {
11623
+ [x: string]: any;
11624
+ type: string;
11625
+ id: string;
11626
+ }>>;
11588
11627
  }, "strip", z.ZodAny, {
11589
11628
  [x: string]: any;
11590
- type?: string | [string, ...string[]] | undefined;
11591
11629
  id?: string | undefined;
11592
- name?: string | undefined;
11593
- url?: string | undefined;
11594
- phone?: string | undefined;
11595
- description?: string | undefined;
11596
- endorsement?: any[] | undefined;
11597
- image?: string | {
11598
- caption?: string | undefined;
11630
+ expirationDate?: string | undefined;
11631
+ credentialStatus?: {
11599
11632
  type: string;
11600
11633
  id: string;
11601
11634
  } | undefined;
11602
- email?: string | undefined;
11603
- address?: {
11604
- addressCountry?: string | undefined;
11605
- addressCountryCode?: string | undefined;
11606
- addressRegion?: string | undefined;
11607
- addressLocality?: string | undefined;
11608
- streetAddress?: string | undefined;
11609
- postOfficeBoxNumber?: string | undefined;
11610
- postalCode?: string | undefined;
11611
- geo?: {
11612
- type: string | [string, ...string[]];
11613
- latitude: number;
11614
- longitude: number;
11615
- } | undefined;
11616
- type: string | [string, ...string[]];
11617
- } | undefined;
11618
- otherIdentifier?: {
11619
- type: string | [string, ...string[]];
11620
- identifier: string;
11621
- identifierType: string;
11635
+ credentialSchema?: {
11636
+ type: string;
11637
+ id: string;
11622
11638
  }[] | undefined;
11623
- official?: string | undefined;
11624
- parentOrg?: any;
11625
- familyName?: string | undefined;
11626
- givenName?: string | undefined;
11627
- additionalName?: string | undefined;
11628
- patronymicName?: string | undefined;
11629
- honorificPrefix?: string | undefined;
11630
- honorificSuffix?: string | undefined;
11631
- familyNamePrefix?: string | undefined;
11632
- dateOfBirth?: string | undefined;
11633
- }, {
11639
+ refreshService?: {
11640
+ [x: string]: any;
11641
+ type: string;
11642
+ id: string;
11643
+ } | undefined;
11644
+ type: [string, ...string[]];
11645
+ '@context': (string | Record<string, any>)[];
11646
+ issuer: string | {
11647
+ [x: string]: any;
11648
+ type?: string | [string, ...string[]] | undefined;
11649
+ id?: string | undefined;
11650
+ name?: string | undefined;
11651
+ url?: string | undefined;
11652
+ phone?: string | undefined;
11653
+ description?: string | undefined;
11654
+ endorsement?: any[] | undefined;
11655
+ image?: string | {
11656
+ caption?: string | undefined;
11657
+ type: string;
11658
+ id: string;
11659
+ } | undefined;
11660
+ email?: string | undefined;
11661
+ address?: {
11662
+ addressCountry?: string | undefined;
11663
+ addressCountryCode?: string | undefined;
11664
+ addressRegion?: string | undefined;
11665
+ addressLocality?: string | undefined;
11666
+ streetAddress?: string | undefined;
11667
+ postOfficeBoxNumber?: string | undefined;
11668
+ postalCode?: string | undefined;
11669
+ geo?: {
11670
+ type: string | [string, ...string[]];
11671
+ latitude: number;
11672
+ longitude: number;
11673
+ } | undefined;
11674
+ type: string | [string, ...string[]];
11675
+ } | undefined;
11676
+ otherIdentifier?: {
11677
+ type: string | [string, ...string[]];
11678
+ identifier: string;
11679
+ identifierType: string;
11680
+ }[] | undefined;
11681
+ official?: string | undefined;
11682
+ parentOrg?: any;
11683
+ familyName?: string | undefined;
11684
+ givenName?: string | undefined;
11685
+ additionalName?: string | undefined;
11686
+ patronymicName?: string | undefined;
11687
+ honorificPrefix?: string | undefined;
11688
+ honorificSuffix?: string | undefined;
11689
+ familyNamePrefix?: string | undefined;
11690
+ dateOfBirth?: string | undefined;
11691
+ };
11692
+ issuanceDate: string;
11693
+ credentialSubject: {
11694
+ [x: string]: any;
11695
+ id?: string | undefined;
11696
+ } | {
11697
+ [x: string]: any;
11698
+ id?: string | undefined;
11699
+ }[];
11700
+ }, {
11701
+ [x: string]: any;
11702
+ id?: string | undefined;
11703
+ expirationDate?: string | undefined;
11704
+ credentialStatus?: {
11705
+ type: string;
11706
+ id: string;
11707
+ } | undefined;
11708
+ credentialSchema?: {
11709
+ type: string;
11710
+ id: string;
11711
+ }[] | undefined;
11712
+ refreshService?: {
11713
+ [x: string]: any;
11714
+ type: string;
11715
+ id: string;
11716
+ } | undefined;
11717
+ type: [string, ...string[]];
11718
+ '@context': (string | Record<string, any>)[];
11719
+ issuer: string | {
11720
+ [x: string]: any;
11721
+ type?: string | [string, ...string[]] | undefined;
11722
+ id?: string | undefined;
11723
+ name?: string | undefined;
11724
+ url?: string | undefined;
11725
+ phone?: string | undefined;
11726
+ description?: string | undefined;
11727
+ endorsement?: any[] | undefined;
11728
+ image?: string | {
11729
+ caption?: string | undefined;
11730
+ type: string;
11731
+ id: string;
11732
+ } | undefined;
11733
+ email?: string | undefined;
11734
+ address?: {
11735
+ addressCountry?: string | undefined;
11736
+ addressCountryCode?: string | undefined;
11737
+ addressRegion?: string | undefined;
11738
+ addressLocality?: string | undefined;
11739
+ streetAddress?: string | undefined;
11740
+ postOfficeBoxNumber?: string | undefined;
11741
+ postalCode?: string | undefined;
11742
+ geo?: {
11743
+ type: string | [string, ...string[]];
11744
+ latitude: number;
11745
+ longitude: number;
11746
+ } | undefined;
11747
+ type: string | [string, ...string[]];
11748
+ } | undefined;
11749
+ otherIdentifier?: {
11750
+ type: string | [string, ...string[]];
11751
+ identifier: string;
11752
+ identifierType: string;
11753
+ }[] | undefined;
11754
+ official?: string | undefined;
11755
+ parentOrg?: any;
11756
+ familyName?: string | undefined;
11757
+ givenName?: string | undefined;
11758
+ additionalName?: string | undefined;
11759
+ patronymicName?: string | undefined;
11760
+ honorificPrefix?: string | undefined;
11761
+ honorificSuffix?: string | undefined;
11762
+ familyNamePrefix?: string | undefined;
11763
+ dateOfBirth?: string | undefined;
11764
+ };
11765
+ issuanceDate: string;
11766
+ credentialSubject: {
11767
+ [x: string]: any;
11768
+ id?: string | undefined;
11769
+ } | {
11770
+ [x: string]: any;
11771
+ id?: string | undefined;
11772
+ }[];
11773
+ }>, "many">>;
11774
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
11775
+ id: z.ZodString;
11776
+ type: z.ZodString;
11777
+ caption: z.ZodOptional<z.ZodString>;
11778
+ }, "strip", z.ZodTypeAny, {
11779
+ caption?: string | undefined;
11780
+ type: string;
11781
+ id: string;
11782
+ }, {
11783
+ caption?: string | undefined;
11784
+ type: string;
11785
+ id: string;
11786
+ }>]>>;
11787
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
11788
+ issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
11789
+ id: z.ZodOptional<z.ZodString>;
11790
+ type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
11791
+ name: z.ZodOptional<z.ZodString>;
11792
+ url: z.ZodOptional<z.ZodString>;
11793
+ phone: z.ZodOptional<z.ZodString>;
11794
+ description: z.ZodOptional<z.ZodString>;
11795
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
11796
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
11797
+ id: z.ZodString;
11798
+ type: z.ZodString;
11799
+ caption: z.ZodOptional<z.ZodString>;
11800
+ }, "strip", z.ZodTypeAny, {
11801
+ caption?: string | undefined;
11802
+ type: string;
11803
+ id: string;
11804
+ }, {
11805
+ caption?: string | undefined;
11806
+ type: string;
11807
+ id: string;
11808
+ }>]>>;
11809
+ email: z.ZodOptional<z.ZodString>;
11810
+ address: z.ZodOptional<z.ZodObject<{
11811
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
11812
+ addressCountry: z.ZodOptional<z.ZodString>;
11813
+ addressCountryCode: z.ZodOptional<z.ZodString>;
11814
+ addressRegion: z.ZodOptional<z.ZodString>;
11815
+ addressLocality: z.ZodOptional<z.ZodString>;
11816
+ streetAddress: z.ZodOptional<z.ZodString>;
11817
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
11818
+ postalCode: z.ZodOptional<z.ZodString>;
11819
+ geo: z.ZodOptional<z.ZodObject<{
11820
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
11821
+ latitude: z.ZodNumber;
11822
+ longitude: z.ZodNumber;
11823
+ }, "strip", z.ZodTypeAny, {
11824
+ type: string | [string, ...string[]];
11825
+ latitude: number;
11826
+ longitude: number;
11827
+ }, {
11828
+ type: string | [string, ...string[]];
11829
+ latitude: number;
11830
+ longitude: number;
11831
+ }>>;
11832
+ }, "strip", z.ZodTypeAny, {
11833
+ addressCountry?: string | undefined;
11834
+ addressCountryCode?: string | undefined;
11835
+ addressRegion?: string | undefined;
11836
+ addressLocality?: string | undefined;
11837
+ streetAddress?: string | undefined;
11838
+ postOfficeBoxNumber?: string | undefined;
11839
+ postalCode?: string | undefined;
11840
+ geo?: {
11841
+ type: string | [string, ...string[]];
11842
+ latitude: number;
11843
+ longitude: number;
11844
+ } | undefined;
11845
+ type: string | [string, ...string[]];
11846
+ }, {
11847
+ addressCountry?: string | undefined;
11848
+ addressCountryCode?: string | undefined;
11849
+ addressRegion?: string | undefined;
11850
+ addressLocality?: string | undefined;
11851
+ streetAddress?: string | undefined;
11852
+ postOfficeBoxNumber?: string | undefined;
11853
+ postalCode?: string | undefined;
11854
+ geo?: {
11855
+ type: string | [string, ...string[]];
11856
+ latitude: number;
11857
+ longitude: number;
11858
+ } | undefined;
11859
+ type: string | [string, ...string[]];
11860
+ }>>;
11861
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
11862
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
11863
+ identifier: z.ZodString;
11864
+ 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]>;
11865
+ }, "strip", z.ZodTypeAny, {
11866
+ type: string | [string, ...string[]];
11867
+ identifier: string;
11868
+ identifierType: string;
11869
+ }, {
11870
+ type: string | [string, ...string[]];
11871
+ identifier: string;
11872
+ identifierType: string;
11873
+ }>, "many">>;
11874
+ official: z.ZodOptional<z.ZodString>;
11875
+ parentOrg: z.ZodOptional<z.ZodAny>;
11876
+ familyName: z.ZodOptional<z.ZodString>;
11877
+ givenName: z.ZodOptional<z.ZodString>;
11878
+ additionalName: z.ZodOptional<z.ZodString>;
11879
+ patronymicName: z.ZodOptional<z.ZodString>;
11880
+ honorificPrefix: z.ZodOptional<z.ZodString>;
11881
+ honorificSuffix: z.ZodOptional<z.ZodString>;
11882
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
11883
+ dateOfBirth: z.ZodOptional<z.ZodString>;
11884
+ }, "strip", z.ZodAny, {
11634
11885
  [x: string]: any;
11635
11886
  type?: string | [string, ...string[]] | undefined;
11636
11887
  id?: string | undefined;
@@ -11675,74 +11926,54 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
11675
11926
  honorificSuffix?: string | undefined;
11676
11927
  familyNamePrefix?: string | undefined;
11677
11928
  dateOfBirth?: string | undefined;
11678
- }>]>;
11679
- issuanceDate: z.ZodString;
11680
- expirationDate: z.ZodOptional<z.ZodString>;
11681
- credentialSubject: z.ZodUnion<[z.ZodObject<{
11682
- id: z.ZodOptional<z.ZodString>;
11683
- }, "strip", z.ZodAny, {
11684
- [x: string]: any;
11685
- id?: string | undefined;
11686
11929
  }, {
11687
11930
  [x: string]: any;
11931
+ type?: string | [string, ...string[]] | undefined;
11688
11932
  id?: string | undefined;
11689
- }>, z.ZodArray<z.ZodObject<{
11690
- id: z.ZodOptional<z.ZodString>;
11691
- }, "strip", z.ZodAny, {
11692
- [x: string]: any;
11693
- id?: string | undefined;
11694
- }, {
11695
- [x: string]: any;
11696
- id?: string | undefined;
11697
- }>, "many">]>;
11698
- credentialStatus: z.ZodOptional<z.ZodObject<{
11699
- type: z.ZodString;
11700
- id: z.ZodString;
11701
- }, "strip", z.ZodTypeAny, {
11702
- type: string;
11703
- id: string;
11704
- }, {
11705
- type: string;
11706
- id: string;
11707
- }>>;
11708
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
11709
- id: z.ZodString;
11710
- type: z.ZodString;
11711
- }, "strip", z.ZodTypeAny, {
11712
- type: string;
11713
- id: string;
11714
- }, {
11715
- type: string;
11716
- id: string;
11717
- }>, "many">>;
11718
- refreshService: z.ZodOptional<z.ZodObject<{
11719
- id: z.ZodString;
11720
- type: z.ZodString;
11721
- }, "strip", z.ZodAny, {
11722
- [x: string]: any;
11723
- type: string;
11724
- id: string;
11725
- }, {
11726
- [x: string]: any;
11727
- type: string;
11728
- id: string;
11729
- }>>;
11730
- }, {
11731
- name: z.ZodOptional<z.ZodString>;
11732
- description: z.ZodOptional<z.ZodString>;
11733
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
11734
- id: z.ZodString;
11735
- type: z.ZodString;
11736
- caption: z.ZodOptional<z.ZodString>;
11737
- }, "strip", z.ZodTypeAny, {
11738
- caption?: string | undefined;
11739
- type: string;
11740
- id: string;
11741
- }, {
11742
- caption?: string | undefined;
11743
- type: string;
11744
- id: string;
11745
- }>]>>;
11933
+ name?: string | undefined;
11934
+ url?: string | undefined;
11935
+ phone?: string | undefined;
11936
+ description?: string | undefined;
11937
+ endorsement?: any[] | undefined;
11938
+ image?: string | {
11939
+ caption?: string | undefined;
11940
+ type: string;
11941
+ id: string;
11942
+ } | undefined;
11943
+ email?: string | undefined;
11944
+ address?: {
11945
+ addressCountry?: string | undefined;
11946
+ addressCountryCode?: string | undefined;
11947
+ addressRegion?: string | undefined;
11948
+ addressLocality?: string | undefined;
11949
+ streetAddress?: string | undefined;
11950
+ postOfficeBoxNumber?: string | undefined;
11951
+ postalCode?: string | undefined;
11952
+ geo?: {
11953
+ type: string | [string, ...string[]];
11954
+ latitude: number;
11955
+ longitude: number;
11956
+ } | undefined;
11957
+ type: string | [string, ...string[]];
11958
+ } | undefined;
11959
+ otherIdentifier?: {
11960
+ type: string | [string, ...string[]];
11961
+ identifier: string;
11962
+ identifierType: string;
11963
+ }[] | undefined;
11964
+ official?: string | undefined;
11965
+ parentOrg?: any;
11966
+ familyName?: string | undefined;
11967
+ givenName?: string | undefined;
11968
+ additionalName?: string | undefined;
11969
+ patronymicName?: string | undefined;
11970
+ honorificPrefix?: string | undefined;
11971
+ honorificSuffix?: string | undefined;
11972
+ familyNamePrefix?: string | undefined;
11973
+ dateOfBirth?: string | undefined;
11974
+ }>]>;
11975
+ issuanceDate: z.ZodString;
11976
+ expirationDate: z.ZodOptional<z.ZodString>;
11746
11977
  credentialSubject: z.ZodUnion<[z.ZodObject<{
11747
11978
  id: z.ZodOptional<z.ZodString>;
11748
11979
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -11979,10 +12210,10 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
11979
12210
  id?: string | undefined;
11980
12211
  }>;
11981
12212
  description: z.ZodString;
11982
- endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
11983
- '@context': z.ZodArray<z.ZodString, "many">;
11984
- id: z.ZodOptional<z.ZodString>;
12213
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
11985
12214
  type: z.ZodArray<z.ZodString, "atleastone">;
12215
+ id: z.ZodOptional<z.ZodString>;
12216
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
11986
12217
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
11987
12218
  id: z.ZodOptional<z.ZodString>;
11988
12219
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -12172,23 +12403,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12172
12403
  }>]>;
12173
12404
  issuanceDate: z.ZodString;
12174
12405
  expirationDate: z.ZodOptional<z.ZodString>;
12175
- credentialSubject: z.ZodUnion<[z.ZodObject<{
12176
- id: z.ZodOptional<z.ZodString>;
12177
- }, "strip", z.ZodAny, {
12178
- [x: string]: any;
12179
- id?: string | undefined;
12180
- }, {
12181
- [x: string]: any;
12182
- id?: string | undefined;
12183
- }>, z.ZodArray<z.ZodObject<{
12184
- id: z.ZodOptional<z.ZodString>;
12185
- }, "strip", z.ZodAny, {
12186
- [x: string]: any;
12187
- id?: string | undefined;
12188
- }, {
12189
- [x: string]: any;
12190
- id?: string | undefined;
12191
- }>, "many">]>;
12192
12406
  credentialStatus: z.ZodOptional<z.ZodObject<{
12193
12407
  type: z.ZodString;
12194
12408
  id: z.ZodString;
@@ -12221,7 +12435,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12221
12435
  type: string;
12222
12436
  id: string;
12223
12437
  }>>;
12224
- }, {
12225
12438
  credentialSubject: z.ZodObject<{
12226
12439
  id: z.ZodString;
12227
12440
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -12294,7 +12507,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12294
12507
  proofPurpose: string;
12295
12508
  verificationMethod: string;
12296
12509
  }>, "many">]>>;
12297
- }>, "strip", z.ZodAny, {
12510
+ }, "strip", z.ZodAny, {
12298
12511
  [x: string]: any;
12299
12512
  id?: string | undefined;
12300
12513
  expirationDate?: string | undefined;
@@ -12333,7 +12546,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12333
12546
  verificationMethod: string;
12334
12547
  }[] | undefined;
12335
12548
  type: [string, ...string[]];
12336
- '@context': string[];
12549
+ '@context': (string | Record<string, any>)[];
12337
12550
  issuer: string | {
12338
12551
  [x: string]: any;
12339
12552
  type?: string | [string, ...string[]] | undefined;
@@ -12425,7 +12638,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12425
12638
  verificationMethod: string;
12426
12639
  }[] | undefined;
12427
12640
  type: [string, ...string[]];
12428
- '@context': string[];
12641
+ '@context': (string | Record<string, any>)[];
12429
12642
  issuer: string | {
12430
12643
  [x: string]: any;
12431
12644
  type?: string | [string, ...string[]] | undefined;
@@ -12706,6 +12919,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12706
12919
  version: z.ZodOptional<z.ZodString>;
12707
12920
  }, "strip", z.ZodAny, {
12708
12921
  [x: string]: any;
12922
+ tag?: string[] | undefined;
12709
12923
  id?: string | undefined;
12710
12924
  endorsement?: {
12711
12925
  [x: string]: any;
@@ -12746,7 +12960,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12746
12960
  verificationMethod: string;
12747
12961
  }[] | undefined;
12748
12962
  type: [string, ...string[]];
12749
- '@context': string[];
12963
+ '@context': (string | Record<string, any>)[];
12750
12964
  issuer: string | {
12751
12965
  [x: string]: any;
12752
12966
  type?: string | [string, ...string[]] | undefined;
@@ -12916,7 +13130,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12916
13130
  resultType: string;
12917
13131
  }[] | undefined;
12918
13132
  specialization?: string | undefined;
12919
- tag?: string[] | undefined;
12920
13133
  type: [string, ...string[]];
12921
13134
  name: string;
12922
13135
  description: string;
@@ -12927,6 +13140,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12927
13140
  };
12928
13141
  }, {
12929
13142
  [x: string]: any;
13143
+ tag?: string[] | undefined;
12930
13144
  id?: string | undefined;
12931
13145
  endorsement?: {
12932
13146
  [x: string]: any;
@@ -12967,7 +13181,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
12967
13181
  verificationMethod: string;
12968
13182
  }[] | undefined;
12969
13183
  type: [string, ...string[]];
12970
- '@context': string[];
13184
+ '@context': (string | Record<string, any>)[];
12971
13185
  issuer: string | {
12972
13186
  [x: string]: any;
12973
13187
  type?: string | [string, ...string[]] | undefined;
@@ -13137,7 +13351,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
13137
13351
  resultType: string;
13138
13352
  }[] | undefined;
13139
13353
  specialization?: string | undefined;
13140
- tag?: string[] | undefined;
13141
13354
  type: [string, ...string[]];
13142
13355
  name: string;
13143
13356
  description: string;
@@ -13455,6 +13668,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
13455
13668
  creditsEarned?: number | undefined;
13456
13669
  achievement?: {
13457
13670
  [x: string]: any;
13671
+ tag?: string[] | undefined;
13458
13672
  id?: string | undefined;
13459
13673
  endorsement?: {
13460
13674
  [x: string]: any;
@@ -13495,7 +13709,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
13495
13709
  verificationMethod: string;
13496
13710
  }[] | undefined;
13497
13711
  type: [string, ...string[]];
13498
- '@context': string[];
13712
+ '@context': (string | Record<string, any>)[];
13499
13713
  issuer: string | {
13500
13714
  [x: string]: any;
13501
13715
  type?: string | [string, ...string[]] | undefined;
@@ -13665,7 +13879,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
13665
13879
  resultType: string;
13666
13880
  }[] | undefined;
13667
13881
  specialization?: string | undefined;
13668
- tag?: string[] | undefined;
13669
13882
  type: [string, ...string[]];
13670
13883
  name: string;
13671
13884
  description: string;
@@ -13763,6 +13976,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
13763
13976
  creditsEarned?: number | undefined;
13764
13977
  achievement?: {
13765
13978
  [x: string]: any;
13979
+ tag?: string[] | undefined;
13766
13980
  id?: string | undefined;
13767
13981
  endorsement?: {
13768
13982
  [x: string]: any;
@@ -13803,7 +14017,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
13803
14017
  verificationMethod: string;
13804
14018
  }[] | undefined;
13805
14019
  type: [string, ...string[]];
13806
- '@context': string[];
14020
+ '@context': (string | Record<string, any>)[];
13807
14021
  issuer: string | {
13808
14022
  [x: string]: any;
13809
14023
  type?: string | [string, ...string[]] | undefined;
@@ -13973,7 +14187,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
13973
14187
  resultType: string;
13974
14188
  }[] | undefined;
13975
14189
  specialization?: string | undefined;
13976
- tag?: string[] | undefined;
13977
14190
  type: [string, ...string[]];
13978
14191
  name: string;
13979
14192
  description: string;
@@ -14286,10 +14499,10 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
14286
14499
  id?: string | undefined;
14287
14500
  }>;
14288
14501
  description: z.ZodString;
14289
- endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
14290
- '@context': z.ZodArray<z.ZodString, "many">;
14291
- id: z.ZodOptional<z.ZodString>;
14502
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
14292
14503
  type: z.ZodArray<z.ZodString, "atleastone">;
14504
+ id: z.ZodOptional<z.ZodString>;
14505
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
14293
14506
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
14294
14507
  id: z.ZodOptional<z.ZodString>;
14295
14508
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -14479,23 +14692,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
14479
14692
  }>]>;
14480
14693
  issuanceDate: z.ZodString;
14481
14694
  expirationDate: z.ZodOptional<z.ZodString>;
14482
- credentialSubject: z.ZodUnion<[z.ZodObject<{
14483
- id: z.ZodOptional<z.ZodString>;
14484
- }, "strip", z.ZodAny, {
14485
- [x: string]: any;
14486
- id?: string | undefined;
14487
- }, {
14488
- [x: string]: any;
14489
- id?: string | undefined;
14490
- }>, z.ZodArray<z.ZodObject<{
14491
- id: z.ZodOptional<z.ZodString>;
14492
- }, "strip", z.ZodAny, {
14493
- [x: string]: any;
14494
- id?: string | undefined;
14495
- }, {
14496
- [x: string]: any;
14497
- id?: string | undefined;
14498
- }>, "many">]>;
14499
14695
  credentialStatus: z.ZodOptional<z.ZodObject<{
14500
14696
  type: z.ZodString;
14501
14697
  id: z.ZodString;
@@ -14528,7 +14724,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
14528
14724
  type: string;
14529
14725
  id: string;
14530
14726
  }>>;
14531
- }, {
14532
14727
  credentialSubject: z.ZodObject<{
14533
14728
  id: z.ZodString;
14534
14729
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -14601,7 +14796,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
14601
14796
  proofPurpose: string;
14602
14797
  verificationMethod: string;
14603
14798
  }>, "many">]>>;
14604
- }>, "strip", z.ZodAny, {
14799
+ }, "strip", z.ZodAny, {
14605
14800
  [x: string]: any;
14606
14801
  id?: string | undefined;
14607
14802
  expirationDate?: string | undefined;
@@ -14640,7 +14835,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
14640
14835
  verificationMethod: string;
14641
14836
  }[] | undefined;
14642
14837
  type: [string, ...string[]];
14643
- '@context': string[];
14838
+ '@context': (string | Record<string, any>)[];
14644
14839
  issuer: string | {
14645
14840
  [x: string]: any;
14646
14841
  type?: string | [string, ...string[]] | undefined;
@@ -14732,7 +14927,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
14732
14927
  verificationMethod: string;
14733
14928
  }[] | undefined;
14734
14929
  type: [string, ...string[]];
14735
- '@context': string[];
14930
+ '@context': (string | Record<string, any>)[];
14736
14931
  issuer: string | {
14737
14932
  [x: string]: any;
14738
14933
  type?: string | [string, ...string[]] | undefined;
@@ -14976,792 +15171,44 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
14976
15171
  targetDescription?: string | undefined;
14977
15172
  targetFramework?: string | undefined;
14978
15173
  targetType?: string | undefined;
14979
- type: [string, ...string[]];
14980
- targetName: string;
14981
- targetUrl: string;
14982
- }[] | undefined;
14983
- allowedValue?: string[] | undefined;
14984
- requiredLevel?: string | undefined;
14985
- requiredValue?: string | undefined;
14986
- rubricCriterionLevel?: {
14987
- [x: string]: any;
14988
- description?: string | undefined;
14989
- alignment?: {
14990
- targetCode?: string | undefined;
14991
- targetDescription?: string | undefined;
14992
- targetFramework?: string | undefined;
14993
- targetType?: string | undefined;
14994
- type: [string, ...string[]];
14995
- targetName: string;
14996
- targetUrl: string;
14997
- }[] | undefined;
14998
- level?: string | undefined;
14999
- points?: string | undefined;
15000
- type: [string, ...string[]];
15001
- id: string;
15002
- name: string;
15003
- }[] | undefined;
15004
- valueMax?: string | undefined;
15005
- valueMin?: string | undefined;
15006
- type: [string, ...string[]];
15007
- id: string;
15008
- name: string;
15009
- resultType: string;
15010
- }>, "many">>;
15011
- specialization: z.ZodOptional<z.ZodString>;
15012
- tag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15013
- version: z.ZodOptional<z.ZodString>;
15014
- }, "strip", z.ZodAny, {
15015
- [x: string]: any;
15016
- id?: string | undefined;
15017
- endorsement?: {
15018
- [x: string]: any;
15019
- id?: string | undefined;
15020
- expirationDate?: string | undefined;
15021
- credentialStatus?: {
15022
- type: string;
15023
- id: string;
15024
- } | undefined;
15025
- credentialSchema?: {
15026
- type: string;
15027
- id: string;
15028
- }[] | undefined;
15029
- refreshService?: {
15030
- [x: string]: any;
15031
- type: string;
15032
- id: string;
15033
- } | undefined;
15034
- proof?: {
15035
- [x: string]: any;
15036
- challenge?: string | undefined;
15037
- domain?: string | undefined;
15038
- nonce?: string | undefined;
15039
- jws?: string | undefined;
15040
- type: string;
15041
- created: string;
15042
- proofPurpose: string;
15043
- verificationMethod: string;
15044
- } | {
15045
- [x: string]: any;
15046
- challenge?: string | undefined;
15047
- domain?: string | undefined;
15048
- nonce?: string | undefined;
15049
- jws?: string | undefined;
15050
- type: string;
15051
- created: string;
15052
- proofPurpose: string;
15053
- verificationMethod: string;
15054
- }[] | undefined;
15055
- type: [string, ...string[]];
15056
- '@context': string[];
15057
- issuer: string | {
15058
- [x: string]: any;
15059
- type?: string | [string, ...string[]] | undefined;
15060
- id?: string | undefined;
15061
- name?: string | undefined;
15062
- url?: string | undefined;
15063
- phone?: string | undefined;
15064
- description?: string | undefined;
15065
- endorsement?: any[] | undefined;
15066
- image?: string | {
15067
- caption?: string | undefined;
15068
- type: string;
15069
- id: string;
15070
- } | undefined;
15071
- email?: string | undefined;
15072
- address?: {
15073
- addressCountry?: string | undefined;
15074
- addressCountryCode?: string | undefined;
15075
- addressRegion?: string | undefined;
15076
- addressLocality?: string | undefined;
15077
- streetAddress?: string | undefined;
15078
- postOfficeBoxNumber?: string | undefined;
15079
- postalCode?: string | undefined;
15080
- geo?: {
15081
- type: string | [string, ...string[]];
15082
- latitude: number;
15083
- longitude: number;
15084
- } | undefined;
15085
- type: string | [string, ...string[]];
15086
- } | undefined;
15087
- otherIdentifier?: {
15088
- type: string | [string, ...string[]];
15089
- identifier: string;
15090
- identifierType: string;
15091
- }[] | undefined;
15092
- official?: string | undefined;
15093
- parentOrg?: any;
15094
- familyName?: string | undefined;
15095
- givenName?: string | undefined;
15096
- additionalName?: string | undefined;
15097
- patronymicName?: string | undefined;
15098
- honorificPrefix?: string | undefined;
15099
- honorificSuffix?: string | undefined;
15100
- familyNamePrefix?: string | undefined;
15101
- dateOfBirth?: string | undefined;
15102
- };
15103
- issuanceDate: string;
15104
- credentialSubject: {
15105
- endorsementComment?: string | undefined;
15106
- type: [string, ...string[]];
15107
- id: string;
15108
- };
15109
- }[] | undefined;
15110
- image?: string | {
15111
- caption?: string | undefined;
15112
- type: string;
15113
- id: string;
15114
- } | undefined;
15115
- otherIdentifier?: {
15116
- type: string | [string, ...string[]];
15117
- identifier: string;
15118
- identifierType: string;
15119
- }[] | undefined;
15120
- '@language'?: string | undefined;
15121
- version?: string | undefined;
15122
- alignment?: {
15123
- targetCode?: string | undefined;
15124
- targetDescription?: string | undefined;
15125
- targetFramework?: string | undefined;
15126
- targetType?: string | undefined;
15127
- type: [string, ...string[]];
15128
- targetName: string;
15129
- targetUrl: string;
15130
- }[] | undefined;
15131
- achievementType?: string | undefined;
15132
- creator?: string | {
15133
- [x: string]: any;
15134
- type?: string | [string, ...string[]] | undefined;
15135
- id?: string | undefined;
15136
- name?: string | undefined;
15137
- url?: string | undefined;
15138
- phone?: string | undefined;
15139
- description?: string | undefined;
15140
- endorsement?: any[] | undefined;
15141
- image?: string | {
15142
- caption?: string | undefined;
15143
- type: string;
15144
- id: string;
15145
- } | undefined;
15146
- email?: string | undefined;
15147
- address?: {
15148
- addressCountry?: string | undefined;
15149
- addressCountryCode?: string | undefined;
15150
- addressRegion?: string | undefined;
15151
- addressLocality?: string | undefined;
15152
- streetAddress?: string | undefined;
15153
- postOfficeBoxNumber?: string | undefined;
15154
- postalCode?: string | undefined;
15155
- geo?: {
15156
- type: string | [string, ...string[]];
15157
- latitude: number;
15158
- longitude: number;
15159
- } | undefined;
15160
- type: string | [string, ...string[]];
15161
- } | undefined;
15162
- otherIdentifier?: {
15163
- type: string | [string, ...string[]];
15164
- identifier: string;
15165
- identifierType: string;
15166
- }[] | undefined;
15167
- official?: string | undefined;
15168
- parentOrg?: any;
15169
- familyName?: string | undefined;
15170
- givenName?: string | undefined;
15171
- additionalName?: string | undefined;
15172
- patronymicName?: string | undefined;
15173
- honorificPrefix?: string | undefined;
15174
- honorificSuffix?: string | undefined;
15175
- familyNamePrefix?: string | undefined;
15176
- dateOfBirth?: string | undefined;
15177
- } | undefined;
15178
- creditsAvailable?: number | undefined;
15179
- fieldOfStudy?: string | undefined;
15180
- humanCode?: string | undefined;
15181
- related?: {
15182
- '@language'?: string | undefined;
15183
- version?: string | undefined;
15184
- id: string;
15185
- }[] | undefined;
15186
- resultDescription?: {
15187
- [x: string]: any;
15188
- alignment?: {
15189
- targetCode?: string | undefined;
15190
- targetDescription?: string | undefined;
15191
- targetFramework?: string | undefined;
15192
- targetType?: string | undefined;
15193
- type: [string, ...string[]];
15194
- targetName: string;
15195
- targetUrl: string;
15196
- }[] | undefined;
15197
- allowedValue?: string[] | undefined;
15198
- requiredLevel?: string | undefined;
15199
- requiredValue?: string | undefined;
15200
- rubricCriterionLevel?: {
15201
- [x: string]: any;
15202
- description?: string | undefined;
15203
- alignment?: {
15204
- targetCode?: string | undefined;
15205
- targetDescription?: string | undefined;
15206
- targetFramework?: string | undefined;
15207
- targetType?: string | undefined;
15208
- type: [string, ...string[]];
15209
- targetName: string;
15210
- targetUrl: string;
15211
- }[] | undefined;
15212
- level?: string | undefined;
15213
- points?: string | undefined;
15214
- type: [string, ...string[]];
15215
- id: string;
15216
- name: string;
15217
- }[] | undefined;
15218
- valueMax?: string | undefined;
15219
- valueMin?: string | undefined;
15220
- type: [string, ...string[]];
15221
- id: string;
15222
- name: string;
15223
- resultType: string;
15224
- }[] | undefined;
15225
- specialization?: string | undefined;
15226
- tag?: string[] | undefined;
15227
- type: [string, ...string[]];
15228
- name: string;
15229
- description: string;
15230
- criteria: {
15231
- [x: string]: any;
15232
- narrative?: string | undefined;
15233
- id?: string | undefined;
15234
- };
15235
- }, {
15236
- [x: string]: any;
15237
- id?: string | undefined;
15238
- endorsement?: {
15239
- [x: string]: any;
15240
- id?: string | undefined;
15241
- expirationDate?: string | undefined;
15242
- credentialStatus?: {
15243
- type: string;
15244
- id: string;
15245
- } | undefined;
15246
- credentialSchema?: {
15247
- type: string;
15248
- id: string;
15249
- }[] | undefined;
15250
- refreshService?: {
15251
- [x: string]: any;
15252
- type: string;
15253
- id: string;
15254
- } | undefined;
15255
- proof?: {
15256
- [x: string]: any;
15257
- challenge?: string | undefined;
15258
- domain?: string | undefined;
15259
- nonce?: string | undefined;
15260
- jws?: string | undefined;
15261
- type: string;
15262
- created: string;
15263
- proofPurpose: string;
15264
- verificationMethod: string;
15265
- } | {
15266
- [x: string]: any;
15267
- challenge?: string | undefined;
15268
- domain?: string | undefined;
15269
- nonce?: string | undefined;
15270
- jws?: string | undefined;
15271
- type: string;
15272
- created: string;
15273
- proofPurpose: string;
15274
- verificationMethod: string;
15275
- }[] | undefined;
15276
- type: [string, ...string[]];
15277
- '@context': string[];
15278
- issuer: string | {
15279
- [x: string]: any;
15280
- type?: string | [string, ...string[]] | undefined;
15281
- id?: string | undefined;
15282
- name?: string | undefined;
15283
- url?: string | undefined;
15284
- phone?: string | undefined;
15285
- description?: string | undefined;
15286
- endorsement?: any[] | undefined;
15287
- image?: string | {
15288
- caption?: string | undefined;
15289
- type: string;
15290
- id: string;
15291
- } | undefined;
15292
- email?: string | undefined;
15293
- address?: {
15294
- addressCountry?: string | undefined;
15295
- addressCountryCode?: string | undefined;
15296
- addressRegion?: string | undefined;
15297
- addressLocality?: string | undefined;
15298
- streetAddress?: string | undefined;
15299
- postOfficeBoxNumber?: string | undefined;
15300
- postalCode?: string | undefined;
15301
- geo?: {
15302
- type: string | [string, ...string[]];
15303
- latitude: number;
15304
- longitude: number;
15305
- } | undefined;
15306
- type: string | [string, ...string[]];
15307
- } | undefined;
15308
- otherIdentifier?: {
15309
- type: string | [string, ...string[]];
15310
- identifier: string;
15311
- identifierType: string;
15312
- }[] | undefined;
15313
- official?: string | undefined;
15314
- parentOrg?: any;
15315
- familyName?: string | undefined;
15316
- givenName?: string | undefined;
15317
- additionalName?: string | undefined;
15318
- patronymicName?: string | undefined;
15319
- honorificPrefix?: string | undefined;
15320
- honorificSuffix?: string | undefined;
15321
- familyNamePrefix?: string | undefined;
15322
- dateOfBirth?: string | undefined;
15323
- };
15324
- issuanceDate: string;
15325
- credentialSubject: {
15326
- endorsementComment?: string | undefined;
15327
- type: [string, ...string[]];
15328
- id: string;
15329
- };
15330
- }[] | undefined;
15331
- image?: string | {
15332
- caption?: string | undefined;
15333
- type: string;
15334
- id: string;
15335
- } | undefined;
15336
- otherIdentifier?: {
15337
- type: string | [string, ...string[]];
15338
- identifier: string;
15339
- identifierType: string;
15340
- }[] | undefined;
15341
- '@language'?: string | undefined;
15342
- version?: string | undefined;
15343
- alignment?: {
15344
- targetCode?: string | undefined;
15345
- targetDescription?: string | undefined;
15346
- targetFramework?: string | undefined;
15347
- targetType?: string | undefined;
15348
- type: [string, ...string[]];
15349
- targetName: string;
15350
- targetUrl: string;
15351
- }[] | undefined;
15352
- achievementType?: string | undefined;
15353
- creator?: string | {
15354
- [x: string]: any;
15355
- type?: string | [string, ...string[]] | undefined;
15356
- id?: string | undefined;
15357
- name?: string | undefined;
15358
- url?: string | undefined;
15359
- phone?: string | undefined;
15360
- description?: string | undefined;
15361
- endorsement?: any[] | undefined;
15362
- image?: string | {
15363
- caption?: string | undefined;
15364
- type: string;
15365
- id: string;
15366
- } | undefined;
15367
- email?: string | undefined;
15368
- address?: {
15369
- addressCountry?: string | undefined;
15370
- addressCountryCode?: string | undefined;
15371
- addressRegion?: string | undefined;
15372
- addressLocality?: string | undefined;
15373
- streetAddress?: string | undefined;
15374
- postOfficeBoxNumber?: string | undefined;
15375
- postalCode?: string | undefined;
15376
- geo?: {
15377
- type: string | [string, ...string[]];
15378
- latitude: number;
15379
- longitude: number;
15380
- } | undefined;
15381
- type: string | [string, ...string[]];
15382
- } | undefined;
15383
- otherIdentifier?: {
15384
- type: string | [string, ...string[]];
15385
- identifier: string;
15386
- identifierType: string;
15387
- }[] | undefined;
15388
- official?: string | undefined;
15389
- parentOrg?: any;
15390
- familyName?: string | undefined;
15391
- givenName?: string | undefined;
15392
- additionalName?: string | undefined;
15393
- patronymicName?: string | undefined;
15394
- honorificPrefix?: string | undefined;
15395
- honorificSuffix?: string | undefined;
15396
- familyNamePrefix?: string | undefined;
15397
- dateOfBirth?: string | undefined;
15398
- } | undefined;
15399
- creditsAvailable?: number | undefined;
15400
- fieldOfStudy?: string | undefined;
15401
- humanCode?: string | undefined;
15402
- related?: {
15403
- '@language'?: string | undefined;
15404
- version?: string | undefined;
15405
- id: string;
15406
- }[] | undefined;
15407
- resultDescription?: {
15408
- [x: string]: any;
15409
- alignment?: {
15410
- targetCode?: string | undefined;
15411
- targetDescription?: string | undefined;
15412
- targetFramework?: string | undefined;
15413
- targetType?: string | undefined;
15414
- type: [string, ...string[]];
15415
- targetName: string;
15416
- targetUrl: string;
15417
- }[] | undefined;
15418
- allowedValue?: string[] | undefined;
15419
- requiredLevel?: string | undefined;
15420
- requiredValue?: string | undefined;
15421
- rubricCriterionLevel?: {
15422
- [x: string]: any;
15423
- description?: string | undefined;
15424
- alignment?: {
15425
- targetCode?: string | undefined;
15426
- targetDescription?: string | undefined;
15427
- targetFramework?: string | undefined;
15428
- targetType?: string | undefined;
15429
- type: [string, ...string[]];
15430
- targetName: string;
15431
- targetUrl: string;
15432
- }[] | undefined;
15433
- level?: string | undefined;
15434
- points?: string | undefined;
15435
- type: [string, ...string[]];
15436
- id: string;
15437
- name: string;
15438
- }[] | undefined;
15439
- valueMax?: string | undefined;
15440
- valueMin?: string | undefined;
15441
- type: [string, ...string[]];
15442
- id: string;
15443
- name: string;
15444
- resultType: string;
15445
- }[] | undefined;
15446
- specialization?: string | undefined;
15447
- tag?: string[] | undefined;
15448
- type: [string, ...string[]];
15449
- name: string;
15450
- description: string;
15451
- criteria: {
15452
- [x: string]: any;
15453
- narrative?: string | undefined;
15454
- id?: string | undefined;
15455
- };
15456
- }>>;
15457
- identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
15458
- type: z.ZodString;
15459
- hashed: z.ZodBoolean;
15460
- identityHash: z.ZodString;
15461
- identityType: z.ZodString;
15462
- salt: z.ZodOptional<z.ZodString>;
15463
- }, "strip", z.ZodTypeAny, {
15464
- salt?: string | undefined;
15465
- type: string;
15466
- hashed: boolean;
15467
- identityHash: string;
15468
- identityType: string;
15469
- }, {
15470
- salt?: string | undefined;
15471
- type: string;
15472
- hashed: boolean;
15473
- identityHash: string;
15474
- identityType: string;
15475
- }>, "many">>;
15476
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
15477
- id: z.ZodString;
15478
- type: z.ZodString;
15479
- caption: z.ZodOptional<z.ZodString>;
15480
- }, "strip", z.ZodTypeAny, {
15481
- caption?: string | undefined;
15482
- type: string;
15483
- id: string;
15484
- }, {
15485
- caption?: string | undefined;
15486
- type: string;
15487
- id: string;
15488
- }>]>>;
15489
- licenseNumber: z.ZodOptional<z.ZodString>;
15490
- narrative: z.ZodOptional<z.ZodString>;
15491
- result: z.ZodOptional<z.ZodArray<z.ZodObject<{
15492
- type: z.ZodArray<z.ZodString, "atleastone">;
15493
- achievedLevel: z.ZodOptional<z.ZodString>;
15494
- alignment: z.ZodOptional<z.ZodArray<z.ZodObject<{
15495
- type: z.ZodArray<z.ZodString, "atleastone">;
15496
- targetCode: z.ZodOptional<z.ZodString>;
15497
- targetDescription: z.ZodOptional<z.ZodString>;
15498
- targetName: z.ZodString;
15499
- targetFramework: z.ZodOptional<z.ZodString>;
15500
- targetType: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, z.ZodString]>>;
15501
- targetUrl: z.ZodString;
15502
- }, "strip", z.ZodTypeAny, {
15503
- targetCode?: string | undefined;
15504
- targetDescription?: string | undefined;
15505
- targetFramework?: string | undefined;
15506
- targetType?: string | undefined;
15507
- type: [string, ...string[]];
15508
- targetName: string;
15509
- targetUrl: string;
15510
- }, {
15511
- targetCode?: string | undefined;
15512
- targetDescription?: string | undefined;
15513
- targetFramework?: string | undefined;
15514
- targetType?: string | undefined;
15515
- type: [string, ...string[]];
15516
- targetName: string;
15517
- targetUrl: string;
15518
- }>, "many">>;
15519
- resultDescription: z.ZodOptional<z.ZodString>;
15520
- status: z.ZodOptional<z.ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>>;
15521
- value: z.ZodOptional<z.ZodString>;
15522
- }, "strip", z.ZodAny, {
15523
- [x: string]: any;
15524
- status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined;
15525
- value?: string | undefined;
15526
- alignment?: {
15527
- targetCode?: string | undefined;
15528
- targetDescription?: string | undefined;
15529
- targetFramework?: string | undefined;
15530
- targetType?: string | undefined;
15531
- type: [string, ...string[]];
15532
- targetName: string;
15533
- targetUrl: string;
15534
- }[] | undefined;
15535
- resultDescription?: string | undefined;
15536
- achievedLevel?: string | undefined;
15537
- type: [string, ...string[]];
15538
- }, {
15539
- [x: string]: any;
15540
- status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined;
15541
- value?: string | undefined;
15542
- alignment?: {
15543
- targetCode?: string | undefined;
15544
- targetDescription?: string | undefined;
15545
- targetFramework?: string | undefined;
15546
- targetType?: string | undefined;
15547
- type: [string, ...string[]];
15548
- targetName: string;
15549
- targetUrl: string;
15550
- }[] | undefined;
15551
- resultDescription?: string | undefined;
15552
- achievedLevel?: string | undefined;
15553
- type: [string, ...string[]];
15554
- }>, "many">>;
15555
- role: z.ZodOptional<z.ZodString>;
15556
- source: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
15557
- id: z.ZodOptional<z.ZodString>;
15558
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
15559
- name: z.ZodOptional<z.ZodString>;
15560
- url: z.ZodOptional<z.ZodString>;
15561
- phone: z.ZodOptional<z.ZodString>;
15562
- description: z.ZodOptional<z.ZodString>;
15563
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
15564
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
15565
- id: z.ZodString;
15566
- type: z.ZodString;
15567
- caption: z.ZodOptional<z.ZodString>;
15568
- }, "strip", z.ZodTypeAny, {
15569
- caption?: string | undefined;
15570
- type: string;
15571
- id: string;
15572
- }, {
15573
- caption?: string | undefined;
15574
- type: string;
15575
- id: string;
15576
- }>]>>;
15577
- email: z.ZodOptional<z.ZodString>;
15578
- address: z.ZodOptional<z.ZodObject<{
15579
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
15580
- addressCountry: z.ZodOptional<z.ZodString>;
15581
- addressCountryCode: z.ZodOptional<z.ZodString>;
15582
- addressRegion: z.ZodOptional<z.ZodString>;
15583
- addressLocality: z.ZodOptional<z.ZodString>;
15584
- streetAddress: z.ZodOptional<z.ZodString>;
15585
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
15586
- postalCode: z.ZodOptional<z.ZodString>;
15587
- geo: z.ZodOptional<z.ZodObject<{
15588
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
15589
- latitude: z.ZodNumber;
15590
- longitude: z.ZodNumber;
15591
- }, "strip", z.ZodTypeAny, {
15592
- type: string | [string, ...string[]];
15593
- latitude: number;
15594
- longitude: number;
15595
- }, {
15596
- type: string | [string, ...string[]];
15597
- latitude: number;
15598
- longitude: number;
15599
- }>>;
15600
- }, "strip", z.ZodTypeAny, {
15601
- addressCountry?: string | undefined;
15602
- addressCountryCode?: string | undefined;
15603
- addressRegion?: string | undefined;
15604
- addressLocality?: string | undefined;
15605
- streetAddress?: string | undefined;
15606
- postOfficeBoxNumber?: string | undefined;
15607
- postalCode?: string | undefined;
15608
- geo?: {
15609
- type: string | [string, ...string[]];
15610
- latitude: number;
15611
- longitude: number;
15612
- } | undefined;
15613
- type: string | [string, ...string[]];
15614
- }, {
15615
- addressCountry?: string | undefined;
15616
- addressCountryCode?: string | undefined;
15617
- addressRegion?: string | undefined;
15618
- addressLocality?: string | undefined;
15619
- streetAddress?: string | undefined;
15620
- postOfficeBoxNumber?: string | undefined;
15621
- postalCode?: string | undefined;
15622
- geo?: {
15623
- type: string | [string, ...string[]];
15624
- latitude: number;
15625
- longitude: number;
15626
- } | undefined;
15627
- type: string | [string, ...string[]];
15628
- }>>;
15629
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
15630
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
15631
- identifier: z.ZodString;
15632
- 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]>;
15633
- }, "strip", z.ZodTypeAny, {
15634
- type: string | [string, ...string[]];
15635
- identifier: string;
15636
- identifierType: string;
15637
- }, {
15638
- type: string | [string, ...string[]];
15639
- identifier: string;
15640
- identifierType: string;
15641
- }>, "many">>;
15642
- official: z.ZodOptional<z.ZodString>;
15643
- parentOrg: z.ZodOptional<z.ZodAny>;
15644
- familyName: z.ZodOptional<z.ZodString>;
15645
- givenName: z.ZodOptional<z.ZodString>;
15646
- additionalName: z.ZodOptional<z.ZodString>;
15647
- patronymicName: z.ZodOptional<z.ZodString>;
15648
- honorificPrefix: z.ZodOptional<z.ZodString>;
15649
- honorificSuffix: z.ZodOptional<z.ZodString>;
15650
- familyNamePrefix: z.ZodOptional<z.ZodString>;
15651
- dateOfBirth: z.ZodOptional<z.ZodString>;
15652
- }, "strip", z.ZodAny, {
15653
- [x: string]: any;
15654
- type?: string | [string, ...string[]] | undefined;
15655
- id?: string | undefined;
15656
- name?: string | undefined;
15657
- url?: string | undefined;
15658
- phone?: string | undefined;
15659
- description?: string | undefined;
15660
- endorsement?: any[] | undefined;
15661
- image?: string | {
15662
- caption?: string | undefined;
15663
- type: string;
15664
- id: string;
15665
- } | undefined;
15666
- email?: string | undefined;
15667
- address?: {
15668
- addressCountry?: string | undefined;
15669
- addressCountryCode?: string | undefined;
15670
- addressRegion?: string | undefined;
15671
- addressLocality?: string | undefined;
15672
- streetAddress?: string | undefined;
15673
- postOfficeBoxNumber?: string | undefined;
15674
- postalCode?: string | undefined;
15675
- geo?: {
15676
- type: string | [string, ...string[]];
15677
- latitude: number;
15678
- longitude: number;
15679
- } | undefined;
15680
- type: string | [string, ...string[]];
15681
- } | undefined;
15682
- otherIdentifier?: {
15683
- type: string | [string, ...string[]];
15684
- identifier: string;
15685
- identifierType: string;
15686
- }[] | undefined;
15687
- official?: string | undefined;
15688
- parentOrg?: any;
15689
- familyName?: string | undefined;
15690
- givenName?: string | undefined;
15691
- additionalName?: string | undefined;
15692
- patronymicName?: string | undefined;
15693
- honorificPrefix?: string | undefined;
15694
- honorificSuffix?: string | undefined;
15695
- familyNamePrefix?: string | undefined;
15696
- dateOfBirth?: string | undefined;
15697
- }, {
15698
- [x: string]: any;
15699
- type?: string | [string, ...string[]] | undefined;
15700
- id?: string | undefined;
15701
- name?: string | undefined;
15702
- url?: string | undefined;
15703
- phone?: string | undefined;
15704
- description?: string | undefined;
15705
- endorsement?: any[] | undefined;
15706
- image?: string | {
15707
- caption?: string | undefined;
15708
- type: string;
15709
- id: string;
15710
- } | undefined;
15711
- email?: string | undefined;
15712
- address?: {
15713
- addressCountry?: string | undefined;
15714
- addressCountryCode?: string | undefined;
15715
- addressRegion?: string | undefined;
15716
- addressLocality?: string | undefined;
15717
- streetAddress?: string | undefined;
15718
- postOfficeBoxNumber?: string | undefined;
15719
- postalCode?: string | undefined;
15720
- geo?: {
15721
- type: string | [string, ...string[]];
15722
- latitude: number;
15723
- longitude: number;
15724
- } | undefined;
15725
- type: string | [string, ...string[]];
15726
- } | undefined;
15727
- otherIdentifier?: {
15728
- type: string | [string, ...string[]];
15729
- identifier: string;
15730
- identifierType: string;
15731
- }[] | undefined;
15732
- official?: string | undefined;
15733
- parentOrg?: any;
15734
- familyName?: string | undefined;
15735
- givenName?: string | undefined;
15736
- additionalName?: string | undefined;
15737
- patronymicName?: string | undefined;
15738
- honorificPrefix?: string | undefined;
15739
- honorificSuffix?: string | undefined;
15740
- familyNamePrefix?: string | undefined;
15741
- dateOfBirth?: string | undefined;
15742
- }>]>>;
15743
- term: z.ZodOptional<z.ZodString>;
15744
- }, "strip", z.ZodAny, {
15745
- [x: string]: any;
15746
- narrative?: string | undefined;
15747
- id?: string | undefined;
15748
- identifier?: {
15749
- salt?: string | undefined;
15750
- type: string;
15751
- hashed: boolean;
15752
- identityHash: string;
15753
- identityType: string;
15754
- }[] | undefined;
15755
- image?: string | {
15756
- caption?: string | undefined;
15757
- type: string;
15758
- id: string;
15759
- } | undefined;
15760
- activityEndDate?: string | undefined;
15761
- activityStartDate?: string | undefined;
15762
- creditsEarned?: number | undefined;
15763
- achievement?: {
15174
+ type: [string, ...string[]];
15175
+ targetName: string;
15176
+ targetUrl: string;
15177
+ }[] | undefined;
15178
+ allowedValue?: string[] | undefined;
15179
+ requiredLevel?: string | undefined;
15180
+ requiredValue?: string | undefined;
15181
+ rubricCriterionLevel?: {
15182
+ [x: string]: any;
15183
+ description?: string | undefined;
15184
+ alignment?: {
15185
+ targetCode?: string | undefined;
15186
+ targetDescription?: string | undefined;
15187
+ targetFramework?: string | undefined;
15188
+ targetType?: string | undefined;
15189
+ type: [string, ...string[]];
15190
+ targetName: string;
15191
+ targetUrl: string;
15192
+ }[] | undefined;
15193
+ level?: string | undefined;
15194
+ points?: string | undefined;
15195
+ type: [string, ...string[]];
15196
+ id: string;
15197
+ name: string;
15198
+ }[] | undefined;
15199
+ valueMax?: string | undefined;
15200
+ valueMin?: string | undefined;
15201
+ type: [string, ...string[]];
15202
+ id: string;
15203
+ name: string;
15204
+ resultType: string;
15205
+ }>, "many">>;
15206
+ specialization: z.ZodOptional<z.ZodString>;
15207
+ tag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15208
+ version: z.ZodOptional<z.ZodString>;
15209
+ }, "strip", z.ZodAny, {
15764
15210
  [x: string]: any;
15211
+ tag?: string[] | undefined;
15765
15212
  id?: string | undefined;
15766
15213
  endorsement?: {
15767
15214
  [x: string]: any;
@@ -15802,7 +15249,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
15802
15249
  verificationMethod: string;
15803
15250
  }[] | undefined;
15804
15251
  type: [string, ...string[]];
15805
- '@context': string[];
15252
+ '@context': (string | Record<string, any>)[];
15806
15253
  issuer: string | {
15807
15254
  [x: string]: any;
15808
15255
  type?: string | [string, ...string[]] | undefined;
@@ -15972,7 +15419,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
15972
15419
  resultType: string;
15973
15420
  }[] | undefined;
15974
15421
  specialization?: string | undefined;
15975
- tag?: string[] | undefined;
15976
15422
  type: [string, ...string[]];
15977
15423
  name: string;
15978
15424
  description: string;
@@ -15981,95 +15427,9 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
15981
15427
  narrative?: string | undefined;
15982
15428
  id?: string | undefined;
15983
15429
  };
15984
- } | undefined;
15985
- licenseNumber?: string | undefined;
15986
- result?: {
15987
- [x: string]: any;
15988
- status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined;
15989
- value?: string | undefined;
15990
- alignment?: {
15991
- targetCode?: string | undefined;
15992
- targetDescription?: string | undefined;
15993
- targetFramework?: string | undefined;
15994
- targetType?: string | undefined;
15995
- type: [string, ...string[]];
15996
- targetName: string;
15997
- targetUrl: string;
15998
- }[] | undefined;
15999
- resultDescription?: string | undefined;
16000
- achievedLevel?: string | undefined;
16001
- type: [string, ...string[]];
16002
- }[] | undefined;
16003
- role?: string | undefined;
16004
- source?: string | {
16005
- [x: string]: any;
16006
- type?: string | [string, ...string[]] | undefined;
16007
- id?: string | undefined;
16008
- name?: string | undefined;
16009
- url?: string | undefined;
16010
- phone?: string | undefined;
16011
- description?: string | undefined;
16012
- endorsement?: any[] | undefined;
16013
- image?: string | {
16014
- caption?: string | undefined;
16015
- type: string;
16016
- id: string;
16017
- } | undefined;
16018
- email?: string | undefined;
16019
- address?: {
16020
- addressCountry?: string | undefined;
16021
- addressCountryCode?: string | undefined;
16022
- addressRegion?: string | undefined;
16023
- addressLocality?: string | undefined;
16024
- streetAddress?: string | undefined;
16025
- postOfficeBoxNumber?: string | undefined;
16026
- postalCode?: string | undefined;
16027
- geo?: {
16028
- type: string | [string, ...string[]];
16029
- latitude: number;
16030
- longitude: number;
16031
- } | undefined;
16032
- type: string | [string, ...string[]];
16033
- } | undefined;
16034
- otherIdentifier?: {
16035
- type: string | [string, ...string[]];
16036
- identifier: string;
16037
- identifierType: string;
16038
- }[] | undefined;
16039
- official?: string | undefined;
16040
- parentOrg?: any;
16041
- familyName?: string | undefined;
16042
- givenName?: string | undefined;
16043
- additionalName?: string | undefined;
16044
- patronymicName?: string | undefined;
16045
- honorificPrefix?: string | undefined;
16046
- honorificSuffix?: string | undefined;
16047
- familyNamePrefix?: string | undefined;
16048
- dateOfBirth?: string | undefined;
16049
- } | undefined;
16050
- term?: string | undefined;
16051
- type: [string, ...string[]];
16052
- }, {
16053
- [x: string]: any;
16054
- narrative?: string | undefined;
16055
- id?: string | undefined;
16056
- identifier?: {
16057
- salt?: string | undefined;
16058
- type: string;
16059
- hashed: boolean;
16060
- identityHash: string;
16061
- identityType: string;
16062
- }[] | undefined;
16063
- image?: string | {
16064
- caption?: string | undefined;
16065
- type: string;
16066
- id: string;
16067
- } | undefined;
16068
- activityEndDate?: string | undefined;
16069
- activityStartDate?: string | undefined;
16070
- creditsEarned?: number | undefined;
16071
- achievement?: {
15430
+ }, {
16072
15431
  [x: string]: any;
15432
+ tag?: string[] | undefined;
16073
15433
  id?: string | undefined;
16074
15434
  endorsement?: {
16075
15435
  [x: string]: any;
@@ -16110,7 +15470,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16110
15470
  verificationMethod: string;
16111
15471
  }[] | undefined;
16112
15472
  type: [string, ...string[]];
16113
- '@context': string[];
15473
+ '@context': (string | Record<string, any>)[];
16114
15474
  issuer: string | {
16115
15475
  [x: string]: any;
16116
15476
  type?: string | [string, ...string[]] | undefined;
@@ -16280,7 +15640,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16280
15640
  resultType: string;
16281
15641
  }[] | undefined;
16282
15642
  specialization?: string | undefined;
16283
- tag?: string[] | undefined;
16284
15643
  type: [string, ...string[]];
16285
15644
  name: string;
16286
15645
  description: string;
@@ -16289,9 +15648,73 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16289
15648
  narrative?: string | undefined;
16290
15649
  id?: string | undefined;
16291
15650
  };
16292
- } | undefined;
16293
- licenseNumber?: string | undefined;
16294
- result?: {
15651
+ }>>;
15652
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
15653
+ type: z.ZodString;
15654
+ hashed: z.ZodBoolean;
15655
+ identityHash: z.ZodString;
15656
+ identityType: z.ZodString;
15657
+ salt: z.ZodOptional<z.ZodString>;
15658
+ }, "strip", z.ZodTypeAny, {
15659
+ salt?: string | undefined;
15660
+ type: string;
15661
+ hashed: boolean;
15662
+ identityHash: string;
15663
+ identityType: string;
15664
+ }, {
15665
+ salt?: string | undefined;
15666
+ type: string;
15667
+ hashed: boolean;
15668
+ identityHash: string;
15669
+ identityType: string;
15670
+ }>, "many">>;
15671
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
15672
+ id: z.ZodString;
15673
+ type: z.ZodString;
15674
+ caption: z.ZodOptional<z.ZodString>;
15675
+ }, "strip", z.ZodTypeAny, {
15676
+ caption?: string | undefined;
15677
+ type: string;
15678
+ id: string;
15679
+ }, {
15680
+ caption?: string | undefined;
15681
+ type: string;
15682
+ id: string;
15683
+ }>]>>;
15684
+ licenseNumber: z.ZodOptional<z.ZodString>;
15685
+ narrative: z.ZodOptional<z.ZodString>;
15686
+ result: z.ZodOptional<z.ZodArray<z.ZodObject<{
15687
+ type: z.ZodArray<z.ZodString, "atleastone">;
15688
+ achievedLevel: z.ZodOptional<z.ZodString>;
15689
+ alignment: z.ZodOptional<z.ZodArray<z.ZodObject<{
15690
+ type: z.ZodArray<z.ZodString, "atleastone">;
15691
+ targetCode: z.ZodOptional<z.ZodString>;
15692
+ targetDescription: z.ZodOptional<z.ZodString>;
15693
+ targetName: z.ZodString;
15694
+ targetFramework: z.ZodOptional<z.ZodString>;
15695
+ targetType: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, z.ZodString]>>;
15696
+ targetUrl: z.ZodString;
15697
+ }, "strip", z.ZodTypeAny, {
15698
+ targetCode?: string | undefined;
15699
+ targetDescription?: string | undefined;
15700
+ targetFramework?: string | undefined;
15701
+ targetType?: string | undefined;
15702
+ type: [string, ...string[]];
15703
+ targetName: string;
15704
+ targetUrl: string;
15705
+ }, {
15706
+ targetCode?: string | undefined;
15707
+ targetDescription?: string | undefined;
15708
+ targetFramework?: string | undefined;
15709
+ targetType?: string | undefined;
15710
+ type: [string, ...string[]];
15711
+ targetName: string;
15712
+ targetUrl: string;
15713
+ }>, "many">>;
15714
+ resultDescription: z.ZodOptional<z.ZodString>;
15715
+ status: z.ZodOptional<z.ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>>;
15716
+ value: z.ZodOptional<z.ZodString>;
15717
+ }, "strip", z.ZodAny, {
16295
15718
  [x: string]: any;
16296
15719
  status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined;
16297
15720
  value?: string | undefined;
@@ -16307,62 +15730,25 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16307
15730
  resultDescription?: string | undefined;
16308
15731
  achievedLevel?: string | undefined;
16309
15732
  type: [string, ...string[]];
16310
- }[] | undefined;
16311
- role?: string | undefined;
16312
- source?: string | {
15733
+ }, {
16313
15734
  [x: string]: any;
16314
- type?: string | [string, ...string[]] | undefined;
16315
- id?: string | undefined;
16316
- name?: string | undefined;
16317
- url?: string | undefined;
16318
- phone?: string | undefined;
16319
- description?: string | undefined;
16320
- endorsement?: any[] | undefined;
16321
- image?: string | {
16322
- caption?: string | undefined;
16323
- type: string;
16324
- id: string;
16325
- } | undefined;
16326
- email?: string | undefined;
16327
- address?: {
16328
- addressCountry?: string | undefined;
16329
- addressCountryCode?: string | undefined;
16330
- addressRegion?: string | undefined;
16331
- addressLocality?: string | undefined;
16332
- streetAddress?: string | undefined;
16333
- postOfficeBoxNumber?: string | undefined;
16334
- postalCode?: string | undefined;
16335
- geo?: {
16336
- type: string | [string, ...string[]];
16337
- latitude: number;
16338
- longitude: number;
16339
- } | undefined;
16340
- type: string | [string, ...string[]];
16341
- } | undefined;
16342
- otherIdentifier?: {
16343
- type: string | [string, ...string[]];
16344
- identifier: string;
16345
- identifierType: string;
16346
- }[] | undefined;
16347
- official?: string | undefined;
16348
- parentOrg?: any;
16349
- familyName?: string | undefined;
16350
- givenName?: string | undefined;
16351
- additionalName?: string | undefined;
16352
- patronymicName?: string | undefined;
16353
- honorificPrefix?: string | undefined;
16354
- honorificSuffix?: string | undefined;
16355
- familyNamePrefix?: string | undefined;
16356
- dateOfBirth?: string | undefined;
16357
- } | undefined;
16358
- term?: string | undefined;
16359
- type: [string, ...string[]];
16360
- }>, "many">]>;
16361
- endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
16362
- '@context': z.ZodArray<z.ZodString, "many">;
16363
- id: z.ZodOptional<z.ZodString>;
16364
- type: z.ZodArray<z.ZodString, "atleastone">;
16365
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
15735
+ status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined;
15736
+ value?: string | undefined;
15737
+ alignment?: {
15738
+ targetCode?: string | undefined;
15739
+ targetDescription?: string | undefined;
15740
+ targetFramework?: string | undefined;
15741
+ targetType?: string | undefined;
15742
+ type: [string, ...string[]];
15743
+ targetName: string;
15744
+ targetUrl: string;
15745
+ }[] | undefined;
15746
+ resultDescription?: string | undefined;
15747
+ achievedLevel?: string | undefined;
15748
+ type: [string, ...string[]];
15749
+ }>, "many">>;
15750
+ role: z.ZodOptional<z.ZodString>;
15751
+ source: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
16366
15752
  id: z.ZodOptional<z.ZodString>;
16367
15753
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
16368
15754
  name: z.ZodOptional<z.ZodString>;
@@ -16488,22 +15874,329 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16488
15874
  } | undefined;
16489
15875
  type: string | [string, ...string[]];
16490
15876
  } | undefined;
16491
- otherIdentifier?: {
16492
- type: string | [string, ...string[]];
16493
- identifier: string;
16494
- identifierType: string;
15877
+ otherIdentifier?: {
15878
+ type: string | [string, ...string[]];
15879
+ identifier: string;
15880
+ identifierType: string;
15881
+ }[] | undefined;
15882
+ official?: string | undefined;
15883
+ parentOrg?: any;
15884
+ familyName?: string | undefined;
15885
+ givenName?: string | undefined;
15886
+ additionalName?: string | undefined;
15887
+ patronymicName?: string | undefined;
15888
+ honorificPrefix?: string | undefined;
15889
+ honorificSuffix?: string | undefined;
15890
+ familyNamePrefix?: string | undefined;
15891
+ dateOfBirth?: string | undefined;
15892
+ }, {
15893
+ [x: string]: any;
15894
+ type?: string | [string, ...string[]] | undefined;
15895
+ id?: string | undefined;
15896
+ name?: string | undefined;
15897
+ url?: string | undefined;
15898
+ phone?: string | undefined;
15899
+ description?: string | undefined;
15900
+ endorsement?: any[] | undefined;
15901
+ image?: string | {
15902
+ caption?: string | undefined;
15903
+ type: string;
15904
+ id: string;
15905
+ } | undefined;
15906
+ email?: string | undefined;
15907
+ address?: {
15908
+ addressCountry?: string | undefined;
15909
+ addressCountryCode?: string | undefined;
15910
+ addressRegion?: string | undefined;
15911
+ addressLocality?: string | undefined;
15912
+ streetAddress?: string | undefined;
15913
+ postOfficeBoxNumber?: string | undefined;
15914
+ postalCode?: string | undefined;
15915
+ geo?: {
15916
+ type: string | [string, ...string[]];
15917
+ latitude: number;
15918
+ longitude: number;
15919
+ } | undefined;
15920
+ type: string | [string, ...string[]];
15921
+ } | undefined;
15922
+ otherIdentifier?: {
15923
+ type: string | [string, ...string[]];
15924
+ identifier: string;
15925
+ identifierType: string;
15926
+ }[] | undefined;
15927
+ official?: string | undefined;
15928
+ parentOrg?: any;
15929
+ familyName?: string | undefined;
15930
+ givenName?: string | undefined;
15931
+ additionalName?: string | undefined;
15932
+ patronymicName?: string | undefined;
15933
+ honorificPrefix?: string | undefined;
15934
+ honorificSuffix?: string | undefined;
15935
+ familyNamePrefix?: string | undefined;
15936
+ dateOfBirth?: string | undefined;
15937
+ }>]>>;
15938
+ term: z.ZodOptional<z.ZodString>;
15939
+ }, "strip", z.ZodAny, {
15940
+ [x: string]: any;
15941
+ narrative?: string | undefined;
15942
+ id?: string | undefined;
15943
+ identifier?: {
15944
+ salt?: string | undefined;
15945
+ type: string;
15946
+ hashed: boolean;
15947
+ identityHash: string;
15948
+ identityType: string;
15949
+ }[] | undefined;
15950
+ image?: string | {
15951
+ caption?: string | undefined;
15952
+ type: string;
15953
+ id: string;
15954
+ } | undefined;
15955
+ activityEndDate?: string | undefined;
15956
+ activityStartDate?: string | undefined;
15957
+ creditsEarned?: number | undefined;
15958
+ achievement?: {
15959
+ [x: string]: any;
15960
+ tag?: string[] | undefined;
15961
+ id?: string | undefined;
15962
+ endorsement?: {
15963
+ [x: string]: any;
15964
+ id?: string | undefined;
15965
+ expirationDate?: string | undefined;
15966
+ credentialStatus?: {
15967
+ type: string;
15968
+ id: string;
15969
+ } | undefined;
15970
+ credentialSchema?: {
15971
+ type: string;
15972
+ id: string;
15973
+ }[] | undefined;
15974
+ refreshService?: {
15975
+ [x: string]: any;
15976
+ type: string;
15977
+ id: string;
15978
+ } | undefined;
15979
+ proof?: {
15980
+ [x: string]: any;
15981
+ challenge?: string | undefined;
15982
+ domain?: string | undefined;
15983
+ nonce?: string | undefined;
15984
+ jws?: string | undefined;
15985
+ type: string;
15986
+ created: string;
15987
+ proofPurpose: string;
15988
+ verificationMethod: string;
15989
+ } | {
15990
+ [x: string]: any;
15991
+ challenge?: string | undefined;
15992
+ domain?: string | undefined;
15993
+ nonce?: string | undefined;
15994
+ jws?: string | undefined;
15995
+ type: string;
15996
+ created: string;
15997
+ proofPurpose: string;
15998
+ verificationMethod: string;
15999
+ }[] | undefined;
16000
+ type: [string, ...string[]];
16001
+ '@context': (string | Record<string, any>)[];
16002
+ issuer: string | {
16003
+ [x: string]: any;
16004
+ type?: string | [string, ...string[]] | undefined;
16005
+ id?: string | undefined;
16006
+ name?: string | undefined;
16007
+ url?: string | undefined;
16008
+ phone?: string | undefined;
16009
+ description?: string | undefined;
16010
+ endorsement?: any[] | undefined;
16011
+ image?: string | {
16012
+ caption?: string | undefined;
16013
+ type: string;
16014
+ id: string;
16015
+ } | undefined;
16016
+ email?: string | undefined;
16017
+ address?: {
16018
+ addressCountry?: string | undefined;
16019
+ addressCountryCode?: string | undefined;
16020
+ addressRegion?: string | undefined;
16021
+ addressLocality?: string | undefined;
16022
+ streetAddress?: string | undefined;
16023
+ postOfficeBoxNumber?: string | undefined;
16024
+ postalCode?: string | undefined;
16025
+ geo?: {
16026
+ type: string | [string, ...string[]];
16027
+ latitude: number;
16028
+ longitude: number;
16029
+ } | undefined;
16030
+ type: string | [string, ...string[]];
16031
+ } | undefined;
16032
+ otherIdentifier?: {
16033
+ type: string | [string, ...string[]];
16034
+ identifier: string;
16035
+ identifierType: string;
16036
+ }[] | undefined;
16037
+ official?: string | undefined;
16038
+ parentOrg?: any;
16039
+ familyName?: string | undefined;
16040
+ givenName?: string | undefined;
16041
+ additionalName?: string | undefined;
16042
+ patronymicName?: string | undefined;
16043
+ honorificPrefix?: string | undefined;
16044
+ honorificSuffix?: string | undefined;
16045
+ familyNamePrefix?: string | undefined;
16046
+ dateOfBirth?: string | undefined;
16047
+ };
16048
+ issuanceDate: string;
16049
+ credentialSubject: {
16050
+ endorsementComment?: string | undefined;
16051
+ type: [string, ...string[]];
16052
+ id: string;
16053
+ };
16054
+ }[] | undefined;
16055
+ image?: string | {
16056
+ caption?: string | undefined;
16057
+ type: string;
16058
+ id: string;
16059
+ } | undefined;
16060
+ otherIdentifier?: {
16061
+ type: string | [string, ...string[]];
16062
+ identifier: string;
16063
+ identifierType: string;
16064
+ }[] | undefined;
16065
+ '@language'?: string | undefined;
16066
+ version?: string | undefined;
16067
+ alignment?: {
16068
+ targetCode?: string | undefined;
16069
+ targetDescription?: string | undefined;
16070
+ targetFramework?: string | undefined;
16071
+ targetType?: string | undefined;
16072
+ type: [string, ...string[]];
16073
+ targetName: string;
16074
+ targetUrl: string;
16075
+ }[] | undefined;
16076
+ achievementType?: string | undefined;
16077
+ creator?: string | {
16078
+ [x: string]: any;
16079
+ type?: string | [string, ...string[]] | undefined;
16080
+ id?: string | undefined;
16081
+ name?: string | undefined;
16082
+ url?: string | undefined;
16083
+ phone?: string | undefined;
16084
+ description?: string | undefined;
16085
+ endorsement?: any[] | undefined;
16086
+ image?: string | {
16087
+ caption?: string | undefined;
16088
+ type: string;
16089
+ id: string;
16090
+ } | undefined;
16091
+ email?: string | undefined;
16092
+ address?: {
16093
+ addressCountry?: string | undefined;
16094
+ addressCountryCode?: string | undefined;
16095
+ addressRegion?: string | undefined;
16096
+ addressLocality?: string | undefined;
16097
+ streetAddress?: string | undefined;
16098
+ postOfficeBoxNumber?: string | undefined;
16099
+ postalCode?: string | undefined;
16100
+ geo?: {
16101
+ type: string | [string, ...string[]];
16102
+ latitude: number;
16103
+ longitude: number;
16104
+ } | undefined;
16105
+ type: string | [string, ...string[]];
16106
+ } | undefined;
16107
+ otherIdentifier?: {
16108
+ type: string | [string, ...string[]];
16109
+ identifier: string;
16110
+ identifierType: string;
16111
+ }[] | undefined;
16112
+ official?: string | undefined;
16113
+ parentOrg?: any;
16114
+ familyName?: string | undefined;
16115
+ givenName?: string | undefined;
16116
+ additionalName?: string | undefined;
16117
+ patronymicName?: string | undefined;
16118
+ honorificPrefix?: string | undefined;
16119
+ honorificSuffix?: string | undefined;
16120
+ familyNamePrefix?: string | undefined;
16121
+ dateOfBirth?: string | undefined;
16122
+ } | undefined;
16123
+ creditsAvailable?: number | undefined;
16124
+ fieldOfStudy?: string | undefined;
16125
+ humanCode?: string | undefined;
16126
+ related?: {
16127
+ '@language'?: string | undefined;
16128
+ version?: string | undefined;
16129
+ id: string;
16495
16130
  }[] | undefined;
16496
- official?: string | undefined;
16497
- parentOrg?: any;
16498
- familyName?: string | undefined;
16499
- givenName?: string | undefined;
16500
- additionalName?: string | undefined;
16501
- patronymicName?: string | undefined;
16502
- honorificPrefix?: string | undefined;
16503
- honorificSuffix?: string | undefined;
16504
- familyNamePrefix?: string | undefined;
16505
- dateOfBirth?: string | undefined;
16506
- }, {
16131
+ resultDescription?: {
16132
+ [x: string]: any;
16133
+ alignment?: {
16134
+ targetCode?: string | undefined;
16135
+ targetDescription?: string | undefined;
16136
+ targetFramework?: string | undefined;
16137
+ targetType?: string | undefined;
16138
+ type: [string, ...string[]];
16139
+ targetName: string;
16140
+ targetUrl: string;
16141
+ }[] | undefined;
16142
+ allowedValue?: string[] | undefined;
16143
+ requiredLevel?: string | undefined;
16144
+ requiredValue?: string | undefined;
16145
+ rubricCriterionLevel?: {
16146
+ [x: string]: any;
16147
+ description?: string | undefined;
16148
+ alignment?: {
16149
+ targetCode?: string | undefined;
16150
+ targetDescription?: string | undefined;
16151
+ targetFramework?: string | undefined;
16152
+ targetType?: string | undefined;
16153
+ type: [string, ...string[]];
16154
+ targetName: string;
16155
+ targetUrl: string;
16156
+ }[] | undefined;
16157
+ level?: string | undefined;
16158
+ points?: string | undefined;
16159
+ type: [string, ...string[]];
16160
+ id: string;
16161
+ name: string;
16162
+ }[] | undefined;
16163
+ valueMax?: string | undefined;
16164
+ valueMin?: string | undefined;
16165
+ type: [string, ...string[]];
16166
+ id: string;
16167
+ name: string;
16168
+ resultType: string;
16169
+ }[] | undefined;
16170
+ specialization?: string | undefined;
16171
+ type: [string, ...string[]];
16172
+ name: string;
16173
+ description: string;
16174
+ criteria: {
16175
+ [x: string]: any;
16176
+ narrative?: string | undefined;
16177
+ id?: string | undefined;
16178
+ };
16179
+ } | undefined;
16180
+ licenseNumber?: string | undefined;
16181
+ result?: {
16182
+ [x: string]: any;
16183
+ status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined;
16184
+ value?: string | undefined;
16185
+ alignment?: {
16186
+ targetCode?: string | undefined;
16187
+ targetDescription?: string | undefined;
16188
+ targetFramework?: string | undefined;
16189
+ targetType?: string | undefined;
16190
+ type: [string, ...string[]];
16191
+ targetName: string;
16192
+ targetUrl: string;
16193
+ }[] | undefined;
16194
+ resultDescription?: string | undefined;
16195
+ achievedLevel?: string | undefined;
16196
+ type: [string, ...string[]];
16197
+ }[] | undefined;
16198
+ role?: string | undefined;
16199
+ source?: string | {
16507
16200
  [x: string]: any;
16508
16201
  type?: string | [string, ...string[]] | undefined;
16509
16202
  id?: string | undefined;
@@ -16548,151 +16241,270 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16548
16241
  honorificSuffix?: string | undefined;
16549
16242
  familyNamePrefix?: string | undefined;
16550
16243
  dateOfBirth?: string | undefined;
16551
- }>]>;
16552
- issuanceDate: z.ZodString;
16553
- expirationDate: z.ZodOptional<z.ZodString>;
16554
- credentialSubject: z.ZodUnion<[z.ZodObject<{
16555
- id: z.ZodOptional<z.ZodString>;
16556
- }, "strip", z.ZodAny, {
16557
- [x: string]: any;
16558
- id?: string | undefined;
16559
- }, {
16560
- [x: string]: any;
16561
- id?: string | undefined;
16562
- }>, z.ZodArray<z.ZodObject<{
16563
- id: z.ZodOptional<z.ZodString>;
16564
- }, "strip", z.ZodAny, {
16565
- [x: string]: any;
16566
- id?: string | undefined;
16567
- }, {
16568
- [x: string]: any;
16569
- id?: string | undefined;
16570
- }>, "many">]>;
16571
- credentialStatus: z.ZodOptional<z.ZodObject<{
16572
- type: z.ZodString;
16573
- id: z.ZodString;
16574
- }, "strip", z.ZodTypeAny, {
16575
- type: string;
16576
- id: string;
16577
- }, {
16578
- type: string;
16579
- id: string;
16580
- }>>;
16581
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
16582
- id: z.ZodString;
16583
- type: z.ZodString;
16584
- }, "strip", z.ZodTypeAny, {
16585
- type: string;
16586
- id: string;
16587
- }, {
16588
- type: string;
16589
- id: string;
16590
- }>, "many">>;
16591
- refreshService: z.ZodOptional<z.ZodObject<{
16592
- id: z.ZodString;
16593
- type: z.ZodString;
16594
- }, "strip", z.ZodAny, {
16595
- [x: string]: any;
16596
- type: string;
16597
- id: string;
16598
- }, {
16599
- [x: string]: any;
16600
- type: string;
16601
- id: string;
16602
- }>>;
16603
- }, "strip", z.ZodAny, {
16244
+ } | undefined;
16245
+ term?: string | undefined;
16246
+ type: [string, ...string[]];
16247
+ }, {
16604
16248
  [x: string]: any;
16249
+ narrative?: string | undefined;
16605
16250
  id?: string | undefined;
16606
- expirationDate?: string | undefined;
16607
- credentialStatus?: {
16608
- type: string;
16609
- id: string;
16610
- } | undefined;
16611
- credentialSchema?: {
16251
+ identifier?: {
16252
+ salt?: string | undefined;
16612
16253
  type: string;
16613
- id: string;
16254
+ hashed: boolean;
16255
+ identityHash: string;
16256
+ identityType: string;
16614
16257
  }[] | undefined;
16615
- refreshService?: {
16616
- [x: string]: any;
16258
+ image?: string | {
16259
+ caption?: string | undefined;
16617
16260
  type: string;
16618
16261
  id: string;
16619
16262
  } | undefined;
16620
- type: [string, ...string[]];
16621
- '@context': string[];
16622
- issuer: string | {
16263
+ activityEndDate?: string | undefined;
16264
+ activityStartDate?: string | undefined;
16265
+ creditsEarned?: number | undefined;
16266
+ achievement?: {
16623
16267
  [x: string]: any;
16624
- type?: string | [string, ...string[]] | undefined;
16268
+ tag?: string[] | undefined;
16625
16269
  id?: string | undefined;
16626
- name?: string | undefined;
16627
- url?: string | undefined;
16628
- phone?: string | undefined;
16629
- description?: string | undefined;
16630
- endorsement?: any[] | undefined;
16270
+ endorsement?: {
16271
+ [x: string]: any;
16272
+ id?: string | undefined;
16273
+ expirationDate?: string | undefined;
16274
+ credentialStatus?: {
16275
+ type: string;
16276
+ id: string;
16277
+ } | undefined;
16278
+ credentialSchema?: {
16279
+ type: string;
16280
+ id: string;
16281
+ }[] | undefined;
16282
+ refreshService?: {
16283
+ [x: string]: any;
16284
+ type: string;
16285
+ id: string;
16286
+ } | undefined;
16287
+ proof?: {
16288
+ [x: string]: any;
16289
+ challenge?: string | undefined;
16290
+ domain?: string | undefined;
16291
+ nonce?: string | undefined;
16292
+ jws?: string | undefined;
16293
+ type: string;
16294
+ created: string;
16295
+ proofPurpose: string;
16296
+ verificationMethod: string;
16297
+ } | {
16298
+ [x: string]: any;
16299
+ challenge?: string | undefined;
16300
+ domain?: string | undefined;
16301
+ nonce?: string | undefined;
16302
+ jws?: string | undefined;
16303
+ type: string;
16304
+ created: string;
16305
+ proofPurpose: string;
16306
+ verificationMethod: string;
16307
+ }[] | undefined;
16308
+ type: [string, ...string[]];
16309
+ '@context': (string | Record<string, any>)[];
16310
+ issuer: string | {
16311
+ [x: string]: any;
16312
+ type?: string | [string, ...string[]] | undefined;
16313
+ id?: string | undefined;
16314
+ name?: string | undefined;
16315
+ url?: string | undefined;
16316
+ phone?: string | undefined;
16317
+ description?: string | undefined;
16318
+ endorsement?: any[] | undefined;
16319
+ image?: string | {
16320
+ caption?: string | undefined;
16321
+ type: string;
16322
+ id: string;
16323
+ } | undefined;
16324
+ email?: string | undefined;
16325
+ address?: {
16326
+ addressCountry?: string | undefined;
16327
+ addressCountryCode?: string | undefined;
16328
+ addressRegion?: string | undefined;
16329
+ addressLocality?: string | undefined;
16330
+ streetAddress?: string | undefined;
16331
+ postOfficeBoxNumber?: string | undefined;
16332
+ postalCode?: string | undefined;
16333
+ geo?: {
16334
+ type: string | [string, ...string[]];
16335
+ latitude: number;
16336
+ longitude: number;
16337
+ } | undefined;
16338
+ type: string | [string, ...string[]];
16339
+ } | undefined;
16340
+ otherIdentifier?: {
16341
+ type: string | [string, ...string[]];
16342
+ identifier: string;
16343
+ identifierType: string;
16344
+ }[] | undefined;
16345
+ official?: string | undefined;
16346
+ parentOrg?: any;
16347
+ familyName?: string | undefined;
16348
+ givenName?: string | undefined;
16349
+ additionalName?: string | undefined;
16350
+ patronymicName?: string | undefined;
16351
+ honorificPrefix?: string | undefined;
16352
+ honorificSuffix?: string | undefined;
16353
+ familyNamePrefix?: string | undefined;
16354
+ dateOfBirth?: string | undefined;
16355
+ };
16356
+ issuanceDate: string;
16357
+ credentialSubject: {
16358
+ endorsementComment?: string | undefined;
16359
+ type: [string, ...string[]];
16360
+ id: string;
16361
+ };
16362
+ }[] | undefined;
16631
16363
  image?: string | {
16632
16364
  caption?: string | undefined;
16633
16365
  type: string;
16634
16366
  id: string;
16635
16367
  } | undefined;
16636
- email?: string | undefined;
16637
- address?: {
16638
- addressCountry?: string | undefined;
16639
- addressCountryCode?: string | undefined;
16640
- addressRegion?: string | undefined;
16641
- addressLocality?: string | undefined;
16642
- streetAddress?: string | undefined;
16643
- postOfficeBoxNumber?: string | undefined;
16644
- postalCode?: string | undefined;
16645
- geo?: {
16646
- type: string | [string, ...string[]];
16647
- latitude: number;
16648
- longitude: number;
16649
- } | undefined;
16650
- type: string | [string, ...string[]];
16651
- } | undefined;
16652
16368
  otherIdentifier?: {
16653
16369
  type: string | [string, ...string[]];
16654
16370
  identifier: string;
16655
16371
  identifierType: string;
16656
16372
  }[] | undefined;
16657
- official?: string | undefined;
16658
- parentOrg?: any;
16659
- familyName?: string | undefined;
16660
- givenName?: string | undefined;
16661
- additionalName?: string | undefined;
16662
- patronymicName?: string | undefined;
16663
- honorificPrefix?: string | undefined;
16664
- honorificSuffix?: string | undefined;
16665
- familyNamePrefix?: string | undefined;
16666
- dateOfBirth?: string | undefined;
16667
- };
16668
- issuanceDate: string;
16669
- credentialSubject: {
16670
- [x: string]: any;
16671
- id?: string | undefined;
16672
- } | {
16673
- [x: string]: any;
16674
- id?: string | undefined;
16675
- }[];
16676
- }, {
16677
- [x: string]: any;
16678
- id?: string | undefined;
16679
- expirationDate?: string | undefined;
16680
- credentialStatus?: {
16681
- type: string;
16682
- id: string;
16373
+ '@language'?: string | undefined;
16374
+ version?: string | undefined;
16375
+ alignment?: {
16376
+ targetCode?: string | undefined;
16377
+ targetDescription?: string | undefined;
16378
+ targetFramework?: string | undefined;
16379
+ targetType?: string | undefined;
16380
+ type: [string, ...string[]];
16381
+ targetName: string;
16382
+ targetUrl: string;
16383
+ }[] | undefined;
16384
+ achievementType?: string | undefined;
16385
+ creator?: string | {
16386
+ [x: string]: any;
16387
+ type?: string | [string, ...string[]] | undefined;
16388
+ id?: string | undefined;
16389
+ name?: string | undefined;
16390
+ url?: string | undefined;
16391
+ phone?: string | undefined;
16392
+ description?: string | undefined;
16393
+ endorsement?: any[] | undefined;
16394
+ image?: string | {
16395
+ caption?: string | undefined;
16396
+ type: string;
16397
+ id: string;
16398
+ } | undefined;
16399
+ email?: string | undefined;
16400
+ address?: {
16401
+ addressCountry?: string | undefined;
16402
+ addressCountryCode?: string | undefined;
16403
+ addressRegion?: string | undefined;
16404
+ addressLocality?: string | undefined;
16405
+ streetAddress?: string | undefined;
16406
+ postOfficeBoxNumber?: string | undefined;
16407
+ postalCode?: string | undefined;
16408
+ geo?: {
16409
+ type: string | [string, ...string[]];
16410
+ latitude: number;
16411
+ longitude: number;
16412
+ } | undefined;
16413
+ type: string | [string, ...string[]];
16414
+ } | undefined;
16415
+ otherIdentifier?: {
16416
+ type: string | [string, ...string[]];
16417
+ identifier: string;
16418
+ identifierType: string;
16419
+ }[] | undefined;
16420
+ official?: string | undefined;
16421
+ parentOrg?: any;
16422
+ familyName?: string | undefined;
16423
+ givenName?: string | undefined;
16424
+ additionalName?: string | undefined;
16425
+ patronymicName?: string | undefined;
16426
+ honorificPrefix?: string | undefined;
16427
+ honorificSuffix?: string | undefined;
16428
+ familyNamePrefix?: string | undefined;
16429
+ dateOfBirth?: string | undefined;
16430
+ } | undefined;
16431
+ creditsAvailable?: number | undefined;
16432
+ fieldOfStudy?: string | undefined;
16433
+ humanCode?: string | undefined;
16434
+ related?: {
16435
+ '@language'?: string | undefined;
16436
+ version?: string | undefined;
16437
+ id: string;
16438
+ }[] | undefined;
16439
+ resultDescription?: {
16440
+ [x: string]: any;
16441
+ alignment?: {
16442
+ targetCode?: string | undefined;
16443
+ targetDescription?: string | undefined;
16444
+ targetFramework?: string | undefined;
16445
+ targetType?: string | undefined;
16446
+ type: [string, ...string[]];
16447
+ targetName: string;
16448
+ targetUrl: string;
16449
+ }[] | undefined;
16450
+ allowedValue?: string[] | undefined;
16451
+ requiredLevel?: string | undefined;
16452
+ requiredValue?: string | undefined;
16453
+ rubricCriterionLevel?: {
16454
+ [x: string]: any;
16455
+ description?: string | undefined;
16456
+ alignment?: {
16457
+ targetCode?: string | undefined;
16458
+ targetDescription?: string | undefined;
16459
+ targetFramework?: string | undefined;
16460
+ targetType?: string | undefined;
16461
+ type: [string, ...string[]];
16462
+ targetName: string;
16463
+ targetUrl: string;
16464
+ }[] | undefined;
16465
+ level?: string | undefined;
16466
+ points?: string | undefined;
16467
+ type: [string, ...string[]];
16468
+ id: string;
16469
+ name: string;
16470
+ }[] | undefined;
16471
+ valueMax?: string | undefined;
16472
+ valueMin?: string | undefined;
16473
+ type: [string, ...string[]];
16474
+ id: string;
16475
+ name: string;
16476
+ resultType: string;
16477
+ }[] | undefined;
16478
+ specialization?: string | undefined;
16479
+ type: [string, ...string[]];
16480
+ name: string;
16481
+ description: string;
16482
+ criteria: {
16483
+ [x: string]: any;
16484
+ narrative?: string | undefined;
16485
+ id?: string | undefined;
16486
+ };
16683
16487
  } | undefined;
16684
- credentialSchema?: {
16685
- type: string;
16686
- id: string;
16687
- }[] | undefined;
16688
- refreshService?: {
16488
+ licenseNumber?: string | undefined;
16489
+ result?: {
16689
16490
  [x: string]: any;
16690
- type: string;
16691
- id: string;
16692
- } | undefined;
16693
- type: [string, ...string[]];
16694
- '@context': string[];
16695
- issuer: string | {
16491
+ status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined;
16492
+ value?: string | undefined;
16493
+ alignment?: {
16494
+ targetCode?: string | undefined;
16495
+ targetDescription?: string | undefined;
16496
+ targetFramework?: string | undefined;
16497
+ targetType?: string | undefined;
16498
+ type: [string, ...string[]];
16499
+ targetName: string;
16500
+ targetUrl: string;
16501
+ }[] | undefined;
16502
+ resultDescription?: string | undefined;
16503
+ achievedLevel?: string | undefined;
16504
+ type: [string, ...string[]];
16505
+ }[] | undefined;
16506
+ role?: string | undefined;
16507
+ source?: string | {
16696
16508
  [x: string]: any;
16697
16509
  type?: string | [string, ...string[]] | undefined;
16698
16510
  id?: string | undefined;
@@ -16737,16 +16549,42 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16737
16549
  honorificSuffix?: string | undefined;
16738
16550
  familyNamePrefix?: string | undefined;
16739
16551
  dateOfBirth?: string | undefined;
16740
- };
16741
- issuanceDate: string;
16742
- credentialSubject: {
16743
- [x: string]: any;
16744
- id?: string | undefined;
16745
- } | {
16746
- [x: string]: any;
16747
- id?: string | undefined;
16748
- }[];
16552
+ } | undefined;
16553
+ term?: string | undefined;
16554
+ type: [string, ...string[]];
16555
+ }>, "many">]>;
16556
+ credentialStatus: z.ZodOptional<z.ZodObject<{
16557
+ type: z.ZodString;
16558
+ id: z.ZodString;
16559
+ }, "strip", z.ZodTypeAny, {
16560
+ type: string;
16561
+ id: string;
16562
+ }, {
16563
+ type: string;
16564
+ id: string;
16565
+ }>>;
16566
+ credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
16567
+ id: z.ZodString;
16568
+ type: z.ZodString;
16569
+ }, "strip", z.ZodTypeAny, {
16570
+ type: string;
16571
+ id: string;
16572
+ }, {
16573
+ type: string;
16574
+ id: string;
16749
16575
  }>, "many">>;
16576
+ refreshService: z.ZodOptional<z.ZodObject<{
16577
+ id: z.ZodString;
16578
+ type: z.ZodString;
16579
+ }, "strip", z.ZodAny, {
16580
+ [x: string]: any;
16581
+ type: string;
16582
+ id: string;
16583
+ }, {
16584
+ [x: string]: any;
16585
+ type: string;
16586
+ id: string;
16587
+ }>>;
16750
16588
  evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
16751
16589
  id: z.ZodOptional<z.ZodString>;
16752
16590
  type: z.ZodArray<z.ZodString, "atleastone">;
@@ -16774,7 +16612,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16774
16612
  audience?: string | undefined;
16775
16613
  type: [string, ...string[]];
16776
16614
  }>, "many">>;
16777
- }>, {
16778
16615
  proof: z.ZodUnion<[z.ZodObject<{
16779
16616
  type: z.ZodString;
16780
16617
  created: z.ZodString;
@@ -16834,7 +16671,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16834
16671
  proofPurpose: string;
16835
16672
  verificationMethod: string;
16836
16673
  }>, "many">]>;
16837
- }>, "strip", z.ZodAny, {
16674
+ }, "strip", z.ZodAny, {
16838
16675
  [x: string]: any;
16839
16676
  id?: string | undefined;
16840
16677
  name?: string | undefined;
@@ -16857,7 +16694,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16857
16694
  id: string;
16858
16695
  } | undefined;
16859
16696
  type: [string, ...string[]];
16860
- '@context': string[];
16697
+ '@context': (string | Record<string, any>)[];
16861
16698
  issuer: string | {
16862
16699
  [x: string]: any;
16863
16700
  type?: string | [string, ...string[]] | undefined;
@@ -16943,7 +16780,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
16943
16780
  type: [string, ...string[]];
16944
16781
  }[] | undefined;
16945
16782
  type: [string, ...string[]];
16946
- '@context': string[];
16783
+ '@context': (string | Record<string, any>)[];
16947
16784
  issuer: string | {
16948
16785
  [x: string]: any;
16949
16786
  type?: string | [string, ...string[]] | undefined;
@@ -17012,6 +16849,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17012
16849
  creditsEarned?: number | undefined;
17013
16850
  achievement?: {
17014
16851
  [x: string]: any;
16852
+ tag?: string[] | undefined;
17015
16853
  id?: string | undefined;
17016
16854
  endorsement?: {
17017
16855
  [x: string]: any;
@@ -17052,7 +16890,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17052
16890
  verificationMethod: string;
17053
16891
  }[] | undefined;
17054
16892
  type: [string, ...string[]];
17055
- '@context': string[];
16893
+ '@context': (string | Record<string, any>)[];
17056
16894
  issuer: string | {
17057
16895
  [x: string]: any;
17058
16896
  type?: string | [string, ...string[]] | undefined;
@@ -17222,7 +17060,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17222
17060
  resultType: string;
17223
17061
  }[] | undefined;
17224
17062
  specialization?: string | undefined;
17225
- tag?: string[] | undefined;
17226
17063
  type: [string, ...string[]];
17227
17064
  name: string;
17228
17065
  description: string;
@@ -17320,6 +17157,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17320
17157
  creditsEarned?: number | undefined;
17321
17158
  achievement?: {
17322
17159
  [x: string]: any;
17160
+ tag?: string[] | undefined;
17323
17161
  id?: string | undefined;
17324
17162
  endorsement?: {
17325
17163
  [x: string]: any;
@@ -17360,7 +17198,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17360
17198
  verificationMethod: string;
17361
17199
  }[] | undefined;
17362
17200
  type: [string, ...string[]];
17363
- '@context': string[];
17201
+ '@context': (string | Record<string, any>)[];
17364
17202
  issuer: string | {
17365
17203
  [x: string]: any;
17366
17204
  type?: string | [string, ...string[]] | undefined;
@@ -17530,7 +17368,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17530
17368
  resultType: string;
17531
17369
  }[] | undefined;
17532
17370
  specialization?: string | undefined;
17533
- tag?: string[] | undefined;
17534
17371
  type: [string, ...string[]];
17535
17372
  name: string;
17536
17373
  description: string;
@@ -17652,7 +17489,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17652
17489
  id: string;
17653
17490
  } | undefined;
17654
17491
  type: [string, ...string[]];
17655
- '@context': string[];
17492
+ '@context': (string | Record<string, any>)[];
17656
17493
  issuer: string | {
17657
17494
  [x: string]: any;
17658
17495
  type?: string | [string, ...string[]] | undefined;
@@ -17738,7 +17575,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17738
17575
  type: [string, ...string[]];
17739
17576
  }[] | undefined;
17740
17577
  type: [string, ...string[]];
17741
- '@context': string[];
17578
+ '@context': (string | Record<string, any>)[];
17742
17579
  issuer: string | {
17743
17580
  [x: string]: any;
17744
17581
  type?: string | [string, ...string[]] | undefined;
@@ -17807,6 +17644,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17807
17644
  creditsEarned?: number | undefined;
17808
17645
  achievement?: {
17809
17646
  [x: string]: any;
17647
+ tag?: string[] | undefined;
17810
17648
  id?: string | undefined;
17811
17649
  endorsement?: {
17812
17650
  [x: string]: any;
@@ -17847,7 +17685,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
17847
17685
  verificationMethod: string;
17848
17686
  }[] | undefined;
17849
17687
  type: [string, ...string[]];
17850
- '@context': string[];
17688
+ '@context': (string | Record<string, any>)[];
17851
17689
  issuer: string | {
17852
17690
  [x: string]: any;
17853
17691
  type?: string | [string, ...string[]] | undefined;
@@ -18017,7 +17855,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
18017
17855
  resultType: string;
18018
17856
  }[] | undefined;
18019
17857
  specialization?: string | undefined;
18020
- tag?: string[] | undefined;
18021
17858
  type: [string, ...string[]];
18022
17859
  name: string;
18023
17860
  description: string;
@@ -18115,6 +17952,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
18115
17952
  creditsEarned?: number | undefined;
18116
17953
  achievement?: {
18117
17954
  [x: string]: any;
17955
+ tag?: string[] | undefined;
18118
17956
  id?: string | undefined;
18119
17957
  endorsement?: {
18120
17958
  [x: string]: any;
@@ -18155,7 +17993,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
18155
17993
  verificationMethod: string;
18156
17994
  }[] | undefined;
18157
17995
  type: [string, ...string[]];
18158
- '@context': string[];
17996
+ '@context': (string | Record<string, any>)[];
18159
17997
  issuer: string | {
18160
17998
  [x: string]: any;
18161
17999
  type?: string | [string, ...string[]] | undefined;
@@ -18325,7 +18163,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
18325
18163
  resultType: string;
18326
18164
  }[] | undefined;
18327
18165
  specialization?: string | undefined;
18328
- tag?: string[] | undefined;
18329
18166
  type: [string, ...string[]];
18330
18167
  name: string;
18331
18168
  description: string;
@@ -18425,4 +18262,4 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
18425
18262
  verificationMethod: string;
18426
18263
  }[];
18427
18264
  }>;
18428
- export declare type AchievementCredential = z.infer<typeof AchievementCredentialValidator>;
18265
+ export type AchievementCredential = z.infer<typeof AchievementCredentialValidator>;