AckdbObserveEventFieldCondition

A condition on a promoted event-metadata field's reduced scalar value (#212). `columnKey` is the synthetic field-catalog key (`emf__<source>__<field>` for the latest value, or `…__sum` for a numeric running total) and is whitelisted against the catalog; the operator must be legal for the field's valueType (same legality as a trait of that type).

Properties

typestringrequired
"event_field"
columnKeystringrequired
operatorstringrequired
"eq""neq""gt""gte""lt""lte""contains""in""is_null""is_not_null"
valueone of

Scalar or array depending on the operator. Omitted for is_null/is_not_null.

Option 1
string
Option 2
number
Option 3
boolean
Option 4
array of
one of
Option 1
string
Option 2
number

Example

AckdbObserveEventFieldCondition example
{
  "type": "event_field",
  "columnKey": "emf__stripe__amount",
  "operator": "eq",
  "value": "string"
}