forked from adaptlearning/adapt-contrib-textInput
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.json
More file actions
171 lines (170 loc) · 4.42 KB
/
example.json
File metadata and controls
171 lines (170 loc) · 4.42 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
//Ordered, multiple correct answer variations
{
"_id":"c-30",
"_parentId":"b-15",
"_type":"component",
"_component":"textinput",
"_classes":"",
"_layout":"right",
"title": "Title of our text input component",
"displayTitle": "Title of our text input component",
"body": "If A is 1% and Z is 26%, what are B, C and D?",
"instruction": "",
"_attempts": 1,
"_shouldDisplayAttempts": false,
"_questionWeight":10,
"_isRandom":false,
"_canShowModelAnswer": true,
"_canShowMarking": true,
"_recordInteraction": true,
"_allowsAnyCase": true,
"_allowsPunctuation": true,
"_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"
},
"_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."
}
},
"_items": [
{
"prefix": "B:",
"suffix": "%",
"_answers": [
"2",
"two"
],
"placeholder": "Enter answer here"
},
{
"prefix": "C:",
"suffix": "%",
"_answers": [
"3",
"three"
],
"placeholder": "Enter answer here"
},
{
"prefix": "D:",
"suffix": "%",
"_answers": [
"4",
"four"
],
"placeholder": "Enter answer here"
}
]
}
//Unordered, single correct answer variations
{
"_id": "c-35",
"_parentId": "b-25",
"_type": "component",
"_component": "textinput",
"_classes": "",
"_layout": "left",
"title": "Greek alphabet",
"displayTitle": "Greek alphabet",
"body": "Type Greek alphabet in any order (alpha, beta, gamma and delta).",
"instruction": "Fill in your answers below.",
"_attempts": 2,
"_allowsAnyCase": true,
"_allowsPunctuation": true,
"_questionWeight": 10,
"_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",
"disabledAriaLabel": "This button is disabled at the moment"
},
"_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."
}
},
"_answers": [
["alpha"],
["beta"],
["gamma"],
["delta"]
],
"_items": [
{
"prefix": "",
"suffix": "",
"placeholder": "Enter answer here"
},
{
"prefix": "",
"suffix": "",
"placeholder": "Enter answer here"
},
{
"prefix": "",
"suffix": "",
"placeholder": "Enter answer here"
},
{
"prefix": "",
"suffix": "",
"placeholder": "Enter answer here"
}
],
"_pageLevelProgress": {
"_isEnabled": true
}
}