Skip to main content

Module types

Module types 

Source
Expand description

Schema-as-artifact type format.

Serde-based, YAML-authorable type definitions.

Structs§

MetadataFieldDef
A metadata (frontmatter) field.
RequiredOutgoing
One outgoing-edge requirement block on a type definition. Lists one or more relationship names and a cardinality constraint they must jointly satisfy. The schema author groups multiple alternative relationships into a single block when “any of these” satisfies the rule (e.g. [CHOSEN, REJECTED] together with at_least_one would require at least one outgoing edge across both names — but the planning schema lists each as its own block instead, so each block gets its own warning entry).
SectionDef
A section within an entity (e.g. “Claim”, “Evidence”).
TypeDefinition
Complete type definition — serde/schemars-based, authored in YAML.
TypeExample
Inline few-shot example — concrete entity content matching this type.

Enums§

FieldType
Filterable
RequiredCardinality
Required-cardinality variants. AtLeastOne is the only variant shipped initially; ExactlyOne is the obvious next variant but is not yet wired.
Serialization