Skip to main content

A rule set is a collection of rules to evaluate. The op property determines whether all rules must pass (and) or just one of them must pass (or) in order for the rule set to be considered passing.

op
enum<string>
required

Determines whether all rules or just some rules must pass for the overall set to pass

Available options:
and,
or
rules
(Binary Rule · object | Unary Rule · object)[]
required

The required rules to be evaluated. Rule sets may also be specified as array elements in order to achieve nesting.

Minimum array length: 1