Skip to main content

CompositeStrategy

typeType (string)required
Constant value: composite
params objectrequired

composite strategy parameters.

operator: 'AND' | 'OR' operands: list of condition_ids to evaluate (minimum 2)

Compiler enforcement rules (checked at compile time, not here):

  • all operands must produce decision — equals is excluded
  • composite cannot be nested inside another composite's operands
  • all operand condition_ids must exist in the registry

Minimum 2 operands is enforced here at model construction time.

operatorCompositeOperator (string)required

Possible values: [AND, OR]

operandsstring[]required

Possible values: >= 2

CompositeStrategy
{
"type": "composite",
"params": {
"operator": "AND",
"operands": [
"string"
]
}
}