forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-action.json
69 lines (69 loc) · 1.59 KB
/
div-action.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
{
"definitions": {
"menu_item": {
"type": "object",
"properties": {
"text": {
"type": "string",
"$description": "translations.json#/div_action_menu_item_text"
},
"action": {
"$ref": "div-action.json",
"$description": "translations.json#/div_action_menu_item_action"
},
"actions": {
"type": "array",
"items": {
"$ref": "div-action.json"
},
"$description": "translations.json#/div_action_menu_item_actions"
}
},
"required": [
"text"
]
}
},
"allOf": [
{
"$ref": "div-action-base.json"
},
{
"type": "object",
"$description": "translations.json#/div_action",
"properties": {
"menu_items": {
"type": "array",
"items": {
"$ref": "#/definitions/menu_item"
},
"$description": "translations.json#/div_action_menu_items",
"platforms": [
"android",
"ios"
]
},
"log_url": {
"$ref": "common.json#/url",
"$description": "translations.json#/div_action_log_url"
},
"target": {
"type": "string",
"enum": [
"_self",
"_blank"
],
"force_enum_field": true,
"$description": "translations.json#/div_action_target",
"platforms": [
"web"
],
"code_generation_disabled_swift": true
}
},
"required": [
"log_id"
]
}
]
}