-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathscorm.profile.suspending.attempt.schema.json
103 lines (103 loc) · 4.49 KB
/
scorm.profile.suspending.attempt.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
95
96
97
98
99
100
101
102
103
{
"$schema": "http://json-schema.org/schema#",
"id": "https://w3id.org/xapi/scorm/suspending-an-attempt/scorm.profile.suspending.attempt.schema",
"description": "Profile ID: https://w3id.org/xapi/scorm/suspending-an-attempt See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#suspending-an-attempt",
"type": "object",
"required": ["actor", "verb", "object", "context", "timestamp"],
"properties": {
"actor": {
"description": "Set to the learner's agent object"
},
"verb": {
"description": "Set to the ADL Verb 'suspended'",
"properties": {
"id": {
"enum": ["http://adlnet.gov/expapi/verbs/suspended"]
}
}
},
"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"]
}
}
}
}
},
"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"]
}
}
}
]
}
}
}
}
},
"timestamp": {
"description": "Set to the time the attempt was suspended"
},
"result": {
"description": "Set to the overall result for the SCO",
"properties": {
"success": {
"description": "If success_status of the SCO is known, success is true if success_status is passed, and false if success_status is failed"
},
"completion": {
"description": "If completion_status of the SCO is known, completion is true if completion_status is completed, and false if completion_status is incomplete"
},
"score": {
"description": "If score of the SCO is known, use the appropriate score property to store SCORM score data model elements, such as score.scaled for cmi.score.scaled"
}
}
}
}
}