Skip to main content

W3CVerifiableCredential

@hyperledger/identus-sdk v8.0.0


@hyperledger/identus-sdk / plugins/internal/oea / W3CVerifiableCredential

Type Alias: W3CVerifiableCredential

W3CVerifiableCredential = { @context: ["https://www.w3.org/2018/credentials/v1"]; credentialSchema?: { id: string; type: string; }; credentialStatus?: { id: string; statusListCredential: string; statusListIndex: number; statusPurpose: "Revocation" | "Suspension"; type: string; }; credentialSubject: Record<string, any>; evidence?: { id: string; type: string; }; expirationDate?: string; issuanceDate: string; issued?: string; issuer: string; refreshService?: { id: string; type: string; }; termsOfUse?: { id: string; type: string; }; type: ["VerifiableCredential"]; validFrom?: { id: string; type: string; }; validUntil?: { id: string; type: string; }; }

Defined in: packages/lib/sdk/src/plugins/internal/oea/types.ts:161

Properties

PropertyTypeDefined in
@context["https://www.w3.org/2018/credentials/v1"]packages/lib/sdk/src/plugins/internal/oea/types.ts:162
credentialSchema?{ id: string; type: string; }packages/lib/sdk/src/plugins/internal/oea/types.ts:189
credentialSchema.idstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:190
credentialSchema.typestringpackages/lib/sdk/src/plugins/internal/oea/types.ts:191
credentialStatus?{ id: string; statusListCredential: string; statusListIndex: number; statusPurpose: "Revocation" | "Suspension"; type: string; }packages/lib/sdk/src/plugins/internal/oea/types.ts:193
credentialStatus.idstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:194
credentialStatus.statusListCredentialstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:198
credentialStatus.statusListIndexnumberpackages/lib/sdk/src/plugins/internal/oea/types.ts:197
credentialStatus.statusPurpose"Revocation" | "Suspension"packages/lib/sdk/src/plugins/internal/oea/types.ts:196
credentialStatus.typestringpackages/lib/sdk/src/plugins/internal/oea/types.ts:195
credentialSubjectRecord<string, any>packages/lib/sdk/src/plugins/internal/oea/types.ts:167
evidence?{ id: string; type: string; }packages/lib/sdk/src/plugins/internal/oea/types.ts:169
evidence.idstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:170
evidence.typestringpackages/lib/sdk/src/plugins/internal/oea/types.ts:171
expirationDate?stringpackages/lib/sdk/src/plugins/internal/oea/types.ts:168
issuanceDatestringpackages/lib/sdk/src/plugins/internal/oea/types.ts:165
issued?stringpackages/lib/sdk/src/plugins/internal/oea/types.ts:166
issuerstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:164
refreshService?{ id: string; type: string; }packages/lib/sdk/src/plugins/internal/oea/types.ts:173
refreshService.idstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:174
refreshService.typestringpackages/lib/sdk/src/plugins/internal/oea/types.ts:175
termsOfUse?{ id: string; type: string; }packages/lib/sdk/src/plugins/internal/oea/types.ts:177
termsOfUse.idstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:178
termsOfUse.typestringpackages/lib/sdk/src/plugins/internal/oea/types.ts:179
type["VerifiableCredential"]packages/lib/sdk/src/plugins/internal/oea/types.ts:163
validFrom?{ id: string; type: string; }packages/lib/sdk/src/plugins/internal/oea/types.ts:181
validFrom.idstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:182
validFrom.typestringpackages/lib/sdk/src/plugins/internal/oea/types.ts:183
validUntil?{ id: string; type: string; }packages/lib/sdk/src/plugins/internal/oea/types.ts:185
validUntil.idstringpackages/lib/sdk/src/plugins/internal/oea/types.ts:186
validUntil.typestringpackages/lib/sdk/src/plugins/internal/oea/types.ts:187