interface Permission {
    @context?: string[];
    caveats?: Caveats;
    id?: string;
    invoker?: string;
}

Properties

@context?: string[]

When two people communicate with one another, the conversation takes place in a shared environment, typically called 'the context of the conversation.' This shared context allows the individuals to use shortcut terms, such as the first name of a mutual friend, to communicate more quickly without losing accuracy. A context in JSON-LD works the same way: it allows two applications to use shortcut terms to communicate more efficiently without losing accuracy.

caveats?: Caveats
id?: string

The permission ID.

invoker?: string

A URI of the dapp being granted this permission.