forked from jithin-space/h5p-ImageSequencing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
semantics.json
executable file
·184 lines (184 loc) · 4.93 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
[
{
"label": "Task Description",
"name": "taskDescription",
"type": "text",
"default": "Drag to arrange the images in the correct sequence",
"description": "A guide telling the user how to solve this task.",
"importance": "high"
},
{
"label": "Alternate Task Description",
"name": "altTaskDescription",
"type": "text",
"default": "Make the following list be ordered correctly. Use the cursor keys to navigate through the list items, use space to activate or deactivate an item and the cursor keys to move it",
"description": "A guide intended for visually impaired users on how to solve this task.",
"importance": "high"
},
{
"name": "sequenceImages",
"type": "list",
"widgets": [
{
"name": "VerticalTabs",
"label": "Default"
}
],
"label": "Images",
"importance": "high",
"entity": "image",
"min": 3,
"field": {
"type": "group",
"name": "imageElement",
"label": "Image Element",
"importance": "high",
"fields": [
{
"name": "image",
"type": "image",
"label": "Image",
"importance": "high"
},
{
"name": "imageDescription",
"type": "text",
"label": "Image Description",
"importance": "low",
"description": "An image description for users who cannot recognize the image"
},
{
"name": "audio",
"description": "An optional audio for the card to play",
"type": "audio",
"label": "Audio files",
"importance": "low",
"optional": true
}
]
}
},
{
"name": "behaviour",
"type": "group",
"label": "Behavioural settings",
"importance": "low",
"description": "These options will let you control how the game behaves.",
"optional": true,
"fields": [
{
"name": "enableSolution",
"type": "boolean",
"label": "Add a show solution button for the game",
"importance": "low",
"default": true
},
{
"name": "enableRetry",
"type": "boolean",
"label": "Add button for retrying when the game is over",
"importance": "low",
"default": true
},
{
"name": "enableResume",
"type": "boolean",
"label": "Add button for resuming from the current state ",
"importance": "low",
"default": true
}
]
},
{
"label": "Localization",
"importance": "low",
"name": "l10n",
"type": "group",
"common": true,
"fields": [
{
"label": "Total Moves text",
"importance": "low",
"name": "totalMoves",
"type": "text",
"default": "Total Moves"
},
{
"label": "Time spent text",
"importance": "low",
"name": "timeSpent",
"type": "text",
"default": "Time spent"
},
{
"label": "Feedback text",
"importance": "low",
"name": "score",
"type": "text",
"default": "You got @score of @total points",
"description": "Feedback text, variables available: @score and @total. Example: 'You got @score of @total possible points'"
},
{
"label": "Text for \"Check\" button",
"importance": "low",
"name": "checkAnswer",
"type": "text",
"default": "Check"
},
{
"label": "Text for \"Retry\" button",
"importance": "low",
"name": "tryAgain",
"type": "text",
"default": "Retry"
},
{
"label": "Text for \"Show Solution\" button",
"importance": "low",
"name": "showSolution",
"type": "text",
"default": "ShowSolution"
},
{
"label": "Text for \"Resume\" button",
"importance": "low",
"name": "resume",
"type": "text",
"default": "Resume"
},
{
"name": "audioNotSupported",
"type": "text",
"label": "Audio not supported message",
"importance": "low",
"common": true,
"default": "Audio Error"
},
{
"name": "ariaPlay",
"type": "text",
"label": "Play button (text for readspeakers)",
"importance": "low",
"common": true,
"default": "Play the corresponding audio"
},
{
"name": "ariaMoveDescription",
"type": "text",
"label": "Card moving description (text for readspeakers)",
"description": "@posSrc : card initial position, @posDes : card final position",
"importance": "low",
"common": true,
"default": "Moved @cardDesc from @posSrc to @posDes"
},
{
"name": "ariaCardDesc",
"type": "text",
"label": "Default Card Description (text for readspeakers)",
"importance": "low",
"common": true,
"default": "sequencing item"
}
]
}
]