Matcher

A matcher represents the logic for selecting a specific subset of your customer population.

{
  "negate": Boolean,
  "type": MatcherType,
  "attribute": String,
  "string": String,
  "bool" : Boolean,
  "strings" : [ String ],
  "number" : Number,
  "date" : Number,
  "between": { "from" : Number, "to" : Number },
  "depends": { "splitName": String, "treatment": String }
}

Note that depending on the type, different fields are required. All the rest of the fields do not need to be set.