interface OpenAttestationDocument {
    @context: (string | {
        [key: string]: any;
    })[];
    attachments?: Attachment[];
    credentialStatus?: CredentialStatus;
    credentialSubject: {
        [key: string]: any;
    } | {
        [key: string]: any;
    }[];
    expirationDate?: string;
    id?: string;
    issuanceDate: string;
    issued?: string;
    issuer: string | Issuer;
    name?: string;
    network?: Network;
    openAttestationMetadata: OpenAttestationMetadata;
    reference?: string;
    type: string | string[];
    validFrom?: string;
    validUntil?: string;
}

Properties

@context: (string | {
    [key: string]: any;
})[]

List of URI to determine the terminology used in the verifiable credential as explained by https://www.w3.org/TR/vc-data-model/#contexts

attachments?: Attachment[]
credentialStatus?: CredentialStatus
credentialSubject: {
    [key: string]: any;
} | {
    [key: string]: any;
}[]

Type declaration

  • [key: string]: any
expirationDate?: string

The date and time when this credential expires

id?: string

URI to the subject of the credential as explained by https://www.w3.org/TR/vc-data-model/#credential-subject

issuanceDate: string

The date and time when this credential becomes valid (may be deprecated in favor of issued/validFrom a future version of W3C's VC Data Model)

issued?: string

The date and time when this credential becomes valid

issuer: string | Issuer
name?: string

Human readable name of this credential

network?: Network
openAttestationMetadata: OpenAttestationMetadata
reference?: string

Internal reference, usually a serial number, of this document

type: string | string[]

Specific verifiable credential type as explained by https://www.w3.org/TR/vc-data-model/#types

validFrom?: string

The date and time when this credential becomes valid

validUntil?: string

The date and time when this credential expires

Generated using TypeDoc