-
Notifications
You must be signed in to change notification settings - Fork 1
/
properties.schema
executable file
·103 lines (103 loc) · 3.37 KB
/
properties.schema
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
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"required":false,
"globals": {
"_navOrder": {
"type": "number",
"required": true,
"title": "Navigation bar order",
"default": 0,
"inputType": "Text",
"help": "Determines the order in which the object is displayed in the navigation bar. Negative numbers (e.g. -100) are left-aligned. Positive numbers (e.g. 100) are right-aligned.",
"validators": []
}
},
"properties": {
"pluginLocations": {
"type": "object",
"required": true,
"properties": {
"course": {
"type": "object",
"properties": {
"_navigationTitle": {
"type": "object",
"required": false,
"legend": "Navigation Title",
"properties": {
"_isEnabled": {
"type": "boolean",
"required": false,
"default": false,
"title": "Enable Navigation Title",
"inputType": "Checkbox",
"validators": [],
"help": "Set to true to enable the 'Navigation Title' feature."
},
"_isHiddenOnMenu": {
"type": "boolean",
"required": false,
"default": false,
"title": "Hide the nav title on the menu",
"inputType": "Checkbox",
"validators": [],
"help": ""
},
"_hideForMobile": {
"type": "boolean",
"required": false,
"default": false,
"title": "Hide title for mobile view",
"inputType": "Checkbox",
"validators": [],
"help": "Useful to declutter the navigation bar for mobile view where limited space is available."
},
"_useCourseTitle": {
"type": "boolean",
"required": false,
"default": false,
"title": "Use course title",
"inputType": "Checkbox",
"validators": [],
"help": "Use the course's title. Will override anything in the 'title' field."
},
"title": {
"type": "string",
"required": false,
"default": "",
"inputType": "Text",
"validators": [],
"help": "The text that appears in the navigation bar",
"translatable": true
}
}
}
}
},
"contentobject": {
"type": "object",
"properties": {
"_navigationTitle": {
"type": "object",
"required": false,
"legend": "Navigation Title",
"properties": {
"_isEnabled": {
"type": "boolean",
"required": false,
"default": true,
"title": "Show nav title on this page / sub menu",
"inputType": "Checkbox",
"validators": [],
"help": ""
}
}
}
}
}
}
}
}
}