Skip to main content

Module relation

Module relation 

Source
Expand description

Typed relationships between records.

A relation is stored on its source record as an outgoing edge source --kind--> target. Every core relation kind has a documented direction and meaning (RelationKind::meaning) and validation rules (RelationKind::target_kinds, RelationKind::requires_same_kind). A relation also carries a Certainty so that a link never implies more than its sources support.

Structs§

Relation
A relationship as stored on the source record.
RelationDraft
Input for asserting a relation. Assertion metadata comes from the command.

Enums§

Certainty
How certain the link is, as asserted by whoever recorded it.
RelationKind
The controlled relation vocabulary (plus namespaced extensions).