Skip to main content

@triveria/wallet / Exports / CredentialCreatePayload

Interface: CredentialCreatePayload

A Credential container used to create credential drafts with metadata.

Indexable​

▪ [key: string]: any

Table of contents​

Properties​

Properties​

credentialDraftMetadata​

• credentialDraftMetadata: CredentialDraftMetadata

Defined in​

api.ts:164


credentialSubject​

• credentialSubject: CredentialSubject

Defined in​

api.ts:163


issuerId​

• Optional issuerId: string

ID of the credential issuer (CredentialIssuerDefinition.id, from the wallet configuration or the trust framework) that issues the draft. When set, the draft can only be queued for issuance by this issuer.

Defined in​

api.ts:168


validateJsonLd​

• Optional validateJsonLd: boolean

If true, a VCDM 2.0 draft must define every property in its JSON-LD context, now and when it is issued. Defaults to the jsonld.enforceOnCreate setting.

Defined in​

api.ts:176


validateSchema​

• Optional validateSchema: boolean

If true, the credential draft is checked against its schema. Defaults to true.

Defined in​

api.ts:172