@pie-element/image-cloze-association 10.1.2-next.2 → 10.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +437 -0
- package/CHANGELOG.md +1997 -0
- package/LICENSE.md +5 -0
- package/README.md +1 -0
- package/configure/CHANGELOG.json +197 -0
- package/configure/CHANGELOG.md +1600 -0
- package/configure/lib/defaults.js +86 -0
- package/configure/lib/defaults.js.map +1 -0
- package/configure/lib/index.js +99 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/root.js +135 -0
- package/configure/lib/root.js.map +1 -0
- package/configure/package.json +23 -0
- package/configure/src/__tests__/index.test.js +155 -0
- package/configure/src/defaults.js +59 -0
- package/configure/src/index.js +114 -0
- package/configure/src/root.jsx +116 -0
- package/controller/CHANGELOG.json +137 -0
- package/controller/CHANGELOG.md +1149 -0
- package/controller/lib/defaults.js +14 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +304 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/lib/utils.js +70 -0
- package/controller/lib/utils.js.map +1 -0
- package/controller/package.json +19 -0
- package/controller/src/__tests__/index.test.js +711 -0
- package/controller/src/defaults.js +7 -0
- package/controller/src/index.js +322 -0
- package/controller/src/utils.js +72 -0
- package/docs/config-schema.json +1382 -0
- package/docs/config-schema.json.md +1021 -0
- package/docs/demo/config.js +8 -0
- package/docs/demo/generate.js +74 -0
- package/docs/demo/index.html +1 -0
- package/docs/demo/session.js +16 -0
- package/docs/pie-schema.json +1085 -0
- package/docs/pie-schema.json.md +810 -0
- package/lib/constants.js +12 -0
- package/lib/constants.js.map +1 -0
- package/lib/evaluation-icon.js +60 -0
- package/lib/evaluation-icon.js.map +1 -0
- package/lib/image-container.js +94 -0
- package/lib/image-container.js.map +1 -0
- package/lib/image-drop-target.js +130 -0
- package/lib/image-drop-target.js.map +1 -0
- package/lib/index.js +220 -0
- package/lib/index.js.map +1 -0
- package/lib/interactive-section.js +104 -0
- package/lib/interactive-section.js.map +1 -0
- package/lib/possible-response.js +161 -0
- package/lib/possible-response.js.map +1 -0
- package/lib/possible-responses.js +58 -0
- package/lib/possible-responses.js.map +1 -0
- package/lib/root.js +491 -0
- package/lib/root.js.map +1 -0
- package/lib/static-html-span.js +35 -0
- package/lib/static-html-span.js.map +1 -0
- package/lib/utils-correctness.js +89 -0
- package/lib/utils-correctness.js.map +1 -0
- package/package.json +21 -86
- package/src/__tests__/index.test.js +174 -0
- package/src/__tests__/root.test.jsx +99 -0
- package/src/__tests__/utils.test.js +207 -0
- package/src/constants.js +5 -0
- package/src/evaluation-icon.jsx +54 -0
- package/src/image-container.jsx +90 -0
- package/src/image-drop-target.jsx +140 -0
- package/src/index.js +245 -0
- package/src/interactive-section.jsx +94 -0
- package/src/possible-response.jsx +152 -0
- package/src/possible-responses.jsx +52 -0
- package/src/root.jsx +490 -0
- package/src/static-html-span.jsx +30 -0
- package/src/utils-correctness.js +95 -0
- package/configure.js +0 -2
- package/controller.js +0 -1
- package/dist/author/defaults.d.ts +0 -88
- package/dist/author/defaults.js +0 -58
- package/dist/author/index.d.ts +0 -34
- package/dist/author/index.js +0 -71
- package/dist/author/root.d.ts +0 -14
- package/dist/author/root.js +0 -80
- package/dist/browser/Check-DL1c-mLM.js +0 -10708
- package/dist/browser/Check-DL1c-mLM.js.map +0 -1
- package/dist/browser/author/index.js +0 -38597
- package/dist/browser/author/index.js.map +0 -1
- package/dist/browser/controller/index.js +0 -171
- package/dist/browser/controller/index.js.map +0 -1
- package/dist/browser/delivery/index.js +0 -2699
- package/dist/browser/delivery/index.js.map +0 -1
- package/dist/browser/dist-BphSS14E.js +0 -346
- package/dist/browser/dist-BphSS14E.js.map +0 -1
- package/dist/browser/humps-CZ4RCLab.js +0 -67
- package/dist/browser/humps-CZ4RCLab.js.map +0 -1
- package/dist/browser/image-cloze-association.css +0 -2
- package/dist/controller/defaults.d.ts +0 -16
- package/dist/controller/defaults.js +0 -10
- package/dist/controller/index.d.ts +0 -23
- package/dist/controller/index.js +0 -122
- package/dist/controller/utils.d.ts +0 -14
- package/dist/controller/utils.js +0 -36
- package/dist/delivery/constants.d.ts +0 -14
- package/dist/delivery/evaluation-icon.d.ts +0 -28
- package/dist/delivery/evaluation-icon.js +0 -38
- package/dist/delivery/image-container.d.ts +0 -13
- package/dist/delivery/image-container.js +0 -61
- package/dist/delivery/image-drop-target.d.ts +0 -45
- package/dist/delivery/image-drop-target.js +0 -90
- package/dist/delivery/index.d.ts +0 -20
- package/dist/delivery/index.js +0 -110
- package/dist/delivery/interactive-section.d.ts +0 -15
- package/dist/delivery/interactive-section.js +0 -72
- package/dist/delivery/possible-response.d.ts +0 -34
- package/dist/delivery/possible-response.js +0 -100
- package/dist/delivery/possible-responses.d.ts +0 -31
- package/dist/delivery/possible-responses.js +0 -41
- package/dist/delivery/root.d.ts +0 -21
- package/dist/delivery/root.js +0 -278
- package/dist/delivery/static-html-span.d.ts +0 -14
- package/dist/delivery/static-html-span.js +0 -22
- package/dist/delivery/utils-correctness.d.ts +0 -10
- package/dist/delivery/utils-correctness.js +0 -43
- package/dist/index.d.ts +0 -1
- package/dist/index.iife.d.ts +0 -8
- package/dist/index.iife.js +0 -152
- package/dist/index.js +0 -2
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -16
- package/dist/runtime-support.d.ts +0 -12
- package/dist/runtime-support.js +0 -12
|
@@ -0,0 +1,1085 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Model for the @pie-elements/image-cloze-association Interaction",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"answerChoiceTransparency": {
|
|
7
|
+
"description": "Indicates in answer choices should have a transparent background. Default value is undefined.",
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"title": "answerChoiceTransparency"
|
|
10
|
+
},
|
|
11
|
+
"prompt": {
|
|
12
|
+
"description": "The question prompt or item stem",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"title": "prompt"
|
|
15
|
+
},
|
|
16
|
+
"rationaleEnabled": {
|
|
17
|
+
"description": "Indicates if Rationale is enabled",
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"title": "rationaleEnabled"
|
|
20
|
+
},
|
|
21
|
+
"spellCheckEnabled": {
|
|
22
|
+
"description": "Indicates if spellcheck is enabled for the author. Default value is true",
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"title": "spellCheckEnabled"
|
|
25
|
+
},
|
|
26
|
+
"teacherInstructionsEnabled": {
|
|
27
|
+
"description": "Indicates if Teacher Instructions are enabled",
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"title": "teacherInstructionsEnabled"
|
|
30
|
+
},
|
|
31
|
+
"studentInstructionsEnabled": {
|
|
32
|
+
"description": "Indicates if Student Instructions are enabled",
|
|
33
|
+
"type": "boolean",
|
|
34
|
+
"title": "studentInstructionsEnabled"
|
|
35
|
+
},
|
|
36
|
+
"image": {
|
|
37
|
+
"title": "Image",
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"src": {
|
|
41
|
+
"description": "The url of the image",
|
|
42
|
+
"type": "string",
|
|
43
|
+
"title": "src"
|
|
44
|
+
},
|
|
45
|
+
"width": {
|
|
46
|
+
"description": "The width of the image",
|
|
47
|
+
"type": "number",
|
|
48
|
+
"title": "width"
|
|
49
|
+
},
|
|
50
|
+
"height": {
|
|
51
|
+
"description": "The height of the image",
|
|
52
|
+
"type": "number",
|
|
53
|
+
"title": "height"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"responseContainers": {
|
|
58
|
+
"description": "List of the response containers\nThe response containers are the areas where the images are dragged in",
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"title": "ResponseContainer",
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"x": {
|
|
65
|
+
"description": "The x coordinate of the response container",
|
|
66
|
+
"type": "number",
|
|
67
|
+
"title": "x"
|
|
68
|
+
},
|
|
69
|
+
"y": {
|
|
70
|
+
"description": "The y coordinate of the response container",
|
|
71
|
+
"type": "number",
|
|
72
|
+
"title": "y"
|
|
73
|
+
},
|
|
74
|
+
"width": {
|
|
75
|
+
"description": "The width of the response container",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"title": "width"
|
|
78
|
+
},
|
|
79
|
+
"height": {
|
|
80
|
+
"description": "The height of the response container",
|
|
81
|
+
"type": "string",
|
|
82
|
+
"title": "height"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"title": "responseContainers"
|
|
87
|
+
},
|
|
88
|
+
"stimulus": {
|
|
89
|
+
"description": "The question stimulus",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"title": "stimulus"
|
|
92
|
+
},
|
|
93
|
+
"possibleResponses": {
|
|
94
|
+
"description": "List of img tags that are the possible responses",
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"title": "possibleResponses"
|
|
100
|
+
},
|
|
101
|
+
"validation": {
|
|
102
|
+
"title": "Validation",
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"validResponse": {
|
|
106
|
+
"title": "ValidResponse",
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"score": {
|
|
110
|
+
"description": "The score of the response",
|
|
111
|
+
"type": "number",
|
|
112
|
+
"title": "score"
|
|
113
|
+
},
|
|
114
|
+
"value": {
|
|
115
|
+
"description": "The value of the response\nEach value is an object with a property \"images\"",
|
|
116
|
+
"type": "object",
|
|
117
|
+
"properties": {
|
|
118
|
+
"images": {
|
|
119
|
+
"description": "An array containing a string that is a img tag",
|
|
120
|
+
"type": "array",
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"title": "images"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"title": "value"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"altResponses": {
|
|
132
|
+
"description": "List of alternate responses",
|
|
133
|
+
"type": "array",
|
|
134
|
+
"items": {
|
|
135
|
+
"title": "ValidResponse",
|
|
136
|
+
"type": "object",
|
|
137
|
+
"properties": {
|
|
138
|
+
"score": {
|
|
139
|
+
"description": "The score of the response",
|
|
140
|
+
"type": "number",
|
|
141
|
+
"title": "score"
|
|
142
|
+
},
|
|
143
|
+
"value": {
|
|
144
|
+
"description": "The value of the response\nEach value is an object with a property \"images\"",
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"images": {
|
|
148
|
+
"description": "An array containing a string that is a img tag",
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"type": "string"
|
|
152
|
+
},
|
|
153
|
+
"title": "images"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"title": "value"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"title": "altResponses"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"partialScoring": {
|
|
165
|
+
"description": "Indicates if the item should use partial scoring",
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"title": "partialScoring"
|
|
168
|
+
},
|
|
169
|
+
"maxResponsePerZone": {
|
|
170
|
+
"description": "Indicates how many responses can be placed in a response container",
|
|
171
|
+
"default": 1,
|
|
172
|
+
"type": "number",
|
|
173
|
+
"title": "maxResponsePerZone"
|
|
174
|
+
},
|
|
175
|
+
"duplicateResponses": {
|
|
176
|
+
"description": "Indicates if duplicate responses are allowed",
|
|
177
|
+
"type": "boolean",
|
|
178
|
+
"title": "duplicateResponses"
|
|
179
|
+
},
|
|
180
|
+
"showDashedBorder": {
|
|
181
|
+
"description": "Indicates if the response containers should have a dashed border",
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"title": "showDashedBorder"
|
|
184
|
+
},
|
|
185
|
+
"rubricEnabled": {
|
|
186
|
+
"description": "Indicates if Rubric is enabled",
|
|
187
|
+
"type": "boolean",
|
|
188
|
+
"title": "rubricEnabled"
|
|
189
|
+
},
|
|
190
|
+
"shuffle": {
|
|
191
|
+
"description": "Indicates if the possible responses have to be shuffled in the player",
|
|
192
|
+
"type": "boolean",
|
|
193
|
+
"title": "shuffle"
|
|
194
|
+
},
|
|
195
|
+
"language": {
|
|
196
|
+
"description": "Indicates the language of the component\nSupported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"title": "language"
|
|
199
|
+
},
|
|
200
|
+
"uiStyle": {
|
|
201
|
+
"description": "Indicates style options of the component\nSupported options: fontsize, possibilityListPosition (top, bottom, left, right)",
|
|
202
|
+
"type": "object",
|
|
203
|
+
"properties": {
|
|
204
|
+
"possibilityListPosition": {
|
|
205
|
+
"title": "ChoicesPosition",
|
|
206
|
+
"enum": [
|
|
207
|
+
"bottom",
|
|
208
|
+
"left",
|
|
209
|
+
"right",
|
|
210
|
+
"top"
|
|
211
|
+
],
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"fontsize": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"title": "fontsize"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"required": [
|
|
220
|
+
"fontsize"
|
|
221
|
+
],
|
|
222
|
+
"title": "uiStyle"
|
|
223
|
+
},
|
|
224
|
+
"responseAreaFill": {
|
|
225
|
+
"description": "Indicates the background color of the response area",
|
|
226
|
+
"type": "string",
|
|
227
|
+
"title": "responseAreaFill"
|
|
228
|
+
},
|
|
229
|
+
"responseContainerPadding": {
|
|
230
|
+
"description": "Indicates padding of the response container",
|
|
231
|
+
"type": "string",
|
|
232
|
+
"title": "responseContainerPadding"
|
|
233
|
+
},
|
|
234
|
+
"imageDropTargetPadding": {
|
|
235
|
+
"description": "Indicates the padding of the image drop target",
|
|
236
|
+
"type": "string",
|
|
237
|
+
"title": "imageDropTargetPadding"
|
|
238
|
+
},
|
|
239
|
+
"fontSizeFactor": {
|
|
240
|
+
"description": "Indicates font size adjustment factor",
|
|
241
|
+
"type": "number",
|
|
242
|
+
"title": "fontSizeFactor"
|
|
243
|
+
},
|
|
244
|
+
"autoplayAudioEnabled": {
|
|
245
|
+
"description": "Indicates if the audio for the prompt should autoplay",
|
|
246
|
+
"type": "boolean",
|
|
247
|
+
"title": "autoplayAudioEnabled"
|
|
248
|
+
},
|
|
249
|
+
"completeAudioEnabled": {
|
|
250
|
+
"description": "Indicates if the audio should reach the end before the item can be marked as 'complete'",
|
|
251
|
+
"type": "boolean",
|
|
252
|
+
"title": "completeAudioEnabled"
|
|
253
|
+
},
|
|
254
|
+
"customAudioButton": {
|
|
255
|
+
"description": "Indicates if the audio should be replaced with a custom audio button\n playImage: image url for the play state\n pauseImage: image url for the pause state",
|
|
256
|
+
"type": "object",
|
|
257
|
+
"properties": {
|
|
258
|
+
"playImage": {
|
|
259
|
+
"type": "string",
|
|
260
|
+
"title": "playImage"
|
|
261
|
+
},
|
|
262
|
+
"pauseImage": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"title": "pauseImage"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": [
|
|
268
|
+
"pauseImage",
|
|
269
|
+
"playImage"
|
|
270
|
+
],
|
|
271
|
+
"title": "customAudioButton"
|
|
272
|
+
},
|
|
273
|
+
"id": {
|
|
274
|
+
"description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
|
|
275
|
+
"type": "string",
|
|
276
|
+
"title": "id"
|
|
277
|
+
},
|
|
278
|
+
"element": {
|
|
279
|
+
"description": "The html Element tag name",
|
|
280
|
+
"type": "string",
|
|
281
|
+
"title": "element"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"required": [
|
|
285
|
+
"element",
|
|
286
|
+
"id",
|
|
287
|
+
"rubricEnabled",
|
|
288
|
+
"spellCheckEnabled"
|
|
289
|
+
],
|
|
290
|
+
"definitions": {
|
|
291
|
+
"EditableHtmlConfigureProp": {
|
|
292
|
+
"title": "EditableHtmlConfigureProp",
|
|
293
|
+
"type": "object",
|
|
294
|
+
"properties": {
|
|
295
|
+
"math": {
|
|
296
|
+
"title": "EditableHtmlButtonConfigure",
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {
|
|
299
|
+
"disabled": {
|
|
300
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
301
|
+
"type": "boolean",
|
|
302
|
+
"title": "disabled"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"audio": {
|
|
307
|
+
"title": "EditableHtmlButtonConfigure",
|
|
308
|
+
"type": "object",
|
|
309
|
+
"properties": {
|
|
310
|
+
"disabled": {
|
|
311
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
312
|
+
"type": "boolean",
|
|
313
|
+
"title": "disabled"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"video": {
|
|
318
|
+
"title": "EditableHtmlButtonConfigure",
|
|
319
|
+
"type": "object",
|
|
320
|
+
"properties": {
|
|
321
|
+
"disabled": {
|
|
322
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
323
|
+
"type": "boolean",
|
|
324
|
+
"title": "disabled"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"image": {
|
|
329
|
+
"title": "EditableHtmlButtonConfigure",
|
|
330
|
+
"type": "object",
|
|
331
|
+
"properties": {
|
|
332
|
+
"disabled": {
|
|
333
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
334
|
+
"type": "boolean",
|
|
335
|
+
"title": "disabled"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"customPlugins": {
|
|
340
|
+
"description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
|
|
341
|
+
"type": "array",
|
|
342
|
+
"items": {
|
|
343
|
+
"title": "CustomPlugin",
|
|
344
|
+
"type": "object",
|
|
345
|
+
"properties": {
|
|
346
|
+
"event": {
|
|
347
|
+
"description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
|
|
348
|
+
"type": "string",
|
|
349
|
+
"title": "event"
|
|
350
|
+
},
|
|
351
|
+
"iconAlt": {
|
|
352
|
+
"description": "The alt for the custom button icon",
|
|
353
|
+
"type": "string",
|
|
354
|
+
"title": "iconAlt"
|
|
355
|
+
},
|
|
356
|
+
"iconType": {
|
|
357
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
358
|
+
"type": "string",
|
|
359
|
+
"title": "iconType"
|
|
360
|
+
},
|
|
361
|
+
"icon": {
|
|
362
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
363
|
+
"type": "string",
|
|
364
|
+
"title": "icon"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"required": [
|
|
368
|
+
"event",
|
|
369
|
+
"icon",
|
|
370
|
+
"iconAlt",
|
|
371
|
+
"iconType"
|
|
372
|
+
]
|
|
373
|
+
},
|
|
374
|
+
"title": "customPlugins"
|
|
375
|
+
},
|
|
376
|
+
"blockquote": {
|
|
377
|
+
"title": "EditableHtmlButtonConfigure",
|
|
378
|
+
"type": "object",
|
|
379
|
+
"properties": {
|
|
380
|
+
"disabled": {
|
|
381
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
382
|
+
"type": "boolean",
|
|
383
|
+
"title": "disabled"
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"h3": {
|
|
388
|
+
"title": "EditableHtmlButtonConfigure",
|
|
389
|
+
"type": "object",
|
|
390
|
+
"properties": {
|
|
391
|
+
"disabled": {
|
|
392
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
393
|
+
"type": "boolean",
|
|
394
|
+
"title": "disabled"
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"characters": {
|
|
399
|
+
"title": "EditableHtmlButtonConfigure",
|
|
400
|
+
"type": "object",
|
|
401
|
+
"properties": {
|
|
402
|
+
"disabled": {
|
|
403
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
404
|
+
"type": "boolean",
|
|
405
|
+
"title": "disabled"
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"bold": {
|
|
410
|
+
"title": "EditableHtmlButtonConfigure",
|
|
411
|
+
"type": "object",
|
|
412
|
+
"properties": {
|
|
413
|
+
"disabled": {
|
|
414
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
415
|
+
"type": "boolean",
|
|
416
|
+
"title": "disabled"
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"html": {
|
|
421
|
+
"title": "EditableHtmlButtonConfigure",
|
|
422
|
+
"type": "object",
|
|
423
|
+
"properties": {
|
|
424
|
+
"disabled": {
|
|
425
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
426
|
+
"type": "boolean",
|
|
427
|
+
"title": "disabled"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"italic": {
|
|
432
|
+
"title": "EditableHtmlButtonConfigure",
|
|
433
|
+
"type": "object",
|
|
434
|
+
"properties": {
|
|
435
|
+
"disabled": {
|
|
436
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
437
|
+
"type": "boolean",
|
|
438
|
+
"title": "disabled"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"ol_list": {
|
|
443
|
+
"title": "EditableHtmlButtonConfigure",
|
|
444
|
+
"type": "object",
|
|
445
|
+
"properties": {
|
|
446
|
+
"disabled": {
|
|
447
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
448
|
+
"type": "boolean",
|
|
449
|
+
"title": "disabled"
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"redo": {
|
|
454
|
+
"title": "EditableHtmlButtonConfigure",
|
|
455
|
+
"type": "object",
|
|
456
|
+
"properties": {
|
|
457
|
+
"disabled": {
|
|
458
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
459
|
+
"type": "boolean",
|
|
460
|
+
"title": "disabled"
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"strikethrough": {
|
|
465
|
+
"title": "EditableHtmlButtonConfigure",
|
|
466
|
+
"type": "object",
|
|
467
|
+
"properties": {
|
|
468
|
+
"disabled": {
|
|
469
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
470
|
+
"type": "boolean",
|
|
471
|
+
"title": "disabled"
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"sub": {
|
|
476
|
+
"title": "EditableHtmlButtonConfigure",
|
|
477
|
+
"type": "object",
|
|
478
|
+
"properties": {
|
|
479
|
+
"disabled": {
|
|
480
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
481
|
+
"type": "boolean",
|
|
482
|
+
"title": "disabled"
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"sup": {
|
|
487
|
+
"title": "EditableHtmlButtonConfigure",
|
|
488
|
+
"type": "object",
|
|
489
|
+
"properties": {
|
|
490
|
+
"disabled": {
|
|
491
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
492
|
+
"type": "boolean",
|
|
493
|
+
"title": "disabled"
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"table": {
|
|
498
|
+
"title": "EditableHtmlButtonConfigure",
|
|
499
|
+
"type": "object",
|
|
500
|
+
"properties": {
|
|
501
|
+
"disabled": {
|
|
502
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
503
|
+
"type": "boolean",
|
|
504
|
+
"title": "disabled"
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"ul_list": {
|
|
509
|
+
"title": "EditableHtmlButtonConfigure",
|
|
510
|
+
"type": "object",
|
|
511
|
+
"properties": {
|
|
512
|
+
"disabled": {
|
|
513
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
514
|
+
"type": "boolean",
|
|
515
|
+
"title": "disabled"
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"underline": {
|
|
520
|
+
"title": "EditableHtmlButtonConfigure",
|
|
521
|
+
"type": "object",
|
|
522
|
+
"properties": {
|
|
523
|
+
"disabled": {
|
|
524
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
525
|
+
"type": "boolean",
|
|
526
|
+
"title": "disabled"
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"undo": {
|
|
531
|
+
"title": "EditableHtmlButtonConfigure",
|
|
532
|
+
"type": "object",
|
|
533
|
+
"properties": {
|
|
534
|
+
"disabled": {
|
|
535
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
536
|
+
"type": "boolean",
|
|
537
|
+
"title": "disabled"
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"EditableHtmlButtonConfigure": {
|
|
544
|
+
"title": "EditableHtmlButtonConfigure",
|
|
545
|
+
"type": "object",
|
|
546
|
+
"properties": {
|
|
547
|
+
"disabled": {
|
|
548
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
549
|
+
"type": "boolean",
|
|
550
|
+
"title": "disabled"
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"CustomPlugin": {
|
|
555
|
+
"title": "CustomPlugin",
|
|
556
|
+
"type": "object",
|
|
557
|
+
"properties": {
|
|
558
|
+
"event": {
|
|
559
|
+
"description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
|
|
560
|
+
"type": "string",
|
|
561
|
+
"title": "event"
|
|
562
|
+
},
|
|
563
|
+
"iconAlt": {
|
|
564
|
+
"description": "The alt for the custom button icon",
|
|
565
|
+
"type": "string",
|
|
566
|
+
"title": "iconAlt"
|
|
567
|
+
},
|
|
568
|
+
"iconType": {
|
|
569
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
570
|
+
"type": "string",
|
|
571
|
+
"title": "iconType"
|
|
572
|
+
},
|
|
573
|
+
"icon": {
|
|
574
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
575
|
+
"type": "string",
|
|
576
|
+
"title": "icon"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
"required": [
|
|
580
|
+
"event",
|
|
581
|
+
"icon",
|
|
582
|
+
"iconAlt",
|
|
583
|
+
"iconType"
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
"ConfigureMaxImageDimensionsProp": {
|
|
587
|
+
"title": "ConfigureMaxImageDimensionsProp",
|
|
588
|
+
"type": "object",
|
|
589
|
+
"properties": {
|
|
590
|
+
"teacherInstructions": {
|
|
591
|
+
"description": "Indicates the max dimension for images in teacher instructions",
|
|
592
|
+
"type": "number",
|
|
593
|
+
"title": "teacherInstructions"
|
|
594
|
+
},
|
|
595
|
+
"prompt": {
|
|
596
|
+
"description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
|
|
597
|
+
"type": "number",
|
|
598
|
+
"title": "prompt"
|
|
599
|
+
},
|
|
600
|
+
"rationale": {
|
|
601
|
+
"description": "Indicates the max dimension for images in rationale",
|
|
602
|
+
"type": "number",
|
|
603
|
+
"title": "rationale"
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"ConfigureProp": {
|
|
608
|
+
"title": "ConfigureProp",
|
|
609
|
+
"type": "object",
|
|
610
|
+
"properties": {
|
|
611
|
+
"settings": {
|
|
612
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
613
|
+
"type": "boolean",
|
|
614
|
+
"title": "settings"
|
|
615
|
+
},
|
|
616
|
+
"label": {
|
|
617
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
618
|
+
"type": "string",
|
|
619
|
+
"title": "label"
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
"EditableHtmlPluginConfigureRequired": {
|
|
624
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
625
|
+
"type": "object",
|
|
626
|
+
"properties": {
|
|
627
|
+
"inputConfiguration": {
|
|
628
|
+
"title": "EditableHtmlConfigureProp",
|
|
629
|
+
"type": "object",
|
|
630
|
+
"properties": {
|
|
631
|
+
"math": {
|
|
632
|
+
"title": "EditableHtmlButtonConfigure",
|
|
633
|
+
"type": "object",
|
|
634
|
+
"properties": {
|
|
635
|
+
"disabled": {
|
|
636
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
637
|
+
"type": "boolean",
|
|
638
|
+
"title": "disabled"
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"audio": {
|
|
643
|
+
"title": "EditableHtmlButtonConfigure",
|
|
644
|
+
"type": "object",
|
|
645
|
+
"properties": {
|
|
646
|
+
"disabled": {
|
|
647
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
648
|
+
"type": "boolean",
|
|
649
|
+
"title": "disabled"
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"video": {
|
|
654
|
+
"title": "EditableHtmlButtonConfigure",
|
|
655
|
+
"type": "object",
|
|
656
|
+
"properties": {
|
|
657
|
+
"disabled": {
|
|
658
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
659
|
+
"type": "boolean",
|
|
660
|
+
"title": "disabled"
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
"image": {
|
|
665
|
+
"title": "EditableHtmlButtonConfigure",
|
|
666
|
+
"type": "object",
|
|
667
|
+
"properties": {
|
|
668
|
+
"disabled": {
|
|
669
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
670
|
+
"type": "boolean",
|
|
671
|
+
"title": "disabled"
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
"customPlugins": {
|
|
676
|
+
"description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
|
|
677
|
+
"type": "array",
|
|
678
|
+
"items": {
|
|
679
|
+
"title": "CustomPlugin",
|
|
680
|
+
"type": "object",
|
|
681
|
+
"properties": {
|
|
682
|
+
"event": {
|
|
683
|
+
"description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
|
|
684
|
+
"type": "string",
|
|
685
|
+
"title": "event"
|
|
686
|
+
},
|
|
687
|
+
"iconAlt": {
|
|
688
|
+
"description": "The alt for the custom button icon",
|
|
689
|
+
"type": "string",
|
|
690
|
+
"title": "iconAlt"
|
|
691
|
+
},
|
|
692
|
+
"iconType": {
|
|
693
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
694
|
+
"type": "string",
|
|
695
|
+
"title": "iconType"
|
|
696
|
+
},
|
|
697
|
+
"icon": {
|
|
698
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
699
|
+
"type": "string",
|
|
700
|
+
"title": "icon"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"required": [
|
|
704
|
+
"event",
|
|
705
|
+
"icon",
|
|
706
|
+
"iconAlt",
|
|
707
|
+
"iconType"
|
|
708
|
+
]
|
|
709
|
+
},
|
|
710
|
+
"title": "customPlugins"
|
|
711
|
+
},
|
|
712
|
+
"blockquote": {
|
|
713
|
+
"title": "EditableHtmlButtonConfigure",
|
|
714
|
+
"type": "object",
|
|
715
|
+
"properties": {
|
|
716
|
+
"disabled": {
|
|
717
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
718
|
+
"type": "boolean",
|
|
719
|
+
"title": "disabled"
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"h3": {
|
|
724
|
+
"title": "EditableHtmlButtonConfigure",
|
|
725
|
+
"type": "object",
|
|
726
|
+
"properties": {
|
|
727
|
+
"disabled": {
|
|
728
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
729
|
+
"type": "boolean",
|
|
730
|
+
"title": "disabled"
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"characters": {
|
|
735
|
+
"title": "EditableHtmlButtonConfigure",
|
|
736
|
+
"type": "object",
|
|
737
|
+
"properties": {
|
|
738
|
+
"disabled": {
|
|
739
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
740
|
+
"type": "boolean",
|
|
741
|
+
"title": "disabled"
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
"bold": {
|
|
746
|
+
"title": "EditableHtmlButtonConfigure",
|
|
747
|
+
"type": "object",
|
|
748
|
+
"properties": {
|
|
749
|
+
"disabled": {
|
|
750
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
751
|
+
"type": "boolean",
|
|
752
|
+
"title": "disabled"
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
"html": {
|
|
757
|
+
"title": "EditableHtmlButtonConfigure",
|
|
758
|
+
"type": "object",
|
|
759
|
+
"properties": {
|
|
760
|
+
"disabled": {
|
|
761
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
762
|
+
"type": "boolean",
|
|
763
|
+
"title": "disabled"
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"italic": {
|
|
768
|
+
"title": "EditableHtmlButtonConfigure",
|
|
769
|
+
"type": "object",
|
|
770
|
+
"properties": {
|
|
771
|
+
"disabled": {
|
|
772
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
773
|
+
"type": "boolean",
|
|
774
|
+
"title": "disabled"
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"ol_list": {
|
|
779
|
+
"title": "EditableHtmlButtonConfigure",
|
|
780
|
+
"type": "object",
|
|
781
|
+
"properties": {
|
|
782
|
+
"disabled": {
|
|
783
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
784
|
+
"type": "boolean",
|
|
785
|
+
"title": "disabled"
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
"redo": {
|
|
790
|
+
"title": "EditableHtmlButtonConfigure",
|
|
791
|
+
"type": "object",
|
|
792
|
+
"properties": {
|
|
793
|
+
"disabled": {
|
|
794
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
795
|
+
"type": "boolean",
|
|
796
|
+
"title": "disabled"
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"strikethrough": {
|
|
801
|
+
"title": "EditableHtmlButtonConfigure",
|
|
802
|
+
"type": "object",
|
|
803
|
+
"properties": {
|
|
804
|
+
"disabled": {
|
|
805
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
806
|
+
"type": "boolean",
|
|
807
|
+
"title": "disabled"
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"sub": {
|
|
812
|
+
"title": "EditableHtmlButtonConfigure",
|
|
813
|
+
"type": "object",
|
|
814
|
+
"properties": {
|
|
815
|
+
"disabled": {
|
|
816
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
817
|
+
"type": "boolean",
|
|
818
|
+
"title": "disabled"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"sup": {
|
|
823
|
+
"title": "EditableHtmlButtonConfigure",
|
|
824
|
+
"type": "object",
|
|
825
|
+
"properties": {
|
|
826
|
+
"disabled": {
|
|
827
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
828
|
+
"type": "boolean",
|
|
829
|
+
"title": "disabled"
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
"table": {
|
|
834
|
+
"title": "EditableHtmlButtonConfigure",
|
|
835
|
+
"type": "object",
|
|
836
|
+
"properties": {
|
|
837
|
+
"disabled": {
|
|
838
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
839
|
+
"type": "boolean",
|
|
840
|
+
"title": "disabled"
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"ul_list": {
|
|
845
|
+
"title": "EditableHtmlButtonConfigure",
|
|
846
|
+
"type": "object",
|
|
847
|
+
"properties": {
|
|
848
|
+
"disabled": {
|
|
849
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
850
|
+
"type": "boolean",
|
|
851
|
+
"title": "disabled"
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"underline": {
|
|
856
|
+
"title": "EditableHtmlButtonConfigure",
|
|
857
|
+
"type": "object",
|
|
858
|
+
"properties": {
|
|
859
|
+
"disabled": {
|
|
860
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
861
|
+
"type": "boolean",
|
|
862
|
+
"title": "disabled"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"undo": {
|
|
867
|
+
"title": "EditableHtmlButtonConfigure",
|
|
868
|
+
"type": "object",
|
|
869
|
+
"properties": {
|
|
870
|
+
"disabled": {
|
|
871
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
872
|
+
"type": "boolean",
|
|
873
|
+
"title": "disabled"
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
"required": {
|
|
880
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
881
|
+
"type": "boolean",
|
|
882
|
+
"title": "required"
|
|
883
|
+
},
|
|
884
|
+
"settings": {
|
|
885
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
886
|
+
"type": "boolean",
|
|
887
|
+
"title": "settings"
|
|
888
|
+
},
|
|
889
|
+
"label": {
|
|
890
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
891
|
+
"type": "string",
|
|
892
|
+
"title": "label"
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"ConfigurePropWithEnabled": {
|
|
897
|
+
"title": "ConfigurePropWithEnabled",
|
|
898
|
+
"type": "object",
|
|
899
|
+
"properties": {
|
|
900
|
+
"enabled": {
|
|
901
|
+
"description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
|
|
902
|
+
"type": "boolean",
|
|
903
|
+
"title": "enabled"
|
|
904
|
+
},
|
|
905
|
+
"settings": {
|
|
906
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
907
|
+
"type": "boolean",
|
|
908
|
+
"title": "settings"
|
|
909
|
+
},
|
|
910
|
+
"label": {
|
|
911
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
912
|
+
"type": "string",
|
|
913
|
+
"title": "label"
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"ConfigureLanguageOptionsProp": {
|
|
918
|
+
"title": "ConfigureLanguageOptionsProp",
|
|
919
|
+
"type": "object",
|
|
920
|
+
"properties": {
|
|
921
|
+
"value": {
|
|
922
|
+
"description": "Value of the language option",
|
|
923
|
+
"type": "string",
|
|
924
|
+
"title": "value"
|
|
925
|
+
},
|
|
926
|
+
"label": {
|
|
927
|
+
"description": "Label of the language option",
|
|
928
|
+
"type": "string",
|
|
929
|
+
"title": "label"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
"required": [
|
|
933
|
+
"label",
|
|
934
|
+
"value"
|
|
935
|
+
]
|
|
936
|
+
},
|
|
937
|
+
"Image": {
|
|
938
|
+
"title": "Image",
|
|
939
|
+
"type": "object",
|
|
940
|
+
"properties": {
|
|
941
|
+
"src": {
|
|
942
|
+
"description": "The url of the image",
|
|
943
|
+
"type": "string",
|
|
944
|
+
"title": "src"
|
|
945
|
+
},
|
|
946
|
+
"width": {
|
|
947
|
+
"description": "The width of the image",
|
|
948
|
+
"type": "number",
|
|
949
|
+
"title": "width"
|
|
950
|
+
},
|
|
951
|
+
"height": {
|
|
952
|
+
"description": "The height of the image",
|
|
953
|
+
"type": "number",
|
|
954
|
+
"title": "height"
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
"ResponseContainer": {
|
|
959
|
+
"title": "ResponseContainer",
|
|
960
|
+
"type": "object",
|
|
961
|
+
"properties": {
|
|
962
|
+
"x": {
|
|
963
|
+
"description": "The x coordinate of the response container",
|
|
964
|
+
"type": "number",
|
|
965
|
+
"title": "x"
|
|
966
|
+
},
|
|
967
|
+
"y": {
|
|
968
|
+
"description": "The y coordinate of the response container",
|
|
969
|
+
"type": "number",
|
|
970
|
+
"title": "y"
|
|
971
|
+
},
|
|
972
|
+
"width": {
|
|
973
|
+
"description": "The width of the response container",
|
|
974
|
+
"type": "string",
|
|
975
|
+
"title": "width"
|
|
976
|
+
},
|
|
977
|
+
"height": {
|
|
978
|
+
"description": "The height of the response container",
|
|
979
|
+
"type": "string",
|
|
980
|
+
"title": "height"
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
"Validation": {
|
|
985
|
+
"title": "Validation",
|
|
986
|
+
"type": "object",
|
|
987
|
+
"properties": {
|
|
988
|
+
"validResponse": {
|
|
989
|
+
"title": "ValidResponse",
|
|
990
|
+
"type": "object",
|
|
991
|
+
"properties": {
|
|
992
|
+
"score": {
|
|
993
|
+
"description": "The score of the response",
|
|
994
|
+
"type": "number",
|
|
995
|
+
"title": "score"
|
|
996
|
+
},
|
|
997
|
+
"value": {
|
|
998
|
+
"description": "The value of the response\nEach value is an object with a property \"images\"",
|
|
999
|
+
"type": "object",
|
|
1000
|
+
"properties": {
|
|
1001
|
+
"images": {
|
|
1002
|
+
"description": "An array containing a string that is a img tag",
|
|
1003
|
+
"type": "array",
|
|
1004
|
+
"items": {
|
|
1005
|
+
"type": "string"
|
|
1006
|
+
},
|
|
1007
|
+
"title": "images"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
"title": "value"
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
"altResponses": {
|
|
1015
|
+
"description": "List of alternate responses",
|
|
1016
|
+
"type": "array",
|
|
1017
|
+
"items": {
|
|
1018
|
+
"title": "ValidResponse",
|
|
1019
|
+
"type": "object",
|
|
1020
|
+
"properties": {
|
|
1021
|
+
"score": {
|
|
1022
|
+
"description": "The score of the response",
|
|
1023
|
+
"type": "number",
|
|
1024
|
+
"title": "score"
|
|
1025
|
+
},
|
|
1026
|
+
"value": {
|
|
1027
|
+
"description": "The value of the response\nEach value is an object with a property \"images\"",
|
|
1028
|
+
"type": "object",
|
|
1029
|
+
"properties": {
|
|
1030
|
+
"images": {
|
|
1031
|
+
"description": "An array containing a string that is a img tag",
|
|
1032
|
+
"type": "array",
|
|
1033
|
+
"items": {
|
|
1034
|
+
"type": "string"
|
|
1035
|
+
},
|
|
1036
|
+
"title": "images"
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
"title": "value"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
"title": "altResponses"
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
"ValidResponse": {
|
|
1048
|
+
"title": "ValidResponse",
|
|
1049
|
+
"type": "object",
|
|
1050
|
+
"properties": {
|
|
1051
|
+
"score": {
|
|
1052
|
+
"description": "The score of the response",
|
|
1053
|
+
"type": "number",
|
|
1054
|
+
"title": "score"
|
|
1055
|
+
},
|
|
1056
|
+
"value": {
|
|
1057
|
+
"description": "The value of the response\nEach value is an object with a property \"images\"",
|
|
1058
|
+
"type": "object",
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"images": {
|
|
1061
|
+
"description": "An array containing a string that is a img tag",
|
|
1062
|
+
"type": "array",
|
|
1063
|
+
"items": {
|
|
1064
|
+
"type": "string"
|
|
1065
|
+
},
|
|
1066
|
+
"title": "images"
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"title": "value"
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
"ChoicesPosition": {
|
|
1074
|
+
"title": "ChoicesPosition",
|
|
1075
|
+
"enum": [
|
|
1076
|
+
"bottom",
|
|
1077
|
+
"left",
|
|
1078
|
+
"right",
|
|
1079
|
+
"top"
|
|
1080
|
+
],
|
|
1081
|
+
"type": "string"
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1085
|
+
}
|