# SearchCondition

Schema: `one of`

- Discriminator: `operator`
  - `AND` selects AllOfCondition
  - `OR` selects AnyOfCondition
  - `NOT` selects NotCondition
  - `EQUALS` selects EqualsCondition
  - `CONTAINS` selects ContainsCondition
  - `GREATER_THAN` selects GreaterThanCondition
- Exactly one of these options:
  - Option 1: AllOfCondition (object)
    - `operator` (string, required, possible values: `AND`)
    - `conditions` ([], required)
      - `conditions[]` (circular reference to SearchCondition)
  - Option 2: AnyOfCondition (object)
    - `operator` (string, required, possible values: `OR`)
    - `conditions` ([], required)
      - `conditions[]` (circular reference to SearchCondition)
  - Option 3: NotCondition (object)
    - `operator` (string, required, possible values: `NOT`)
    - `condition` (circular reference to SearchCondition)
  - Option 4: EqualsCondition (object)
    - `operator` (string, required, possible values: `EQUALS`)
    - `field` (string, required)
    - `value` (string, required)
  - Option 5: ContainsCondition (object)
    - `operator` (string, required, possible values: `CONTAINS`)
    - `field` (string, required)
    - `value` (string, required)
    - `caseSensitive` (boolean, default: `false`)
  - Option 6: GreaterThanCondition (object)
    - `operator` (string, required, possible values: `GREATER_THAN`)
    - `field` (string, required)
    - `value` (number, required)
