export const SCHEMA_ORG_CONTEXT = "https://schema.org"; export const SERVICE_ID = "endorser.ch"; export interface AgreeVerifiableCredential { "@context": string; "@type": string; object: Record; } export interface GiveServerRecord { agentDid: string; amount: number; confirmed: number; description: string; fullClaim: GiveVerifiableCredential; handleId: string; issuedAt: string; recipientDid: string; unit: string; } export interface GiveVerifiableCredential { "@context": string; "@type": string; agent: { identifier: string }; description?: string; object: { amountOfThisGood: number; unitCode: string }; recipient: { identifier: string }; } export interface RegisterVerifiableCredential { "@context": string; "@type": string; agent: { identifier: string }; object: string; recipient: { identifier: string }; }