-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.json
66 lines (66 loc) · 2.28 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
// Ordered, multiple correct answer variations
// --------------------------------------------------
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "mygame",
"_classes": "",
"_layout": "full",
"title": "Title of our component",
"displayTitle": "Title of our component",
"body": "Pick a random number between 1 and 5",
"instruction": "",
"_attempts": 5,
"_shouldDisplayAttempts": false,
"_isRandom": false,
"_questionWeight": 1,
"_canShowModelAnswer": true,
"_canShowFeedback": true,
"_canShowMarking": true,
"_recordInteraction": true,
"_allowsAnyCase": true,
"_allowsPunctuation": true,
"_minNumber": 1,
"_maxNumber": 5,
"_feedback": {
"title": "Feedback",
"correct": "This feedback will appear if you answered the question correctly.",
"_incorrect": {
"notFinal": "",
"final": "This feedback will appear if you answered the question incorrectly."
},
"_partlyCorrect": {
"notFinal": "",
"final": "This feedback will appear if you answered part of the question correctly."
}
},
"_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
}
}