Skip to content

Commit

Permalink
allows any property to exist on credentialSubject
Browse files Browse the repository at this point in the history
  • Loading branch information
kezike committed Mar 4, 2024
1 parent 4e9bcc4 commit a5a3d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/VerifiableCredential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export interface VCDIVerifiableCredential extends LinkedDataObject {
export interface CredentialSubject extends LinkedDataObject {
// although a VC is required to have a `credentialSubject` property,
// the spec does not require any properties inside it.
[x: string]: any;
}

// https://w3c.github.io/vc-data-model/#status
Expand Down

0 comments on commit a5a3d0e

Please sign in to comment.