UNPKG

@jolocom/protocol-ts

Version:

Jolocom SSI protocol typescript definitions - jolocom.io

13 lines (12 loc) 512 B
import { ILinkedDataSignatureAttrs } from './linkedDataSignature'; import { ContextEntry } from 'cred-types-jolocom-core'; declare type JsonLdPrimitive = string | number | boolean | JsonLdObject | JsonLdObject[]; export declare type JsonLdContext = ContextEntry | ContextEntry[]; export interface JsonLdObject { '@context'?: JsonLdContext; [key: string]: JsonLdPrimitive | JsonLdPrimitive[]; } export interface SignedJsonLdObject extends JsonLdObject { proof: ILinkedDataSignatureAttrs; } export {};