forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-data.json
90 lines (90 loc) · 2.18 KB
/
div-data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"$description": "translations.json#/div_data",
"typescript_templatable": false,
"generate_swift_optional_arguments": false,
"root_entity": true,
"definitions": {
"div_state": {
"type": "object",
"typescript_templatable": false,
"generate_swift_optional_arguments": false,
"properties": {
"state_id": {
"type": "integer",
"supports_expressions": false,
"$description": "translations.json#/div_data_div_state_state_id"
},
"div": {
"$ref": "div.json",
"$description": "translations.json#/div_data_div_state_div"
}
},
"required": [
"state_id",
"div"
]
}
},
"type": "object",
"properties": {
"states": {
"type": "array",
"items": {
"$ref": "#/definitions/div_state"
},
"minItems": 1,
"clientMinItems": 1,
"strictParsing": true,
"$description": "translations.json#/div_data_states"
},
"log_id": {
"$ref": "common.json#/non_empty_string",
"supports_expressions": false,
"$description": "translations.json#/div_data_log_id"
},
"transition_animation_selector": {
"$ref": "div-transition-selector.json",
"default_value": "none",
"$description": "translations.json#/div_data_transition_animation_selector",
"deprecated": true,
"platforms": [
"android",
"ios"
]
},
"variables": {
"type": "array",
"items": {
"$ref": "div-variable.json"
},
"minItems": 1,
"clientMinItems": 1,
"$description": "translations.json#/div_data_variables"
},
"variable_triggers": {
"type": "array",
"items": {
"$ref": "div-trigger.json"
},
"minItems": 1,
"clientMinItems": 1,
"$description": "translations.json#/div_data_variable_triggers"
},
"timers": {
"type": "array",
"items": {
"$ref": "div-timer.json"
},
"minItems": 1,
"clientMinItems": 1,
"$description": "translations.json#/div_data_timers",
"platforms": [
"web"
]
}
},
"required": [
"states",
"log_id"
]
}