Composition / foldkit-composition
What validation finds
| Code | Meaning |
|---|---|
composition:missing-node | a root or Region names an id missing from nodes |
composition:orphan | a node unreachable from any root or Region |
composition:second-parent | a node placed twice |
composition:cycle | a node that contains itself |
composition:unknown-block | a Block missing from the Catalog (kept and still checked) |
composition:invalid-props | props the Block's schema refuses, including extra keys |
composition:unknown-region | a Region missing from the Block |
composition:region-cardinality | too few or too many children for the Region |
composition:region-rejects | a child whose Content the Region rejects |
composition:root-rejects | a root whose Content the Catalog's roots reject |
composition:invalid-appearance | non-record appearance, unknown axis, or invalid axis value |
composition:unknown-token | a token axis naming a token missing from the theme |
composition:invalid-condition | a when that is not a list of conditions |
composition:unknown-context | a condition key or value unsupported by the Catalog's context |
composition:invalid-action | unknown event, malformed { action, input }, or invalid input |
composition:unknown-action | an action missing from the Catalog |
Props are decoded strictly, so an obsolete prop left by an older schema is surfaced rather than silently kept.