Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Latest commit

 

History

History
97 lines (52 loc) · 1.65 KB

Credential.md

File metadata and controls

97 lines (52 loc) · 1.65 KB

MATTR Wallet SDK React Native / Exports / Credential

Interface: Credential

Indexable

▪ [key: string]: any

Table of contents

Properties

Properties

@context

Readonly @context: JsonLdContext

JSON-LD

Context

property

first item must be a uri with the value https://www.w3.org/2018/credentials/v1

See

https://www.w3.org/TR/vc-data-model/#contexts


credentialStatus

Optional Readonly credentialStatus: CredentialStatus

See

https://www.w3.org/TR/vc-data-model/#status


credentialSubject

Readonly credentialSubject: string | CredentialSubject | readonly CredentialSubject[]

See

https://www.w3.org/TR/vc-data-model/#credential-subject


expirationDate

Optional Readonly expirationDate: string

See

https://www.w3.org/TR/vc-data-model/#expiration


issuanceDate

Readonly issuanceDate: string

See

https://www.w3.org/TR/vc-data-model/#issuance-date


issuer

Readonly issuer: CredentialIssuer

See

https://www.w3.org/TR/vc-data-model/#issuer


type

Readonly type: string | readonly string[]

See

https://www.w3.org/TR/vc-data-model/#types