div-data
Root structure.
Parameters
Parameters | Description |
---|---|
log_id |
string Required parameter. Logging ID. |
states |
array Required parameter. A set of visual element states. Each element can have a few states with a different layout. The states are displayed strictly one by one and switched using action. An array must not be empty. |
timers |
array List of timers. |
transition_animation_selector |
string Parameter is deprecated. Events that trigger transition animations. Possible values: Default value: Available platforms: Android, iOS. |
variable_triggers |
array Triggers for changing variables. |
variables |
array Declaration of variables that can be used in an element. List of possible values: |
state
Parameters | Description |
---|---|
div |
object Required parameter. Contents. The value has the type List of possible values: |
state_id |
int Required parameter. State ID. |
JSON
{
log_id*: "string",
states*: [
{
div*: div,
state_id*: "int"
},
...
],
timers: [
{
duration: "int",
end_actions: [
{
download_callbacks: {
on_fail_actions: [ div-action, ... ],
on_success_actions: [ div-action, ... ]
},
is_enabled: "bool_int",
log_id*: "string",
log_url: "string",
menu_items: [
{
action: div-action,
actions: [ div-action, ... ],
text*: "string"
},
...
],
payload: "object",
referer: "string",
scope_id: "string",
target: "string",
typed: div-action-typed,
url: "string"
},
...
],
id*: "string",
tick_actions: [
{
download_callbacks: {
on_fail_actions: [ div-action, ... ],
on_success_actions: [ div-action, ... ]
},
is_enabled: "bool_int",
log_id*: "string",
log_url: "string",
menu_items: [
{
action: div-action,
actions: [ div-action, ... ],
text*: "string"
},
...
],
payload: "object",
referer: "string",
scope_id: "string",
target: "string",
typed: div-action-typed,
url: "string"
},
...
],
tick_interval: "int",
value_variable: "string"
},
...
],
transition_animation_selector: "string",
variable_triggers: [
{
actions*: [
{
download_callbacks: {
on_fail_actions: [ div-action, ... ],
on_success_actions: [ div-action, ... ]
},
is_enabled: "bool_int",
log_id*: "string",
log_url: "string",
menu_items: [
{
action: div-action,
actions: [ div-action, ... ],
text*: "string"
},
...
],
payload: "object",
referer: "string",
scope_id: "string",
target: "string",
typed: div-action-typed,
url: "string"
},
...
],
condition*: "bool_int",
mode: "string"
},
...
],
variables: [ div-variable, ... ]
}