-
Notifications
You must be signed in to change notification settings - Fork 56
/
semantics.json
239 lines (239 loc) · 6.02 KB
/
semantics.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
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
[
{
"name": "description",
"type": "text",
"label": "Task description",
"importance": "high"
},
{
"name": "cards",
"type": "list",
"widgets": [
{
"name": "VerticalTabs",
"label": "Default"
}
],
"label": "Cards",
"entity": "card",
"importance": "high",
"min": 1,
"defaultNum": 1,
"field": {
"name": "card",
"type": "group",
"label": "Card",
"importance": "high",
"fields": [
{
"name": "text",
"type": "text",
"label": "Question",
"importance": "high",
"optional": true,
"description": "Optional textual question for the card. (The card may use just an image, just a text or both)"
},
{
"name": "answer",
"type": "text",
"label": "Answer",
"importance": "high",
"optional": true,
"description": "Answer (solution) for the card. Use a forward slash / to split alternative solutions. Use \\/ if a solution should contain a /."
},
{
"name": "image",
"type": "image",
"label": "Image",
"importance": "high",
"optional": true,
"description": "Optional image for the card. (The card may use just an image, just a text or both)"
},
{
"name": "imageAltText",
"type": "text",
"label": "Alternative text for image",
"importance": "high",
"optional": true
},
{
"name": "tip",
"type": "group",
"label": "Tip",
"importance": "low",
"optional": true,
"fields": [
{
"name": "tip",
"label": "Tip text",
"importance": "low",
"type": "text",
"widget": "html",
"tags": [
"p",
"br",
"strong",
"em",
"code"
],
"optional": true
}
]
}
]
}
},
{
"label": "Progress text",
"name": "progressText",
"type": "text",
"default": "Card @card of @total",
"importance": "low",
"description": "Progress text, variables available: @card and @total. Example: 'Card @card of @total'",
"common": true
},
{
"label": "Text for the next button",
"name": "next",
"type": "text",
"default": "Next",
"importance": "low",
"common": true
},
{
"label": "Text for the previous button",
"name": "previous",
"type": "text",
"default": "Previous",
"importance": "low",
"common": true
},
{
"label": "Text for the check answers button",
"name": "checkAnswerText",
"type": "text",
"default": "Check",
"importance": "low",
"common": true
},
{
"label": "Require user input before the solution can be viewed",
"name": "showSolutionsRequiresInput",
"type": "boolean",
"default": true,
"importance": "low",
"optional": true
},
{
"label": "Text for the answer input field",
"name": "defaultAnswerText",
"type": "text",
"default": "Your answer",
"importance": "low",
"common": true
},
{
"label": "Text for correct answer",
"name": "correctAnswerText",
"type": "text",
"default": "Correct",
"importance": "low",
"common": true
},
{
"label": "Text for incorrect answer",
"name": "incorrectAnswerText",
"type": "text",
"default": "Incorrect",
"importance": "low",
"common": true
},
{
"label": "Show solution text",
"name": "showSolutionText",
"type": "text",
"default": "Correct answer(s)",
"importance": "low",
"common": true
},
{
"label": "Text for results title",
"name": "results",
"type": "text",
"default": "Results",
"importance": "low",
"common": true
},
{
"label": "Text for number of correct",
"name": "ofCorrect",
"type": "text",
"default": "@score of @total correct",
"importance": "low",
"description": "Result text, variables available: @score and @total. Example: '@score of @total correct'",
"common": true
},
{
"label": "Text for show results",
"name": "showResults",
"type": "text",
"default": "Show results",
"importance": "low",
"common": true
},
{
"label": "Text for short answer label",
"name": "answerShortText",
"type": "text",
"default": "A:",
"importance": "low",
"common": true
},
{
"label": "Text for \"retry\" button",
"name": "retry",
"type": "text",
"default": "Retry",
"importance": "low",
"common": true
},
{
"label": "Case sensitive",
"name": "caseSensitive",
"type": "boolean",
"default": false,
"description": "Makes sure the user input has to be exactly the same as the answer."
},
{
"label": "Incorrect text for assistive technologies",
"name": "cardAnnouncement",
"type": "text",
"default": "Incorrect answer. Correct answer was @answer",
"description": "Text that will be announced to assistive technologies. Use @answer as variable.",
"common": true
},
{
"label": "Correct feedback text for assistive technologies",
"name": "correctAnswerAnnouncement",
"type": "text",
"default": "@answer is correct.",
"description": "Text that will be announced to assistive technologies when a card is answered correctly. Use @answer as variable.",
"common": true
},
{
"label": "Card change for assistive technologies",
"name": "pageAnnouncement",
"type": "text",
"default": "Page @current of @total",
"description": "Text that will be announced to assistive technologies when navigating between cards. Use @current and @total as variables.",
"common": true
},
{
"name": "randomCards",
"type": "boolean",
"label": "Randomize cards",
"importance": "low",
"description": "Enable to randomize the order of cards on display.",
"default": false
}
]