A condition used to filter contacts in an audience. An attribute predicate compares one attribute. A logical predicate has a type of and, or or not and groups other predicates instead.
The attribute to filter on. Required on an attribute predicate.
Example:"company.name"
The value to compare against. The accepted value depends on the attribute and the comparison, and can be a string, a number, a boolean, an array or null.
Example:"Acme"
predicatesarray of objects(Predicate)
The predicates grouped by a logical predicate. Only used when type is and, or or not.
{ "attribute": "company.name", "type": "string", "comparison": "contains", "value": "Acme", "predicates": [ { … } ] }