schema-include av.tcl
schema-include fpr.tcl
signed {
{field . {map}}
{field load {with load}}
{field sigs {list} {of sig} >0 optional}
{field pubs {list} {of type map} >0 optional}
}
load {
{field . {map}}
{field t {str} >0}
{# field v is optional, arbitrary type}
}
sig {
{field . {map}}
{field tbs {with tbs}}
{field sign {with av}}
}
tbs {
{field . {map}}
{field sid {with fpr}}
{field nonce {bin} >0 optional} {# random bytes}
{field when {tai} utc prec=ms optional}
{# recipient's fingerprints}
{field encrypted-to {list} {of fpr} >0 optional}
}