@pie-element/match 12.1.2-next.2 → 12.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.
Files changed (97) hide show
  1. package/CHANGELOG.json +1462 -0
  2. package/CHANGELOG.md +2337 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/configure/CHANGELOG.json +892 -0
  6. package/configure/CHANGELOG.md +2040 -0
  7. package/configure/lib/add-row.js +40 -0
  8. package/configure/lib/add-row.js.map +1 -0
  9. package/configure/lib/answer-config-block.js +288 -0
  10. package/configure/lib/answer-config-block.js.map +1 -0
  11. package/configure/lib/common.js +31 -0
  12. package/configure/lib/common.js.map +1 -0
  13. package/configure/lib/configure.js +410 -0
  14. package/configure/lib/configure.js.map +1 -0
  15. package/configure/lib/defaults.js +201 -0
  16. package/configure/lib/defaults.js.map +1 -0
  17. package/configure/lib/general-config-block.js +144 -0
  18. package/configure/lib/general-config-block.js.map +1 -0
  19. package/configure/lib/index.js +152 -0
  20. package/configure/lib/index.js.map +1 -0
  21. package/configure/lib/row.js +321 -0
  22. package/configure/lib/row.js.map +1 -0
  23. package/configure/lib/utils.js +12 -0
  24. package/configure/lib/utils.js.map +1 -0
  25. package/configure/package.json +29 -0
  26. package/configure/utils.js +19 -0
  27. package/controller/CHANGELOG.json +502 -0
  28. package/controller/CHANGELOG.md +1363 -0
  29. package/controller/lib/defaults.js +25 -0
  30. package/controller/lib/defaults.js.map +1 -0
  31. package/controller/lib/index.js +424 -0
  32. package/controller/lib/index.js.map +1 -0
  33. package/controller/package.json +24 -0
  34. package/docs/config-schema.json +2929 -0
  35. package/docs/config-schema.json.md +2162 -0
  36. package/docs/demo/config.js +8 -0
  37. package/docs/demo/generate.js +49 -0
  38. package/docs/demo/index.html +1 -0
  39. package/docs/demo/session.js +11 -0
  40. package/docs/pie-schema.json +1530 -0
  41. package/docs/pie-schema.json.md +907 -0
  42. package/lib/answer-grid.js +166 -0
  43. package/lib/answer-grid.js.map +1 -0
  44. package/lib/index.js +85 -0
  45. package/lib/index.js.map +1 -0
  46. package/lib/main.js +163 -0
  47. package/lib/main.js.map +1 -0
  48. package/package.json +21 -87
  49. package/configure.js +0 -2
  50. package/controller.js +0 -1
  51. package/dist/author/add-row.d.ts +0 -17
  52. package/dist/author/add-row.js +0 -24
  53. package/dist/author/answer-config-block.d.ts +0 -36
  54. package/dist/author/answer-config-block.js +0 -176
  55. package/dist/author/common.d.ts +0 -22
  56. package/dist/author/configure.d.ts +0 -48
  57. package/dist/author/configure.js +0 -259
  58. package/dist/author/defaults.d.ts +0 -203
  59. package/dist/author/defaults.js +0 -151
  60. package/dist/author/general-config-block.d.ts +0 -22
  61. package/dist/author/general-config-block.js +0 -93
  62. package/dist/author/index.d.ts +0 -44
  63. package/dist/author/index.js +0 -76
  64. package/dist/author/row.d.ts +0 -51
  65. package/dist/author/row.js +0 -204
  66. package/dist/author/utils.d.ts +0 -10
  67. package/dist/author/utils.js +0 -10
  68. package/dist/browser/Typography-DSiRJjOv.js +0 -9224
  69. package/dist/browser/Typography-DSiRJjOv.js.map +0 -1
  70. package/dist/browser/author/index.js +0 -41596
  71. package/dist/browser/author/index.js.map +0 -1
  72. package/dist/browser/browser-kkT1XVKw.js +0 -219
  73. package/dist/browser/browser-kkT1XVKw.js.map +0 -1
  74. package/dist/browser/controller/index.js +0 -267
  75. package/dist/browser/controller/index.js.map +0 -1
  76. package/dist/browser/delivery/index.js +0 -1984
  77. package/dist/browser/delivery/index.js.map +0 -1
  78. package/dist/browser/dist-i687VHmY.js +0 -100
  79. package/dist/browser/dist-i687VHmY.js.map +0 -1
  80. package/dist/browser/match.css +0 -2
  81. package/dist/controller/defaults.d.ts +0 -27
  82. package/dist/controller/defaults.js +0 -25
  83. package/dist/controller/index.d.ts +0 -29
  84. package/dist/controller/index.js +0 -154
  85. package/dist/delivery/answer-grid.d.ts +0 -28
  86. package/dist/delivery/answer-grid.js +0 -99
  87. package/dist/delivery/index.d.ts +0 -21
  88. package/dist/delivery/index.js +0 -51
  89. package/dist/delivery/main.d.ts +0 -26
  90. package/dist/delivery/main.js +0 -112
  91. package/dist/index.d.ts +0 -1
  92. package/dist/index.iife.d.ts +0 -8
  93. package/dist/index.iife.js +0 -148
  94. package/dist/index.js +0 -2
  95. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -16
  96. package/dist/runtime-support.d.ts +0 -12
  97. package/dist/runtime-support.js +0 -12
