export interface Credential { "@context": string[], id: string, type: string[], issuer: string, issuanceDate: string, credentialSubject: {}, proof?: Proof } export interface CredentialSubject { id: string, alumniOf: AlumniOf } export interface AlumniOf { id: string, name: { value: string, lang: string }[] } export interface Proof { type: string, created: string, proofPurpose: string, verificationMethod: string, jws: string } export interface VerifyCredentialResponse { recoveredCredential: Credential verified: boolean } export interface VerifyPresentationResponse { recoveredPresentation: Presentation verified: boolean } export interface SignaturesFromMessage { dataSigned: string, encodedSig: string } export interface Presentation { "@context": string[], type: string, proof?: Proof, issuer?: string verifiableCredential?: Credential[] } export interface GeneratePresentationResponse { docId: string, presentation: Presentation }