-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
61 lines (60 loc) · 2.08 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
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "mlgame",
"_classes": "",
"_layout": "full",
"title": "Title of our component",
"displayTitle": "Title of our component",
"body": "Play the game at the link.",
"baseUrl": "https://example.com/game/",
"gameId": "",
"ariaQuestion": "",
"_questionWeight": 1,
"_canShowModelAnswer": false,
"_canShowFeedback": false,
"_canShowMarking": true,
"_recordInteraction": true,
"_feedback": {
"title": "Feedback",
"altTitle": "Alt feedback title text",
"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
}
}