forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiv-data.json
More file actions
102 lines (102 loc) · 2.36 KB
/
div-data.json
File metadata and controls
102 lines (102 loc) · 2.36 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
{
"$description": "translations.json#/div_data",
"typescript_templatable": false,
"root_entity": true,
"codegen": {
"divan": {
"plus_operator": false,
"required_properties_at_factory": true,
"forced_properties_order": [
"log_id",
"states"
]
},
"swift": {
"generate_optional_arguments": false
}
},
"definitions": {
"div_state": {
"type": "object",
"typescript_templatable": false,
"codegen": {
"divan": {
"alias_factory": "root",
"required_properties_at_factory": true,
"forced_properties_order": [
"state_id",
"div"
]
},
"swift": {
"generate_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,
"$description": "translations.json#/div_data_states"
},
"log_id": {
"$ref": "common.json#/id",
"$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"
},
"$description": "translations.json#/div_data_variables"
},
"variable_triggers": {
"type": "array",
"items": {
"$ref": "div-trigger.json"
},
"$description": "translations.json#/div_data_variable_triggers"
},
"timers": {
"type": "array",
"items": {
"$ref": "div-timer.json"
},
"$description": "translations.json#/div_data_timers"
}
},
"required": [
"states",
"log_id"
]
}