Skip to main content

@learncard/types

Type Aliases

Achievement

Ƭ Achievement: z.infer<typeof AchievementValidator>

Defined in

packages/learn-card-types/src/obv3.ts:169


AchievementCredential

Ƭ AchievementCredential: z.infer<typeof AchievementCredentialValidator>

Defined in

packages/learn-card-types/src/obv3.ts:248


AchievementCriteria

Ƭ AchievementCriteria: z.infer<typeof AchievementCriteriaValidator>

Defined in

packages/learn-card-types/src/vc.ts:10


AchievementSubject

Ƭ AchievementSubject: z.infer<typeof AchievementSubjectValidator>

Defined in

packages/learn-card-types/src/obv3.ts:220


AchievementType

Ƭ AchievementType: z.infer<typeof AchievementTypeValidator>

Defined in

packages/learn-card-types/src/obv3.ts:70


Address

Ƭ Address: z.infer<typeof AddressValidator>

Defined in

packages/learn-card-types/src/vc.ts:39


Alignment

Ƭ Alignment: z.infer<typeof AlignmentValidator>

Defined in

packages/learn-card-types/src/obv3.ts:32


AlignmentTargetType

Ƭ AlignmentTargetType: z.infer<typeof AlignmentTargetTypeValidator>

Defined in

packages/learn-card-types/src/obv3.ts:21


Boost

Ƭ Boost: z.infer<typeof BoostValidator>

Defined in

packages/learn-card-types/src/lcn.ts:41


BoostRecipientInfo

Ƭ BoostRecipientInfo: z.infer<typeof BoostRecipientValidator>

Defined in

packages/learn-card-types/src/lcn.ts:49


Context

Ƭ Context: z.infer<typeof ContextValidator>

Defined in

packages/learn-card-types/src/vc.ts:4


CredentialInfo

Ƭ CredentialInfo: z.infer<typeof CredentialInfoValidator>

Defined in

packages/learn-card-types/src/learncard.ts:30


CredentialRecord

Ƭ CredentialRecord<Metadata>: { [key: string]: any; id: string ; uri: string } & Metadata

Type parameters

NameType
Metadataextends Record<string, any> = Record<never, never>

Defined in

packages/learn-card-types/src/learncard.ts:32


CredentialSchema

Ƭ CredentialSchema: z.infer<typeof CredentialSchemaValidator>

Defined in

packages/learn-card-types/src/vc.ts:108


CredentialStatus

Ƭ CredentialStatus: z.infer<typeof CredentialStatusValidator>

Defined in

packages/learn-card-types/src/vc.ts:105


CredentialSubject

Ƭ CredentialSubject: z.infer<typeof CredentialSubjectValidator>

Defined in

packages/learn-card-types/src/vc.ts:102


Criteria

Ƭ Criteria: z.infer<typeof CriteriaValidator>

Defined in

packages/learn-card-types/src/obv3.ts:75


EncryptedCredentialRecord

Ƭ EncryptedCredentialRecord: z.infer<typeof EncryptedCredentialRecordValidator>

Defined in

packages/learn-card-types/src/learncloud.ts:13


EndorsementCredential

Ƭ EndorsementCredential: z.infer<typeof EndorsementCredentialValidator>

Defined in

packages/learn-card-types/src/obv3.ts:88


EndorsementSubject

Ƭ EndorsementSubject: z.infer<typeof EndorsementSubjectValidator>

Defined in

packages/learn-card-types/src/obv3.ts:82


Evidence

Ƭ Evidence: z.infer<typeof EvidenceValidator>

Defined in

packages/learn-card-types/src/obv3.ts:233


GeoCoordinates

Ƭ GeoCoordinates: z.infer<typeof GeoCoordinatesValidator>

Defined in

packages/learn-card-types/src/vc.ts:26


IdentifierEntry

Ƭ IdentifierEntry: z.infer<typeof IdentifierEntryValidator>

Defined in

packages/learn-card-types/src/vc.ts:70


IdentifierType

Ƭ IdentifierType: z.infer<typeof IdentifierTypeValidator>

Defined in

packages/learn-card-types/src/vc.ts:63


IdentityObject

Ƭ IdentityObject: z.infer<typeof IdentityObjectValidator>

Defined in

packages/learn-card-types/src/obv3.ts:178


Image

Ƭ Image: z.infer<typeof ImageValidator>

Defined in

packages/learn-card-types/src/vc.ts:19


InitInput

Ƭ InitInput: RequestInfo | URL | Response | BufferSource | WebAssembly.Module

Defined in

packages/learn-card-types/src/wasm.ts:1


JWE

Ƭ JWE: z.infer<typeof JWEValidator>

Defined in

packages/learn-card-types/src/crypto.ts:38


JWERecipient

Ƭ JWERecipient: z.infer<typeof JWERecipientValidator>

Defined in

packages/learn-card-types/src/crypto.ts:28


JWERecipientHeader

Ƭ JWERecipientHeader: z.infer<typeof JWERecipientHeaderValidator>

Defined in

packages/learn-card-types/src/crypto.ts:22


JWK

Ƭ JWK: z.infer<typeof JWKValidator>

Defined in

packages/learn-card-types/src/crypto.ts:11


KnownAchievementType

Ƭ KnownAchievementType: z.infer<typeof KnownAchievementTypeValidator>

Defined in

packages/learn-card-types/src/obv3.ts:67


LCNBoostClaimLinkOptionsType

Ƭ LCNBoostClaimLinkOptionsType: z.infer<typeof LCNBoostClaimLinkOptionsValidator>

Defined in

packages/learn-card-types/src/lcn.ts:102


LCNBoostClaimLinkSigningAuthorityType

Ƭ LCNBoostClaimLinkSigningAuthorityType: z.infer<typeof LCNBoostClaimLinkSigningAuthorityValidator>

Defined in

packages/learn-card-types/src/lcn.ts:94


LCNBoostStatusEnum

Ƭ LCNBoostStatusEnum: z.infer<typeof LCNBoostStatus>

Defined in

packages/learn-card-types/src/lcn.ts:32


LCNNotification

Ƭ LCNNotification: z.infer<typeof LCNNotificationValidator>

Defined in

packages/learn-card-types/src/lcn.ts:87


LCNNotificationData

Ƭ LCNNotificationData: z.infer<typeof LCNNotificationDataValidator>

Defined in

packages/learn-card-types/src/lcn.ts:76


LCNNotificationMessage

Ƭ LCNNotificationMessage: z.infer<typeof LCNNotificationMessageValidator>

Defined in

packages/learn-card-types/src/lcn.ts:69


LCNNotificationTypeEnum

Ƭ LCNNotificationTypeEnum: z.infer<typeof LCNNotificationTypeEnumValidator>

Defined in

packages/learn-card-types/src/lcn.ts:62


LCNProfile

Ƭ LCNProfile: z.infer<typeof LCNProfileValidator>

Defined in

packages/learn-card-types/src/lcn.ts:12


LCNProfileConnectionStatusEnum

Ƭ LCNProfileConnectionStatusEnum: z.infer<typeof LCNProfileConnectionStatusEnum>

Defined in

packages/learn-card-types/src/lcn.ts:14

packages/learn-card-types/src/lcn.ts:20


LCNSigningAuthorityForUserType

Ƭ LCNSigningAuthorityForUserType: z.infer<typeof LCNSigningAuthorityForUserValidator>

Defined in

packages/learn-card-types/src/lcn.ts:122


LCNSigningAuthorityType

Ƭ LCNSigningAuthorityType: z.infer<typeof LCNSigningAuthorityValidator>

Defined in

packages/learn-card-types/src/lcn.ts:107


PaginatedEncryptedCredentialRecordsType

Ƭ PaginatedEncryptedCredentialRecordsType: z.infer<typeof PaginatedEncryptedCredentialRecordsValidator>

Defined in

packages/learn-card-types/src/learncloud.ts:18


PaginationOptionsType

Ƭ PaginationOptionsType: z.infer<typeof PaginationOptionsValidator>

Defined in

packages/learn-card-types/src/mongo.ts:7


PaginationResponseType

Ƭ PaginationResponseType: z.infer<typeof PaginationResponseValidator>

Defined in

packages/learn-card-types/src/mongo.ts:13


Profile

Ƭ Profile: z.infer<typeof ProfileValidator>

Defined in

packages/learn-card-types/src/vc.ts:99


Proof

Ƭ Proof: z.infer<typeof ProofValidator>

Defined in

packages/learn-card-types/src/vc.ts:143


RefreshService

Ƭ RefreshService: z.infer<typeof RefreshServiceValidator>

Defined in

packages/learn-card-types/src/vc.ts:113


Ƭ Related: z.infer<typeof RelatedValidator>

Defined in

packages/learn-card-types/src/obv3.ts:95


Result

Ƭ Result: z.infer<typeof ResultValidator>

Defined in

packages/learn-card-types/src/obv3.ts:200


ResultDescription

Ƭ ResultDescription: z.infer<typeof ResultDescriptionValidator>

Defined in

packages/learn-card-types/src/obv3.ts:143


ResultStatusType

Ƭ ResultStatusType: z.infer<typeof ResultStatusTypeValidator>

Defined in

packages/learn-card-types/src/obv3.ts:188


ResultType

Ƭ ResultType: z.infer<typeof ResultTypeValidator>

Defined in

packages/learn-card-types/src/obv3.ts:113


RubricCriterion

