-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathproperties.schema
More file actions
125 lines (125 loc) · 4.37 KB
/
properties.schema
File metadata and controls
125 lines (125 loc) · 4.37 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"required": false,
"properties": {
"pluginLocations": {
"type": "object",
"required": true,
"properties": {
"config": {
"type": "object"
},
"course": {
"type": "object",
"properties": {
"_blockSlider": {
"type": "object",
"required": false,
"legend": "BlockSlider",
"properties": {
"_isEnabled": {
"type": "boolean",
"required": true,
"default": true,
"title": "Is enabled",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": "If set to 'false', BlockSlider will be disabled on all articles."
}
}
}
}
},
"contentobject": {
"type": "object"
},
"article": {
"type": "object",
"properties": {
"_blockSlider": {
"type":"object",
"required":false,
"legend": "BlockSlider",
"properties": {
"_isEnabled": {
"type": "boolean",
"required": true,
"default": false,
"title": "Is enabled",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": "If set to 'true', then all blocks within this article would have slide effect."
},
"_arrows": {
"type":"object",
"legend": "Arrows",
"properties": {
"_isActive": {
"type": "boolean",
"required": false,
"default": true,
"title": "Is active",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": "Set to true/false to display/hide arrow navigation controls."
}
}
},
"_tabs": {
"type":"object",
"legend": "Tabs",
"properties": {
"_isActive": {
"type": "boolean",
"required": false,
"default": true,
"title": "Is active",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": "Set to true or false to display/hide tabbed navigation."
},
"_useBlockTitle": {
"type": "boolean",
"required": false,
"default": false,
"title": "Use block title",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": "Set to true to display the block title text within tabs. Set to false to display an icon for each tab."
}
}
},
"_initial": {
"type": "number",
"required": true,
"title": "Initial",
"inputType": "Number",
"default": 1,
"validators": ["number"],
"help": "Which block to show on initial load. For example, a value of 2 will show the 2nd block."
},
"_height": {
"type": "string",
"required": true,
"default": "auto",
"title": "Height",
"inputType": "Text",
"validators": ["required"],
"help": "Fix the height of the blockslider to this value. For example, a value of 600 will set the blockslider to 600px high. Defaults to 'auto' if not specified."
}
}
}
}
},
"block": {
"type": "object"
},
"component": {
"type": "object"
}
}
}
}
}