Hierarchy

Properties

@context: ["https://www.w3.org/2018/credentials/v1", ...string[]]

References to json-ld contexts defining the terms used.

credentialSchema?: {
    id?: string;
    type: string;
}

Contains json schema for the validation of credentialSubject claims.

Type declaration

  • Optional id?: string
  • type: string
credentialStatus?: {
    id: string;
    type: string;
}

Contains credentials status method.

Type declaration

  • id: string
  • type: string
credentialSubject: {
    id?: string;
    [key: string]: unknown;
}

Claims about the subjects of the credential.

Type declaration

  • [key: string]: unknown
  • Optional id?: string
id?: string

Credential identifier.

issuanceDate: string

When the credential was issued.

issuer: string

The entity that issued the credential.

nonTransferable?: boolean

If true, this credential can only be presented and used by its subject.

proof: Proof | Proof[]

Cryptographic proof that makes the credential tamper-evident.

type: string[] | "VerifiableCredential"

The credential types, which declare what data to expect in the credential.