Ƭ RubricCriterion: z.infer<typeof RubricCriterionValidator>

Defined in

packages/learn-card-types/src/obv3.ts:126


SentCredentialInfo

Ƭ SentCredentialInfo: z.infer<typeof SentCredentialInfoValidator>

Defined in

packages/learn-card-types/src/lcn.ts:29


UnsignedAchievementCredential

Ƭ UnsignedAchievementCredential: z.infer<typeof UnsignedAchievementCredentialValidator>

Defined in

packages/learn-card-types/src/obv3.ts:243


UnsignedVC

Ƭ UnsignedVC: z.infer<typeof UnsignedVCValidator>

Defined in

packages/learn-card-types/src/vc.ts:129


UnsignedVP

Ƭ UnsignedVP: z.infer<typeof UnsignedVPValidator>

Defined in

packages/learn-card-types/src/vc.ts:159


VC

Ƭ VC: z.infer<typeof VCValidator>

Defined in

packages/learn-card-types/src/vc.ts:148


VP

Ƭ VP: z.infer<typeof VPValidator>

Defined in

packages/learn-card-types/src/vc.ts:164


VerificationCheck

Ƭ VerificationCheck: z.infer<typeof VerificationCheckValidator>

Defined in

packages/learn-card-types/src/learncard.ts:9


VerificationItem

Ƭ VerificationItem: z.infer<typeof VerificationItemValidator>

Defined in

packages/learn-card-types/src/learncard.ts:21


VerificationStatus

Ƭ VerificationStatus: z.infer<typeof VerificationStatusValidator>

Defined in

packages/learn-card-types/src/learncard.ts:12

Variables

AchievementCredentialValidator

Const AchievementCredentialValidator: ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodUnion<[ZodObject<{ achievement: ZodOptional<ZodObject<{ @language: ZodOptional<ZodString> ; achievementType: ZodOptional<ZodUnion<[ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService"]>, ZodString]>> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; creator: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; creditsAvailable: ZodOptional<ZodNumber> ; criteria: ZodObject<{ id: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string ; narrative: undefined | string }, { id: undefined | string ; narrative: undefined | string }> = CriteriaValidator; description: ZodString ; endorsement: ZodOptional<ZodArray<ZodObject<{ type: ZodArray<ZodString, "atleastone">; id: ZodOptional<ZodString>; '@context': ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many">; ... 7 more ...; proof: ZodOptional<...>; }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">> ; fieldOfStudy: ZodOptional<ZodString> ; humanCode: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodString ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; related: ZodOptional<ZodArray<ZodObject<{ @language: ZodOptional<ZodString> ; id: ZodString ; version: ZodOptional<ZodString> }, "strip", ZodTypeAny, { @language: undefined | string ; id: string ; version: undefined | string }, { @language: undefined | string ; id: string ; version: undefined | string }>, "many">> ; resultDescription: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; allowedValue: ZodOptional<ZodArray<ZodString, "many">> ; id: ZodString ; name: ZodString ; requiredLevel: ZodOptional<ZodString> ; requiredValue: ZodOptional<ZodString> ; resultType: ZodUnion<[ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, ZodString]> = ResultTypeValidator; rubricCriterionLevel: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; description: ZodOptional<ZodString> ; id: ZodString ; level: ZodOptional<ZodString> ; name: ZodString ; points: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }>, "many">> ; type: ZodArray<ZodString, "atleastone"> ; valueMax: ZodOptional<ZodString> ; valueMin: ZodOptional<ZodString> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }>, "many">> ; specialization: ZodOptional<ZodString> ; tag: ZodOptional<ZodArray<ZodString, "many">> ; type: ZodArray<ZodString, "atleastone"> ; version: ZodOptional<ZodString> }, "strip", ZodAny, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }>> ; activityEndDate: ZodOptional<ZodString> ; activityStartDate: ZodOptional<ZodString> ; creditsEarned: ZodOptional<ZodNumber> ; id: ZodOptional<ZodString> ; identifier: ZodOptional<ZodArray<ZodObject<{ hashed: ZodBoolean ; identityHash: ZodString ; identityType: ZodString ; salt: ZodOptional<ZodString> ; type: ZodString }, "strip", ZodTypeAny, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }>, "many">> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; licenseNumber: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> ; result: ZodOptional<ZodArray<ZodObject<{ achievedLevel: ZodOptional<ZodString> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; resultDescription: ZodOptional<ZodString> ; status: ZodOptional<ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>> ; type: ZodArray<ZodString, "atleastone"> ; value: ZodOptional<ZodString> }, "strip", ZodAny, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }>, "many">> ; role: ZodOptional<ZodString> ; source: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; term: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }>, ZodArray<ZodObject<{ achievement: ZodOptional<ZodObject<{ @language: ZodOptional<ZodString> ; achievementType: ZodOptional<ZodUnion<[ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService"]>, ZodString]>> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; creator: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; creditsAvailable: ZodOptional<ZodNumber> ; criteria: ZodObject<{ id: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string ; narrative: undefined | string }, { id: undefined | string ; narrative: undefined | string }> = CriteriaValidator; description: ZodString ; endorsement: ZodOptional<ZodArray<ZodObject<{ type: ZodArray<ZodString, "atleastone">; id: ZodOptional<ZodString>; '@context': ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many">; ... 7 more ...; proof: ZodOptional<...>; }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">> ; fieldOfStudy: ZodOptional<ZodString> ; humanCode: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodString ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; related: ZodOptional<ZodArray<ZodObject<{ @language: ZodOptional<ZodString> ; id: ZodString ; version: ZodOptional<ZodString> }, "strip", ZodTypeAny, { @language: undefined | string ; id: string ; version: undefined | string }, { @language: undefined | string ; id: string ; version: undefined | string }>, "many">> ; resultDescription: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; allowedValue: ZodOptional<ZodArray<ZodString, "many">> ; id: ZodString ; name: ZodString ; requiredLevel: ZodOptional<ZodString> ; requiredValue: ZodOptional<ZodString> ; resultType: ZodUnion<[ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, ZodString]> = ResultTypeValidator; rubricCriterionLevel: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; description: ZodOptional<ZodString> ; id: ZodString ; level: ZodOptional<ZodString> ; name: ZodString ; points: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }>, "many">> ; type: ZodArray<ZodString, "atleastone"> ; valueMax: ZodOptional<ZodString> ; valueMin: ZodOptional<ZodString> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }>, "many">> ; specialization: ZodOptional<ZodString> ; tag: ZodOptional<ZodArray<ZodString, "many">> ; type: ZodArray<ZodString, "atleastone"> ; version: ZodOptional<ZodString> }, "strip", ZodAny, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }>> ; activityEndDate: ZodOptional<ZodString> ; activityStartDate: ZodOptional<ZodString> ; creditsEarned: ZodOptional<ZodNumber> ; id: ZodOptional<ZodString> ; identifier: ZodOptional<ZodArray<ZodObject<{ hashed: ZodBoolean ; identityHash: ZodString ; identityType: ZodString ; salt: ZodOptional<ZodString> ; type: ZodString }, "strip", ZodTypeAny, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }>, "many">> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; licenseNumber: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> ; result: ZodOptional<ZodArray<ZodObject<{ achievedLevel: ZodOptional<ZodString> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; resultDescription: ZodOptional<ZodString> ; status: ZodOptional<ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>> ; type: ZodArray<ZodString, "atleastone"> ; value: ZodOptional<ZodString> }, "strip", ZodAny, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }>, "many">> ; role: ZodOptional<ZodString> ; source: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; term: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }>, "many">]> ; description: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodUnion<[ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, ZodArray<ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, "many">]> ; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">> ; evidence: ZodOptional<ZodArray<ZodObject<{ audience: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; genre: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; name: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { audience: undefined | string ; description: undefined | string ; genre: undefined | string ; id: undefined | string ; name: undefined | string ; narrative: undefined | string ; type: [string, ...string[]] }, { audience: undefined | string ; description: undefined | string ; genre: undefined | string ; id: undefined | string ; name: undefined | string ; narrative: undefined | string ; type: [string, ...string[]] }>, "many">> ; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; name: ZodOptional<ZodString> ; proof: ZodUnion<[ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, ZodArray<ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, "many">]> ; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; identifier?: { salt?: string | undefined; type: string; hashed: boolean; identityHash: string; identityType: string; }[] | undefined; ... 10 more ...; type: [...]; } | { [x: string]: any; narrative?: string | undefined; id?: string | undefined; identifier?: { salt?: string | undefined; type: string; hashed: boolean; identityHash: string; identityType: string; }[] | undefined; ... 10 more ...; type: [...]; }[] ; description: undefined | string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 5 more ...; credentialSubject: { ...; } | { ...; }[]; }[] ; evidence: undefined | { [x: string]: any; narrative?: string | undefined; id?: string | undefined; name?: string | undefined; description?: string | undefined; genre?: string | undefined; audience?: string | undefined; type: [...]; }[] ; expirationDate: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; name: undefined | string ; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; identifier?: { salt?: string | undefined; type: string; hashed: boolean; identityHash: string; identityType: string; }[] | undefined; ... 10 more ...; type: [...]; } | { [x: string]: any; narrative?: string | undefined; id?: string | undefined; identifier?: { salt?: string | undefined; type: string; hashed: boolean; identityHash: string; identityType: string; }[] | undefined; ... 10 more ...; type: [...]; }[] ; description: undefined | string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 5 more ...; credentialSubject: { ...; } | { ...; }[]; }[] ; evidence: undefined | { [x: string]: any; narrative?: string | undefined; id?: string | undefined; name?: string | undefined; description?: string | undefined; genre?: string | undefined; audience?: string | undefined; type: [...]; }[] ; expirationDate: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; name: undefined | string ; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/obv3.ts:245


