Skip to content

Condition

Defined in: schema.ts:90

A single predicate evaluated against the EvaluationContext.

value is unused for exists/notExists. For in/notIn it is an array. For matches/notMatches it is a JSON query document.

Property Type Description Defined in
attribute string Evaluation-context attribute to read (e.g. "country", "plan"). schema.ts:92
matcher? string For matches/notMatches only: the name of the registered matcher to use (see ./matchers.registerMatcher). Defaults to ./matchers.DEFAULT_MATCHER ("default") when omitted. Ignored by all other operators. schema.ts:101
operator ConditionOperator - schema.ts:93
value? JsonValue - schema.ts:94