Variable OnlineAccountConst

OnlineAccount: IntersectionC<[TypeC<{
    id: StringC;
}>, PartialC<{
    service: UrlFromStringC;
}>]> = ...

A foaf:onlineAccount, the online identity of some Agent (person, org, etc).

Example

import { OnlineAccountT, OnlineAccount } from '@docmaps/sdk';
import { Validation } from 'io-ts';

const A: Validation<OnlineAccountT> = OnlineAccount.decode({
id: 'https://docmaps-project.github.io/ex/onlineaccount',
service: 'https://docmaps-project.github.io/ex/onlineaccount/www',
});

Since

0.1.0

Generated using TypeDoc