AchievementCriteriaValidator

Const AchievementCriteriaValidator: ZodObject<{ narrative: ZodOptional<ZodString> ; type: ZodOptional<ZodString> }, "strip", ZodTypeAny, { narrative: undefined | string ; type: undefined | string }, { narrative: undefined | string ; type: undefined | string }>

Defined in

packages/learn-card-types/src/vc.ts:6


AchievementSubjectValidator

Const AchievementSubjectValidator: ZodObject<{ achievement: ZodOptional<ZodObject<{ @language: ZodOptional<ZodString> ; achievementType: ZodOptional<ZodUnion<[ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService"]>, ZodString]>> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; creator: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; creditsAvailable: ZodOptional<ZodNumber> ; criteria: ZodObject<{ id: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string ; narrative: undefined | string }, { id: undefined | string ; narrative: undefined | string }> = CriteriaValidator; description: ZodString ; endorsement: ZodOptional<ZodArray<ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodObject<{ endorsementComment: ZodOptional<ZodString> ; id: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] }, { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] }> = EndorsementSubjectValidator; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; proof: ZodOptional<ZodUnion<[ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, ZodArray<ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, "many">]>> ; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">> ; fieldOfStudy: ZodOptional<ZodString> ; humanCode: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodString ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; related: ZodOptional<ZodArray<ZodObject<{ @language: ZodOptional<ZodString> ; id: ZodString ; version: ZodOptional<ZodString> }, "strip", ZodTypeAny, { @language: undefined | string ; id: string ; version: undefined | string }, { @language: undefined | string ; id: string ; version: undefined | string }>, "many">> ; resultDescription: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; allowedValue: ZodOptional<ZodArray<ZodString, "many">> ; id: ZodString ; name: ZodString ; requiredLevel: ZodOptional<ZodString> ; requiredValue: ZodOptional<ZodString> ; resultType: ZodUnion<[ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, ZodString]> = ResultTypeValidator; rubricCriterionLevel: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; description: ZodOptional<ZodString> ; id: ZodString ; level: ZodOptional<ZodString> ; name: ZodString ; points: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }>, "many">> ; type: ZodArray<ZodString, "atleastone"> ; valueMax: ZodOptional<ZodString> ; valueMin: ZodOptional<ZodString> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }>, "many">> ; specialization: ZodOptional<ZodString> ; tag: ZodOptional<ZodArray<ZodString, "many">> ; type: ZodArray<ZodString, "atleastone"> ; version: ZodOptional<ZodString> }, "strip", ZodAny, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }>> ; activityEndDate: ZodOptional<ZodString> ; activityStartDate: ZodOptional<ZodString> ; creditsEarned: ZodOptional<ZodNumber> ; id: ZodOptional<ZodString> ; identifier: ZodOptional<ZodArray<ZodObject<{ hashed: ZodBoolean ; identityHash: ZodString ; identityType: ZodString ; salt: ZodOptional<ZodString> ; type: ZodString }, "strip", ZodTypeAny, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }>, "many">> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; licenseNumber: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> ; result: ZodOptional<ZodArray<ZodObject<{ achievedLevel: ZodOptional<ZodString> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; resultDescription: ZodOptional<ZodString> ; status: ZodOptional<ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>> ; type: ZodArray<ZodString, "atleastone"> ; value: ZodOptional<ZodString> }, "strip", ZodAny, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }>, "many">> ; role: ZodOptional<ZodString> ; source: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; term: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/obv3.ts:202


AchievementTypeValidator

Const AchievementTypeValidator: ZodUnion<[ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService"]>, ZodString]>

Defined in

packages/learn-card-types/src/obv3.ts:69


AchievementValidator

Const AchievementValidator: ZodObject<{ @language: ZodOptional<ZodString> ; achievementType: ZodOptional<ZodUnion<[ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService"]>, ZodString]>> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; creator: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; creditsAvailable: ZodOptional<ZodNumber> ; criteria: ZodObject<{ id: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string ; narrative: undefined | string }, { id: undefined | string ; narrative: undefined | string }> = CriteriaValidator; description: ZodString ; endorsement: ZodOptional<ZodArray<ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodObject<{ endorsementComment: ZodOptional<ZodString> ; id: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] }, { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] }> = EndorsementSubjectValidator; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; proof: ZodOptional<ZodUnion<[ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, ZodArray<ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, "many">]>> ; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">> ; fieldOfStudy: ZodOptional<ZodString> ; humanCode: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodString ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; related: ZodOptional<ZodArray<ZodObject<{ @language: ZodOptional<ZodString> ; id: ZodString ; version: ZodOptional<ZodString> }, "strip", ZodTypeAny, { @language: undefined | string ; id: string ; version: undefined | string }, { @language: undefined | string ; id: string ; version: undefined | string }>, "many">> ; resultDescription: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; allowedValue: ZodOptional<ZodArray<ZodString, "many">> ; id: ZodString ; name: ZodString ; requiredLevel: ZodOptional<ZodString> ; requiredValue: ZodOptional<ZodString> ; resultType: ZodUnion<[ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, ZodString]> = ResultTypeValidator; rubricCriterionLevel: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; description: ZodOptional<ZodString> ; id: ZodString ; level: ZodOptional<ZodString> ; name: ZodString ; points: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }>, "many">> ; type: ZodArray<ZodString, "atleastone"> ; valueMax: ZodOptional<ZodString> ; valueMin: ZodOptional<ZodString> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }>, "many">> ; specialization: ZodOptional<ZodString> ; tag: ZodOptional<ZodArray<ZodString, "many">> ; type: ZodArray<ZodString, "atleastone"> ; version: ZodOptional<ZodString> }, "strip", ZodAny, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }>

Defined in

packages/learn-card-types/src/obv3.ts:145


AddressValidator

Const AddressValidator: ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>

Defined in

packages/learn-card-types/src/vc.ts:28


AlignmentTargetTypeValidator

Const AlignmentTargetTypeValidator: ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>

Defined in

packages/learn-card-types/src/obv3.ts:10


AlignmentValidator

Const AlignmentValidator: ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/obv3.ts:23


BoostRecipientValidator

Const BoostRecipientValidator: ZodObject<{ from: ZodString ; received: ZodOptional<ZodString> ; to: ZodObject<{ did: ZodString ; displayName: ZodDefault<ZodString> ; email: ZodOptional<ZodString> ; image: ZodOptional<ZodString> ; isServiceProfile: ZodOptional<ZodDefault<ZodBoolean>> ; notificationsWebhook: ZodOptional<ZodString> ; profileId: ZodString }, "strip", ZodTypeAny, { did: string ; displayName: string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: string }, { did: string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: string }> = LCNProfileValidator }, "strip", ZodTypeAny, { from: string ; received: undefined | string ; to: { image?: string | undefined; email?: string | undefined; isServiceProfile?: boolean | undefined; notificationsWebhook?: string | undefined; profileId: string; displayName: string; did: string; } = LCNProfileValidator }, { from: string ; received: undefined | string ; to: { image?: string | undefined; email?: string | undefined; displayName?: string | undefined; isServiceProfile?: boolean | undefined; notificationsWebhook?: string | undefined; profileId: string; did: string; } = LCNProfileValidator }>

Defined in

packages/learn-card-types/src/lcn.ts:43


BoostValidator

Const BoostValidator: ZodObject<{ category: ZodOptional<ZodString> ; name: ZodOptional<ZodString> ; status: ZodOptional<ZodEnum<["DRAFT", "LIVE"]>> ; type: ZodOptional<ZodString> ; uri: ZodString }, "strip", ZodTypeAny, { category: undefined | string ; name: undefined | string ; status: undefined | "DRAFT" | "LIVE" ; type: undefined | string ; uri: string }, { category: undefined | string ; name: undefined | string ; status: undefined | "DRAFT" | "LIVE" ; type: undefined | string ; uri: string }>

Defined in

packages/learn-card-types/src/lcn.ts:34


ContextValidator

Const ContextValidator: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many">

Defined in

packages/learn-card-types/src/vc.ts:3


CredentialInfoValidator

