Skip to content

FieldComparisonPredicate

A Variant branch’s condition, comparing another field’s submitted answer. A locale predicate is always decidable server-side, so it’s resolved away before serialization and never reaches the wire — a Variant node only survives serialization at all when it’s governed by at least one FieldComparisonPredicate, alone or combined via AllOfPredicate.

field names a submission key that appears earlier, in document order, than the Variant itself — enforced server-side at save time, so a well-formed response never asks you to evaluate a forward reference. value is present for Equals/NotEquals, absent for IsEmpty/IsNotEmpty.

field: string


kind: "FieldComparison"


operator: FieldComparisonOperator


optional value?: string