-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathscorm.profile.comments.from.learner.schema.json
97 lines (97 loc) · 3.93 KB
/
scorm.profile.comments.from.learner.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
{
"$schema": "http://json-schema.org/schema#",
"id": "https://w3id.org/xapi/scorm/comments-from-learner/scorm.profile.comments.from.learner.schema",
"description": "Profile ID: https://w3id.org/xapi/scorm/comments-from-learner See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#comments-from-learner",
"type": "object",
"required": ["actor", "verb", "object", "context", "timestamp", "result"],
"properties": {
"actor": {
"description": "Set to the learner's agent object"
},
"verb": {
"description": "Set to the ADL Verb 'commented'",
"properties": {
"id": {
"enum": ["http://adlnet.gov/expapi/verbs/commented"]
}
}
},
"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 comment timestamp value"
},
"result": {
"required": ["response"],
"properties": {
"response": {
"description": "Set to the comments from the learner"
}
}
}
}
}