Const CredentialInfoValidator: ZodObject<{ createdAt: ZodOptional<ZodString> ; credentialSubject: ZodOptional<ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>> ; issuee: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; issuer: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; title: ZodOptional<ZodString> }, "strip", ZodTypeAny, { createdAt: undefined | string ; credentialSubject: undefined | { id: undefined | string } ; issuee: undefined | string | { additionalName: undefined | string ; address: undefined | { addressCountry?: string | undefined; addressCountryCode?: string | undefined; addressRegion?: string | undefined; addressLocality?: string | undefined; streetAddress?: string | undefined; postOfficeBoxNumber?: string | undefined; postalCode?: string | undefined; geo?: { ...; } | undefined; type: string | [...]; } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption?: string | undefined; type: string; id: string; } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { type: string | [string, ...string[]]; identifier: string; identifierType: string; }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string } ; issuer: undefined | string | { additionalName: undefined | string ; address: undefined | { addressCountry?: string | undefined; addressCountryCode?: string | undefined; addressRegion?: string | undefined; addressLocality?: string | undefined; streetAddress?: string | undefined; postOfficeBoxNumber?: string | undefined; postalCode?: string | undefined; geo?: { ...; } | undefined; type: string | [...]; } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption?: string | undefined; type: string; id: string; } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { type: string | [string, ...string[]]; identifier: string; identifierType: string; }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string } ; title: undefined | string }, { createdAt: undefined | string ; credentialSubject: undefined | { id: undefined | string } ; issuee: undefined | string | { additionalName: undefined | string ; address: undefined | { addressCountry?: string | undefined; addressCountryCode?: string | undefined; addressRegion?: string | undefined; addressLocality?: string | undefined; streetAddress?: string | undefined; postOfficeBoxNumber?: string | undefined; postalCode?: string | undefined; geo?: { ...; } | undefined; type: string | [...]; } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption?: string | undefined; type: string; id: string; } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { type: string | [string, ...string[]]; identifier: string; identifierType: string; }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string } ; issuer: undefined | string | { additionalName: undefined | string ; address: undefined | { addressCountry?: string | undefined; addressCountryCode?: string | undefined; addressRegion?: string | undefined; addressLocality?: string | undefined; streetAddress?: string | undefined; postOfficeBoxNumber?: string | undefined; postalCode?: string | undefined; geo?: { ...; } | undefined; type: string | [...]; } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption?: string | undefined; type: string; id: string; } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { type: string | [string, ...string[]]; identifier: string; identifierType: string; }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string } ; title: undefined | string }>

Defined in

packages/learn-card-types/src/learncard.ts:23


CredentialRecordValidator

Const CredentialRecordValidator: ZodObject<{ id: ZodString ; uri: ZodString }, "strip", ZodAny, { id: string ; uri: string }, { id: string ; uri: string }>

Defined in

packages/learn-card-types/src/learncard.ts:38


CredentialSchemaValidator

Const CredentialSchemaValidator: ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>

Defined in

packages/learn-card-types/src/vc.ts:107


CredentialStatusValidator

Const CredentialStatusValidator: ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>

Defined in

packages/learn-card-types/src/vc.ts:104


CredentialSubjectValidator

Const CredentialSubjectValidator: ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>

Defined in

packages/learn-card-types/src/vc.ts:101


CriteriaValidator

Const CriteriaValidator: ZodObject<{ id: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string ; narrative: undefined | string }, { id: undefined | string ; narrative: undefined | string }>

Defined in

packages/learn-card-types/src/obv3.ts:72


EncryptedCredentialRecordValidator

Const EncryptedCredentialRecordValidator: ZodObject<{ encryptedRecord: ZodObject<{ aad: ZodOptional<ZodString> ; ciphertext: ZodString ; iv: ZodString ; protected: ZodString ; recipients: ZodOptional<ZodArray<ZodObject<{ encrypted_key: ZodString ; header: ZodObject<{ alg: ZodString ; apu: ZodOptional<ZodString> ; apv: ZodOptional<ZodString> ; epk: ZodOptional<ZodObject<{ crv: ZodOptional<ZodString> ; d: ZodOptional<ZodString> ; kty: ZodOptional<ZodString> ; n: ZodOptional<ZodOptional<ZodString>> ; x: ZodOptional<ZodString> ; y: ZodOptional<ZodOptional<ZodString>> }, "strip", ZodTypeAny, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }>> ; iv: ZodString ; kid: ZodOptional<ZodString> ; tag: ZodString }, "strip", ZodTypeAny, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }> = JWERecipientHeaderValidator }, "strip", ZodTypeAny, { encrypted_key: string ; header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; } = JWERecipientHeaderValidator }, { encrypted_key: string ; header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; } = JWERecipientHeaderValidator }>, "many">> ; tag: ZodString }, "strip", ZodTypeAny, { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string }, { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string }> = JWEValidator; fields: ZodArray<ZodString, "many"> ; id: ZodString }, "strip", ZodAny, { encryptedRecord: { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string } = JWEValidator; fields: string[] ; id: string }, { encryptedRecord: { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string } = JWEValidator; fields: string[] ; id: string }>

Defined in

packages/learn-card-types/src/learncloud.ts:6


EndorsementCredentialValidator

Const EndorsementCredentialValidator: ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodObject<{ endorsementComment: ZodOptional<ZodString> ; id: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] }, { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] }> = EndorsementSubjectValidator; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; proof: ZodOptional<ZodUnion<[ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, ZodArray<ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, "many">]>> ; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/obv3.ts:84


EndorsementSubjectValidator

Const EndorsementSubjectValidator: ZodObject<{ endorsementComment: ZodOptional<ZodString> ; id: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] }, { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/obv3.ts:77


EvidenceValidator

Const EvidenceValidator: ZodObject<{ audience: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; genre: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; name: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { audience: undefined | string ; description: undefined | string ; genre: undefined | string ; id: undefined | string ; name: undefined | string ; narrative: undefined | string ; type: [string, ...string[]] }, { audience: undefined | string ; description: undefined | string ; genre: undefined | string ; id: undefined | string ; name: undefined | string ; narrative: undefined | string ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/obv3.ts:222


GeoCoordinatesValidator

Const GeoCoordinatesValidator: ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>

Defined in

packages/learn-card-types/src/vc.ts:21


IdentifierEntryValidator

Const IdentifierEntryValidator: ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>

Defined in

packages/learn-card-types/src/vc.ts:65


IdentifierTypeValidator

Const IdentifierTypeValidator: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]>

Defined in

packages/learn-card-types/src/vc.ts:41


IdentityObjectValidator

Const IdentityObjectValidator: ZodObject<{ hashed: ZodBoolean ; identityHash: ZodString ; identityType: ZodString ; salt: ZodOptional<ZodString> ; type: ZodString }, "strip", ZodTypeAny, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }>

Defined in

packages/learn-card-types/src/obv3.ts:171


ImageValidator

Const ImageValidator: ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>

Defined in

packages/learn-card-types/src/vc.ts:12


JWERecipientHeaderValidator

Const JWERecipientHeaderValidator: ZodObject<{ alg: ZodString ; apu: ZodOptional<ZodString> ; apv: ZodOptional<ZodString> ; epk: ZodOptional<ZodObject<{ crv: ZodOptional<ZodString> ; d: ZodOptional<ZodString> ; kty: ZodOptional<ZodString> ; n: ZodOptional<ZodOptional<ZodString>> ; x: ZodOptional<ZodString> ; y: ZodOptional<ZodOptional<ZodString>> }, "strip", ZodTypeAny, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }>> ; iv: ZodString ; kid: ZodOptional<ZodString> ; tag: ZodString }, "strip", ZodTypeAny, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }>

Defined in

packages/learn-card-types/src/crypto.ts:13


JWERecipientValidator

Const JWERecipientValidator: ZodObject<{ encrypted_key: ZodString ; header: ZodObject<{ alg: ZodString ; apu: ZodOptional<ZodString> ; apv: ZodOptional<ZodString> ; epk: ZodOptional<ZodObject<{ crv: ZodOptional<ZodString> ; d: ZodOptional<ZodString> ; kty: ZodOptional<ZodString> ; n: ZodOptional<ZodOptional<ZodString>> ; x: ZodOptional<ZodString> ; y: ZodOptional<ZodOptional<ZodString>> }, "strip", ZodTypeAny, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }>> ; iv: ZodString ; kid: ZodOptional<ZodString> ; tag: ZodString }, "strip", ZodTypeAny, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }> = JWERecipientHeaderValidator }, "strip", ZodTypeAny, { encrypted_key: string ; header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; } = JWERecipientHeaderValidator }, { encrypted_key: string ; header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; } = JWERecipientHeaderValidator }>

Defined in

packages/learn-card-types/src/crypto.ts:24


JWEValidator

Const JWEValidator: ZodObject<{ aad: ZodOptional<ZodString> ; ciphertext: ZodString ; iv: ZodString ; protected: ZodString ; recipients: ZodOptional<ZodArray<ZodObject<{ encrypted_key: ZodString ; header: ZodObject<{ alg: ZodString ; apu: ZodOptional<ZodString> ; apv: ZodOptional<ZodString> ; epk: ZodOptional<ZodObject<{ crv: ZodOptional<ZodString> ; d: ZodOptional<ZodString> ; kty: ZodOptional<ZodString> ; n: ZodOptional<ZodOptional<ZodString>> ; x: ZodOptional<ZodString> ; y: ZodOptional<ZodOptional<ZodString>> }, "strip", ZodTypeAny, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }>> ; iv: ZodString ; kid: ZodOptional<ZodString> ; tag: ZodString }, "strip", ZodTypeAny, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }> = JWERecipientHeaderValidator }, "strip", ZodTypeAny, { encrypted_key: string ; header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; } = JWERecipientHeaderValidator }, { encrypted_key: string ; header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; } = JWERecipientHeaderValidator }>, "many">> ; tag: ZodString }, "strip", ZodTypeAny, { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string }, { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string }>

Defined in

packages/learn-card-types/src/crypto.ts:30


JWKValidator

Const JWKValidator: ZodObject<{ crv: ZodString ; d: ZodString ; kty: ZodString ; n: ZodOptional<ZodString> ; x: ZodString ; y: ZodOptional<ZodString> }, "strip", ZodTypeAny, { crv: string ; d: string ; kty: string ; n: undefined | string ; x: string ; y: undefined | string }, { crv: string ; d: string ; kty: string ; n: undefined | string ; x: string ; y: undefined | string }>

Defined in

