Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkan committed Feb 19, 2024
1 parent 4d5fb3b commit f4766b3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/keri/app/credentialing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,51 @@ export interface CredentialFilter {
}

export interface CredentialSubject {
/**
* Issuee, or holder of the credential.
*/
i?: string;
/**
* Timestamp of issuance.
*/
dt?: string;
/**
* Privacy salt
*/
u?: string;
[key: string]: unknown;
}

export interface CredentialData {
v?: string;
d?: string;
/**
* Privacy salt
*/
u?: string;
/**
* Issuer of the credential.
*/
i?: string;
/**
* Registry id.
*/
ri?: string;
/**
* Schema id
*/
s?: string;
/**
* Credential subject data
*/
a: CredentialSubject;
/**
* Credential source section
*/
e?: { [key: string]: unknown };
/**
* Credential rules section
*/
r?: { [key: string]: unknown };
}

Expand Down

0 comments on commit f4766b3

Please sign in to comment.