-
Notifications
You must be signed in to change notification settings - Fork 32
/
example.json
92 lines (92 loc) · 3.15 KB
/
example.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
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "gmcq",
"_classes": "",
"_layout": "full",
"title": "GMCQ",
"displayTitle": "GMCQ",
"body": "Which of the following options would you consider to be correct?",
"instruction": "Choose {{#if _isRadio}}one option{{else}}one or more options{{/if}} then select Submit.",
"ariaQuestion": "",
"_attempts": 1,
"_shouldDisplayAttempts": false,
"_hasItemScoring": false,
"_questionWeight": 1,
"_isRandom": false,
"_selectable": 1,
"_canShowModelAnswer": true,
"_canShowCorrectness": false,
"_canShowFeedback": true,
"_canShowMarking": true,
"_recordInteraction": true,
"_columns": 3,
"_isRound": false,
"_items": [
{
"text": "This is option 1.",
"altText": "",
"_shouldBeSelected": true,
"_isPartlyCorrect": false,
"_graphic": {
"alt": "",
"attribution": "Copyright © 2019",
"large": "course/en/images/gqcq-1-large.gif",
"small": "course/en/images/gqcq-1-small.gif"
}
},
{
"text": "This is option 2.",
"_shouldBeSelected": false,
"_isPartlyCorrect": false,
"_graphic": {
"alt": "",
"attribution": "",
"large": "course/en/images/gqcq-2-large.gif",
"small": "course/en/images/gqcq-2-small.gif"
}
}
],
"_feedback":{
"title": "Feedback title",
"altTitle": "Alt feedback text",
"correct": "Congratulations, this is the correct feedback.",
"_incorrect": {
"notFinal": "",
"final": "Unfortunately this is the incorrect feedback."
},
"_partlyCorrect": {
"notFinal": "",
"final": "This is the partly correct feedback."
}
},
"_comment": "You only need to include _buttons if you want to override the button labels that are set in course.json",
"_buttons": {
"_submit": {
"buttonText": "Submit",
"ariaLabel": "Select here to submit your answer."
},
"_reset": {
"buttonText": "Reset",
"ariaLabel": ""
},
"_showCorrectAnswer": {
"buttonText": "Correct Answer",
"ariaLabel": ""
},
"_hideCorrectAnswer": {
"buttonText": "My Answer",
"ariaLabel": ""
},
"_showFeedback": {
"buttonText": "Show feedback",
"ariaLabel": ""
},
"remainingAttemptsText": "attempts remaining",
"remainingAttemptText": "final attempt"
},
"_pageLevelProgress": {
"_isEnabled": true
}
}