packages/learn-card-types/src/crypto.ts:3


KnownAchievementTypeValidator

Const KnownAchievementTypeValidator: ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService"]>

Defined in

packages/learn-card-types/src/obv3.ts:34


LCNBoostClaimLinkOptionsValidator

Const LCNBoostClaimLinkOptionsValidator: ZodObject<{ totalUses: ZodOptional<ZodNumber> ; ttlSeconds: ZodOptional<ZodNumber> }, "strip", ZodTypeAny, { totalUses: undefined | number ; ttlSeconds: undefined | number }, { totalUses: undefined | number ; ttlSeconds: undefined | number }>

Defined in

packages/learn-card-types/src/lcn.ts:98


LCNBoostClaimLinkSigningAuthorityValidator

Const LCNBoostClaimLinkSigningAuthorityValidator: ZodObject<{ did: ZodOptional<ZodString> ; endpoint: ZodString ; name: ZodString }, "strip", ZodTypeAny, { did: undefined | string ; endpoint: string ; name: string }, { did: undefined | string ; endpoint: string ; name: string }>

Defined in

packages/learn-card-types/src/lcn.ts:89


LCNBoostStatus

Const LCNBoostStatus: ZodEnum<["DRAFT", "LIVE"]>

Defined in

packages/learn-card-types/src/lcn.ts:31


LCNNotificationDataValidator

Const LCNNotificationDataValidator: ZodObject<{ vcUris: ZodOptional<ZodArray<ZodString, "many">> ; vpUris: ZodOptional<ZodArray<ZodString, "many">> }, "strip", ZodTypeAny, { vcUris: undefined | string[] ; vpUris: undefined | string[] }, { vcUris: undefined | string[] ; vpUris: undefined | string[] }>

Defined in

packages/learn-card-types/src/lcn.ts:71


LCNNotificationMessageValidator

Const LCNNotificationMessageValidator: ZodObject<{ body: ZodOptional<ZodString> ; title: ZodOptional<ZodString> }, "strip", ZodTypeAny, { body: undefined | string ; title: undefined | string }, { body: undefined | string ; title: undefined | string }>

Defined in

packages/learn-card-types/src/lcn.ts:64


LCNNotificationTypeEnumValidator

Const LCNNotificationTypeEnumValidator: ZodEnum<["CONNECTION_REQUEST", "CONNECTION_ACCEPTED", "CREDENTIAL_RECEIVED", "CREDENTIAL_ACCEPTED", "BOOST_RECEIVED", "BOOST_ACCEPTED", "PRESENTATION_REQUEST", "PRESENTATION_RECEIVED"]>

Defined in

packages/learn-card-types/src/lcn.ts:51


LCNNotificationValidator

Const LCNNotificationValidator: ZodObject<{ data: ZodOptional<ZodObject<{ vcUris: ZodOptional<ZodArray<ZodString, "many">> ; vpUris: ZodOptional<ZodArray<ZodString, "many">> }, "strip", ZodTypeAny, { vcUris: undefined | string[] ; vpUris: undefined | string[] }, { vcUris: undefined | string[] ; vpUris: undefined | string[] }>> ; from: ZodIntersection<ZodObject<{ did: ZodOptional<ZodString> ; displayName: ZodOptional<ZodDefault<ZodString>> ; email: ZodOptional<ZodOptional<ZodString>> ; image: ZodOptional<ZodOptional<ZodString>> ; isServiceProfile: ZodOptional<ZodOptional<ZodDefault<ZodBoolean>>> ; notificationsWebhook: ZodOptional<ZodOptional<ZodString>> ; profileId: ZodOptional<ZodString> }, "strip", ZodTypeAny, { did: undefined | string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: undefined | string }, { did: undefined | string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: undefined | string }>, ZodObject<{ did: ZodString }, "strip", ZodTypeAny, { did: string }, { did: string }>> ; message: ZodOptional<ZodObject<{ body: ZodOptional<ZodString> ; title: ZodOptional<ZodString> }, "strip", ZodTypeAny, { body: undefined | string ; title: undefined | string }, { body: undefined | string ; title: undefined | string }>> ; sent: ZodOptional<ZodString> ; to: ZodIntersection<ZodObject<{ did: ZodOptional<ZodString> ; displayName: ZodOptional<ZodDefault<ZodString>> ; email: ZodOptional<ZodOptional<ZodString>> ; image: ZodOptional<ZodOptional<ZodString>> ; isServiceProfile: ZodOptional<ZodOptional<ZodDefault<ZodBoolean>>> ; notificationsWebhook: ZodOptional<ZodOptional<ZodString>> ; profileId: ZodOptional<ZodString> }, "strip", ZodTypeAny, { did: undefined | string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: undefined | string }, { did: undefined | string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: undefined | string }>, ZodObject<{ did: ZodString }, "strip", ZodTypeAny, { did: string }, { did: string }>> ; type: ZodEnum<["CONNECTION_REQUEST", "CONNECTION_ACCEPTED", "CREDENTIAL_RECEIVED", "CREDENTIAL_ACCEPTED", "BOOST_RECEIVED", "BOOST_ACCEPTED", "PRESENTATION_REQUEST", "PRESENTATION_RECEIVED"]> = LCNNotificationTypeEnumValidator }, "strip", ZodTypeAny, { data: undefined | { vcUris?: string[] | undefined; vpUris?: string[] | undefined; } ; from: { did: undefined | string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: undefined | string } & { did: string; } ; message: undefined | { title?: string | undefined; body?: string | undefined; } ; sent: undefined | string ; to: { did: undefined | string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: undefined | string } & { did: string; } ; type: "CONNECTION_REQUEST" | "CONNECTION_ACCEPTED" | "CREDENTIAL_RECEIVED" | "CREDENTIAL_ACCEPTED" | "BOOST_RECEIVED" | "BOOST_ACCEPTED" | "PRESENTATION_REQUEST" | "PRESENTATION_RECEIVED" = LCNNotificationTypeEnumValidator }, { data: undefined | { vcUris?: string[] | undefined; vpUris?: string[] | undefined; } ; from: { did: undefined | string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: undefined | string } & { did: string; } ; message: undefined | { title?: string | undefined; body?: string | undefined; } ; sent: undefined | string ; to: { did: undefined | string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: undefined | string } & { did: string; } ; type: "CONNECTION_REQUEST" | "CONNECTION_ACCEPTED" | "CREDENTIAL_RECEIVED" | "CREDENTIAL_ACCEPTED" | "BOOST_RECEIVED" | "BOOST_ACCEPTED" | "PRESENTATION_REQUEST" | "PRESENTATION_RECEIVED" = LCNNotificationTypeEnumValidator }>

Defined in

packages/learn-card-types/src/lcn.ts:78


LCNProfileConnectionStatusEnum

Const LCNProfileConnectionStatusEnum: ZodEnum<["CONNECTED", "PENDING_REQUEST_SENT", "PENDING_REQUEST_RECEIVED", "NOT_CONNECTED"]>

Defined in

packages/learn-card-types/src/lcn.ts:14

packages/learn-card-types/src/lcn.ts:20


LCNProfileValidator

Const LCNProfileValidator: ZodObject<{ did: ZodString ; displayName: ZodDefault<ZodString> ; email: ZodOptional<ZodString> ; image: ZodOptional<ZodString> ; isServiceProfile: ZodOptional<ZodDefault<ZodBoolean>> ; notificationsWebhook: ZodOptional<ZodString> ; profileId: ZodString }, "strip", ZodTypeAny, { did: string ; displayName: string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: string }, { did: string ; displayName: undefined | string ; email: undefined | string ; image: undefined | string ; isServiceProfile: undefined | boolean ; notificationsWebhook: undefined | string ; profileId: string }>

Defined in

packages/learn-card-types/src/lcn.ts:3


LCNSigningAuthorityForUserValidator

Const LCNSigningAuthorityForUserValidator: ZodObject<{ relationship: ZodObject<{ did: ZodString ; name: ZodString }, "strip", ZodTypeAny, { did: string ; name: string }, { did: string ; name: string }> ; signingAuthority: ZodObject<{ endpoint: ZodString }, "strip", ZodTypeAny, { endpoint: string }, { endpoint: string }> = LCNSigningAuthorityValidator }, "strip", ZodTypeAny, { relationship: { name: string; did: string; } ; signingAuthority: { endpoint: string; } = LCNSigningAuthorityValidator }, { relationship: { name: string; did: string; } ; signingAuthority: { endpoint: string; } = LCNSigningAuthorityValidator }>

Defined in

packages/learn-card-types/src/lcn.ts:109


LCNSigningAuthorityValidator

Const LCNSigningAuthorityValidator: ZodObject<{ endpoint: ZodString }, "strip", ZodTypeAny, { endpoint: string }, { endpoint: string }>

Defined in

packages/learn-card-types/src/lcn.ts:104


PaginatedEncryptedCredentialRecordsValidator

