| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Unique identifier for this block. | |
| type | String | Identifies the block variant and determines which additional properties are present in it. | |
| tags | List<String> | Semantic labels attached to this block. | [optional] |
| operator | OperatorEnum | The comparison operator applied to the attribute. | |
| attribute | String | The attribute path identifier (e.g. "$Session.Total"). | |
| value | Object | [optional] | |
| min | Object | [optional] | |
| max | Object | [optional] | |
| values | Object | [optional] | |
| count | Object | [optional] | |
| onFailure | List<PromotionBlock> | Promotion blocks evaluated when this block fails or returns false. | [optional] |
| Name | Value |
|---|---|
| EQUALS | "equals" |
| NOT_EQUALS_ | "not(equals)" |
| LESS_THAN | "lessThan" |
| LESS_THAN_OR_EQUAL | "lessThanOrEqual" |
| GREATER_THAN | "greaterThan" |
| GREATER_THAN_OR_EQUAL | "greaterThanOrEqual" |
| BETWEEN | "between" |
| CONTAINS | "contains" |
| NOT_CONTAINS_ | "not(contains)" |
| MATCHES_REGEXP | "matchesRegexp" |
| STARTS_WITH | "startsWith" |
| ENDS_WITH | "endsWith" |
| ONE_OF | "oneOf" |
| NOT_ONE_OF_ | "not(oneOf)" |
| IN_COLLECTION | "inCollection" |
| NOT_IN_COLLECTION_ | "not(inCollection)" |
| EMPTY | "empty" |
| NOT_EMPTY_ | "not(empty)" |
| EXISTS | "exists" |
| NOT_EXISTS_ | "not(exists)" |
| IS_TRUE | "isTrue" |
| IS_FALSE | "isFalse" |
| CONTAINS_AT_LEAST | "containsAtLeast" |
| CONTAINS_EXACTLY | "containsExactly" |
| CONTAINS_ONE_OF | "containsOneOf" |
| CONTAINS_NONE_OF | "containsNoneOf" |
| CONTAINS_ALL_OF | "containsAllOf" |