forked from adaptlearning/adapt-contrib-xapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
properties.schema
93 lines (93 loc) · 2.93 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
{
"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": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": "If set to 'true', this course will be tracked by xAPI"
},
"_activityID": {
"type":"string",
"required":true,
"title":"Activity ID",
"default": "",
"inputType": "Text",
"validators": [],
"help": "Unique identifier for this xAPI activity. (Usually the URL to the course.)"
},
"_tracking": {
"type":"object",
"required":false,
"title": "Tracking",
"properties":{
"_requireAssessmentPassed": {
"type":"boolean",
"required":false,
"default": false,
"title":"Assessment pass required",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": ""
},
"_requireCourseCompleted": {
"type":"boolean",
"required":false,
"default":true,
"title":"Course completion required",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": ""
},
"_shouldSubmitScore": {
"type":"boolean",
"required":false,
"default": false,
"title":"Submit score",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": ""
}
}
}
}
}
}
},
"course": {
"type":"object"
},
"contentobject": {
"type":"object"
},
"article": {
"type":"object"
},
"block": {
"type":"object"
},
"component": {
"type":"object"
}
}
}
}
}