Const PaginatedEncryptedCredentialRecordsValidator: ZodObject<{ cursor: ZodOptional<ZodString> ; hasMore: ZodBoolean ; records: ZodArray<ZodObject<{ encryptedRecord: ZodObject<{ aad: ZodOptional<ZodString> ; ciphertext: ZodString ; iv: ZodString ; protected: ZodString ; recipients: ZodOptional<ZodArray<ZodObject<{ encrypted_key: ZodString ; header: ZodObject<{ alg: ZodString ; apu: ZodOptional<ZodString> ; apv: ZodOptional<ZodString> ; epk: ZodOptional<ZodObject<{ crv: ZodOptional<ZodString> ; d: ZodOptional<ZodString> ; kty: ZodOptional<ZodString> ; n: ZodOptional<ZodOptional<ZodString>> ; x: ZodOptional<ZodString> ; y: ZodOptional<ZodOptional<ZodString>> }, "strip", ZodTypeAny, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }, { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string }>> ; iv: ZodString ; kid: ZodOptional<ZodString> ; tag: ZodString }, "strip", ZodTypeAny, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }, { alg: string ; apu: undefined | string ; apv: undefined | string ; epk: undefined | { crv: undefined | string ; d: undefined | string ; kty: undefined | string ; n: undefined | string ; x: undefined | string ; y: undefined | string } ; iv: string ; kid: undefined | string ; tag: string }> = JWERecipientHeaderValidator }, "strip", ZodTypeAny, { encrypted_key: string ; header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; } = JWERecipientHeaderValidator }, { encrypted_key: string ; header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; } = JWERecipientHeaderValidator }>, "many">> ; tag: ZodString }, "strip", ZodTypeAny, { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string }, { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string }> = JWEValidator; fields: ZodArray<ZodString, "many"> ; id: ZodString }, "strip", ZodAny, { encryptedRecord: { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string } = JWEValidator; fields: string[] ; id: string }, { encryptedRecord: { aad: undefined | string ; ciphertext: string ; iv: string ; protected: string ; recipients: undefined | { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; kid?: string | undefined; ... 4 more ...; tag: string; }; encrypted_key: string; }[] ; tag: string } = JWEValidator; fields: string[] ; id: string }>, "many"> }, "strip", ZodTypeAny, { cursor: undefined | string ; hasMore: boolean ; records: { [x: string]: any; id: string; encryptedRecord: { aad?: string | undefined; recipients?: { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; ... 5 more ...; tag: string; }; encrypted_ke...[] }, { cursor: undefined | string ; hasMore: boolean ; records: { [x: string]: any; id: string; encryptedRecord: { aad?: string | undefined; recipients?: { header: { epk?: { kty?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; d?: string | undefined; } | undefined; ... 5 more ...; tag: string; }; encrypted_ke...[] }>

Defined in

packages/learn-card-types/src/learncloud.ts:15


PaginationOptionsValidator

Const PaginationOptionsValidator: ZodObject<{ cursor: ZodOptional<ZodString> ; limit: ZodNumber }, "strip", ZodTypeAny, { cursor: undefined | string ; limit: number }, { cursor: undefined | string ; limit: number }>

Defined in

packages/learn-card-types/src/mongo.ts:3


PaginationResponseValidator

Const PaginationResponseValidator: ZodObject<{ cursor: ZodOptional<ZodString> ; hasMore: ZodBoolean }, "strip", ZodTypeAny, { cursor: undefined | string ; hasMore: boolean }, { cursor: undefined | string ; hasMore: boolean }>

Defined in

packages/learn-card-types/src/mongo.ts:9


ProfileValidator

Const ProfileValidator: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>

Defined in

packages/learn-card-types/src/vc.ts:72


ProofValidator

Const ProofValidator: ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>

Defined in

packages/learn-card-types/src/vc.ts:131


RefreshServiceValidator

Const RefreshServiceValidator: ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>

Defined in

packages/learn-card-types/src/vc.ts:110


RelatedValidator

Const RelatedValidator: ZodObject<{ @language: ZodOptional<ZodString> ; id: ZodString ; version: ZodOptional<ZodString> }, "strip", ZodTypeAny, { @language: undefined | string ; id: string ; version: undefined | string }, { @language: undefined | string ; id: string ; version: undefined | string }>

Defined in

packages/learn-card-types/src/obv3.ts:90


ResultDescriptionValidator

Const ResultDescriptionValidator: ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; allowedValue: ZodOptional<ZodArray<ZodString, "many">> ; id: ZodString ; name: ZodString ; requiredLevel: ZodOptional<ZodString> ; requiredValue: ZodOptional<ZodString> ; resultType: ZodUnion<[ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, ZodString]> = ResultTypeValidator; rubricCriterionLevel: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; description: ZodOptional<ZodString> ; id: ZodString ; level: ZodOptional<ZodString> ; name: ZodString ; points: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }>, "many">> ; type: ZodArray<ZodString, "atleastone"> ; valueMax: ZodOptional<ZodString> ; valueMin: ZodOptional<ZodString> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }>

Defined in

packages/learn-card-types/src/obv3.ts:128


ResultStatusTypeValidator

Const ResultStatusTypeValidator: ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>

Defined in

packages/learn-card-types/src/obv3.ts:180


ResultTypeValidator

Const ResultTypeValidator: ZodUnion<[ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, ZodString]>

Defined in

packages/learn-card-types/src/obv3.ts:97


ResultValidator

Const ResultValidator: ZodObject<{ achievedLevel: ZodOptional<ZodString> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; resultDescription: ZodOptional<ZodString> ; status: ZodOptional<ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>> ; type: ZodArray<ZodString, "atleastone"> ; value: ZodOptional<ZodString> }, "strip", ZodAny, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }>

Defined in

packages/learn-card-types/src/obv3.ts:190


RubricCriterionValidator

Const RubricCriterionValidator: ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; description: ZodOptional<ZodString> ; id: ZodString ; level: ZodOptional<ZodString> ; name: ZodString ; points: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/obv3.ts:115


SentCredentialInfoValidator

Const SentCredentialInfoValidator: ZodObject<{ from: ZodString ; received: ZodOptional<ZodString> ; sent: ZodString ; to: ZodString ; uri: ZodString }, "strip", ZodTypeAny, { from: string ; received: undefined | string ; sent: string ; to: string ; uri: string }, { from: string ; received: undefined | string ; sent: string ; to: string ; uri: string }>

Defined in

packages/learn-card-types/src/lcn.ts:22


UnsignedAchievementCredentialValidator

Const UnsignedAchievementCredentialValidator: ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodUnion<[ZodObject<{ achievement: ZodOptional<ZodObject<{ @language: ZodOptional<ZodString> ; achievementType: ZodOptional<ZodUnion<[ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService"]>, ZodString]>> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; creator: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; creditsAvailable: ZodOptional<ZodNumber> ; criteria: ZodObject<{ id: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string ; narrative: undefined | string }, { id: undefined | string ; narrative: undefined | string }> = CriteriaValidator; description: ZodString ; endorsement: ZodOptional<ZodArray<ZodObject<{ type: ZodArray<ZodString, "atleastone">; id: ZodOptional<ZodString>; '@context': ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many">; ... 7 more ...; proof: ZodOptional<...>; }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">> ; fieldOfStudy: ZodOptional<ZodString> ; humanCode: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodString ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; related: ZodOptional<ZodArray<ZodObject<{ @language: ZodOptional<ZodString> ; id: ZodString ; version: ZodOptional<ZodString> }, "strip", ZodTypeAny, { @language: undefined | string ; id: string ; version: undefined | string }, { @language: undefined | string ; id: string ; version: undefined | string }>, "many">> ; resultDescription: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; allowedValue: ZodOptional<ZodArray<ZodString, "many">> ; id: ZodString ; name: ZodString ; requiredLevel: ZodOptional<ZodString> ; requiredValue: ZodOptional<ZodString> ; resultType: ZodUnion<[ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, ZodString]> = ResultTypeValidator; rubricCriterionLevel: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; description: ZodOptional<ZodString> ; id: ZodString ; level: ZodOptional<ZodString> ; name: ZodString ; points: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }>, "many">> ; type: ZodArray<ZodString, "atleastone"> ; valueMax: ZodOptional<ZodString> ; valueMin: ZodOptional<ZodString> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }>, "many">> ; specialization: ZodOptional<ZodString> ; tag: ZodOptional<ZodArray<ZodString, "many">> ; type: ZodArray<ZodString, "atleastone"> ; version: ZodOptional<ZodString> }, "strip", ZodAny, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }>> ; activityEndDate: ZodOptional<ZodString> ; activityStartDate: ZodOptional<ZodString> ; creditsEarned: ZodOptional<ZodNumber> ; id: ZodOptional<ZodString> ; identifier: ZodOptional<ZodArray<ZodObject<{ hashed: ZodBoolean ; identityHash: ZodString ; identityType: ZodString ; salt: ZodOptional<ZodString> ; type: ZodString }, "strip", ZodTypeAny, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }>, "many">> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; licenseNumber: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> ; result: ZodOptional<ZodArray<ZodObject<{ achievedLevel: ZodOptional<ZodString> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; resultDescription: ZodOptional<ZodString> ; status: ZodOptional<ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>> ; type: ZodArray<ZodString, "atleastone"> ; value: ZodOptional<ZodString> }, "strip", ZodAny, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }>, "many">> ; role: ZodOptional<ZodString> ; source: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; term: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }>, ZodArray<ZodObject<{ achievement: ZodOptional<ZodObject<{ @language: ZodOptional<ZodString> ; achievementType: ZodOptional<ZodUnion<[ZodEnum<["Achievement", "ApprenticeshipCertificate", "Assessment", "Assignment", "AssociateDegree", "Award", "Badge", "BachelorDegree", "Certificate", "CertificateOfCompletion", "Certification", "CommunityService"]>, ZodString]>> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; creator: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; creditsAvailable: ZodOptional<ZodNumber> ; criteria: ZodObject<{ id: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string ; narrative: undefined | string }, { id: undefined | string ; narrative: undefined | string }> = CriteriaValidator; description: ZodString ; endorsement: ZodOptional<ZodArray<ZodObject<{ type: ZodArray<ZodString, "atleastone">; id: ZodOptional<ZodString>; '@context': ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many">; ... 7 more ...; proof: ZodOptional<...>; }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { endorsementComment: undefined | string ; id: string ; type: [string, ...string[]] } = EndorsementSubjectValidator; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: undefined | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">> ; fieldOfStudy: ZodOptional<ZodString> ; humanCode: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodString ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; related: ZodOptional<ZodArray<ZodObject<{ @language: ZodOptional<ZodString> ; id: ZodString ; version: ZodOptional<ZodString> }, "strip", ZodTypeAny, { @language: undefined | string ; id: string ; version: undefined | string }, { @language: undefined | string ; id: string ; version: undefined | string }>, "many">> ; resultDescription: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; allowedValue: ZodOptional<ZodArray<ZodString, "many">> ; id: ZodString ; name: ZodString ; requiredLevel: ZodOptional<ZodString> ; requiredValue: ZodOptional<ZodString> ; resultType: ZodUnion<[ZodEnum<["GradePointAverage", "LetterGrade", "Percent", "PerformanceLevel", "PredictedScore", "RawScore", "Result", "RubricCriterion", "RubricCriterionLevel", "RubricScore", "ScaledScore", "Status"]>, ZodString]> = ResultTypeValidator; rubricCriterionLevel: ZodOptional<ZodArray<ZodObject<{ alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; description: ZodOptional<ZodString> ; id: ZodString ; level: ZodOptional<ZodString> ; name: ZodString ; points: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; description: undefined | string ; id: string ; level: undefined | string ; name: string ; points: undefined | string ; type: [string, ...string[]] }>, "many">> ; type: ZodArray<ZodString, "atleastone"> ; valueMax: ZodOptional<ZodString> ; valueMin: ZodOptional<ZodString> }, "strip", ZodAny, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }, { alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; allowedValue: undefined | string[] ; id: string ; name: string ; requiredLevel: undefined | string ; requiredValue: undefined | string ; resultType: string = ResultTypeValidator; rubricCriterionLevel: undefined | { [x: string]: any; description?: string | undefined; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 4 more ...; name: string; }[] ; type: [string, ...string[]] ; valueMax: undefined | string ; valueMin: undefined | string }>, "many">> ; specialization: ZodOptional<ZodString> ; tag: ZodOptional<ZodArray<ZodString, "many">> ; type: ZodArray<ZodString, "atleastone"> ; version: ZodOptional<ZodString> }, "strip", ZodAny, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }, { @language: undefined | string ; achievementType: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; creator: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; creditsAvailable: undefined | number ; criteria: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; } = CriteriaValidator; description: string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; credentialSubject: { ...; }; }[] ; fieldOfStudy: undefined | string ; humanCode: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; related: undefined | { @language: undefined | string ; id: string ; version: undefined | string }[] ; resultDescription: undefined | { [x: string]: any; alignment?: { targetCode?: string | undefined; targetDescription?: string | undefined; targetFramework?: string | undefined; targetType?: string | undefined; type: [...]; targetName: string; targetUrl: string; }[] | undefined; ... 9 more ...; resultType: string; }[] ; specialization: undefined | string ; tag: undefined | string[] ; type: [string, ...string[]] ; version: undefined | string }>> ; activityEndDate: ZodOptional<ZodString> ; activityStartDate: ZodOptional<ZodString> ; creditsEarned: ZodOptional<ZodNumber> ; id: ZodOptional<ZodString> ; identifier: ZodOptional<ZodArray<ZodObject<{ hashed: ZodBoolean ; identityHash: ZodString ; identityType: ZodString ; salt: ZodOptional<ZodString> ; type: ZodString }, "strip", ZodTypeAny, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }, { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }>, "many">> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; licenseNumber: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> ; result: ZodOptional<ZodArray<ZodObject<{ achievedLevel: ZodOptional<ZodString> ; alignment: ZodOptional<ZodArray<ZodObject<{ targetCode: ZodOptional<ZodString> ; targetDescription: ZodOptional<ZodString> ; targetFramework: ZodOptional<ZodString> ; targetName: ZodString ; targetType: ZodOptional<ZodUnion<[ZodEnum<["ceasn:Competency", "ceterms:Credential", "CFItem", "CFRubric", "CFRubricCriterion", "CFRubricCriterionLevel", "CTDL"]>, ZodString]>> ; targetUrl: ZodString ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodTypeAny, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }, { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }>, "many">> ; resultDescription: ZodOptional<ZodString> ; status: ZodOptional<ZodEnum<["Completed", "Enrolled", "Failed", "InProgress", "OnHold", "Withdrew"]>> ; type: ZodArray<ZodString, "atleastone"> ; value: ZodOptional<ZodString> }, "strip", ZodAny, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }, { achievedLevel: undefined | string ; alignment: undefined | { targetCode: undefined | string ; targetDescription: undefined | string ; targetFramework: undefined | string ; targetName: string ; targetType: undefined | string ; targetUrl: string ; type: [string, ...string[]] }[] ; resultDescription: undefined | string ; status: undefined | "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" ; type: [string, ...string[]] ; value: undefined | string }>, "many">> ; role: ZodOptional<ZodString> ; source: ZodOptional<ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]>> ; term: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }, { achievement: undefined | { [x: string]: any; tag?: string[] | undefined; id?: string | undefined; endorsement?: { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { ...; } | undefined; ... 7 more ...; credentialSubject: { ...; }; }[] | undefined; ... 16 more ...; criteria: { ...; }; } ; activityEndDate: undefined | string ; activityStartDate: undefined | string ; creditsEarned: undefined | number ; id: undefined | string ; identifier: undefined | { hashed: boolean ; identityHash: string ; identityType: string ; salt: undefined | string ; type: string }[] ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; licenseNumber: undefined | string ; narrative: undefined | string ; result: undefined | { [x: string]: any; status?: "Completed" | "Enrolled" | "Failed" | "InProgress" | "OnHold" | "Withdrew" | undefined; value?: string | undefined; alignment?: { targetCode?: string | undefined; ... 5 more ...; targetUrl: string; }[] | undefined; resultDescription?: string | undefined; achievedLevel?: string | undefine...[] ; role: undefined | string ; source: undefined | string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } ; term: undefined | string ; type: [string, ...string[]] }>, "many">]> ; description: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodUnion<[ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, ZodArray<ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, "many">]> ; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">> ; evidence: ZodOptional<ZodArray<ZodObject<{ audience: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; genre: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; name: ZodOptional<ZodString> ; narrative: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { audience: undefined | string ; description: undefined | string ; genre: undefined | string ; id: undefined | string ; name: undefined | string ; narrative: undefined | string ; type: [string, ...string[]] }, { audience: undefined | string ; description: undefined | string ; genre: undefined | string ; id: undefined | string ; name: undefined | string ; narrative: undefined | string ; type: [string, ...string[]] }>, "many">> ; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; name: ZodOptional<ZodString> ; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; identifier?: { salt?: string | undefined; type: string; hashed: boolean; identityHash: string; identityType: string; }[] | undefined; ... 10 more ...; type: [...]; } | { [x: string]: any; narrative?: string | undefined; id?: string | undefined; identifier?: { salt?: string | undefined; type: string; hashed: boolean; identityHash: string; identityType: string; }[] | undefined; ... 10 more ...; type: [...]; }[] ; description: undefined | string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 5 more ...; credentialSubject: { ...; } | { ...; }[]; }[] ; evidence: undefined | { [x: string]: any; narrative?: string | undefined; id?: string | undefined; name?: string | undefined; description?: string | undefined; genre?: string | undefined; audience?: string | undefined; type: [...]; }[] ; expirationDate: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; name: undefined | string ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; narrative?: string | undefined; id?: string | undefined; identifier?: { salt?: string | undefined; type: string; hashed: boolean; identityHash: string; identityType: string; }[] | undefined; ... 10 more ...; type: [...]; } | { [x: string]: any; narrative?: string | undefined; id?: string | undefined; identifier?: { salt?: string | undefined; type: string; hashed: boolean; identityHash: string; identityType: string; }[] | undefined; ... 10 more ...; type: [...]; }[] ; description: undefined | string ; endorsement: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 5 more ...; credentialSubject: { ...; } | { ...; }[]; }[] ; evidence: undefined | { [x: string]: any; narrative?: string | undefined; id?: string | undefined; name?: string | undefined; description?: string | undefined; genre?: string | undefined; audience?: string | undefined; type: [...]; }[] ; expirationDate: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; name: undefined | string ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/obv3.ts:235


UnsignedVCValidator

Const UnsignedVCValidator: ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodUnion<[ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, ZodArray<ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, "many">]> ; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/vc.ts:115


UnsignedVPValidator

Const UnsignedVPValidator: ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; holder: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; type: ZodArray<ZodString, "atleastone"> ; verifiableCredential: ZodOptional<ZodUnion<[ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodUnion<[ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, ZodArray<ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, "many">]> ; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; proof: ZodUnion<[ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, ZodArray<ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, "many">]> ; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, ZodArray<ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodUnion<[ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, ZodArray<ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, "many">]> ; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; proof: ZodUnion<[ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, ZodArray<ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, "many">]> ; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">]>> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; holder: undefined | string ; id: undefined | string ; type: [string, ...string[]] ; verifiableCredential: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; proof: { ...; } | { ...; }[]; } | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; proof: { ...; } | { ...; }[]; }[] }, { @context: (string | Record<string, any>)[] = ContextValidator; holder: undefined | string ; id: undefined | string ; type: [string, ...string[]] ; verifiableCredential: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; proof: { ...; } | { ...; }[]; } | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; proof: { ...; } | { ...; }[]; }[] }>

Defined in

packages/learn-card-types/src/vc.ts:150


VCValidator

Const VCValidator: ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; credentialSchema: ZodOptional<ZodArray<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>, "many">> ; credentialStatus: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { id: string ; type: string }, { id: string ; type: string }>> ; credentialSubject: ZodUnion<[ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, ZodArray<ZodObject<{ id: ZodOptional<ZodString> }, "strip", ZodAny, { id: undefined | string }, { id: undefined | string }>, "many">]> ; expirationDate: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; issuanceDate: ZodString ; issuer: ZodUnion<[ZodString, ZodObject<{ additionalName: ZodOptional<ZodString> ; address: ZodOptional<ZodObject<{ addressCountry: ZodOptional<ZodString> ; addressCountryCode: ZodOptional<ZodString> ; addressLocality: ZodOptional<ZodString> ; addressRegion: ZodOptional<ZodString> ; geo: ZodOptional<ZodObject<{ latitude: ZodNumber ; longitude: ZodNumber ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }, { latitude: number ; longitude: number ; type: string | [string, ...string[]] }>> ; postOfficeBoxNumber: ZodOptional<ZodString> ; postalCode: ZodOptional<ZodString> ; streetAddress: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }, { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] }>> ; dateOfBirth: ZodOptional<ZodString> ; description: ZodOptional<ZodString> ; email: ZodOptional<ZodString> ; endorsement: ZodOptional<ZodArray<ZodAny, "many">> ; familyName: ZodOptional<ZodString> ; familyNamePrefix: ZodOptional<ZodString> ; givenName: ZodOptional<ZodString> ; honorificPrefix: ZodOptional<ZodString> ; honorificSuffix: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; image: ZodOptional<ZodUnion<[ZodString, ZodObject<{ caption: ZodOptional<ZodString> ; id: ZodString ; type: ZodString }, "strip", ZodTypeAny, { caption: undefined | string ; id: string ; type: string }, { caption: undefined | string ; id: string ; type: string }>]>> ; name: ZodOptional<ZodString> ; official: ZodOptional<ZodString> ; otherIdentifier: ZodOptional<ZodArray<ZodObject<{ identifier: ZodString ; identifierType: ZodUnion<[ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId"]>, ZodString]> = IdentifierTypeValidator; type: ZodUnion<[ZodString, ZodArray<ZodString, "atleastone">]> }, "strip", ZodTypeAny, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }, { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }>, "many">> ; parentOrg: ZodOptional<ZodAny> ; patronymicName: ZodOptional<ZodString> ; phone: ZodOptional<ZodString> ; type: ZodUnion<[ZodString, ZodOptional<ZodArray<ZodString, "atleastone">>]> ; url: ZodOptional<ZodString> }, "strip", ZodAny, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }, { additionalName: undefined | string ; address: undefined | { addressCountry: undefined | string ; addressCountryCode: undefined | string ; addressLocality: undefined | string ; addressRegion: undefined | string ; geo: undefined | { type: string | [string, ...string[]]; latitude: number; longitude: number; } ; postOfficeBoxNumber: undefined | string ; postalCode: undefined | string ; streetAddress: undefined | string ; type: string | [string, ...string[]] } ; dateOfBirth: undefined | string ; description: undefined | string ; email: undefined | string ; endorsement: undefined | any[] ; familyName: undefined | string ; familyNamePrefix: undefined | string ; givenName: undefined | string ; honorificPrefix: undefined | string ; honorificSuffix: undefined | string ; id: undefined | string ; image: undefined | string | { caption: undefined | string ; id: string ; type: string } ; name: undefined | string ; official: undefined | string ; otherIdentifier: undefined | { identifier: string ; identifierType: string = IdentifierTypeValidator; type: string | [string, ...string[]] }[] ; parentOrg: any ; patronymicName: undefined | string ; phone: undefined | string ; type: undefined | string | [string, ...string[]] ; url: undefined | string }>]> = ProfileValidator; proof: ZodUnion<[ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, ZodArray<ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, "many">]> ; refreshService: ZodOptional<ZodObject<{ id: ZodString ; type: ZodString }, "strip", ZodAny, { id: string ; type: string }, { id: string ; type: string }>> ; type: ZodArray<ZodString, "atleastone"> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>

Defined in

packages/learn-card-types/src/vc.ts:145


VPValidator

Const VPValidator: ZodObject<{ @context: ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many"> = ContextValidator; holder: ZodOptional<ZodString> ; id: ZodOptional<ZodString> ; proof: ZodUnion<[ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, ZodArray<ZodObject<{ challenge: ZodOptional<ZodString> ; created: ZodString ; domain: ZodOptional<ZodString> ; jws: ZodOptional<ZodString> ; nonce: ZodOptional<ZodString> ; proofPurpose: ZodString ; type: ZodString ; verificationMethod: ZodString }, "strip", ZodAny, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }, { challenge: undefined | string ; created: string ; domain: undefined | string ; jws: undefined | string ; nonce: undefined | string ; proofPurpose: string ; type: string ; verificationMethod: string }>, "many">]> ; type: ZodArray<ZodString, "atleastone"> ; verifiableCredential: ZodOptional<ZodUnion<[ZodObject<{ type: ZodArray<ZodString, "atleastone">; id: ZodOptional<ZodString>; '@context': ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many">; ... 7 more ...; proof: ZodUnion<...>; }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, ZodArray<ZodObject<{ type: ZodArray<ZodString, "atleastone">; id: ZodOptional<ZodString>; '@context': ZodArray<ZodUnion<[ZodString, ZodRecord<ZodString, ZodAny>]>, "many">; ... 7 more ...; proof: ZodUnion<...>; }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }, { @context: (string | Record<string, any>)[] = ContextValidator; credentialSchema: undefined | { id: string ; type: string }[] ; credentialStatus: undefined | { id: string ; type: string } ; credentialSubject: { [x: string]: any; id?: string | undefined; } | { [x: string]: any; id?: string | undefined; }[] ; expirationDate: undefined | string ; id: undefined | string ; issuanceDate: string ; issuer: string | { [x: string]: any; type?: string | [string, ...string[]] | undefined; id?: string | undefined; name?: string | undefined; url?: string | undefined; phone?: string | undefined; description?: string | undefined; ... 14 more ...; dateOfBirth?: string | undefined; } = ProfileValidator; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; refreshService: undefined | { [x: string]: any; type: string; id: string; } ; type: [string, ...string[]] }>, "many">]>> }, "strip", ZodAny, { @context: (string | Record<string, any>)[] = ContextValidator; holder: undefined | string ; id: undefined | string ; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; type: [string, ...string[]] ; verifiableCredential: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; proof: { ...; } | { ...; }[]; } | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; proof: { ...; } | { ...; }[]; }[] }, { @context: (string | Record<string, any>)[] = ContextValidator; holder: undefined | string ; id: undefined | string ; proof: { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; } | { [x: string]: any; challenge?: string | undefined; domain?: string | undefined; nonce?: string | undefined; jws?: string | undefined; type: string; created: string; proofPurpose: string; verificationMethod: string; }[] ; type: [string, ...string[]] ; verifiableCredential: undefined | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; proof: { ...; } | { ...; }[]; } | { [x: string]: any; id?: string | undefined; expirationDate?: string | undefined; credentialStatus?: { type: string; id: string; } | undefined; credentialSchema?: { type: string; id: string; }[] | undefined; ... 6 more ...; proof: { ...; } | { ...; }[]; }[] }>

