-
Notifications
You must be signed in to change notification settings - Fork 1
/
properties.schema
247 lines (247 loc) · 10.4 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
{
"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",
"properties": {
"_xapi": {
"type": "object",
"required": false,
"legend": "xAPI",
"properties": {
"_isEnabled": {
"type": "boolean",
"required": true,
"default": true,
"title": "Is Enabled",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the course will be tracked by xAPI."
},
"_activityId": {
"type": "string",
"required": true,
"title": "Activity ID",
"default": "https://example.com/unique_identifier",
"inputType": "Text",
"validators": [],
"help": "Unique identifier for this xAPI activity. Used to populate the Activity id included in _tincan.xml_ and for use in the Statement and State API. The value will be overriden if changed on the hosting environment."
},
"_revision": {
"type": "string",
"required": false,
"title": "Revision",
"default": "",
"inputType": "Text",
"validators": [],
"help": "This helps identify users running particular versions of the content, should functionality have been changed or issues found which require updates/voided statements for users running a specific revision. Where data has changed significantly, a new Activity id is recommended."
},
"_tracking": {
"type": "object",
"required": false,
"title": "Tracking",
"properties": {
"_storeQuestionResponses": {
"type": "boolean",
"required": false,
"default": true,
"title": "Store question responses",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the course will store the user's question responses across sessions."
},
"_questionInteractions": {
"type": "boolean",
"required": false,
"default": true,
"title": "Record question responses",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the course will send statements recording the user's question responses."
},
"_assessmentsCompletion": {
"type": "boolean",
"required": false,
"default": false,
"title": "Record assessments completion",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the course will send a statement for each assessment that is completed. Recommended only for courses containing multiple assessments."
},
"_assessmentCompletion": {
"type": "boolean",
"required": false,
"default": true,
"title": "Record assessment completion",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the course will send a statement when the assessment have been completed. If using multiple assessments, the statement will be sent when all assessments have been completed."
}
}
},
"_errors": {
"type": "object",
"required": false,
"title": "Error Notifications",
"properties": {
"_launch": {
"type": "object",
"required": false,
"title": "Launch",
"properties": {
"title": {
"type": "string",
"required": true,
"title": "Title",
"default": "xAPI could not be initialized",
"inputType": "Text",
"validators": [],
"help": ""
},
"body": {
"type": "string",
"required": true,
"title": "Body",
"default": "This activity will not be tracked.",
"inputType": "Text",
"validators": [],
"help": ""
},
"_classes": {
"type": "string",
"required": false,
"title": "Classes",
"default": "",
"inputType": "Text",
"validators": [],
"help": "List any CSS classes to attach to the notification pop-up."
},
"_isCancellable": {
"type": "boolean",
"required": false,
"default": true,
"title": "Cancel notification",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the user can close the notification and continue with an untracked session."
}
}
},
"_lrs": {
"type": "object",
"required": false,
"title": "LRS",
"properties": {
"title": {
"type": "string",
"required": true,
"title": "Title",
"default": "LRS could not be found",
"inputType": "Text",
"validators": [],
"help": ""
},
"body": {
"type": "string",
"required": true,
"title": "Body",
"default": "There was a problem communicating with the LRS. Tracking data may be lost if you continue with this session.",
"inputType": "Text",
"validators": [],
"help": ""
},
"_classes": {
"type": "string",
"required": false,
"title": "Classes",
"default": "",
"inputType": "Text",
"validators": [],
"help": "List any CSS classes to attach to the notification pop-up."
},
"_isCancellable": {
"type": "boolean",
"required": false,
"default": true,
"title": "Cancel notification",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the user can close the notification and continue with an untracked session."
}
}
},
"_activityId": {
"type": "object",
"required": false,
"title": "LRS",
"properties": {
"title": {
"type": "string",
"required": true,
"title": "Title",
"default": "Missing Activity IRI",
"inputType": "Text",
"validators": [],
"help": ""
},
"body": {
"type": "string",
"required": true,
"title": "Body",
"default": "An Activity id has not been set. This activity will not be tracked.",
"inputType": "Text",
"validators": [],
"help": ""
},
"_classes": {
"type": "string",
"required": false,
"title": "Classes",
"default": "",
"inputType": "Text",
"validators": [],
"help": "List any CSS classes to attach to the notification pop-up."
},
"_isCancellable": {
"type": "boolean",
"required": false,
"default": true,
"title": "Cancel notification",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the user can close the notification and continue with an untracked session."
}
}
}
}
}
}
}
}
},
"course": {
"type": "object"
},
"contentobject": {
"type": "object"
},
"article": {
"type": "object"
},
"block": {
"type": "object"
},
"component": {
"type": "object"
}
}
}
}
}