implies
Use implies for conditional presence, nullability, or value rules. When when is false, the
constraint is satisfied. When it is true, every predicate in then.all must hold.
when block.
The antecedent may also compare two compatible numeric or date-time fields:
equation
Use equation to derive one numeric target from required, non-null numeric sources.
{ path: /field } or { literal: 200 }. add and multiply accept two or
more expressions; subtract accepts exactly two. Equations do not infer rounding, units, or
currency semantics.
aggregate
Use aggregate to relate a numeric target to values selected from an array.
sum, count, min, and max. An optional when guard is useful when a partial
page cannot prove an aggregate over the complete collection.
For state transitions and strings rendered from fields, continue to
Lifecycles and templates.