-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathscorm.profile.progress.measure.schema.json
97 lines (97 loc) · 4.08 KB
/
scorm.profile.progress.measure.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/attempt-state/scorm.profile.progress.measure.schema.json",
"description": "Progress Measure indicates how much progress has been made in the activity. This value can be stored as a Statement using the `progressed` ADL Verb and `result.score.scaled` for the value. Profile ID: https://w3id.org/xapi/scorm/progress-measure See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#progress-measure",
"type": "object",
"required": ["actor", "verb", "object", "result", "context", "timestamp"],
"properties": {
"actor": {
"description": "Set to the learner's agent object"
},
"verb": {
"description": "Set to the ADL Verb 'progressed'",
"properties": {
"id": {
"enum": ["http://adlnet.gov/expapi/verbs/progressed"]
}
}
},
"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"]
}
}
}
]
}
}
}
}
},
"timestamp": {
"description": "Set to the time the attempt was initialized"
}
}
}