Schema

The following table describes the schema of a validation rule JSON.

AttributeValueTypeName in AppsFlyer UI
name*StringN/A
description*StringN/A
event-type

  • install

  • in-app event

String

  • Installs

  • In-app events

app-idsAll app IDs for which the rule is activeArrayApps
status

  • enabled

  • disabled

  • deleted

StringActive (on/off)
action

  • block-event

  • block-candidate

StringAction
(Block install/Block attribution)
rule-type

  • blocking

  • allow-only

StringConsidered
(Invalid/Valid)
cond-oper

  • and

  • or

StringN/A
cond-group-oper

  • and

  • or

StringN/A
population{
"cond-oper": “and”,
"conds": Array<{
"attr": population attribute,
"oper": operator appropriate for the att type,
"values": Array
}>
}
JsonSources
rule-conditions{
"cond-group-oper": cond-group-oper,
"cond-groups": Array<{
"cond-oper": cond-oper,
"conds": Array<{
"attr": rule attribute,
"oper": operator appropriate for the att type,
"values": Array
}>
}>
}
JsonConditions