You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hierarchy is validated as a layered DAG, but other relationships (e.g. a node type that composes or uses other nodes of the same type) have no cycle detection. The only cycle guard today is for allOf recursion during schema resolution (src/schema/schema-refs.ts). A cycle in a composition relationship can't be reliably expressed as a JSONata rule, since it needs recursive traversal.
Proposal
A generic deterministic check: a relationship can be declared acyclic in the schema, and validation reports any cycle as an error, listing the nodes in the cycle.
Activity