forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-custom.json
40 lines (40 loc) · 890 Bytes
/
div-custom.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
{
"java_extends": "DivBlockWithId",
"$description": "translations.json#/div_custom",
"allOf": [
{
"$ref": "div-base.json"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"custom"
]
},
"items": {
"type": "array",
"items": {
"$ref": "div.json"
},
"$description": "translations.json#/div_custom_items"
},
"custom_type": {
"type": "string",
"supports_expressions": false,
"$description": "translations.json#/div_custom_custom_type"
},
"custom_props": {
"type": "object",
"additionalProperties": true,
"$description": "translations.json#/div_custom_custom_props"
}
}
}
],
"required": [
"type",
"custom_type"
]
}