-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathscorm.profile.score.schema.json
94 lines (94 loc) · 4.53 KB
/
scorm.profile.score.schema.json
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
{
"$schema": "http://json-schema.org/schema#",
"id": "https://w3id.org/xapi/scorm/attempt-state/scorm.profile.score.schema.json",
"description": "Scores may be reported as supporting information about the learner’s attempt. Since reporting systems may not have a passing threshold to compare the scores the activity provider or activity cannot imply success or completion of an activity solely based on a score. The use of this Statement is for journaling/auditing purposes and does not necessarily indicate the score of the activity. If it is determined that the activity must have a score, set it explicitly as the result of terminated Statement. NOTE: For compatibility between SCORM versions, the value of SCORM 1.2 `cmi.core.score.raw` divided by 100, and of SCORM 2004 `cmi.score.scaled` should be reported to xAPI as `score.scaled`. All other scores - raw, min, max - may be reported directly as xAPI `score.raw`, `score.min`, and `score.max`. Profile ID: https://w3id.org/xapi/scorm/score See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#score",
"type": "object",
"required": ["actor", "verb", "object", "result", "context"],
"properties": {
"actor": {
"description": "Set to the learner's agent object"
},
"verb": {
"description": "Set to the ADL Verb 'initialized'",
"properties": {
"id": {
"enum": ["http://adlnet.gov/expapi/verbs/scored"]
}
}
},
"object": {
"description": "Set to the activity object for the SCO, using the SCO IRI as the activity's ID",
"required": ["definition"],
"properties": {
"id": {
"description": "Set to the SCO IRI"
},
"definition": {
"type": "object",
"required": ["type"],
"properties": {
"type": {
"description": "Set to 'http://adlnet.gov/expapi/activities/lesson'",
"enum": ["http://adlnet.gov/expapi/activities/lesson"]
}
}
}
}
},
"result": {
"required": ["score"],
"properties": {
"score": {
"required": ["scaled"]
}
}
},
"context": {
"required": ["contextActivities"],
"properties": {
"contextActivities": {
"required": ["grouping", "category"],
"properties": {
"grouping": {
"description": "Set to include the attempt activity and the course activity",
"minItems": 2,
"items": [
{
"properties": {
"definition": {
"properties": {
"type": {"enum": ["http://adlnet.gov/expapi/activities/course"]}
}
}
}
},
{
"properties": {
"definition": {
"properties": {
"type": {"enum": ["http://adlnet.gov/expapi/activities/attempt"]}
}
}
}
}
]
},
"category": {
"description": "Set to include the xAPI SCORM Profiles activity",
"minItems": 1,
"items": [
{
"properties": {
"id": {
"enum": ["https://w3id.org/xapi/scorm"]
}
}
}
]
}
}
}
}
}
}
}