@@ -0,0 +1,1530 @@
1
+ {
2
+ "description": "Model for the @pie-elements/match Interaction",
3
+ "additionalProperties": false,
4
+ "type": "object",
5
+ "properties": {
6
+ "feedback": {
7
+ "title": "ComplexFeedbackType",
8
+ "type": "object",
9
+ "properties": {
10
+ "correct": {
11
+ "description": "Indicates the configuration for feedback when answer is correct",
12
+ "anyOf": [
13
+ {
14
+ "title": "DefaultFeedbackType",
15
+ "type": "object",
16
+ "properties": {
17
+ "type": {
18
+ "description": "Indicates the feedback type",
19
+ "enum": [
20
+ "default",
21
+ "none"
22
+ ],
23
+ "type": "string",
24
+ "title": "type"
25
+ },
26
+ "default": {
27
+ "description": "Indicates the feedback value",
28
+ "type": "string",
29
+ "title": "default"
30
+ }
31
+ },
32
+ "required": [
33
+ "type"
34
+ ]
35
+ },
36
+ {
37
+ "title": "CustomFeedbackType",
38
+ "type": "object",
39
+ "properties": {
40
+ "type": {
41
+ "description": "Indicates the feedback type",
42
+ "type": "string",
43
+ "enum": [
44
+ "custom"
45
+ ],
46
+ "title": "type"
47
+ },
48
+ "custom": {
49
+ "description": "Indicates the feedback custom value",
50
+ "type": "string",
51
+ "title": "custom"
52
+ }
53
+ },
54
+ "required": [
55
+ "custom",
56
+ "type"
57
+ ]
58
+ }
59
+ ],
60
+ "title": "correct"
61
+ },
62
+ "incorrect": {
63
+ "description": "Indicates the configuration for feedback when answer is incorrect",
64
+ "anyOf": [
65
+ {
66
+ "title": "DefaultFeedbackType",
67
+ "type": "object",
68
+ "properties": {
69
+ "type": {
70
+ "description": "Indicates the feedback type",
71
+ "enum": [
72
+ "default",
73
+ "none"
74
+ ],
75
+ "type": "string",
76
+ "title": "type"
77
+ },
78
+ "default": {
79
+ "description": "Indicates the feedback value",
80
+ "type": "string",
81
+ "title": "default"
82
+ }
83
+ },
84
+ "required": [
85
+ "type"
86
+ ]
87
+ },
88
+ {
89
+ "title": "CustomFeedbackType",
90
+ "type": "object",
91
+ "properties": {
92
+ "type": {
93
+ "description": "Indicates the feedback type",
94
+ "type": "string",
95
+ "enum": [
96
+ "custom"
97
+ ],
98
+ "title": "type"
99
+ },
100
+ "custom": {
101
+ "description": "Indicates the feedback custom value",
102
+ "type": "string",
103
+ "title": "custom"
104
+ }
105
+ },
106
+ "required": [
107
+ "custom",
108
+ "type"
109
+ ]
110
+ }
111
+ ],
112
+ "title": "incorrect"
113
+ },
114
+ "partial": {
115
+ "description": "Indicates the configuration for feedback when answer is partially correct",
116
+ "anyOf": [
117
+ {
118
+ "title": "DefaultFeedbackType",
119
+ "type": "object",
120
+ "properties": {
121
+ "type": {
122
+ "description": "Indicates the feedback type",
123
+ "enum": [
124
+ "default",
125
+ "none"
126
+ ],
127
+ "type": "string",
128
+ "title": "type"
129
+ },
130
+ "default": {
131
+ "description": "Indicates the feedback value",
132
+ "type": "string",
133
+ "title": "default"
134
+ }
135
+ },
136
+ "required": [
137
+ "type"
138
+ ]
139
+ },
140
+ {
141
+ "title": "CustomFeedbackType",
142
+ "type": "object",
143
+ "properties": {
144
+ "type": {
145
+ "description": "Indicates the feedback type",
146
+ "type": "string",
147
+ "enum": [
148
+ "custom"
149
+ ],
150
+ "title": "type"
151
+ },
152
+ "custom": {
153
+ "description": "Indicates the feedback custom value",
154
+ "type": "string",
155
+ "title": "custom"
156
+ }
157
+ },
158
+ "required": [
159
+ "custom",
160
+ "type"
161
+ ]
162
+ }
163
+ ],
164
+ "title": "partial"
165
+ }
166
+ },
167
+ "required": [
168
+ "correct",
169
+ "incorrect"
170
+ ]
171
+ },
172
+ "headers": {
173
+ "description": "Array of strings for column headers",
174
+ "type": "array",
175
+ "items": {
176
+ "type": "string"
177
+ },
178
+ "title": "headers"
179
+ },
180
+ "layout": {
181
+ "description": "The number of columns to be presented",
182
+ "type": "number",
183
+ "title": "layout"
184
+ },
185
+ "lockChoiceOrder": {
186
+ "description": "Indicates if the order of the rows should be randomly sorted on render",
187
+ "type": "boolean",
188
+ "title": "lockChoiceOrder"
189
+ },
190
+ "partialScoring": {
191
+ "description": "Indicates if partial scoring should be used",
192
+ "type": "boolean",
193
+ "title": "partialScoring"
194
+ },
195
+ "choiceMode": {
196
+ "description": "Indicates if the control for responses should be single (radio) or multiple (checkbox)",
197
+ "enum": [
198
+ "checkbox",
199
+ "radio"
200
+ ],
201
+ "type": "string",
202
+ "title": "choiceMode"
203
+ },
204
+ "prompt": {
205
+ "description": "The question prompt or item stem",
206
+ "type": "string",
207
+ "title": "prompt"
208
+ },
209
+ "promptEnabled": {
210
+ "description": "Determines if prompt should show",
211
+ "type": "boolean",
212
+ "title": "promptEnabled"
213
+ },
214
+ "rows": {
215
+ "description": "The rows of choices to be presented.",
216
+ "type": "array",
217
+ "items": {
218
+ "description": "One row in the match list.",
219
+ "title": "MatchRow",
220
+ "type": "object",
221
+ "properties": {
222
+ "id": {
223
+ "description": "Identifier for a row",
224
+ "type": [
225
+ "string",
226
+ "number"
227
+ ],
228
+ "title": "id"
229
+ },
230
+ "title": {
231
+ "description": "Title that will be displayed for the row",
232
+ "type": "string",
233
+ "title": "title"
234
+ },
235
+ "values": {
236
+ "description": "Array of boolean values indicating which columns are selected in the row",
237
+ "type": "array",
238
+ "items": {
239
+ "type": "boolean"
240
+ },
241
+ "title": "values"
242
+ }
243
+ },
244
+ "required": [
245
+ "id",
246
+ "title",
247
+ "values"
248
+ ]
249
+ },
250
+ "title": "rows"
251
+ },
252
+ "rationale": {
253
+ "description": "Indicates value for rationale",
254
+ "type": "string",
255
+ "title": "rationale"
256
+ },
257
+ "scoringType": {
258
+ "description": "Indicates scoring type",
259
+ "enum": [
260
+ "auto",
261
+ "rubric"
262
+ ],
263
+ "type": "string",
264
+ "title": "scoringType"
265
+ },
266
+ "studentInstructions": {
267
+ "description": "Indicates student instructions",
268
+ "type": "string",
269
+ "title": "studentInstructions"
270
+ },
271
+ "teacherInstructions": {
272
+ "description": "Indicates teacher instructions",
273
+ "type": "string",
274
+ "title": "teacherInstructions"
275
+ },
276
+ "feedbackEnabled": {
277
+ "description": "Indicates if Feedback is enabled",
278
+ "type": "boolean",
279
+ "title": "feedbackEnabled"
280
+ },
281
+ "rationaleEnabled": {
282
+ "description": "Indicates if Rationale are enabled",
283
+ "type": "boolean",
284
+ "title": "rationaleEnabled"
285
+ },
286
+ "spellCheckEnabled": {
287
+ "description": "Indicates if spellcheck is enabled for the author. Default value is true",
288
+ "type": "boolean",
289
+ "title": "spellCheckEnabled"
290
+ },
291
+ "studentInstructionsEnabled": {
292
+ "description": "Indicates if Student Instructions are enabled",
293
+ "type": "boolean",
294
+ "title": "studentInstructionsEnabled"
295
+ },
296
+ "teacherInstructionsEnabled": {
297
+ "description": "Indicates if Teacher Instructions are enabled",
298
+ "type": "boolean",
299
+ "title": "teacherInstructionsEnabled"
300
+ },
301
+ "toolbarEditorPosition": {
302
+ "description": "Indicates the editor's toolbar position which can be 'bottom' or 'top'",
303
+ "default": ": 'bottom'",
304
+ "enum": [
305
+ "bottom",
306
+ "top"
307
+ ],
308
+ "type": "string",
309
+ "title": "toolbarEditorPosition"
310
+ },
311
+ "rubricEnabled": {
312
+ "description": "Indicates if Rubric is enabled",
313
+ "type": "boolean",
314
+ "title": "rubricEnabled"
315
+ },
316
+ "language": {
317
+ "description": "Indicates the language of the component\nSupported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX",
318
+ "type": "string",
319
+ "title": "language"
320
+ },
321
+ "id": {
322
+ "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
323
+ "type": "string",
324
+ "title": "id"
325
+ },
326
+ "element": {
327
+ "description": "The html Element tag name",
328
+ "type": "string",
329
+ "title": "element"
330
+ }
331
+ },
332
+ "required": [
333
+ "element",
334
+ "feedbackEnabled",
335
+ "headers",
336
+ "id",
337
+ "layout",
338
+ "prompt",
339
+ "rationale",
340
+ "rationaleEnabled",
341
+ "rows",
342
+ "rubricEnabled",
343
+ "spellCheckEnabled",
344
+ "studentInstructionsEnabled",
345
+ "teacherInstructionsEnabled"
346
+ ],
347
+ "definitions": {
348
+ "EditableHtmlConfigureProp": {
349
+ "title": "EditableHtmlConfigureProp",
350
+ "type": "object",
351
+ "properties": {
352
+ "math": {
353
+ "title": "EditableHtmlButtonConfigure",
354
+ "type": "object",
355
+ "properties": {
356
+ "disabled": {
357
+ "description": "Indicates if the plugin is disabled or not",
358
+ "type": "boolean",
359
+ "title": "disabled"
360
+ }
361
+ }
362
+ },
363
+ "audio": {
364
+ "title": "EditableHtmlButtonConfigure",
365
+ "type": "object",
366
+ "properties": {
367
+ "disabled": {
368
+ "description": "Indicates if the plugin is disabled or not",
369
+ "type": "boolean",
370
+ "title": "disabled"
371
+ }
372
+ }
373
+ },
374
+ "video": {
375
+ "title": "EditableHtmlButtonConfigure",
376
+ "type": "object",
377
+ "properties": {
378
+ "disabled": {
379
+ "description": "Indicates if the plugin is disabled or not",
380
+ "type": "boolean",
381
+ "title": "disabled"
382
+ }
383
+ }
384
+ },
385
+ "image": {
386
+ "title": "EditableHtmlButtonConfigure",
387
+ "type": "object",
388
+ "properties": {
389
+ "disabled": {
390
+ "description": "Indicates if the plugin is disabled or not",
391
+ "type": "boolean",
392
+ "title": "disabled"
393
+ }
394
+ }
395
+ },
396
+ "customPlugins": {
397
+ "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.",
398
+ "type": "array",
399
+ "items": {
400
+ "title": "CustomPlugin",
401
+ "type": "object",
402
+ "properties": {
403
+ "event": {
404
+ "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\"",
405
+ "type": "string",
406
+ "title": "event"
407
+ },
408
+ "iconAlt": {
409
+ "description": "The alt for the custom button icon",
410
+ "type": "string",
411
+ "title": "iconAlt"
412
+ },
413
+ "iconType": {
414
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
415
+ "type": "string",
416
+ "title": "iconType"
417
+ },
418
+ "icon": {
419
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
420
+ "type": "string",
421
+ "title": "icon"
422
+ }
423
+ },
424
+ "required": [
425
+ "event",
426
+ "icon",
427
+ "iconAlt",
428
+ "iconType"
429
+ ]
430
+ },
431
+ "title": "customPlugins"
432
+ },
433
+ "blockquote": {
434
+ "title": "EditableHtmlButtonConfigure",
435
+ "type": "object",
436
+ "properties": {
437
+ "disabled": {
438
+ "description": "Indicates if the plugin is disabled or not",
439
+ "type": "boolean",
440
+ "title": "disabled"
441
+ }
442
+ }
443
+ },
444
+ "h3": {
445
+ "title": "EditableHtmlButtonConfigure",
446
+ "type": "object",
447
+ "properties": {
448
+ "disabled": {
449
+ "description": "Indicates if the plugin is disabled or not",
450
+ "type": "boolean",
451
+ "title": "disabled"
452
+ }
453
+ }
454
+ },
455
+ "characters": {
456
+ "title": "EditableHtmlButtonConfigure",
457
+ "type": "object",
458
+ "properties": {
459
+ "disabled": {
460
+ "description": "Indicates if the plugin is disabled or not",
461
+ "type": "boolean",
462
+ "title": "disabled"
463
+ }
464
+ }
465
+ },
466
+ "bold": {
467
+ "title": "EditableHtmlButtonConfigure",
468
+ "type": "object",
469
+ "properties": {
470
+ "disabled": {
471
+ "description": "Indicates if the plugin is disabled or not",
472
+ "type": "boolean",
473
+ "title": "disabled"
474
+ }
475
+ }
476
+ },
477
+ "html": {
478
+ "title": "EditableHtmlButtonConfigure",
479
+ "type": "object",
480
+ "properties": {
481
+ "disabled": {
482
+ "description": "Indicates if the plugin is disabled or not",
483
+ "type": "boolean",
484
+ "title": "disabled"
485
+ }
486
+ }
487
+ },
488
+ "italic": {
489
+ "title": "EditableHtmlButtonConfigure",
490
+ "type": "object",
491
+ "properties": {
492
+ "disabled": {
493
+ "description": "Indicates if the plugin is disabled or not",
494
+ "type": "boolean",
495
+ "title": "disabled"
496
+ }
497
+ }
498
+ },
499
+ "ol_list": {
500
+ "title": "EditableHtmlButtonConfigure",
501
+ "type": "object",
502
+ "properties": {
503
+ "disabled": {
504
+ "description": "Indicates if the plugin is disabled or not",
505
+ "type": "boolean",
506
+ "title": "disabled"
507
+ }
508
+ }
509
+ },
510
+ "redo": {
511
+ "title": "EditableHtmlButtonConfigure",
512
+ "type": "object",
513
+ "properties": {
514
+ "disabled": {
515
+ "description": "Indicates if the plugin is disabled or not",
516
+ "type": "boolean",
517
+ "title": "disabled"
518
+ }
519
+ }
520
+ },
521
+ "strikethrough": {
522
+ "title": "EditableHtmlButtonConfigure",
523
+ "type": "object",
524
+ "properties": {
525
+ "disabled": {
526
+ "description": "Indicates if the plugin is disabled or not",
527
+ "type": "boolean",
528
+ "title": "disabled"
529
+ }
530
+ }
531
+ },
532
+ "sub": {
533
+ "title": "EditableHtmlButtonConfigure",
534
+ "type": "object",
535
+ "properties": {
536
+ "disabled": {
537
+ "description": "Indicates if the plugin is disabled or not",
538
+ "type": "boolean",
539
+ "title": "disabled"
540
+ }
541
+ }
542
+ },
543
+ "sup": {
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
+ "table": {
555
+ "title": "EditableHtmlButtonConfigure",
556
+ "type": "object",
557
+ "properties": {
558
+ "disabled": {
559
+ "description": "Indicates if the plugin is disabled or not",
560
+ "type": "boolean",
561
+ "title": "disabled"
562
+ }
563
+ }
564
+ },
565
+ "ul_list": {
566
+ "title": "EditableHtmlButtonConfigure",
567
+ "type": "object",
568
+ "properties": {
569
+ "disabled": {
570
+ "description": "Indicates if the plugin is disabled or not",
571
+ "type": "boolean",
572
+ "title": "disabled"
573
+ }
574
+ }
575
+ },
576
+ "underline": {
577
+ "title": "EditableHtmlButtonConfigure",
578
+ "type": "object",
579
+ "properties": {
580
+ "disabled": {
581
+ "description": "Indicates if the plugin is disabled or not",
582
+ "type": "boolean",
583
+ "title": "disabled"
584
+ }
585
+ }
586
+ },
587
+ "undo": {
588
+ "title": "EditableHtmlButtonConfigure",
589
+ "type": "object",
590
+ "properties": {
591
+ "disabled": {
592
+ "description": "Indicates if the plugin is disabled or not",
593
+ "type": "boolean",
594
+ "title": "disabled"
595
+ }
596
+ }
597
+ }
598
+ }
599
+ },
600
+ "EditableHtmlButtonConfigure": {
601
+ "title": "EditableHtmlButtonConfigure",
602
+ "type": "object",
603
+ "properties": {
604
+ "disabled": {
605
+ "description": "Indicates if the plugin is disabled or not",
606
+ "type": "boolean",
607
+ "title": "disabled"
608
+ }
609
+ }
610
+ },
611
+ "CustomPlugin": {
612
+ "title": "CustomPlugin",
613
+ "type": "object",
614
+ "properties": {
615
+ "event": {
616
+ "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\"",
617
+ "type": "string",
618
+ "title": "event"
619
+ },
620
+ "iconAlt": {
621
+ "description": "The alt for the custom button icon",
622
+ "type": "string",
623
+ "title": "iconAlt"
624
+ },
625
+ "iconType": {
626
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
627
+ "type": "string",
628
+ "title": "iconType"
629
+ },
630
+ "icon": {
631
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
632
+ "type": "string",
633
+ "title": "icon"
634
+ }
635
+ },
636
+ "required": [
637
+ "event",
638
+ "icon",
639
+ "iconAlt",
640
+ "iconType"
641
+ ]
642
+ },
643
+ "EditableHtmlPluginConfigure": {
644
+ "title": "EditableHtmlPluginConfigure",
645
+ "type": "object",
646
+ "properties": {
647
+ "inputConfiguration": {
648
+ "title": "EditableHtmlConfigureProp",
649
+ "type": "object",
650
+ "properties": {
651
+ "math": {
652
+ "title": "EditableHtmlButtonConfigure",
653
+ "type": "object",
654
+ "properties": {
655
+ "disabled": {
656
+ "description": "Indicates if the plugin is disabled or not",
657
+ "type": "boolean",
658
+ "title": "disabled"
659
+ }
660
+ }
661
+ },
662
+ "audio": {
663
+ "title": "EditableHtmlButtonConfigure",
664
+ "type": "object",
665
+ "properties": {
666
+ "disabled": {
667
+ "description": "Indicates if the plugin is disabled or not",
668
+ "type": "boolean",
669
+ "title": "disabled"
670
+ }
671
+ }
672
+ },
673
+ "video": {
674
+ "title": "EditableHtmlButtonConfigure",
675
+ "type": "object",
676
+ "properties": {
677
+ "disabled": {
678
+ "description": "Indicates if the plugin is disabled or not",
679
+ "type": "boolean",
680
+ "title": "disabled"
681
+ }
682
+ }
683
+ },
684
+ "image": {
685
+ "title": "EditableHtmlButtonConfigure",
686
+ "type": "object",
687
+ "properties": {
688
+ "disabled": {
689
+ "description": "Indicates if the plugin is disabled or not",
690
+ "type": "boolean",
691
+ "title": "disabled"
692
+ }
693
+ }
694
+ },
695
+ "customPlugins": {
696
+ "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.",
697
+ "type": "array",
698
+ "items": {
699
+ "title": "CustomPlugin",
700
+ "type": "object",
701
+ "properties": {
702
+ "event": {
703
+ "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\"",
704
+ "type": "string",
705
+ "title": "event"
706
+ },
707
+ "iconAlt": {
708
+ "description": "The alt for the custom button icon",
709
+ "type": "string",
710
+ "title": "iconAlt"
711
+ },
712
+ "iconType": {
713
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
714
+ "type": "string",
715
+ "title": "iconType"
716
+ },
717
+ "icon": {
718
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
719
+ "type": "string",
720
+ "title": "icon"
721
+ }
722
+ },
723
+ "required": [
724
+ "event",
725
+ "icon",
726
+ "iconAlt",
727
+ "iconType"
728
+ ]
729
+ },
730
+ "title": "customPlugins"
731
+ },
732
+ "blockquote": {
733
+ "title": "EditableHtmlButtonConfigure",
734
+ "type": "object",
735
+ "properties": {
736
+ "disabled": {
737
+ "description": "Indicates if the plugin is disabled or not",
738
+ "type": "boolean",
739
+ "title": "disabled"
740
+ }
741
+ }
742
+ },
743
+ "h3": {
744
+ "title": "EditableHtmlButtonConfigure",
745
+ "type": "object",
746
+ "properties": {
747
+ "disabled": {
748
+ "description": "Indicates if the plugin is disabled or not",
749
+ "type": "boolean",
750
+ "title": "disabled"
751
+ }
752
+ }
753
+ },
754
+ "characters": {
755
+ "title": "EditableHtmlButtonConfigure",
756
+ "type": "object",
757
+ "properties": {
758
+ "disabled": {
759
+ "description": "Indicates if the plugin is disabled or not",
760
+ "type": "boolean",
761
+ "title": "disabled"
762
+ }
763
+ }
764
+ },
765
+ "bold": {
766
+ "title": "EditableHtmlButtonConfigure",
767
+ "type": "object",
768
+ "properties": {
769
+ "disabled": {
770
+ "description": "Indicates if the plugin is disabled or not",
771
+ "type": "boolean",
772
+ "title": "disabled"
773
+ }
774
+ }
775
+ },
776
+ "html": {
777
+ "title": "EditableHtmlButtonConfigure",
778
+ "type": "object",
779
+ "properties": {
780
+ "disabled": {
781
+ "description": "Indicates if the plugin is disabled or not",
782
+ "type": "boolean",
783
+ "title": "disabled"
784
+ }
785
+ }
786
+ },
787
+ "italic": {
788
+ "title": "EditableHtmlButtonConfigure",
789
+ "type": "object",
790
+ "properties": {
791
+ "disabled": {
792
+ "description": "Indicates if the plugin is disabled or not",
793
+ "type": "boolean",
794
+ "title": "disabled"
795
+ }
796
+ }
797
+ },
798
+ "ol_list": {
799
+ "title": "EditableHtmlButtonConfigure",
800
+ "type": "object",
801
+ "properties": {
802
+ "disabled": {
803
+ "description": "Indicates if the plugin is disabled or not",
804
+ "type": "boolean",
805
+ "title": "disabled"
806
+ }
807
+ }
808
+ },
809
+ "redo": {
810
+ "title": "EditableHtmlButtonConfigure",
811
+ "type": "object",
812
+ "properties": {
813
+ "disabled": {
814
+ "description": "Indicates if the plugin is disabled or not",
815
+ "type": "boolean",
816
+ "title": "disabled"
817
+ }
818
+ }
819
+ },
820
+ "strikethrough": {
821
+ "title": "EditableHtmlButtonConfigure",
822
+ "type": "object",
823
+ "properties": {
824
+ "disabled": {
825
+ "description": "Indicates if the plugin is disabled or not",
826
+ "type": "boolean",
827
+ "title": "disabled"
828
+ }
829
+ }
830
+ },
831
+ "sub": {
832
+ "title": "EditableHtmlButtonConfigure",
833
+ "type": "object",
834
+ "properties": {
835
+ "disabled": {
836
+ "description": "Indicates if the plugin is disabled or not",
837
+ "type": "boolean",
838
+ "title": "disabled"
839
+ }
840
+ }
841
+ },
842
+ "sup": {
843
+ "title": "EditableHtmlButtonConfigure",
844
+ "type": "object",
845
+ "properties": {
846
+ "disabled": {
847
+ "description": "Indicates if the plugin is disabled or not",
848
+ "type": "boolean",
849
+ "title": "disabled"
850
+ }
851
+ }
852
+ },
853
+ "table": {
854
+ "title": "EditableHtmlButtonConfigure",
855
+ "type": "object",
856
+ "properties": {
857
+ "disabled": {
858
+ "description": "Indicates if the plugin is disabled or not",
859
+ "type": "boolean",
860
+ "title": "disabled"
861
+ }
862
+ }
863
+ },
864
+ "ul_list": {
865
+ "title": "EditableHtmlButtonConfigure",
866
+ "type": "object",
867
+ "properties": {
868
+ "disabled": {
869
+ "description": "Indicates if the plugin is disabled or not",
870
+ "type": "boolean",
871
+ "title": "disabled"
872
+ }
873
+ }
874
+ },
875
+ "underline": {
876
+ "title": "EditableHtmlButtonConfigure",
877
+ "type": "object",
878
+ "properties": {
879
+ "disabled": {
880
+ "description": "Indicates if the plugin is disabled or not",
881
+ "type": "boolean",
882
+ "title": "disabled"
883
+ }
884
+ }
885
+ },
886
+ "undo": {
887
+ "title": "EditableHtmlButtonConfigure",
888
+ "type": "object",
889
+ "properties": {
890
+ "disabled": {
891
+ "description": "Indicates if the plugin is disabled or not",
892
+ "type": "boolean",
893
+ "title": "disabled"
894
+ }
895
+ }
896
+ }
897
+ }
898
+ },
899
+ "settings": {
900
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
901
+ "type": "boolean",
902
+ "title": "settings"
903
+ },
904
+ "label": {
905
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
906
+ "type": "string",
907
+ "title": "label"
908
+ }
909
+ }
910
+ },
911
+ "ConfigureProp": {
912
+ "title": "ConfigureProp",
913
+ "type": "object",
914
+ "properties": {
915
+ "settings": {
916
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
917
+ "type": "boolean",
918
+ "title": "settings"
919
+ },
920
+ "label": {
921
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
922
+ "type": "string",
923
+ "title": "label"
924
+ }
925
+ }
926
+ },
927
+ "EditableHtmlPluginConfigureRequired": {
928
+ "title": "EditableHtmlPluginConfigureRequired",
929
+ "type": "object",
930
+ "properties": {
931
+ "inputConfiguration": {
932
+ "title": "EditableHtmlConfigureProp",
933
+ "type": "object",
934
+ "properties": {
935
+ "math": {
936
+ "title": "EditableHtmlButtonConfigure",
937
+ "type": "object",
938
+ "properties": {
939
+ "disabled": {
940
+ "description": "Indicates if the plugin is disabled or not",
941
+ "type": "boolean",
942
+ "title": "disabled"
943
+ }
944
+ }
945
+ },
946
+ "audio": {
947
+ "title": "EditableHtmlButtonConfigure",
948
+ "type": "object",
949
+ "properties": {
950
+ "disabled": {
951
+ "description": "Indicates if the plugin is disabled or not",
952
+ "type": "boolean",
953
+ "title": "disabled"
954
+ }
955
+ }
956
+ },
957
+ "video": {
958
+ "title": "EditableHtmlButtonConfigure",
959
+ "type": "object",
960
+ "properties": {
961
+ "disabled": {
962
+ "description": "Indicates if the plugin is disabled or not",
963
+ "type": "boolean",
964
+ "title": "disabled"
965
+ }
966
+ }
967
+ },
968
+ "image": {
969
+ "title": "EditableHtmlButtonConfigure",
970
+ "type": "object",
971
+ "properties": {
972
+ "disabled": {
973
+ "description": "Indicates if the plugin is disabled or not",
974
+ "type": "boolean",
975
+ "title": "disabled"
976
+ }
977
+ }
978
+ },
979
+ "customPlugins": {
980
+ "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.",
981
+ "type": "array",
982
+ "items": {
983
+ "title": "CustomPlugin",
984
+ "type": "object",
985
+ "properties": {
986
+ "event": {
987
+ "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\"",
988
+ "type": "string",
989
+ "title": "event"
990
+ },
991
+ "iconAlt": {
992
+ "description": "The alt for the custom button icon",
993
+ "type": "string",
994
+ "title": "iconAlt"
995
+ },
996
+ "iconType": {
997
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
998
+ "type": "string",
999
+ "title": "iconType"
1000
+ },
1001
+ "icon": {
1002
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1003
+ "type": "string",
1004
+ "title": "icon"
1005
+ }
1006
+ },
1007
+ "required": [
1008
+ "event",
1009
+ "icon",
1010
+ "iconAlt",
1011
+ "iconType"
1012
+ ]
1013
+ },
1014
+ "title": "customPlugins"
1015
+ },
1016
+ "blockquote": {
1017
+ "title": "EditableHtmlButtonConfigure",
1018
+ "type": "object",
1019
+ "properties": {
1020
+ "disabled": {
1021
+ "description": "Indicates if the plugin is disabled or not",
1022
+ "type": "boolean",
1023
+ "title": "disabled"
1024
+ }
1025
+ }
1026
+ },
1027
+ "h3": {
1028
+ "title": "EditableHtmlButtonConfigure",
1029
+ "type": "object",
1030
+ "properties": {
1031
+ "disabled": {
1032
+ "description": "Indicates if the plugin is disabled or not",
1033
+ "type": "boolean",
1034
+ "title": "disabled"
1035
+ }
1036
+ }
1037
+ },
1038
+ "characters": {
1039
+ "title": "EditableHtmlButtonConfigure",
1040
+ "type": "object",
1041
+ "properties": {
1042
+ "disabled": {
1043
+ "description": "Indicates if the plugin is disabled or not",
1044
+ "type": "boolean",
1045
+ "title": "disabled"
1046
+ }
1047
+ }
1048
+ },
1049
+ "bold": {
1050
+ "title": "EditableHtmlButtonConfigure",
1051
+ "type": "object",
1052
+ "properties": {
1053
+ "disabled": {
1054
+ "description": "Indicates if the plugin is disabled or not",
1055
+ "type": "boolean",
1056
+ "title": "disabled"
1057
+ }
1058
+ }
1059
+ },
1060
+ "html": {
1061
+ "title": "EditableHtmlButtonConfigure",
1062
+ "type": "object",
1063
+ "properties": {
1064
+ "disabled": {
1065
+ "description": "Indicates if the plugin is disabled or not",
1066
+ "type": "boolean",
1067
+ "title": "disabled"
1068
+ }
1069
+ }
1070
+ },
1071
+ "italic": {
1072
+ "title": "EditableHtmlButtonConfigure",
1073
+ "type": "object",
1074
+ "properties": {
1075
+ "disabled": {
1076
+ "description": "Indicates if the plugin is disabled or not",
1077
+ "type": "boolean",
1078
+ "title": "disabled"
1079
+ }
1080
+ }
1081
+ },
1082
+ "ol_list": {
1083
+ "title": "EditableHtmlButtonConfigure",
1084
+ "type": "object",
1085
+ "properties": {
1086
+ "disabled": {
1087
+ "description": "Indicates if the plugin is disabled or not",
1088
+ "type": "boolean",
1089
+ "title": "disabled"
1090
+ }
1091
+ }
1092
+ },
1093
+ "redo": {
1094
+ "title": "EditableHtmlButtonConfigure",
1095
+ "type": "object",
1096
+ "properties": {
1097
+ "disabled": {
1098
+ "description": "Indicates if the plugin is disabled or not",
1099
+ "type": "boolean",
1100
+ "title": "disabled"
1101
+ }
1102
+ }
1103
+ },
1104
+ "strikethrough": {
1105
+ "title": "EditableHtmlButtonConfigure",
1106
+ "type": "object",
1107
+ "properties": {
1108
+ "disabled": {
1109
+ "description": "Indicates if the plugin is disabled or not",
1110
+ "type": "boolean",
1111
+ "title": "disabled"
1112
+ }
1113
+ }
1114
+ },
1115
+ "sub": {
1116
+ "title": "EditableHtmlButtonConfigure",
1117
+ "type": "object",
1118
+ "properties": {
1119
+ "disabled": {
1120
+ "description": "Indicates if the plugin is disabled or not",
1121
+ "type": "boolean",
1122
+ "title": "disabled"
1123
+ }
1124
+ }
1125
+ },
1126
+ "sup": {
1127
+ "title": "EditableHtmlButtonConfigure",
1128
+ "type": "object",
1129
+ "properties": {
1130
+ "disabled": {
1131
+ "description": "Indicates if the plugin is disabled or not",
1132
+ "type": "boolean",
1133
+ "title": "disabled"
1134
+ }
1135
+ }
1136
+ },
1137
+ "table": {
1138
+ "title": "EditableHtmlButtonConfigure",
1139
+ "type": "object",
1140
+ "properties": {
1141
+ "disabled": {
1142
+ "description": "Indicates if the plugin is disabled or not",
1143
+ "type": "boolean",
1144
+ "title": "disabled"
1145
+ }
1146
+ }
1147
+ },
1148
+ "ul_list": {
1149
+ "title": "EditableHtmlButtonConfigure",
1150
+ "type": "object",
1151
+ "properties": {
1152
+ "disabled": {
1153
+ "description": "Indicates if the plugin is disabled or not",
1154
+ "type": "boolean",
1155
+ "title": "disabled"
1156
+ }
1157
+ }
1158
+ },
1159
+ "underline": {
1160
+ "title": "EditableHtmlButtonConfigure",
1161
+ "type": "object",
1162
+ "properties": {
1163
+ "disabled": {
1164
+ "description": "Indicates if the plugin is disabled or not",
1165
+ "type": "boolean",
1166
+ "title": "disabled"
1167
+ }
1168
+ }
1169
+ },
1170
+ "undo": {
1171
+ "title": "EditableHtmlButtonConfigure",
1172
+ "type": "object",
1173
+ "properties": {
1174
+ "disabled": {
1175
+ "description": "Indicates if the plugin is disabled or not",
1176
+ "type": "boolean",
1177
+ "title": "disabled"
1178
+ }
1179
+ }
1180
+ }
1181
+ }
1182
+ },
1183
+ "required": {
1184
+ "description": "Indicates if the item is required and the value cannot be empty",
1185
+ "type": "boolean",
1186
+ "title": "required"
1187
+ },
1188
+ "settings": {
1189
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1190
+ "type": "boolean",
1191
+ "title": "settings"
1192
+ },
1193
+ "label": {
1194
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1195
+ "type": "string",
1196
+ "title": "label"
1197
+ }
1198
+ }
1199
+ },
1200
+ "ConfigureMaxImageDimensionsProp": {
1201
+ "title": "ConfigureMaxImageDimensionsProp",
1202
+ "type": "object",
1203
+ "properties": {
1204
+ "teacherInstructions": {
1205
+ "description": "Indicates the max dimension for images in teacher instructions",
1206
+ "type": "number",
1207
+ "title": "teacherInstructions"
1208
+ },
1209
+ "prompt": {
1210
+ "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",
1211
+ "type": "number",
1212
+ "title": "prompt"
1213
+ },
1214
+ "rationale": {
1215
+ "description": "Indicates the max dimension for images in rationale",
1216
+ "type": "number",
1217
+ "title": "rationale"
1218
+ },
1219
+ "rowTitles": {
1220
+ "description": "Indicates the max dimension for images in row labels",
1221
+ "type": "number",
1222
+ "title": "rowTitles"
1223
+ }
1224
+ }
1225
+ },
1226
+ "ConfigureMathMLProp": {
1227
+ "title": "ConfigureMathMLProp",
1228
+ "type": "object",
1229
+ "properties": {
1230
+ "mmlOutput": {
1231
+ "description": "Indicates if model should have mathML output instead of latex",
1232
+ "type": "number",
1233
+ "title": "mmlOutput"
1234
+ },
1235
+ "mmlEditing": {
1236
+ "description": "Indicates if mathML that's already in model should be editable",
1237
+ "type": "number",
1238
+ "title": "mmlEditing"
1239
+ }
1240
+ }
1241
+ },
1242
+ "ConfigurePropWithEnabled": {
1243
+ "title": "ConfigurePropWithEnabled",
1244
+ "type": "object",
1245
+ "properties": {
1246
+ "enabled": {
1247
+ "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)",
1248
+ "type": "boolean",
1249
+ "title": "enabled"
1250
+ },
1251
+ "settings": {
1252
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1253
+ "type": "boolean",
1254
+ "title": "settings"
1255
+ },
1256
+ "label": {
1257
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1258
+ "type": "string",
1259
+ "title": "label"
1260
+ }
1261
+ }
1262
+ },
1263
+ "ConfigureLanguageOptionsProp": {
1264
+ "title": "ConfigureLanguageOptionsProp",
1265
+ "type": "object",
1266
+ "properties": {
1267
+ "value": {
1268
+ "description": "Value of the language option",
1269
+ "type": "string",
1270
+ "title": "value"
1271
+ },
1272
+ "label": {
1273
+ "description": "Label of the language option",
1274
+ "type": "string",
1275
+ "title": "label"
1276
+ }
1277
+ },
1278
+ "required": [
1279
+ "label",
1280
+ "value"
1281
+ ]
1282
+ },
1283
+ "ComplexFeedbackType": {
1284
+ "title": "ComplexFeedbackType",
1285
+ "type": "object",
1286
+ "properties": {
1287
+ "correct": {
1288
+ "description": "Indicates the configuration for feedback when answer is correct",
1289
+ "anyOf": [
1290
+ {
1291
+ "title": "DefaultFeedbackType",
1292
+ "type": "object",
1293
+ "properties": {
1294
+ "type": {
1295
+ "description": "Indicates the feedback type",
1296
+ "enum": [
1297
+ "default",
1298
+ "none"
1299
+ ],
1300
+ "type": "string",
1301
+ "title": "type"
1302
+ },
1303
+ "default": {
1304
+ "description": "Indicates the feedback value",
1305
+ "type": "string",
1306
+ "title": "default"
1307
+ }
1308
+ },
1309
+ "required": [
1310
+ "type"
1311
+ ]
1312
+ },
1313
+ {
1314
+ "title": "CustomFeedbackType",
1315
+ "type": "object",
1316
+ "properties": {
1317
+ "type": {
1318
+ "description": "Indicates the feedback type",
1319
+ "type": "string",
1320
+ "enum": [
1321
+ "custom"
1322
+ ],
1323
+ "title": "type"
1324
+ },
1325
+ "custom": {
1326
+ "description": "Indicates the feedback custom value",
1327
+ "type": "string",
1328
+ "title": "custom"
1329
+ }
1330
+ },
1331
+ "required": [
1332
+ "custom",
1333
+ "type"
1334
+ ]
1335
+ }
1336
+ ],
1337
+ "title": "correct"
1338
+ },
1339
+ "incorrect": {
1340
+ "description": "Indicates the configuration for feedback when answer is incorrect",
1341
+ "anyOf": [
1342
+ {
1343
+ "title": "DefaultFeedbackType",
1344
+ "type": "object",
1345
+ "properties": {
1346
+ "type": {
1347
+ "description": "Indicates the feedback type",
1348
+ "enum": [
1349
+ "default",
1350
+ "none"
1351
+ ],
1352
+ "type": "string",
1353
+ "title": "type"
1354
+ },
1355
+ "default": {
1356
+ "description": "Indicates the feedback value",
1357
+ "type": "string",
1358
+ "title": "default"
1359
+ }
1360
+ },
1361
+ "required": [
1362
+ "type"
1363
+ ]
1364
+ },
1365
+ {
1366
+ "title": "CustomFeedbackType",
1367
+ "type": "object",
1368
+ "properties": {
1369
+ "type": {
1370
+ "description": "Indicates the feedback type",
1371
+ "type": "string",
1372
+ "enum": [
1373
+ "custom"
1374
+ ],
1375
+ "title": "type"
1376
+ },
1377
+ "custom": {
1378
+ "description": "Indicates the feedback custom value",
1379
+ "type": "string",
1380
+ "title": "custom"
1381
+ }
1382
+ },
1383
+ "required": [
1384
+ "custom",
1385
+ "type"
1386
+ ]
1387
+ }
1388
+ ],
1389
+ "title": "incorrect"
1390
+ },
1391
+ "partial": {
1392
+ "description": "Indicates the configuration for feedback when answer is partially correct",
1393
+ "anyOf": [
1394
+ {
1395
+ "title": "DefaultFeedbackType",
1396
+ "type": "object",
1397
+ "properties": {
1398
+ "type": {
1399
+ "description": "Indicates the feedback type",
1400
+ "enum": [
1401
+ "default",
1402
+ "none"
1403
+ ],
1404
+ "type": "string",
1405
+ "title": "type"
1406
+ },
1407
+ "default": {
1408
+ "description": "Indicates the feedback value",
1409
+ "type": "string",
1410
+ "title": "default"
1411
+ }
1412
+ },
1413
+ "required": [
1414
+ "type"
1415
+ ]
1416
+ },
1417
+ {
1418
+ "title": "CustomFeedbackType",
1419
+ "type": "object",
1420
+ "properties": {
1421
+ "type": {
1422
+ "description": "Indicates the feedback type",
1423
+ "type": "string",
1424
+ "enum": [
1425
+ "custom"
1426
+ ],
1427
+ "title": "type"
1428
+ },
1429
+ "custom": {
1430
+ "description": "Indicates the feedback custom value",
1431
+ "type": "string",
1432
+ "title": "custom"
1433
+ }
1434
+ },
1435
+ "required": [
1436
+ "custom",
1437
+ "type"
1438
+ ]
1439
+ }
1440
+ ],
1441
+ "title": "partial"
1442
+ }
1443
+ },
1444
+ "required": [
1445
+ "correct",
1446
+ "incorrect"
1447
+ ]
1448
+ },
1449
+ "DefaultFeedbackType": {
1450
+ "title": "DefaultFeedbackType",
1451
+ "type": "object",
1452
+ "properties": {
1453
+ "type": {
1454
+ "description": "Indicates the feedback type",
1455
+ "enum": [
1456
+ "default",
1457
+ "none"
1458
+ ],
1459
+ "type": "string",
1460
+ "title": "type"
1461
+ },
1462
+ "default": {
1463
+ "description": "Indicates the feedback value",
1464
+ "type": "string",
1465
+ "title": "default"
1466
+ }
1467
+ },
1468
+ "required": [
1469
+ "type"
1470
+ ]
1471
+ },
1472
+ "CustomFeedbackType": {
1473
+ "title": "CustomFeedbackType",
1474
+ "type": "object",
1475
+ "properties": {
1476
+ "type": {
1477
+ "description": "Indicates the feedback type",
1478
+ "type": "string",
1479
+ "enum": [
1480
+ "custom"
1481
+ ],
1482
+ "title": "type"
1483
+ },
1484
+ "custom": {
1485
+ "description": "Indicates the feedback custom value",
1486
+ "type": "string",
1487
+ "title": "custom"
1488
+ }
1489
+ },
1490
+ "required": [
1491
+ "custom",
1492
+ "type"
1493
+ ]
1494
+ },
1495
+ "MatchRow": {
1496
+ "description": "One row in the match list.",
1497
+ "title": "MatchRow",
1498
+ "type": "object",
1499
+ "properties": {
1500
+ "id": {
1501
+ "description": "Identifier for a row",
1502
+ "type": [
1503
+ "string",
1504
+ "number"
1505
+ ],
1506
+ "title": "id"
1507
+ },
1508
+ "title": {
1509
+ "description": "Title that will be displayed for the row",
1510
+ "type": "string",
1511
+ "title": "title"
1512
+ },
1513
+ "values": {
1514
+ "description": "Array of boolean values indicating which columns are selected in the row",
1515
+ "type": "array",
1516
+ "items": {
1517
+ "type": "boolean"
1518
+ },
1519
+ "title": "values"
1520
+ }
1521
+ },
1522
+ "required": [
1523
+ "id",
1524
+ "title",
1525
+ "values"
1526
+ ]
1527
+ }
1528
+ },
1529
+ "$schema": "http://json-schema.org/draft-07/schema#"
1530
+ }