Defined in

packages/learn-card-types/src/vc.ts:161


VerificationCheckValidator

Const VerificationCheckValidator: ZodObject<{ checks: ZodArray<ZodString, "many"> ; errors: ZodArray<ZodString, "many"> ; warnings: ZodArray<ZodString, "many"> }, "strip", ZodTypeAny, { checks: string[] ; errors: string[] ; warnings: string[] }, { checks: string[] ; errors: string[] ; warnings: string[] }>

Defined in

packages/learn-card-types/src/learncard.ts:4


VerificationItemValidator

Const VerificationItemValidator: ZodObject<{ check: ZodString ; details: ZodOptional<ZodString> ; message: ZodOptional<ZodString> ; status: ZodEnum<["Success", "Failed", "Error"]> = VerificationStatusValidator }, "strip", ZodTypeAny, { check: string ; details: undefined | string ; message: undefined | string ; status: "Failed" | "Success" | "Error" = VerificationStatusValidator }, { check: string ; details: undefined | string ; message: undefined | string ; status: "Failed" | "Success" | "Error" = VerificationStatusValidator }>

Defined in

packages/learn-card-types/src/learncard.ts:15


VerificationStatusEnum

Const VerificationStatusEnum: Values<["Success", "Failed", "Error"]> = VerificationStatusValidator.enum

Defined in

packages/learn-card-types/src/learncard.ts:13


VerificationStatusValidator

Const VerificationStatusValidator: ZodEnum<["Success", "Failed", "Error"]>

Defined in

packages/learn-card-types/src/learncard.ts:11