Skip to content

Latest commit

 

History

History
68 lines (57 loc) · 3.76 KB

CheckAttributeBlockBase.md

File metadata and controls

68 lines (57 loc) · 3.76 KB

CheckAttributeBlockBase

Shared shape for attribute-comparison blocks: a single attribute evaluated by a named operator. The operator determines which additional fields are required: - scalar requires value. - between requires min and max values. - list requires values. - list-with-count requires values and count. - unary requires no extra fields.

Properties

Name Type Description Notes
id String Unique identifier for this block. [optional] [readonly]
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] [readonly]
operator OperatorEnum The comparison operator applied to the attribute.
attribute Object The attribute path identifier (e.g. &quot;$Session.Total&quot;).
value Object The comparison value for scalar operators. [optional]
min Object The minimum value allowed for the `between` operator. [optional]
max Object The maximum value allowed for the `between` operator. [optional]
start Object The start value for the `within` operator. [optional]
end Object The end value for the `within` operator. [optional]
startInclusive Boolean When `true`, the `start` value is included in the range for the `within` operator. [optional]
endInclusive Boolean When `true`, the `end` value is included in the range for the `within` operator. [optional]
timezoneInsensitive Boolean Indicates whether the `within` operator ignores time zones and compares the wall-clock time only. When `false`, time zones are taken into account. [optional]
values Object The set of values to match against for list operators. For location operators (`in`, `not(in)`), an array of objects with a `geometry` (see `GeoJSONGeometry`) and an optional `name`, or a string reference to a list attribute. [optional]
count Object The count threshold for `containsAtLeast` and `containsExactly` operators. [optional]
onFailure List<Object> Promotion blocks evaluated when this block fails or returns false. [optional]

Enum: OperatorEnum

Name Value
EQUALS "equals"
NOT_EQUALS_ "not(equals)"
LESSTHAN "lessThan"
LESSTHANOREQUAL "lessThanOrEqual"
GREATERTHAN "greaterThan"
GREATERTHANOREQUAL "greaterThanOrEqual"
BETWEEN "between"
CONTAINS "contains"
NOT_CONTAINS_ "not(contains)"
MATCHESREGEXP "matchesRegexp"
STARTSWITH "startsWith"
ENDSWITH "endsWith"
ONEOF "oneOf"
NOT_ONEOF_ "not(oneOf)"
INCOLLECTION "inCollection"
NOT_INCOLLECTION_ "not(inCollection)"
EMPTY "empty"
NOT_EMPTY_ "not(empty)"
EXISTS "exists"
NOT_EXISTS_ "not(exists)"
ISTRUE "isTrue"
ISFALSE "isFalse"
CONTAINSATLEAST "containsAtLeast"
CONTAINSEXACTLY "containsExactly"
CONTAINSONEOF "containsOneOf"
CONTAINSNONEOF "containsNoneOf"
CONTAINSALLOF "containsAllOf"
AFTER "after"
BEFORE "before"
WITHIN "within"
NOT_WITHIN_ "not(within)"
IN "in"
NOT_IN_ "not(in)"