Schema¶
Schema version 0.3.0. 17 core record types.
Full field types, formats and constraints are in the API reference, which is generated from the same definitions. This page lists what each record asserts beyond the envelope every record carries.
The envelope¶
On every record, of every type:
idtyperecord_classschema_versionoccurred_atoccurred_at_precisionrecorded_atasserted_byauthenticated_aslawful_basison_behalf_ofdelegationdevice_idsupersedessuperseded_byext
Why superseded_by is not among them — it is derived, never stored —
is 0002.
The records¶
party¶
kinddisplay_nameidentifierscontactsprimary_region
account¶
account_idprimary_partyauth_subjectstatus
delegation¶
delegatordelegatescopegranted_atexpires_atgranted_viaevidencerevoked_at
membership¶
memberorganisationrolejoined_atleft_at
facility¶
kindoperated_bylocationadmin_regioncapacity
plot¶
held_bytenurecentroidboundaryareaadmin_regionlocal_name
planting¶
plotcropvarietyseasonarea_planted
harvest¶
plantingplotcropquantitygrade
observation¶
subject_typesubject_refobservation_typevaluemethodinstrumentmedia
lot¶
commodityquantitycustodianlocationcomposed_ofgrade
custody_transfer¶
lotfrom_partyto_partylocationquantityevidence
delivery¶
from_partyto_partylotfulfilscommodityquantitygradelocationagreed_priceevidence
delivery_confirmation¶
deliveryconfirming_partychannelnoteevidence
agreement¶
kindpartiescommodityquantity_committedprice_termsdelivery_windowseasonagreed_atevidence
obligation¶
kindobligorobligeeamountdue_atarising_from
settlement_reference¶
obligationamountsettled_atrailexternal_refverification_statusconfirmed_byevidence
retraction¶
targetreason_codenote
The schema is the only definition of what a record is. The kernel never restates a field, and neither does this page: it is generated from
@clycites/schemaon every build.