-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathscorm.profile.reporting.learner.activity.during.attempt.schema.json
73 lines (73 loc) · 3.5 KB
/
scorm.profile.reporting.learner.activity.during.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
{
"$schema": "http://json-schema.org/schema#",
"id": "https://w3id.org/xapi/scorm/reporting-learner-activity-during-an-attempt/scorm.profile.reporting.learner.activity.during.attempt.schema",
"description": "Profile ID: https://w3id.org/xapi/scorm/reporting-learner-activity-during-an-attempt See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#reporting-learner-activity-during-an-attempt",
"type": "object",
"required": ["actor", "object", "context", "timestamp"],
"properties": {
"actor": {
"description": "Set to the learner's agent object"
},
"object": {
"description": "If the statement is about the SCO (such as completed or commented), set to activity object for the SCO, using the SCO IRI as the activity's id. If statement is about something within the SCO (such as a video or test), set to the activity object for the SCO.",
"properties": {
"id": {
"description": "If the statement is about the SCO, set to the SCO IRI"
}
}
},
"context": {
"required": ["contextActivities"],
"properties": {
"contextActivities": {
"required": ["grouping", "category"],
"properties": {
"parent": {
"description": "If the statement is about soomething within the SCO, set array to include the activity ovject for the SCO"
},
"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 initialized"
}
}
}