-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproperties.schema
More file actions
328 lines (328 loc) · 14.1 KB
/
properties.schema
File metadata and controls
328 lines (328 loc) · 14.1 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
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
{
"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. Please keep this disabled at all times until you publish the course for delivery. Keeping this enabled in the Adapt Authoring Tool will record unwanted data to the LRS."
},
"_isRestoreEnabled": {
"type": "boolean",
"required": true,
"default": false,
"title": "Restore Progress from LRS",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the course will use xAPI data to restore course progress."
},
"_isDebugModeEnabled": {
"type": "boolean",
"required": true,
"default": false,
"title": "Developer Mode",
"inputType": "Checkbox",
"validators": [],
"help": "If enabled, the course will continue to generate statements for testing but it will instead post the statement to the console instead of the LRS."
},
"_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. Where data has changed significantly, a new Activity id is recommended."
},
"_revision": {
"type": "string",
"required": false,
"title": "Revision",
"default": "",
"inputType": "Text",
"validators": [],
"help": "If blank, this field auto-populates using the plugin’s `package.json` version number."
},
"_contentRelease": {
"type": "string",
"required": false,
"title": "Revision",
"default": "",
"inputType": "Text",
"validators": [],
"help": "Identifies the version of the content. Increment this when releasing new builds."
},
"_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."
},
"_focusedStates": {
"type": "boolean",
"required": false,
"default": false,
"title": "Focused States",
"inputType": "Checkbox",
"validators": [],
"help": "Tracks when the course is visible or hidden in the browser."
},
"_navbar": {
"type": "boolean",
"required": false,
"default": false,
"title": "Navigational Bar",
"inputType": "Checkbox",
"validators": [],
"help": "Tracks clicks on Adapt’s navigation bar."
},
"_video": {
"type": "boolean",
"required": false,
"default": false,
"title": "Media Analytics",
"inputType": "Checkbox",
"validators": [],
"help": "Tracks interactions with adapt-contrib-media throughout the course. Requires adapt-mediaAnalytics to function."
},
"_visua11y": {
"type": "boolean",
"required": false,
"default": false,
"title": "Visua11y",
"inputType": "Checkbox",
"validators": [],
"help": "Logs accessibility settings changes made via adapt-visua11y's settings."
},
"_connectionErrors": {
"type": "boolean",
"required": false,
"default": false,
"title": "Connection Errors",
"inputType": "Checkbox",
"validators": [],
"help": "Logs LMS connection issues reported by adapt-contrib-spoor."
},
"_inactivityTimout": {
"type": "boolean",
"required": false,
"default": false,
"title": "Inactivity Timeout",
"inputType": "Checkbox",
"validators": [],
"help": "Tracks inactivity warnings triggered by adapt-kineo-inactivityPopup."
}
}
},
"_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"
}
}
}
}
}