Variable RoleInTimeConst

RoleInTime: IntersectionC<[TypeC<{
    actor: UnionC<[TypeC<{
        name: StringC;
        type: UnionC<[LiteralC<string>, ArrayC<LiteralC<string>>]> | UnionC<[ArrayC<UnionC<[LiteralC<string>, LiteralC<string>, ...LiteralC<string>[]]>>, UnionC<[LiteralC<string>, LiteralC<string>, ...LiteralC<string>[]]>]>;
    }>, UnknownC]>;
    role: StringC;
}>, PartialC<{
    id: StringC;
    type: UnionC<[LiteralC<"pro:roleintime">, LiteralC<"pro:RoleInTime">]>;
}>]> = ...

A pro:RoleInTime ; How a participant participated in an action

Example

import { RoleInTimeT, RoleInTime } from '@docmaps/sdk';
import { Validation } from 'io-ts';

const C: Validation<RoleInTimeT> = RoleInTime.decode({
actor: {
type: 'person',
name: 'John Doe'
},
role: 'author'
});

Since

0.1.0

Generated using TypeDoc