@pie-element/complex-rubric 7.1.0-next.28 → 7.1.1-next.0

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 (118) hide show
  1. package/dist/author/defaults.d.ts +231 -0
  2. package/dist/author/defaults.js +177 -0
  3. package/dist/author/index.d.ts +34 -0
  4. package/dist/author/index.js +87 -0
  5. package/dist/author/main.d.ts +23 -0
  6. package/dist/author/main.js +106 -0
  7. package/dist/controller/defaults.d.ts +39 -0
  8. package/dist/controller/defaults.js +42 -0
  9. package/dist/controller/index.d.ts +25 -0
  10. package/dist/controller/index.js +107 -0
  11. package/dist/controller/utils.d.ts +9 -0
  12. package/dist/controller/utils.js +4 -0
  13. package/dist/delivery/index.d.ts +23 -0
  14. package/dist/delivery/index.js +96 -0
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.iife.d.ts +8 -0
  17. package/dist/index.iife.js +145 -0
  18. package/dist/index.js +2 -0
  19. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  20. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  21. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  22. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  23. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  24. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  25. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  26. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  27. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
  28. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  29. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  30. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  31. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  32. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  33. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  34. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +12 -0
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +16 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  64. package/dist/print/index.d.ts +24 -0
  65. package/dist/print/index.js +84 -0
  66. package/package.json +58 -21
  67. package/CHANGELOG.md +0 -1431
  68. package/LICENSE.md +0 -5
  69. package/README.md +0 -3
  70. package/configure/CHANGELOG.md +0 -1085
  71. package/configure/lib/defaults.js +0 -271
  72. package/configure/lib/defaults.js.map +0 -1
  73. package/configure/lib/index.js +0 -150
  74. package/configure/lib/index.js.map +0 -1
  75. package/configure/lib/main.js +0 -172
  76. package/configure/lib/main.js.map +0 -1
  77. package/configure/package.json +0 -27
  78. package/configure/src/__tests__/index.test.js +0 -94
  79. package/configure/src/__tests__/main.test.jsx +0 -140
  80. package/configure/src/defaults.js +0 -213
  81. package/configure/src/index.js +0 -169
  82. package/configure/src/main.jsx +0 -162
  83. package/controller/CHANGELOG.md +0 -928
  84. package/controller/lib/defaults.js +0 -42
  85. package/controller/lib/defaults.js.map +0 -1
  86. package/controller/lib/index.js +0 -239
  87. package/controller/lib/index.js.map +0 -1
  88. package/controller/lib/utils.js +0 -11
  89. package/controller/lib/utils.js.map +0 -1
  90. package/controller/package.json +0 -16
  91. package/controller/src/__tests__/index.test.js +0 -55
  92. package/controller/src/defaults.js +0 -39
  93. package/controller/src/index.js +0 -220
  94. package/controller/src/utils.js +0 -3
  95. package/docs/config-schema.json +0 -4255
  96. package/docs/config-schema.json.md +0 -3162
  97. package/docs/demo/config.js +0 -8
  98. package/docs/demo/generate.js +0 -196
  99. package/docs/demo/index.html +0 -1
  100. package/docs/demo/session.js +0 -6
  101. package/docs/pie-schema.json +0 -3302
  102. package/docs/pie-schema.json.md +0 -2364
  103. package/lib/index.js +0 -141
  104. package/lib/index.js.map +0 -1
  105. package/lib/print.js +0 -129
  106. package/lib/print.js.map +0 -1
  107. package/module/configure.js +0 -1
  108. package/module/controller.js +0 -262
  109. package/module/demo.js +0 -221
  110. package/module/element.js +0 -1
  111. package/module/index.html +0 -21
  112. package/module/manifest.json +0 -22
  113. package/module/print-demo.js +0 -259
  114. package/module/print.html +0 -18
  115. package/module/print.js +0 -1
  116. package/src/__tests__/index.test.js +0 -256
  117. package/src/index.js +0 -152
  118. package/src/print.js +0 -140
@@ -1,3302 +0,0 @@
1
- {
2
- "description": "Model for the ComplexRubricPie Interaction",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "rubricType": {
7
- "title": "RubricType",
8
- "enum": [
9
- "multiTraitRubric",
10
- "rubricless",
11
- "simpleRubric"
12
- ],
13
- "type": "string"
14
- },
15
- "rubrics": {
16
- "title": "RubricModels",
17
- "type": "object",
18
- "properties": {
19
- "simpleRubric": {
20
- "description": "Model for the RubricPie Interaction",
21
- "additionalProperties": false,
22
- "title": "RubricPie",
23
- "type": "object",
24
- "properties": {
25
- "points": {
26
- "description": "Indicates the score points labels. Starting from 0 to max",
27
- "type": "array",
28
- "items": {
29
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
30
- "type": "object",
31
- "additionalProperties": false,
32
- "patternProperties": {
33
- "^[0-9]+$": {
34
- "type": "string"
35
- }
36
- }
37
- },
38
- "title": "points"
39
- },
40
- "sampleAnswers": {
41
- "description": "Indicates the sample answers labels. Starting from 0 to max",
42
- "type": "array",
43
- "items": {
44
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
45
- "type": "object",
46
- "additionalProperties": false,
47
- "patternProperties": {
48
- "^[0-9]+$": {
49
- "type": "string"
50
- }
51
- }
52
- },
53
- "title": "sampleAnswers"
54
- },
55
- "maxPoints": {
56
- "description": "Indicates the max limit for scoring points",
57
- "type": "number",
58
- "title": "maxPoints"
59
- },
60
- "excludeZeros": {
61
- "description": "Indicates if point 0 should be shown",
62
- "type": "boolean",
63
- "title": "excludeZeros"
64
- },
65
- "id": {
66
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
67
- "type": "string",
68
- "title": "id"
69
- },
70
- "element": {
71
- "description": "The html Element tag name",
72
- "type": "string",
73
- "title": "element"
74
- }
75
- },
76
- "required": [
77
- "element",
78
- "id"
79
- ]
80
- },
81
- "multiTraitRubric": {
82
- "description": "Model for the MultiTraitRubric Interaction",
83
- "additionalProperties": false,
84
- "title": "MultiTraitRubricPie",
85
- "type": "object",
86
- "properties": {
87
- "halfScoring": {
88
- "description": "Indicates if half scoring is enabled",
89
- "type": "boolean",
90
- "title": "halfScoring"
91
- },
92
- "pointLabels": {
93
- "description": "Indicates if point labels should be shown",
94
- "type": "boolean",
95
- "title": "pointLabels"
96
- },
97
- "visibleToStudent": {
98
- "description": "Indicates if should be visible to student",
99
- "type": "boolean",
100
- "title": "visibleToStudent"
101
- },
102
- "description": {
103
- "description": "Indicates if description should be shown",
104
- "type": "boolean",
105
- "title": "description"
106
- },
107
- "standards": {
108
- "description": "Indicates if standards should be shown",
109
- "type": "boolean",
110
- "title": "standards"
111
- },
112
- "excludeZero": {
113
- "description": "Indicates if scoring should start at 0 or 1",
114
- "type": "boolean",
115
- "title": "excludeZero"
116
- },
117
- "spellCheckEnabled": {
118
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
119
- "type": "boolean",
120
- "title": "spellCheckEnabled"
121
- },
122
- "scales": {
123
- "description": "scales",
124
- "type": "array",
125
- "items": {
126
- "title": "Scale",
127
- "type": "object",
128
- "properties": {
129
- "maxPoints": {
130
- "description": "Indicates max limit for scoring points",
131
- "type": "number",
132
- "title": "maxPoints"
133
- },
134
- "scorePointsLabels": {
135
- "description": "Score labels. Starting from 0 to max.",
136
- "type": "array",
137
- "items": {
138
- "type": "string"
139
- },
140
- "title": "scorePointsLabels"
141
- },
142
- "traitLabel": {
143
- "description": "Trait label",
144
- "type": "string",
145
- "title": "traitLabel"
146
- },
147
- "traits": {
148
- "description": "Traits",
149
- "type": "array",
150
- "items": {
151
- "title": "Trait",
152
- "type": "object",
153
- "properties": {
154
- "name": {
155
- "description": "Trait name",
156
- "type": "string",
157
- "title": "name"
158
- },
159
- "standards": {
160
- "description": "Trait standards",
161
- "type": "array",
162
- "items": {
163
- "type": "string"
164
- },
165
- "title": "standards"
166
- },
167
- "description": {
168
- "description": "Trait description",
169
- "type": "string",
170
- "title": "description"
171
- },
172
- "scorePointsDescriptors": {
173
- "description": "Score point descriptors. Starting from 0 to max.",
174
- "type": "array",
175
- "items": {
176
- "type": "string"
177
- },
178
- "title": "scorePointsDescriptors"
179
- }
180
- },
181
- "required": [
182
- "description",
183
- "name",
184
- "scorePointsDescriptors",
185
- "standards"
186
- ]
187
- },
188
- "title": "traits"
189
- }
190
- },
191
- "required": [
192
- "maxPoints",
193
- "scorePointsLabels",
194
- "traitLabel",
195
- "traits"
196
- ]
197
- },
198
- "title": "scales"
199
- },
200
- "id": {
201
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
202
- "type": "string",
203
- "title": "id"
204
- },
205
- "element": {
206
- "description": "The html Element tag name",
207
- "type": "string",
208
- "title": "element"
209
- }
210
- },
211
- "required": [
212
- "element",
213
- "id",
214
- "scales",
215
- "spellCheckEnabled"
216
- ]
217
- },
218
- "rubricless": {
219
- "title": "RubriclessPie",
220
- "type": "object",
221
- "properties": {
222
- "maxPoints": {
223
- "description": "Indicates the max limit for scoring points",
224
- "type": "number",
225
- "title": "maxPoints"
226
- },
227
- "excludeZeros": {
228
- "description": "Indicates if point 0 should be shown",
229
- "type": "boolean",
230
- "title": "excludeZeros"
231
- },
232
- "rubriclessInstructionEnabled": {
233
- "description": "Indicates that rubricInstruction is enabled",
234
- "type": "boolean",
235
- "title": "rubriclessInstructionEnabled"
236
- },
237
- "id": {
238
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
239
- "type": "string",
240
- "title": "id"
241
- },
242
- "element": {
243
- "description": "The html Element tag name",
244
- "type": "string",
245
- "title": "element"
246
- }
247
- },
248
- "required": [
249
- "element",
250
- "id",
251
- "rubriclessInstructionEnabled"
252
- ]
253
- }
254
- },
255
- "required": [
256
- "multiTraitRubric",
257
- "rubricless",
258
- "simpleRubric"
259
- ]
260
- },
261
- "id": {
262
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
263
- "type": "string",
264
- "title": "id"
265
- },
266
- "element": {
267
- "description": "The html Element tag name",
268
- "type": "string",
269
- "title": "element"
270
- }
271
- },
272
- "required": [
273
- "element",
274
- "id",
275
- "rubricType",
276
- "rubrics"
277
- ],
278
- "definitions": {
279
- "RubricConfigure": {
280
- "title": "RubricConfigure",
281
- "type": "object",
282
- "properties": {
283
- "baseInputConfiguration": {
284
- "title": "EditableHtmlConfigureProp",
285
- "type": "object",
286
- "properties": {
287
- "math": {
288
- "title": "EditableHtmlButtonConfigure",
289
- "type": "object",
290
- "properties": {
291
- "disabled": {
292
- "description": "Indicates if the plugin is disabled or not",
293
- "type": "boolean",
294
- "title": "disabled"
295
- }
296
- }
297
- },
298
- "audio": {
299
- "title": "EditableHtmlButtonConfigure",
300
- "type": "object",
301
- "properties": {
302
- "disabled": {
303
- "description": "Indicates if the plugin is disabled or not",
304
- "type": "boolean",
305
- "title": "disabled"
306
- }
307
- }
308
- },
309
- "video": {
310
- "title": "EditableHtmlButtonConfigure",
311
- "type": "object",
312
- "properties": {
313
- "disabled": {
314
- "description": "Indicates if the plugin is disabled or not",
315
- "type": "boolean",
316
- "title": "disabled"
317
- }
318
- }
319
- },
320
- "image": {
321
- "title": "EditableHtmlButtonConfigure",
322
- "type": "object",
323
- "properties": {
324
- "disabled": {
325
- "description": "Indicates if the plugin is disabled or not",
326
- "type": "boolean",
327
- "title": "disabled"
328
- }
329
- }
330
- },
331
- "customPlugins": {
332
- "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.",
333
- "type": "array",
334
- "items": {
335
- "title": "CustomPlugin",
336
- "type": "object",
337
- "properties": {
338
- "event": {
339
- "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\"",
340
- "type": "string",
341
- "title": "event"
342
- },
343
- "iconAlt": {
344
- "description": "The alt for the custom button icon",
345
- "type": "string",
346
- "title": "iconAlt"
347
- },
348
- "iconType": {
349
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
350
- "type": "string",
351
- "title": "iconType"
352
- },
353
- "icon": {
354
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
355
- "type": "string",
356
- "title": "icon"
357
- }
358
- },
359
- "required": [
360
- "event",
361
- "icon",
362
- "iconAlt",
363
- "iconType"
364
- ]
365
- },
366
- "title": "customPlugins"
367
- },
368
- "blockquote": {
369
- "title": "EditableHtmlButtonConfigure",
370
- "type": "object",
371
- "properties": {
372
- "disabled": {
373
- "description": "Indicates if the plugin is disabled or not",
374
- "type": "boolean",
375
- "title": "disabled"
376
- }
377
- }
378
- },
379
- "h3": {
380
- "title": "EditableHtmlButtonConfigure",
381
- "type": "object",
382
- "properties": {
383
- "disabled": {
384
- "description": "Indicates if the plugin is disabled or not",
385
- "type": "boolean",
386
- "title": "disabled"
387
- }
388
- }
389
- },
390
- "characters": {
391
- "title": "EditableHtmlButtonConfigure",
392
- "type": "object",
393
- "properties": {
394
- "disabled": {
395
- "description": "Indicates if the plugin is disabled or not",
396
- "type": "boolean",
397
- "title": "disabled"
398
- }
399
- }
400
- },
401
- "bold": {
402
- "title": "EditableHtmlButtonConfigure",
403
- "type": "object",
404
- "properties": {
405
- "disabled": {
406
- "description": "Indicates if the plugin is disabled or not",
407
- "type": "boolean",
408
- "title": "disabled"
409
- }
410
- }
411
- },
412
- "html": {
413
- "title": "EditableHtmlButtonConfigure",
414
- "type": "object",
415
- "properties": {
416
- "disabled": {
417
- "description": "Indicates if the plugin is disabled or not",
418
- "type": "boolean",
419
- "title": "disabled"
420
- }
421
- }
422
- },
423
- "italic": {
424
- "title": "EditableHtmlButtonConfigure",
425
- "type": "object",
426
- "properties": {
427
- "disabled": {
428
- "description": "Indicates if the plugin is disabled or not",
429
- "type": "boolean",
430
- "title": "disabled"
431
- }
432
- }
433
- },
434
- "ol_list": {
435
- "title": "EditableHtmlButtonConfigure",
436
- "type": "object",
437
- "properties": {
438
- "disabled": {
439
- "description": "Indicates if the plugin is disabled or not",
440
- "type": "boolean",
441
- "title": "disabled"
442
- }
443
- }
444
- },
445
- "redo": {
446
- "title": "EditableHtmlButtonConfigure",
447
- "type": "object",
448
- "properties": {
449
- "disabled": {
450
- "description": "Indicates if the plugin is disabled or not",
451
- "type": "boolean",
452
- "title": "disabled"
453
- }
454
- }
455
- },
456
- "strikethrough": {
457
- "title": "EditableHtmlButtonConfigure",
458
- "type": "object",
459
- "properties": {
460
- "disabled": {
461
- "description": "Indicates if the plugin is disabled or not",
462
- "type": "boolean",
463
- "title": "disabled"
464
- }
465
- }
466
- },
467
- "sub": {
468
- "title": "EditableHtmlButtonConfigure",
469
- "type": "object",
470
- "properties": {
471
- "disabled": {
472
- "description": "Indicates if the plugin is disabled or not",
473
- "type": "boolean",
474
- "title": "disabled"
475
- }
476
- }
477
- },
478
- "sup": {
479
- "title": "EditableHtmlButtonConfigure",
480
- "type": "object",
481
- "properties": {
482
- "disabled": {
483
- "description": "Indicates if the plugin is disabled or not",
484
- "type": "boolean",
485
- "title": "disabled"
486
- }
487
- }
488
- },
489
- "table": {
490
- "title": "EditableHtmlButtonConfigure",
491
- "type": "object",
492
- "properties": {
493
- "disabled": {
494
- "description": "Indicates if the plugin is disabled or not",
495
- "type": "boolean",
496
- "title": "disabled"
497
- }
498
- }
499
- },
500
- "ul_list": {
501
- "title": "EditableHtmlButtonConfigure",
502
- "type": "object",
503
- "properties": {
504
- "disabled": {
505
- "description": "Indicates if the plugin is disabled or not",
506
- "type": "boolean",
507
- "title": "disabled"
508
- }
509
- }
510
- },
511
- "underline": {
512
- "title": "EditableHtmlButtonConfigure",
513
- "type": "object",
514
- "properties": {
515
- "disabled": {
516
- "description": "Indicates if the plugin is disabled or not",
517
- "type": "boolean",
518
- "title": "disabled"
519
- }
520
- }
521
- },
522
- "undo": {
523
- "title": "EditableHtmlButtonConfigure",
524
- "type": "object",
525
- "properties": {
526
- "disabled": {
527
- "description": "Indicates if the plugin is disabled or not",
528
- "type": "boolean",
529
- "title": "disabled"
530
- }
531
- }
532
- }
533
- }
534
- },
535
- "settingsPanelDisabled": {
536
- "description": "Indicates if the settings panel is not available",
537
- "type": "boolean",
538
- "title": "settingsPanelDisabled"
539
- },
540
- "showExcludeZero": {
541
- "title": "ConfigureProp",
542
- "type": "object",
543
- "properties": {
544
- "settings": {
545
- "description": "Indicates if the item has to be displayed in the Settings Panel",
546
- "type": "boolean",
547
- "title": "settings"
548
- },
549
- "label": {
550
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
551
- "type": "string",
552
- "title": "label"
553
- }
554
- }
555
- },
556
- "showMaxPoint": {
557
- "title": "ConfigureProp",
558
- "type": "object",
559
- "properties": {
560
- "settings": {
561
- "description": "Indicates if the item has to be displayed in the Settings Panel",
562
- "type": "boolean",
563
- "title": "settings"
564
- },
565
- "label": {
566
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
567
- "type": "string",
568
- "title": "label"
569
- }
570
- }
571
- },
572
- "width": {
573
- "description": "How large can the rubric be",
574
- "type": "string",
575
- "title": "width"
576
- },
577
- "mathMlOptions": {
578
- "title": "ConfigureMathMLProp",
579
- "type": "object",
580
- "properties": {
581
- "mmlOutput": {
582
- "description": "Indicates if model should have mathML output instead of latex",
583
- "type": "number",
584
- "title": "mmlOutput"
585
- },
586
- "mmlEditing": {
587
- "description": "Indicates if mathML that's already in model should be editable",
588
- "type": "number",
589
- "title": "mmlEditing"
590
- }
591
- }
592
- },
593
- "maxMaxPoints": {
594
- "description": "Indicates the max limit for scoring points",
595
- "type": "number",
596
- "title": "maxMaxPoints"
597
- },
598
- "showPrompt": {
599
- "description": "Determines whether prompt field will be displayed or not",
600
- "default": true,
601
- "type": "boolean",
602
- "title": "showPrompt"
603
- },
604
- "promptLabel": {
605
- "description": "The label for the item stem/prompt field",
606
- "default": "Item Stemm",
607
- "type": "string",
608
- "title": "promptLabel"
609
- },
610
- "contentDimensions": {
611
- "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
612
- "default": ": {}",
613
- "type": "object",
614
- "properties": {
615
- "maxHeight": {
616
- "description": "Indicates the max height of the authoring container",
617
- "default": "undefined",
618
- "type": [
619
- "string",
620
- "number"
621
- ],
622
- "title": "maxHeight"
623
- },
624
- "maxWidth": {
625
- "description": "Indicates the max width of the authoring container",
626
- "default": "undefined",
627
- "type": [
628
- "string",
629
- "number"
630
- ],
631
- "title": "maxWidth"
632
- },
633
- "minHeight": {
634
- "description": "Indicates the min height of the authoring container",
635
- "default": "undefined",
636
- "type": [
637
- "string",
638
- "number"
639
- ],
640
- "title": "minHeight"
641
- },
642
- "minWidth": {
643
- "description": "Indicates the min width of the authoring container",
644
- "default": "undefined",
645
- "type": [
646
- "string",
647
- "number"
648
- ],
649
- "title": "minWidth"
650
- }
651
- },
652
- "title": "contentDimensions"
653
- },
654
- "settingsPartialScoring": {
655
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
656
- "default": true,
657
- "type": "boolean",
658
- "title": "settingsPartialScoring"
659
- }
660
- }
661
- },
662
- "EditableHtmlConfigureProp": {
663
- "title": "EditableHtmlConfigureProp",
664
- "type": "object",
665
- "properties": {
666
- "math": {
667
- "title": "EditableHtmlButtonConfigure",
668
- "type": "object",
669
- "properties": {
670
- "disabled": {
671
- "description": "Indicates if the plugin is disabled or not",
672
- "type": "boolean",
673
- "title": "disabled"
674
- }
675
- }
676
- },
677
- "audio": {
678
- "title": "EditableHtmlButtonConfigure",
679
- "type": "object",
680
- "properties": {
681
- "disabled": {
682
- "description": "Indicates if the plugin is disabled or not",
683
- "type": "boolean",
684
- "title": "disabled"
685
- }
686
- }
687
- },
688
- "video": {
689
- "title": "EditableHtmlButtonConfigure",
690
- "type": "object",
691
- "properties": {
692
- "disabled": {
693
- "description": "Indicates if the plugin is disabled or not",
694
- "type": "boolean",
695
- "title": "disabled"
696
- }
697
- }
698
- },
699
- "image": {
700
- "title": "EditableHtmlButtonConfigure",
701
- "type": "object",
702
- "properties": {
703
- "disabled": {
704
- "description": "Indicates if the plugin is disabled or not",
705
- "type": "boolean",
706
- "title": "disabled"
707
- }
708
- }
709
- },
710
- "customPlugins": {
711
- "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.",
712
- "type": "array",
713
- "items": {
714
- "title": "CustomPlugin",
715
- "type": "object",
716
- "properties": {
717
- "event": {
718
- "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\"",
719
- "type": "string",
720
- "title": "event"
721
- },
722
- "iconAlt": {
723
- "description": "The alt for the custom button icon",
724
- "type": "string",
725
- "title": "iconAlt"
726
- },
727
- "iconType": {
728
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
729
- "type": "string",
730
- "title": "iconType"
731
- },
732
- "icon": {
733
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
734
- "type": "string",
735
- "title": "icon"
736
- }
737
- },
738
- "required": [
739
- "event",
740
- "icon",
741
- "iconAlt",
742
- "iconType"
743
- ]
744
- },
745
- "title": "customPlugins"
746
- },
747
- "blockquote": {
748
- "title": "EditableHtmlButtonConfigure",
749
- "type": "object",
750
- "properties": {
751
- "disabled": {
752
- "description": "Indicates if the plugin is disabled or not",
753
- "type": "boolean",
754
- "title": "disabled"
755
- }
756
- }
757
- },
758
- "h3": {
759
- "title": "EditableHtmlButtonConfigure",
760
- "type": "object",
761
- "properties": {
762
- "disabled": {
763
- "description": "Indicates if the plugin is disabled or not",
764
- "type": "boolean",
765
- "title": "disabled"
766
- }
767
- }
768
- },
769
- "characters": {
770
- "title": "EditableHtmlButtonConfigure",
771
- "type": "object",
772
- "properties": {
773
- "disabled": {
774
- "description": "Indicates if the plugin is disabled or not",
775
- "type": "boolean",
776
- "title": "disabled"
777
- }
778
- }
779
- },
780
- "bold": {
781
- "title": "EditableHtmlButtonConfigure",
782
- "type": "object",
783
- "properties": {
784
- "disabled": {
785
- "description": "Indicates if the plugin is disabled or not",
786
- "type": "boolean",
787
- "title": "disabled"
788
- }
789
- }
790
- },
791
- "html": {
792
- "title": "EditableHtmlButtonConfigure",
793
- "type": "object",
794
- "properties": {
795
- "disabled": {
796
- "description": "Indicates if the plugin is disabled or not",
797
- "type": "boolean",
798
- "title": "disabled"
799
- }
800
- }
801
- },
802
- "italic": {
803
- "title": "EditableHtmlButtonConfigure",
804
- "type": "object",
805
- "properties": {
806
- "disabled": {
807
- "description": "Indicates if the plugin is disabled or not",
808
- "type": "boolean",
809
- "title": "disabled"
810
- }
811
- }
812
- },
813
- "ol_list": {
814
- "title": "EditableHtmlButtonConfigure",
815
- "type": "object",
816
- "properties": {
817
- "disabled": {
818
- "description": "Indicates if the plugin is disabled or not",
819
- "type": "boolean",
820
- "title": "disabled"
821
- }
822
- }
823
- },
824
- "redo": {
825
- "title": "EditableHtmlButtonConfigure",
826
- "type": "object",
827
- "properties": {
828
- "disabled": {
829
- "description": "Indicates if the plugin is disabled or not",
830
- "type": "boolean",
831
- "title": "disabled"
832
- }
833
- }
834
- },
835
- "strikethrough": {
836
- "title": "EditableHtmlButtonConfigure",
837
- "type": "object",
838
- "properties": {
839
- "disabled": {
840
- "description": "Indicates if the plugin is disabled or not",
841
- "type": "boolean",
842
- "title": "disabled"
843
- }
844
- }
845
- },
846
- "sub": {
847
- "title": "EditableHtmlButtonConfigure",
848
- "type": "object",
849
- "properties": {
850
- "disabled": {
851
- "description": "Indicates if the plugin is disabled or not",
852
- "type": "boolean",
853
- "title": "disabled"
854
- }
855
- }
856
- },
857
- "sup": {
858
- "title": "EditableHtmlButtonConfigure",
859
- "type": "object",
860
- "properties": {
861
- "disabled": {
862
- "description": "Indicates if the plugin is disabled or not",
863
- "type": "boolean",
864
- "title": "disabled"
865
- }
866
- }
867
- },
868
- "table": {
869
- "title": "EditableHtmlButtonConfigure",
870
- "type": "object",
871
- "properties": {
872
- "disabled": {
873
- "description": "Indicates if the plugin is disabled or not",
874
- "type": "boolean",
875
- "title": "disabled"
876
- }
877
- }
878
- },
879
- "ul_list": {
880
- "title": "EditableHtmlButtonConfigure",
881
- "type": "object",
882
- "properties": {
883
- "disabled": {
884
- "description": "Indicates if the plugin is disabled or not",
885
- "type": "boolean",
886
- "title": "disabled"
887
- }
888
- }
889
- },
890
- "underline": {
891
- "title": "EditableHtmlButtonConfigure",
892
- "type": "object",
893
- "properties": {
894
- "disabled": {
895
- "description": "Indicates if the plugin is disabled or not",
896
- "type": "boolean",
897
- "title": "disabled"
898
- }
899
- }
900
- },
901
- "undo": {
902
- "title": "EditableHtmlButtonConfigure",
903
- "type": "object",
904
- "properties": {
905
- "disabled": {
906
- "description": "Indicates if the plugin is disabled or not",
907
- "type": "boolean",
908
- "title": "disabled"
909
- }
910
- }
911
- }
912
- }
913
- },
914
- "EditableHtmlButtonConfigure": {
915
- "title": "EditableHtmlButtonConfigure",
916
- "type": "object",
917
- "properties": {
918
- "disabled": {
919
- "description": "Indicates if the plugin is disabled or not",
920
- "type": "boolean",
921
- "title": "disabled"
922
- }
923
- }
924
- },
925
- "CustomPlugin": {
926
- "title": "CustomPlugin",
927
- "type": "object",
928
- "properties": {
929
- "event": {
930
- "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\"",
931
- "type": "string",
932
- "title": "event"
933
- },
934
- "iconAlt": {
935
- "description": "The alt for the custom button icon",
936
- "type": "string",
937
- "title": "iconAlt"
938
- },
939
- "iconType": {
940
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
941
- "type": "string",
942
- "title": "iconType"
943
- },
944
- "icon": {
945
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
946
- "type": "string",
947
- "title": "icon"
948
- }
949
- },
950
- "required": [
951
- "event",
952
- "icon",
953
- "iconAlt",
954
- "iconType"
955
- ]
956
- },
957
- "ConfigureProp": {
958
- "title": "ConfigureProp",
959
- "type": "object",
960
- "properties": {
961
- "settings": {
962
- "description": "Indicates if the item has to be displayed in the Settings Panel",
963
- "type": "boolean",
964
- "title": "settings"
965
- },
966
- "label": {
967
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
968
- "type": "string",
969
- "title": "label"
970
- }
971
- }
972
- },
973
- "ConfigureMathMLProp": {
974
- "title": "ConfigureMathMLProp",
975
- "type": "object",
976
- "properties": {
977
- "mmlOutput": {
978
- "description": "Indicates if model should have mathML output instead of latex",
979
- "type": "number",
980
- "title": "mmlOutput"
981
- },
982
- "mmlEditing": {
983
- "description": "Indicates if mathML that's already in model should be editable",
984
- "type": "number",
985
- "title": "mmlEditing"
986
- }
987
- }
988
- },
989
- "MultiTraitRubricConfigure": {
990
- "description": "Config Object for @pie-elements/multi-trait-rubric",
991
- "additionalProperties": false,
992
- "title": "MultiTraitRubricConfigure",
993
- "type": "object",
994
- "properties": {
995
- "baseInputConfiguration": {
996
- "title": "EditableHtmlConfigureProp",
997
- "type": "object",
998
- "properties": {
999
- "math": {
1000
- "title": "EditableHtmlButtonConfigure",
1001
- "type": "object",
1002
- "properties": {
1003
- "disabled": {
1004
- "description": "Indicates if the plugin is disabled or not",
1005
- "type": "boolean",
1006
- "title": "disabled"
1007
- }
1008
- }
1009
- },
1010
- "audio": {
1011
- "title": "EditableHtmlButtonConfigure",
1012
- "type": "object",
1013
- "properties": {
1014
- "disabled": {
1015
- "description": "Indicates if the plugin is disabled or not",
1016
- "type": "boolean",
1017
- "title": "disabled"
1018
- }
1019
- }
1020
- },
1021
- "video": {
1022
- "title": "EditableHtmlButtonConfigure",
1023
- "type": "object",
1024
- "properties": {
1025
- "disabled": {
1026
- "description": "Indicates if the plugin is disabled or not",
1027
- "type": "boolean",
1028
- "title": "disabled"
1029
- }
1030
- }
1031
- },
1032
- "image": {
1033
- "title": "EditableHtmlButtonConfigure",
1034
- "type": "object",
1035
- "properties": {
1036
- "disabled": {
1037
- "description": "Indicates if the plugin is disabled or not",
1038
- "type": "boolean",
1039
- "title": "disabled"
1040
- }
1041
- }
1042
- },
1043
- "customPlugins": {
1044
- "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.",
1045
- "type": "array",
1046
- "items": {
1047
- "title": "CustomPlugin",
1048
- "type": "object",
1049
- "properties": {
1050
- "event": {
1051
- "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\"",
1052
- "type": "string",
1053
- "title": "event"
1054
- },
1055
- "iconAlt": {
1056
- "description": "The alt for the custom button icon",
1057
- "type": "string",
1058
- "title": "iconAlt"
1059
- },
1060
- "iconType": {
1061
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1062
- "type": "string",
1063
- "title": "iconType"
1064
- },
1065
- "icon": {
1066
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1067
- "type": "string",
1068
- "title": "icon"
1069
- }
1070
- },
1071
- "required": [
1072
- "event",
1073
- "icon",
1074
- "iconAlt",
1075
- "iconType"
1076
- ]
1077
- },
1078
- "title": "customPlugins"
1079
- },
1080
- "blockquote": {
1081
- "title": "EditableHtmlButtonConfigure",
1082
- "type": "object",
1083
- "properties": {
1084
- "disabled": {
1085
- "description": "Indicates if the plugin is disabled or not",
1086
- "type": "boolean",
1087
- "title": "disabled"
1088
- }
1089
- }
1090
- },
1091
- "h3": {
1092
- "title": "EditableHtmlButtonConfigure",
1093
- "type": "object",
1094
- "properties": {
1095
- "disabled": {
1096
- "description": "Indicates if the plugin is disabled or not",
1097
- "type": "boolean",
1098
- "title": "disabled"
1099
- }
1100
- }
1101
- },
1102
- "characters": {
1103
- "title": "EditableHtmlButtonConfigure",
1104
- "type": "object",
1105
- "properties": {
1106
- "disabled": {
1107
- "description": "Indicates if the plugin is disabled or not",
1108
- "type": "boolean",
1109
- "title": "disabled"
1110
- }
1111
- }
1112
- },
1113
- "bold": {
1114
- "title": "EditableHtmlButtonConfigure",
1115
- "type": "object",
1116
- "properties": {
1117
- "disabled": {
1118
- "description": "Indicates if the plugin is disabled or not",
1119
- "type": "boolean",
1120
- "title": "disabled"
1121
- }
1122
- }
1123
- },
1124
- "html": {
1125
- "title": "EditableHtmlButtonConfigure",
1126
- "type": "object",
1127
- "properties": {
1128
- "disabled": {
1129
- "description": "Indicates if the plugin is disabled or not",
1130
- "type": "boolean",
1131
- "title": "disabled"
1132
- }
1133
- }
1134
- },
1135
- "italic": {
1136
- "title": "EditableHtmlButtonConfigure",
1137
- "type": "object",
1138
- "properties": {
1139
- "disabled": {
1140
- "description": "Indicates if the plugin is disabled or not",
1141
- "type": "boolean",
1142
- "title": "disabled"
1143
- }
1144
- }
1145
- },
1146
- "ol_list": {
1147
- "title": "EditableHtmlButtonConfigure",
1148
- "type": "object",
1149
- "properties": {
1150
- "disabled": {
1151
- "description": "Indicates if the plugin is disabled or not",
1152
- "type": "boolean",
1153
- "title": "disabled"
1154
- }
1155
- }
1156
- },
1157
- "redo": {
1158
- "title": "EditableHtmlButtonConfigure",
1159
- "type": "object",
1160
- "properties": {
1161
- "disabled": {
1162
- "description": "Indicates if the plugin is disabled or not",
1163
- "type": "boolean",
1164
- "title": "disabled"
1165
- }
1166
- }
1167
- },
1168
- "strikethrough": {
1169
- "title": "EditableHtmlButtonConfigure",
1170
- "type": "object",
1171
- "properties": {
1172
- "disabled": {
1173
- "description": "Indicates if the plugin is disabled or not",
1174
- "type": "boolean",
1175
- "title": "disabled"
1176
- }
1177
- }
1178
- },
1179
- "sub": {
1180
- "title": "EditableHtmlButtonConfigure",
1181
- "type": "object",
1182
- "properties": {
1183
- "disabled": {
1184
- "description": "Indicates if the plugin is disabled or not",
1185
- "type": "boolean",
1186
- "title": "disabled"
1187
- }
1188
- }
1189
- },
1190
- "sup": {
1191
- "title": "EditableHtmlButtonConfigure",
1192
- "type": "object",
1193
- "properties": {
1194
- "disabled": {
1195
- "description": "Indicates if the plugin is disabled or not",
1196
- "type": "boolean",
1197
- "title": "disabled"
1198
- }
1199
- }
1200
- },
1201
- "table": {
1202
- "title": "EditableHtmlButtonConfigure",
1203
- "type": "object",
1204
- "properties": {
1205
- "disabled": {
1206
- "description": "Indicates if the plugin is disabled or not",
1207
- "type": "boolean",
1208
- "title": "disabled"
1209
- }
1210
- }
1211
- },
1212
- "ul_list": {
1213
- "title": "EditableHtmlButtonConfigure",
1214
- "type": "object",
1215
- "properties": {
1216
- "disabled": {
1217
- "description": "Indicates if the plugin is disabled or not",
1218
- "type": "boolean",
1219
- "title": "disabled"
1220
- }
1221
- }
1222
- },
1223
- "underline": {
1224
- "title": "EditableHtmlButtonConfigure",
1225
- "type": "object",
1226
- "properties": {
1227
- "disabled": {
1228
- "description": "Indicates if the plugin is disabled or not",
1229
- "type": "boolean",
1230
- "title": "disabled"
1231
- }
1232
- }
1233
- },
1234
- "undo": {
1235
- "title": "EditableHtmlButtonConfigure",
1236
- "type": "object",
1237
- "properties": {
1238
- "disabled": {
1239
- "description": "Indicates if the plugin is disabled or not",
1240
- "type": "boolean",
1241
- "title": "disabled"
1242
- }
1243
- }
1244
- }
1245
- }
1246
- },
1247
- "expandedInput": {
1248
- "title": "EditableHtmlPluginConfigure",
1249
- "type": "object",
1250
- "properties": {
1251
- "inputConfiguration": {
1252
- "title": "EditableHtmlConfigureProp",
1253
- "type": "object",
1254
- "properties": {
1255
- "math": {
1256
- "title": "EditableHtmlButtonConfigure",
1257
- "type": "object",
1258
- "properties": {
1259
- "disabled": {
1260
- "description": "Indicates if the plugin is disabled or not",
1261
- "type": "boolean",
1262
- "title": "disabled"
1263
- }
1264
- }
1265
- },
1266
- "audio": {
1267
- "title": "EditableHtmlButtonConfigure",
1268
- "type": "object",
1269
- "properties": {
1270
- "disabled": {
1271
- "description": "Indicates if the plugin is disabled or not",
1272
- "type": "boolean",
1273
- "title": "disabled"
1274
- }
1275
- }
1276
- },
1277
- "video": {
1278
- "title": "EditableHtmlButtonConfigure",
1279
- "type": "object",
1280
- "properties": {
1281
- "disabled": {
1282
- "description": "Indicates if the plugin is disabled or not",
1283
- "type": "boolean",
1284
- "title": "disabled"
1285
- }
1286
- }
1287
- },
1288
- "image": {
1289
- "title": "EditableHtmlButtonConfigure",
1290
- "type": "object",
1291
- "properties": {
1292
- "disabled": {
1293
- "description": "Indicates if the plugin is disabled or not",
1294
- "type": "boolean",
1295
- "title": "disabled"
1296
- }
1297
- }
1298
- },
1299
- "customPlugins": {
1300
- "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.",
1301
- "type": "array",
1302
- "items": {
1303
- "title": "CustomPlugin",
1304
- "type": "object",
1305
- "properties": {
1306
- "event": {
1307
- "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\"",
1308
- "type": "string",
1309
- "title": "event"
1310
- },
1311
- "iconAlt": {
1312
- "description": "The alt for the custom button icon",
1313
- "type": "string",
1314
- "title": "iconAlt"
1315
- },
1316
- "iconType": {
1317
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1318
- "type": "string",
1319
- "title": "iconType"
1320
- },
1321
- "icon": {
1322
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1323
- "type": "string",
1324
- "title": "icon"
1325
- }
1326
- },
1327
- "required": [
1328
- "event",
1329
- "icon",
1330
- "iconAlt",
1331
- "iconType"
1332
- ]
1333
- },
1334
- "title": "customPlugins"
1335
- },
1336
- "blockquote": {
1337
- "title": "EditableHtmlButtonConfigure",
1338
- "type": "object",
1339
- "properties": {
1340
- "disabled": {
1341
- "description": "Indicates if the plugin is disabled or not",
1342
- "type": "boolean",
1343
- "title": "disabled"
1344
- }
1345
- }
1346
- },
1347
- "h3": {
1348
- "title": "EditableHtmlButtonConfigure",
1349
- "type": "object",
1350
- "properties": {
1351
- "disabled": {
1352
- "description": "Indicates if the plugin is disabled or not",
1353
- "type": "boolean",
1354
- "title": "disabled"
1355
- }
1356
- }
1357
- },
1358
- "characters": {
1359
- "title": "EditableHtmlButtonConfigure",
1360
- "type": "object",
1361
- "properties": {
1362
- "disabled": {
1363
- "description": "Indicates if the plugin is disabled or not",
1364
- "type": "boolean",
1365
- "title": "disabled"
1366
- }
1367
- }
1368
- },
1369
- "bold": {
1370
- "title": "EditableHtmlButtonConfigure",
1371
- "type": "object",
1372
- "properties": {
1373
- "disabled": {
1374
- "description": "Indicates if the plugin is disabled or not",
1375
- "type": "boolean",
1376
- "title": "disabled"
1377
- }
1378
- }
1379
- },
1380
- "html": {
1381
- "title": "EditableHtmlButtonConfigure",
1382
- "type": "object",
1383
- "properties": {
1384
- "disabled": {
1385
- "description": "Indicates if the plugin is disabled or not",
1386
- "type": "boolean",
1387
- "title": "disabled"
1388
- }
1389
- }
1390
- },
1391
- "italic": {
1392
- "title": "EditableHtmlButtonConfigure",
1393
- "type": "object",
1394
- "properties": {
1395
- "disabled": {
1396
- "description": "Indicates if the plugin is disabled or not",
1397
- "type": "boolean",
1398
- "title": "disabled"
1399
- }
1400
- }
1401
- },
1402
- "ol_list": {
1403
- "title": "EditableHtmlButtonConfigure",
1404
- "type": "object",
1405
- "properties": {
1406
- "disabled": {
1407
- "description": "Indicates if the plugin is disabled or not",
1408
- "type": "boolean",
1409
- "title": "disabled"
1410
- }
1411
- }
1412
- },
1413
- "redo": {
1414
- "title": "EditableHtmlButtonConfigure",
1415
- "type": "object",
1416
- "properties": {
1417
- "disabled": {
1418
- "description": "Indicates if the plugin is disabled or not",
1419
- "type": "boolean",
1420
- "title": "disabled"
1421
- }
1422
- }
1423
- },
1424
- "strikethrough": {
1425
- "title": "EditableHtmlButtonConfigure",
1426
- "type": "object",
1427
- "properties": {
1428
- "disabled": {
1429
- "description": "Indicates if the plugin is disabled or not",
1430
- "type": "boolean",
1431
- "title": "disabled"
1432
- }
1433
- }
1434
- },
1435
- "sub": {
1436
- "title": "EditableHtmlButtonConfigure",
1437
- "type": "object",
1438
- "properties": {
1439
- "disabled": {
1440
- "description": "Indicates if the plugin is disabled or not",
1441
- "type": "boolean",
1442
- "title": "disabled"
1443
- }
1444
- }
1445
- },
1446
- "sup": {
1447
- "title": "EditableHtmlButtonConfigure",
1448
- "type": "object",
1449
- "properties": {
1450
- "disabled": {
1451
- "description": "Indicates if the plugin is disabled or not",
1452
- "type": "boolean",
1453
- "title": "disabled"
1454
- }
1455
- }
1456
- },
1457
- "table": {
1458
- "title": "EditableHtmlButtonConfigure",
1459
- "type": "object",
1460
- "properties": {
1461
- "disabled": {
1462
- "description": "Indicates if the plugin is disabled or not",
1463
- "type": "boolean",
1464
- "title": "disabled"
1465
- }
1466
- }
1467
- },
1468
- "ul_list": {
1469
- "title": "EditableHtmlButtonConfigure",
1470
- "type": "object",
1471
- "properties": {
1472
- "disabled": {
1473
- "description": "Indicates if the plugin is disabled or not",
1474
- "type": "boolean",
1475
- "title": "disabled"
1476
- }
1477
- }
1478
- },
1479
- "underline": {
1480
- "title": "EditableHtmlButtonConfigure",
1481
- "type": "object",
1482
- "properties": {
1483
- "disabled": {
1484
- "description": "Indicates if the plugin is disabled or not",
1485
- "type": "boolean",
1486
- "title": "disabled"
1487
- }
1488
- }
1489
- },
1490
- "undo": {
1491
- "title": "EditableHtmlButtonConfigure",
1492
- "type": "object",
1493
- "properties": {
1494
- "disabled": {
1495
- "description": "Indicates if the plugin is disabled or not",
1496
- "type": "boolean",
1497
- "title": "disabled"
1498
- }
1499
- }
1500
- }
1501
- }
1502
- },
1503
- "settings": {
1504
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1505
- "type": "boolean",
1506
- "title": "settings"
1507
- },
1508
- "label": {
1509
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1510
- "type": "string",
1511
- "title": "label"
1512
- }
1513
- }
1514
- },
1515
- "labelInput": {
1516
- "title": "EditableHtmlPluginConfigure",
1517
- "type": "object",
1518
- "properties": {
1519
- "inputConfiguration": {
1520
- "title": "EditableHtmlConfigureProp",
1521
- "type": "object",
1522
- "properties": {
1523
- "math": {
1524
- "title": "EditableHtmlButtonConfigure",
1525
- "type": "object",
1526
- "properties": {
1527
- "disabled": {
1528
- "description": "Indicates if the plugin is disabled or not",
1529
- "type": "boolean",
1530
- "title": "disabled"
1531
- }
1532
- }
1533
- },
1534
- "audio": {
1535
- "title": "EditableHtmlButtonConfigure",
1536
- "type": "object",
1537
- "properties": {
1538
- "disabled": {
1539
- "description": "Indicates if the plugin is disabled or not",
1540
- "type": "boolean",
1541
- "title": "disabled"
1542
- }
1543
- }
1544
- },
1545
- "video": {
1546
- "title": "EditableHtmlButtonConfigure",
1547
- "type": "object",
1548
- "properties": {
1549
- "disabled": {
1550
- "description": "Indicates if the plugin is disabled or not",
1551
- "type": "boolean",
1552
- "title": "disabled"
1553
- }
1554
- }
1555
- },
1556
- "image": {
1557
- "title": "EditableHtmlButtonConfigure",
1558
- "type": "object",
1559
- "properties": {
1560
- "disabled": {
1561
- "description": "Indicates if the plugin is disabled or not",
1562
- "type": "boolean",
1563
- "title": "disabled"
1564
- }
1565
- }
1566
- },
1567
- "customPlugins": {
1568
- "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.",
1569
- "type": "array",
1570
- "items": {
1571
- "title": "CustomPlugin",
1572
- "type": "object",
1573
- "properties": {
1574
- "event": {
1575
- "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\"",
1576
- "type": "string",
1577
- "title": "event"
1578
- },
1579
- "iconAlt": {
1580
- "description": "The alt for the custom button icon",
1581
- "type": "string",
1582
- "title": "iconAlt"
1583
- },
1584
- "iconType": {
1585
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1586
- "type": "string",
1587
- "title": "iconType"
1588
- },
1589
- "icon": {
1590
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1591
- "type": "string",
1592
- "title": "icon"
1593
- }
1594
- },
1595
- "required": [
1596
- "event",
1597
- "icon",
1598
- "iconAlt",
1599
- "iconType"
1600
- ]
1601
- },
1602
- "title": "customPlugins"
1603
- },
1604
- "blockquote": {
1605
- "title": "EditableHtmlButtonConfigure",
1606
- "type": "object",
1607
- "properties": {
1608
- "disabled": {
1609
- "description": "Indicates if the plugin is disabled or not",
1610
- "type": "boolean",
1611
- "title": "disabled"
1612
- }
1613
- }
1614
- },
1615
- "h3": {
1616
- "title": "EditableHtmlButtonConfigure",
1617
- "type": "object",
1618
- "properties": {
1619
- "disabled": {
1620
- "description": "Indicates if the plugin is disabled or not",
1621
- "type": "boolean",
1622
- "title": "disabled"
1623
- }
1624
- }
1625
- },
1626
- "characters": {
1627
- "title": "EditableHtmlButtonConfigure",
1628
- "type": "object",
1629
- "properties": {
1630
- "disabled": {
1631
- "description": "Indicates if the plugin is disabled or not",
1632
- "type": "boolean",
1633
- "title": "disabled"
1634
- }
1635
- }
1636
- },
1637
- "bold": {
1638
- "title": "EditableHtmlButtonConfigure",
1639
- "type": "object",
1640
- "properties": {
1641
- "disabled": {
1642
- "description": "Indicates if the plugin is disabled or not",
1643
- "type": "boolean",
1644
- "title": "disabled"
1645
- }
1646
- }
1647
- },
1648
- "html": {
1649
- "title": "EditableHtmlButtonConfigure",
1650
- "type": "object",
1651
- "properties": {
1652
- "disabled": {
1653
- "description": "Indicates if the plugin is disabled or not",
1654
- "type": "boolean",
1655
- "title": "disabled"
1656
- }
1657
- }
1658
- },
1659
- "italic": {
1660
- "title": "EditableHtmlButtonConfigure",
1661
- "type": "object",
1662
- "properties": {
1663
- "disabled": {
1664
- "description": "Indicates if the plugin is disabled or not",
1665
- "type": "boolean",
1666
- "title": "disabled"
1667
- }
1668
- }
1669
- },
1670
- "ol_list": {
1671
- "title": "EditableHtmlButtonConfigure",
1672
- "type": "object",
1673
- "properties": {
1674
- "disabled": {
1675
- "description": "Indicates if the plugin is disabled or not",
1676
- "type": "boolean",
1677
- "title": "disabled"
1678
- }
1679
- }
1680
- },
1681
- "redo": {
1682
- "title": "EditableHtmlButtonConfigure",
1683
- "type": "object",
1684
- "properties": {
1685
- "disabled": {
1686
- "description": "Indicates if the plugin is disabled or not",
1687
- "type": "boolean",
1688
- "title": "disabled"
1689
- }
1690
- }
1691
- },
1692
- "strikethrough": {
1693
- "title": "EditableHtmlButtonConfigure",
1694
- "type": "object",
1695
- "properties": {
1696
- "disabled": {
1697
- "description": "Indicates if the plugin is disabled or not",
1698
- "type": "boolean",
1699
- "title": "disabled"
1700
- }
1701
- }
1702
- },
1703
- "sub": {
1704
- "title": "EditableHtmlButtonConfigure",
1705
- "type": "object",
1706
- "properties": {
1707
- "disabled": {
1708
- "description": "Indicates if the plugin is disabled or not",
1709
- "type": "boolean",
1710
- "title": "disabled"
1711
- }
1712
- }
1713
- },
1714
- "sup": {
1715
- "title": "EditableHtmlButtonConfigure",
1716
- "type": "object",
1717
- "properties": {
1718
- "disabled": {
1719
- "description": "Indicates if the plugin is disabled or not",
1720
- "type": "boolean",
1721
- "title": "disabled"
1722
- }
1723
- }
1724
- },
1725
- "table": {
1726
- "title": "EditableHtmlButtonConfigure",
1727
- "type": "object",
1728
- "properties": {
1729
- "disabled": {
1730
- "description": "Indicates if the plugin is disabled or not",
1731
- "type": "boolean",
1732
- "title": "disabled"
1733
- }
1734
- }
1735
- },
1736
- "ul_list": {
1737
- "title": "EditableHtmlButtonConfigure",
1738
- "type": "object",
1739
- "properties": {
1740
- "disabled": {
1741
- "description": "Indicates if the plugin is disabled or not",
1742
- "type": "boolean",
1743
- "title": "disabled"
1744
- }
1745
- }
1746
- },
1747
- "underline": {
1748
- "title": "EditableHtmlButtonConfigure",
1749
- "type": "object",
1750
- "properties": {
1751
- "disabled": {
1752
- "description": "Indicates if the plugin is disabled or not",
1753
- "type": "boolean",
1754
- "title": "disabled"
1755
- }
1756
- }
1757
- },
1758
- "undo": {
1759
- "title": "EditableHtmlButtonConfigure",
1760
- "type": "object",
1761
- "properties": {
1762
- "disabled": {
1763
- "description": "Indicates if the plugin is disabled or not",
1764
- "type": "boolean",
1765
- "title": "disabled"
1766
- }
1767
- }
1768
- }
1769
- }
1770
- },
1771
- "settings": {
1772
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1773
- "type": "boolean",
1774
- "title": "settings"
1775
- },
1776
- "label": {
1777
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1778
- "type": "string",
1779
- "title": "label"
1780
- }
1781
- }
1782
- },
1783
- "excludeZeroDialogBoxContent": {
1784
- "title": "DialogContent",
1785
- "type": "object",
1786
- "properties": {
1787
- "title": {
1788
- "description": "Dialog box title",
1789
- "type": "string",
1790
- "title": "title"
1791
- },
1792
- "text": {
1793
- "description": "Dialog box text",
1794
- "type": "string",
1795
- "title": "text"
1796
- }
1797
- }
1798
- },
1799
- "includeZeroDialogBoxContent": {
1800
- "title": "DialogContent",
1801
- "type": "object",
1802
- "properties": {
1803
- "title": {
1804
- "description": "Dialog box title",
1805
- "type": "string",
1806
- "title": "title"
1807
- },
1808
- "text": {
1809
- "description": "Dialog box text",
1810
- "type": "string",
1811
- "title": "text"
1812
- }
1813
- }
1814
- },
1815
- "deleteScaleDialogBoxContent": {
1816
- "title": "DialogContent",
1817
- "type": "object",
1818
- "properties": {
1819
- "title": {
1820
- "description": "Dialog box title",
1821
- "type": "string",
1822
- "title": "title"
1823
- },
1824
- "text": {
1825
- "description": "Dialog box text",
1826
- "type": "string",
1827
- "title": "text"
1828
- }
1829
- }
1830
- },
1831
- "maxPointsDialogBoxContent": {
1832
- "title": "DialogContent",
1833
- "type": "object",
1834
- "properties": {
1835
- "title": {
1836
- "description": "Dialog box title",
1837
- "type": "string",
1838
- "title": "title"
1839
- },
1840
- "text": {
1841
- "description": "Dialog box text",
1842
- "type": "string",
1843
- "title": "text"
1844
- }
1845
- }
1846
- },
1847
- "settingsPanelDisabled": {
1848
- "description": "Indicates if the settings panel is not available",
1849
- "type": "boolean",
1850
- "title": "settingsPanelDisabled"
1851
- },
1852
- "showExcludeZero": {
1853
- "title": "ConfigureProp",
1854
- "type": "object",
1855
- "properties": {
1856
- "settings": {
1857
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1858
- "type": "boolean",
1859
- "title": "settings"
1860
- },
1861
- "label": {
1862
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1863
- "type": "string",
1864
- "title": "label"
1865
- }
1866
- }
1867
- },
1868
- "showScorePointLabels": {
1869
- "title": "ConfigureProp",
1870
- "type": "object",
1871
- "properties": {
1872
- "settings": {
1873
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1874
- "type": "boolean",
1875
- "title": "settings"
1876
- },
1877
- "label": {
1878
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1879
- "type": "string",
1880
- "title": "label"
1881
- }
1882
- }
1883
- },
1884
- "showDescription": {
1885
- "title": "ConfigureProp",
1886
- "type": "object",
1887
- "properties": {
1888
- "settings": {
1889
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1890
- "type": "boolean",
1891
- "title": "settings"
1892
- },
1893
- "label": {
1894
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1895
- "type": "string",
1896
- "title": "label"
1897
- }
1898
- }
1899
- },
1900
- "showVisibleToStudent": {
1901
- "title": "ConfigureProp",
1902
- "type": "object",
1903
- "properties": {
1904
- "settings": {
1905
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1906
- "type": "boolean",
1907
- "title": "settings"
1908
- },
1909
- "label": {
1910
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1911
- "type": "string",
1912
- "title": "label"
1913
- }
1914
- }
1915
- },
1916
- "showHalfScoring": {
1917
- "title": "ConfigureProp",
1918
- "type": "object",
1919
- "properties": {
1920
- "settings": {
1921
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1922
- "type": "boolean",
1923
- "title": "settings"
1924
- },
1925
- "label": {
1926
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1927
- "type": "string",
1928
- "title": "label"
1929
- }
1930
- }
1931
- },
1932
- "spellCheck": {
1933
- "title": "ConfigureProp",
1934
- "type": "object",
1935
- "properties": {
1936
- "settings": {
1937
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1938
- "type": "boolean",
1939
- "title": "settings"
1940
- },
1941
- "label": {
1942
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1943
- "type": "string",
1944
- "title": "label"
1945
- }
1946
- }
1947
- },
1948
- "width": {
1949
- "description": "How large (in px) should multi-trait-rubric be",
1950
- "type": "string",
1951
- "title": "width"
1952
- },
1953
- "minNoOfTraits": {
1954
- "description": "Minimum number of traits",
1955
- "type": "number",
1956
- "title": "minNoOfTraits"
1957
- },
1958
- "maxNoOfTraits": {
1959
- "description": "Maximum number of traits",
1960
- "type": "number",
1961
- "title": "maxNoOfTraits"
1962
- },
1963
- "minNoOfScales": {
1964
- "description": "Minimum number of scales",
1965
- "type": "number",
1966
- "title": "minNoOfScales"
1967
- },
1968
- "maxNoOfScales": {
1969
- "description": "Maximum number of scales",
1970
- "type": "number",
1971
- "title": "maxNoOfScales"
1972
- },
1973
- "defaultTraitLabel": {
1974
- "description": "The default trait label for new created scales.\nIf it's not defined, it will default to the label of the first trait.",
1975
- "type": "string",
1976
- "title": "defaultTraitLabel"
1977
- },
1978
- "mathMlOptions": {
1979
- "title": "ConfigureMathMLProp",
1980
- "type": "object",
1981
- "properties": {
1982
- "mmlOutput": {
1983
- "description": "Indicates if model should have mathML output instead of latex",
1984
- "type": "number",
1985
- "title": "mmlOutput"
1986
- },
1987
- "mmlEditing": {
1988
- "description": "Indicates if mathML that's already in model should be editable",
1989
- "type": "number",
1990
- "title": "mmlEditing"
1991
- }
1992
- }
1993
- },
1994
- "maxMaxPoints": {
1995
- "description": "Indicates the max limit for scoring points",
1996
- "type": "number",
1997
- "title": "maxMaxPoints"
1998
- }
1999
- },
2000
- "required": [
2001
- "width"
2002
- ]
2003
- },
2004
- "EditableHtmlPluginConfigure": {
2005
- "title": "EditableHtmlPluginConfigure",
2006
- "type": "object",
2007
- "properties": {
2008
- "inputConfiguration": {
2009
- "title": "EditableHtmlConfigureProp",
2010
- "type": "object",
2011
- "properties": {
2012
- "math": {
2013
- "title": "EditableHtmlButtonConfigure",
2014
- "type": "object",
2015
- "properties": {
2016
- "disabled": {
2017
- "description": "Indicates if the plugin is disabled or not",
2018
- "type": "boolean",
2019
- "title": "disabled"
2020
- }
2021
- }
2022
- },
2023
- "audio": {
2024
- "title": "EditableHtmlButtonConfigure",
2025
- "type": "object",
2026
- "properties": {
2027
- "disabled": {
2028
- "description": "Indicates if the plugin is disabled or not",
2029
- "type": "boolean",
2030
- "title": "disabled"
2031
- }
2032
- }
2033
- },
2034
- "video": {
2035
- "title": "EditableHtmlButtonConfigure",
2036
- "type": "object",
2037
- "properties": {
2038
- "disabled": {
2039
- "description": "Indicates if the plugin is disabled or not",
2040
- "type": "boolean",
2041
- "title": "disabled"
2042
- }
2043
- }
2044
- },
2045
- "image": {
2046
- "title": "EditableHtmlButtonConfigure",
2047
- "type": "object",
2048
- "properties": {
2049
- "disabled": {
2050
- "description": "Indicates if the plugin is disabled or not",
2051
- "type": "boolean",
2052
- "title": "disabled"
2053
- }
2054
- }
2055
- },
2056
- "customPlugins": {
2057
- "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.",
2058
- "type": "array",
2059
- "items": {
2060
- "title": "CustomPlugin",
2061
- "type": "object",
2062
- "properties": {
2063
- "event": {
2064
- "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\"",
2065
- "type": "string",
2066
- "title": "event"
2067
- },
2068
- "iconAlt": {
2069
- "description": "The alt for the custom button icon",
2070
- "type": "string",
2071
- "title": "iconAlt"
2072
- },
2073
- "iconType": {
2074
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2075
- "type": "string",
2076
- "title": "iconType"
2077
- },
2078
- "icon": {
2079
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2080
- "type": "string",
2081
- "title": "icon"
2082
- }
2083
- },
2084
- "required": [
2085
- "event",
2086
- "icon",
2087
- "iconAlt",
2088
- "iconType"
2089
- ]
2090
- },
2091
- "title": "customPlugins"
2092
- },
2093
- "blockquote": {
2094
- "title": "EditableHtmlButtonConfigure",
2095
- "type": "object",
2096
- "properties": {
2097
- "disabled": {
2098
- "description": "Indicates if the plugin is disabled or not",
2099
- "type": "boolean",
2100
- "title": "disabled"
2101
- }
2102
- }
2103
- },
2104
- "h3": {
2105
- "title": "EditableHtmlButtonConfigure",
2106
- "type": "object",
2107
- "properties": {
2108
- "disabled": {
2109
- "description": "Indicates if the plugin is disabled or not",
2110
- "type": "boolean",
2111
- "title": "disabled"
2112
- }
2113
- }
2114
- },
2115
- "characters": {
2116
- "title": "EditableHtmlButtonConfigure",
2117
- "type": "object",
2118
- "properties": {
2119
- "disabled": {
2120
- "description": "Indicates if the plugin is disabled or not",
2121
- "type": "boolean",
2122
- "title": "disabled"
2123
- }
2124
- }
2125
- },
2126
- "bold": {
2127
- "title": "EditableHtmlButtonConfigure",
2128
- "type": "object",
2129
- "properties": {
2130
- "disabled": {
2131
- "description": "Indicates if the plugin is disabled or not",
2132
- "type": "boolean",
2133
- "title": "disabled"
2134
- }
2135
- }
2136
- },
2137
- "html": {
2138
- "title": "EditableHtmlButtonConfigure",
2139
- "type": "object",
2140
- "properties": {
2141
- "disabled": {
2142
- "description": "Indicates if the plugin is disabled or not",
2143
- "type": "boolean",
2144
- "title": "disabled"
2145
- }
2146
- }
2147
- },
2148
- "italic": {
2149
- "title": "EditableHtmlButtonConfigure",
2150
- "type": "object",
2151
- "properties": {
2152
- "disabled": {
2153
- "description": "Indicates if the plugin is disabled or not",
2154
- "type": "boolean",
2155
- "title": "disabled"
2156
- }
2157
- }
2158
- },
2159
- "ol_list": {
2160
- "title": "EditableHtmlButtonConfigure",
2161
- "type": "object",
2162
- "properties": {
2163
- "disabled": {
2164
- "description": "Indicates if the plugin is disabled or not",
2165
- "type": "boolean",
2166
- "title": "disabled"
2167
- }
2168
- }
2169
- },
2170
- "redo": {
2171
- "title": "EditableHtmlButtonConfigure",
2172
- "type": "object",
2173
- "properties": {
2174
- "disabled": {
2175
- "description": "Indicates if the plugin is disabled or not",
2176
- "type": "boolean",
2177
- "title": "disabled"
2178
- }
2179
- }
2180
- },
2181
- "strikethrough": {
2182
- "title": "EditableHtmlButtonConfigure",
2183
- "type": "object",
2184
- "properties": {
2185
- "disabled": {
2186
- "description": "Indicates if the plugin is disabled or not",
2187
- "type": "boolean",
2188
- "title": "disabled"
2189
- }
2190
- }
2191
- },
2192
- "sub": {
2193
- "title": "EditableHtmlButtonConfigure",
2194
- "type": "object",
2195
- "properties": {
2196
- "disabled": {
2197
- "description": "Indicates if the plugin is disabled or not",
2198
- "type": "boolean",
2199
- "title": "disabled"
2200
- }
2201
- }
2202
- },
2203
- "sup": {
2204
- "title": "EditableHtmlButtonConfigure",
2205
- "type": "object",
2206
- "properties": {
2207
- "disabled": {
2208
- "description": "Indicates if the plugin is disabled or not",
2209
- "type": "boolean",
2210
- "title": "disabled"
2211
- }
2212
- }
2213
- },
2214
- "table": {
2215
- "title": "EditableHtmlButtonConfigure",
2216
- "type": "object",
2217
- "properties": {
2218
- "disabled": {
2219
- "description": "Indicates if the plugin is disabled or not",
2220
- "type": "boolean",
2221
- "title": "disabled"
2222
- }
2223
- }
2224
- },
2225
- "ul_list": {
2226
- "title": "EditableHtmlButtonConfigure",
2227
- "type": "object",
2228
- "properties": {
2229
- "disabled": {
2230
- "description": "Indicates if the plugin is disabled or not",
2231
- "type": "boolean",
2232
- "title": "disabled"
2233
- }
2234
- }
2235
- },
2236
- "underline": {
2237
- "title": "EditableHtmlButtonConfigure",
2238
- "type": "object",
2239
- "properties": {
2240
- "disabled": {
2241
- "description": "Indicates if the plugin is disabled or not",
2242
- "type": "boolean",
2243
- "title": "disabled"
2244
- }
2245
- }
2246
- },
2247
- "undo": {
2248
- "title": "EditableHtmlButtonConfigure",
2249
- "type": "object",
2250
- "properties": {
2251
- "disabled": {
2252
- "description": "Indicates if the plugin is disabled or not",
2253
- "type": "boolean",
2254
- "title": "disabled"
2255
- }
2256
- }
2257
- }
2258
- }
2259
- },
2260
- "settings": {
2261
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2262
- "type": "boolean",
2263
- "title": "settings"
2264
- },
2265
- "label": {
2266
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2267
- "type": "string",
2268
- "title": "label"
2269
- }
2270
- }
2271
- },
2272
- "DialogContent": {
2273
- "title": "DialogContent",
2274
- "type": "object",
2275
- "properties": {
2276
- "title": {
2277
- "description": "Dialog box title",
2278
- "type": "string",
2279
- "title": "title"
2280
- },
2281
- "text": {
2282
- "description": "Dialog box text",
2283
- "type": "string",
2284
- "title": "text"
2285
- }
2286
- }
2287
- },
2288
- "RubriclessConfigure": {
2289
- "title": "RubriclessConfigure",
2290
- "type": "object",
2291
- "properties": {
2292
- "settingsPanelDisabled": {
2293
- "description": "Indicates if the settings panel is not available",
2294
- "type": "boolean",
2295
- "title": "settingsPanelDisabled"
2296
- },
2297
- "showExcludeZero": {
2298
- "title": "ConfigureProp",
2299
- "type": "object",
2300
- "properties": {
2301
- "settings": {
2302
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2303
- "type": "boolean",
2304
- "title": "settings"
2305
- },
2306
- "label": {
2307
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2308
- "type": "string",
2309
- "title": "label"
2310
- }
2311
- }
2312
- },
2313
- "showMaxPoint": {
2314
- "title": "ConfigureProp",
2315
- "type": "object",
2316
- "properties": {
2317
- "settings": {
2318
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2319
- "type": "boolean",
2320
- "title": "settings"
2321
- },
2322
- "label": {
2323
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2324
- "type": "string",
2325
- "title": "label"
2326
- }
2327
- }
2328
- },
2329
- "width": {
2330
- "description": "How large can the rubric be",
2331
- "type": "string",
2332
- "title": "width"
2333
- },
2334
- "mathMlOptions": {
2335
- "title": "ConfigureMathMLProp",
2336
- "type": "object",
2337
- "properties": {
2338
- "mmlOutput": {
2339
- "description": "Indicates if model should have mathML output instead of latex",
2340
- "type": "number",
2341
- "title": "mmlOutput"
2342
- },
2343
- "mmlEditing": {
2344
- "description": "Indicates if mathML that's already in model should be editable",
2345
- "type": "number",
2346
- "title": "mmlEditing"
2347
- }
2348
- }
2349
- },
2350
- "maxMaxPoints": {
2351
- "description": "Indicates the max limit for scoring points",
2352
- "type": "number",
2353
- "title": "maxMaxPoints"
2354
- },
2355
- "rubricless": {
2356
- "description": "Indicates that it is rubricless",
2357
- "type": "boolean",
2358
- "enum": [
2359
- true
2360
- ],
2361
- "title": "rubricless"
2362
- },
2363
- "rubriclessInstruction": {
2364
- "title": "EditableHtmlPluginConfigure",
2365
- "type": "object",
2366
- "properties": {
2367
- "inputConfiguration": {
2368
- "title": "EditableHtmlConfigureProp",
2369
- "type": "object",
2370
- "properties": {
2371
- "math": {
2372
- "title": "EditableHtmlButtonConfigure",
2373
- "type": "object",
2374
- "properties": {
2375
- "disabled": {
2376
- "description": "Indicates if the plugin is disabled or not",
2377
- "type": "boolean",
2378
- "title": "disabled"
2379
- }
2380
- }
2381
- },
2382
- "audio": {
2383
- "title": "EditableHtmlButtonConfigure",
2384
- "type": "object",
2385
- "properties": {
2386
- "disabled": {
2387
- "description": "Indicates if the plugin is disabled or not",
2388
- "type": "boolean",
2389
- "title": "disabled"
2390
- }
2391
- }
2392
- },
2393
- "video": {
2394
- "title": "EditableHtmlButtonConfigure",
2395
- "type": "object",
2396
- "properties": {
2397
- "disabled": {
2398
- "description": "Indicates if the plugin is disabled or not",
2399
- "type": "boolean",
2400
- "title": "disabled"
2401
- }
2402
- }
2403
- },
2404
- "image": {
2405
- "title": "EditableHtmlButtonConfigure",
2406
- "type": "object",
2407
- "properties": {
2408
- "disabled": {
2409
- "description": "Indicates if the plugin is disabled or not",
2410
- "type": "boolean",
2411
- "title": "disabled"
2412
- }
2413
- }
2414
- },
2415
- "customPlugins": {
2416
- "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.",
2417
- "type": "array",
2418
- "items": {
2419
- "title": "CustomPlugin",
2420
- "type": "object",
2421
- "properties": {
2422
- "event": {
2423
- "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\"",
2424
- "type": "string",
2425
- "title": "event"
2426
- },
2427
- "iconAlt": {
2428
- "description": "The alt for the custom button icon",
2429
- "type": "string",
2430
- "title": "iconAlt"
2431
- },
2432
- "iconType": {
2433
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
2434
- "type": "string",
2435
- "title": "iconType"
2436
- },
2437
- "icon": {
2438
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2439
- "type": "string",
2440
- "title": "icon"
2441
- }
2442
- },
2443
- "required": [
2444
- "event",
2445
- "icon",
2446
- "iconAlt",
2447
- "iconType"
2448
- ]
2449
- },
2450
- "title": "customPlugins"
2451
- },
2452
- "blockquote": {
2453
- "title": "EditableHtmlButtonConfigure",
2454
- "type": "object",
2455
- "properties": {
2456
- "disabled": {
2457
- "description": "Indicates if the plugin is disabled or not",
2458
- "type": "boolean",
2459
- "title": "disabled"
2460
- }
2461
- }
2462
- },
2463
- "h3": {
2464
- "title": "EditableHtmlButtonConfigure",
2465
- "type": "object",
2466
- "properties": {
2467
- "disabled": {
2468
- "description": "Indicates if the plugin is disabled or not",
2469
- "type": "boolean",
2470
- "title": "disabled"
2471
- }
2472
- }
2473
- },
2474
- "characters": {
2475
- "title": "EditableHtmlButtonConfigure",
2476
- "type": "object",
2477
- "properties": {
2478
- "disabled": {
2479
- "description": "Indicates if the plugin is disabled or not",
2480
- "type": "boolean",
2481
- "title": "disabled"
2482
- }
2483
- }
2484
- },
2485
- "bold": {
2486
- "title": "EditableHtmlButtonConfigure",
2487
- "type": "object",
2488
- "properties": {
2489
- "disabled": {
2490
- "description": "Indicates if the plugin is disabled or not",
2491
- "type": "boolean",
2492
- "title": "disabled"
2493
- }
2494
- }
2495
- },
2496
- "html": {
2497
- "title": "EditableHtmlButtonConfigure",
2498
- "type": "object",
2499
- "properties": {
2500
- "disabled": {
2501
- "description": "Indicates if the plugin is disabled or not",
2502
- "type": "boolean",
2503
- "title": "disabled"
2504
- }
2505
- }
2506
- },
2507
- "italic": {
2508
- "title": "EditableHtmlButtonConfigure",
2509
- "type": "object",
2510
- "properties": {
2511
- "disabled": {
2512
- "description": "Indicates if the plugin is disabled or not",
2513
- "type": "boolean",
2514
- "title": "disabled"
2515
- }
2516
- }
2517
- },
2518
- "ol_list": {
2519
- "title": "EditableHtmlButtonConfigure",
2520
- "type": "object",
2521
- "properties": {
2522
- "disabled": {
2523
- "description": "Indicates if the plugin is disabled or not",
2524
- "type": "boolean",
2525
- "title": "disabled"
2526
- }
2527
- }
2528
- },
2529
- "redo": {
2530
- "title": "EditableHtmlButtonConfigure",
2531
- "type": "object",
2532
- "properties": {
2533
- "disabled": {
2534
- "description": "Indicates if the plugin is disabled or not",
2535
- "type": "boolean",
2536
- "title": "disabled"
2537
- }
2538
- }
2539
- },
2540
- "strikethrough": {
2541
- "title": "EditableHtmlButtonConfigure",
2542
- "type": "object",
2543
- "properties": {
2544
- "disabled": {
2545
- "description": "Indicates if the plugin is disabled or not",
2546
- "type": "boolean",
2547
- "title": "disabled"
2548
- }
2549
- }
2550
- },
2551
- "sub": {
2552
- "title": "EditableHtmlButtonConfigure",
2553
- "type": "object",
2554
- "properties": {
2555
- "disabled": {
2556
- "description": "Indicates if the plugin is disabled or not",
2557
- "type": "boolean",
2558
- "title": "disabled"
2559
- }
2560
- }
2561
- },
2562
- "sup": {
2563
- "title": "EditableHtmlButtonConfigure",
2564
- "type": "object",
2565
- "properties": {
2566
- "disabled": {
2567
- "description": "Indicates if the plugin is disabled or not",
2568
- "type": "boolean",
2569
- "title": "disabled"
2570
- }
2571
- }
2572
- },
2573
- "table": {
2574
- "title": "EditableHtmlButtonConfigure",
2575
- "type": "object",
2576
- "properties": {
2577
- "disabled": {
2578
- "description": "Indicates if the plugin is disabled or not",
2579
- "type": "boolean",
2580
- "title": "disabled"
2581
- }
2582
- }
2583
- },
2584
- "ul_list": {
2585
- "title": "EditableHtmlButtonConfigure",
2586
- "type": "object",
2587
- "properties": {
2588
- "disabled": {
2589
- "description": "Indicates if the plugin is disabled or not",
2590
- "type": "boolean",
2591
- "title": "disabled"
2592
- }
2593
- }
2594
- },
2595
- "underline": {
2596
- "title": "EditableHtmlButtonConfigure",
2597
- "type": "object",
2598
- "properties": {
2599
- "disabled": {
2600
- "description": "Indicates if the plugin is disabled or not",
2601
- "type": "boolean",
2602
- "title": "disabled"
2603
- }
2604
- }
2605
- },
2606
- "undo": {
2607
- "title": "EditableHtmlButtonConfigure",
2608
- "type": "object",
2609
- "properties": {
2610
- "disabled": {
2611
- "description": "Indicates if the plugin is disabled or not",
2612
- "type": "boolean",
2613
- "title": "disabled"
2614
- }
2615
- }
2616
- }
2617
- }
2618
- },
2619
- "settings": {
2620
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2621
- "type": "boolean",
2622
- "title": "settings"
2623
- },
2624
- "label": {
2625
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2626
- "type": "string",
2627
- "title": "label"
2628
- }
2629
- }
2630
- },
2631
- "showPrompt": {
2632
- "description": "Determines whether prompt field will be displayed or not",
2633
- "default": true,
2634
- "type": "boolean",
2635
- "title": "showPrompt"
2636
- },
2637
- "promptLabel": {
2638
- "description": "The label for the item stem/prompt field",
2639
- "default": "Item Stemm",
2640
- "type": "string",
2641
- "title": "promptLabel"
2642
- },
2643
- "contentDimensions": {
2644
- "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
2645
- "default": ": {}",
2646
- "type": "object",
2647
- "properties": {
2648
- "maxHeight": {
2649
- "description": "Indicates the max height of the authoring container",
2650
- "default": "undefined",
2651
- "type": [
2652
- "string",
2653
- "number"
2654
- ],
2655
- "title": "maxHeight"
2656
- },
2657
- "maxWidth": {
2658
- "description": "Indicates the max width of the authoring container",
2659
- "default": "undefined",
2660
- "type": [
2661
- "string",
2662
- "number"
2663
- ],
2664
- "title": "maxWidth"
2665
- },
2666
- "minHeight": {
2667
- "description": "Indicates the min height of the authoring container",
2668
- "default": "undefined",
2669
- "type": [
2670
- "string",
2671
- "number"
2672
- ],
2673
- "title": "minHeight"
2674
- },
2675
- "minWidth": {
2676
- "description": "Indicates the min width of the authoring container",
2677
- "default": "undefined",
2678
- "type": [
2679
- "string",
2680
- "number"
2681
- ],
2682
- "title": "minWidth"
2683
- }
2684
- },
2685
- "title": "contentDimensions"
2686
- },
2687
- "settingsPartialScoring": {
2688
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
2689
- "default": true,
2690
- "type": "boolean",
2691
- "title": "settingsPartialScoring"
2692
- }
2693
- },
2694
- "required": [
2695
- "rubricless",
2696
- "rubriclessInstruction"
2697
- ]
2698
- },
2699
- "RubricType": {
2700
- "title": "RubricType",
2701
- "enum": [
2702
- "multiTraitRubric",
2703
- "rubricless",
2704
- "simpleRubric"
2705
- ],
2706
- "type": "string"
2707
- },
2708
- "RubricModels": {
2709
- "title": "RubricModels",
2710
- "type": "object",
2711
- "properties": {
2712
- "simpleRubric": {
2713
- "description": "Model for the RubricPie Interaction",
2714
- "additionalProperties": false,
2715
- "title": "RubricPie",
2716
- "type": "object",
2717
- "properties": {
2718
- "points": {
2719
- "description": "Indicates the score points labels. Starting from 0 to max",
2720
- "type": "array",
2721
- "items": {
2722
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
2723
- "type": "object",
2724
- "additionalProperties": false,
2725
- "patternProperties": {
2726
- "^[0-9]+$": {
2727
- "type": "string"
2728
- }
2729
- }
2730
- },
2731
- "title": "points"
2732
- },
2733
- "sampleAnswers": {
2734
- "description": "Indicates the sample answers labels. Starting from 0 to max",
2735
- "type": "array",
2736
- "items": {
2737
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
2738
- "type": "object",
2739
- "additionalProperties": false,
2740
- "patternProperties": {
2741
- "^[0-9]+$": {
2742
- "type": "string"
2743
- }
2744
- }
2745
- },
2746
- "title": "sampleAnswers"
2747
- },
2748
- "maxPoints": {
2749
- "description": "Indicates the max limit for scoring points",
2750
- "type": "number",
2751
- "title": "maxPoints"
2752
- },
2753
- "excludeZeros": {
2754
- "description": "Indicates if point 0 should be shown",
2755
- "type": "boolean",
2756
- "title": "excludeZeros"
2757
- },
2758
- "id": {
2759
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
2760
- "type": "string",
2761
- "title": "id"
2762
- },
2763
- "element": {
2764
- "description": "The html Element tag name",
2765
- "type": "string",
2766
- "title": "element"
2767
- }
2768
- },
2769
- "required": [
2770
- "element",
2771
- "id"
2772
- ]
2773
- },
2774
- "multiTraitRubric": {
2775
- "description": "Model for the MultiTraitRubric Interaction",
2776
- "additionalProperties": false,
2777
- "title": "MultiTraitRubricPie",
2778
- "type": "object",
2779
- "properties": {
2780
- "halfScoring": {
2781
- "description": "Indicates if half scoring is enabled",
2782
- "type": "boolean",
2783
- "title": "halfScoring"
2784
- },
2785
- "pointLabels": {
2786
- "description": "Indicates if point labels should be shown",
2787
- "type": "boolean",
2788
- "title": "pointLabels"
2789
- },
2790
- "visibleToStudent": {
2791
- "description": "Indicates if should be visible to student",
2792
- "type": "boolean",
2793
- "title": "visibleToStudent"
2794
- },
2795
- "description": {
2796
- "description": "Indicates if description should be shown",
2797
- "type": "boolean",
2798
- "title": "description"
2799
- },
2800
- "standards": {
2801
- "description": "Indicates if standards should be shown",
2802
- "type": "boolean",
2803
- "title": "standards"
2804
- },
2805
- "excludeZero": {
2806
- "description": "Indicates if scoring should start at 0 or 1",
2807
- "type": "boolean",
2808
- "title": "excludeZero"
2809
- },
2810
- "spellCheckEnabled": {
2811
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
2812
- "type": "boolean",
2813
- "title": "spellCheckEnabled"
2814
- },
2815
- "scales": {
2816
- "description": "scales",
2817
- "type": "array",
2818
- "items": {
2819
- "title": "Scale",
2820
- "type": "object",
2821
- "properties": {
2822
- "maxPoints": {
2823
- "description": "Indicates max limit for scoring points",
2824
- "type": "number",
2825
- "title": "maxPoints"
2826
- },
2827
- "scorePointsLabels": {
2828
- "description": "Score labels. Starting from 0 to max.",
2829
- "type": "array",
2830
- "items": {
2831
- "type": "string"
2832
- },
2833
- "title": "scorePointsLabels"
2834
- },
2835
- "traitLabel": {
2836
- "description": "Trait label",
2837
- "type": "string",
2838
- "title": "traitLabel"
2839
- },
2840
- "traits": {
2841
- "description": "Traits",
2842
- "type": "array",
2843
- "items": {
2844
- "title": "Trait",
2845
- "type": "object",
2846
- "properties": {
2847
- "name": {
2848
- "description": "Trait name",
2849
- "type": "string",
2850
- "title": "name"
2851
- },
2852
- "standards": {
2853
- "description": "Trait standards",
2854
- "type": "array",
2855
- "items": {
2856
- "type": "string"
2857
- },
2858
- "title": "standards"
2859
- },
2860
- "description": {
2861
- "description": "Trait description",
2862
- "type": "string",
2863
- "title": "description"
2864
- },
2865
- "scorePointsDescriptors": {
2866
- "description": "Score point descriptors. Starting from 0 to max.",
2867
- "type": "array",
2868
- "items": {
2869
- "type": "string"
2870
- },
2871
- "title": "scorePointsDescriptors"
2872
- }
2873
- },
2874
- "required": [
2875
- "description",
2876
- "name",
2877
- "scorePointsDescriptors",
2878
- "standards"
2879
- ]
2880
- },
2881
- "title": "traits"
2882
- }
2883
- },
2884
- "required": [
2885
- "maxPoints",
2886
- "scorePointsLabels",
2887
- "traitLabel",
2888
- "traits"
2889
- ]
2890
- },
2891
- "title": "scales"
2892
- },
2893
- "id": {
2894
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
2895
- "type": "string",
2896
- "title": "id"
2897
- },
2898
- "element": {
2899
- "description": "The html Element tag name",
2900
- "type": "string",
2901
- "title": "element"
2902
- }
2903
- },
2904
- "required": [
2905
- "element",
2906
- "id",
2907
- "scales",
2908
- "spellCheckEnabled"
2909
- ]
2910
- },
2911
- "rubricless": {
2912
- "title": "RubriclessPie",
2913
- "type": "object",
2914
- "properties": {
2915
- "maxPoints": {
2916
- "description": "Indicates the max limit for scoring points",
2917
- "type": "number",
2918
- "title": "maxPoints"
2919
- },
2920
- "excludeZeros": {
2921
- "description": "Indicates if point 0 should be shown",
2922
- "type": "boolean",
2923
- "title": "excludeZeros"
2924
- },
2925
- "rubriclessInstructionEnabled": {
2926
- "description": "Indicates that rubricInstruction is enabled",
2927
- "type": "boolean",
2928
- "title": "rubriclessInstructionEnabled"
2929
- },
2930
- "id": {
2931
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
2932
- "type": "string",
2933
- "title": "id"
2934
- },
2935
- "element": {
2936
- "description": "The html Element tag name",
2937
- "type": "string",
2938
- "title": "element"
2939
- }
2940
- },
2941
- "required": [
2942
- "element",
2943
- "id",
2944
- "rubriclessInstructionEnabled"
2945
- ]
2946
- }
2947
- },
2948
- "required": [
2949
- "multiTraitRubric",
2950
- "rubricless",
2951
- "simpleRubric"
2952
- ]
2953
- },
2954
- "RubricPie": {
2955
- "description": "Model for the RubricPie Interaction",
2956
- "additionalProperties": false,
2957
- "title": "RubricPie",
2958
- "type": "object",
2959
- "properties": {
2960
- "points": {
2961
- "description": "Indicates the score points labels. Starting from 0 to max",
2962
- "type": "array",
2963
- "items": {
2964
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
2965
- "type": "object",
2966
- "additionalProperties": false,
2967
- "patternProperties": {
2968
- "^[0-9]+$": {
2969
- "type": "string"
2970
- }
2971
- }
2972
- },
2973
- "title": "points"
2974
- },
2975
- "sampleAnswers": {
2976
- "description": "Indicates the sample answers labels. Starting from 0 to max",
2977
- "type": "array",
2978
- "items": {
2979
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
2980
- "type": "object",
2981
- "additionalProperties": false,
2982
- "patternProperties": {
2983
- "^[0-9]+$": {
2984
- "type": "string"
2985
- }
2986
- }
2987
- },
2988
- "title": "sampleAnswers"
2989
- },
2990
- "maxPoints": {
2991
- "description": "Indicates the max limit for scoring points",
2992
- "type": "number",
2993
- "title": "maxPoints"
2994
- },
2995
- "excludeZeros": {
2996
- "description": "Indicates if point 0 should be shown",
2997
- "type": "boolean",
2998
- "title": "excludeZeros"
2999
- },
3000
- "id": {
3001
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
3002
- "type": "string",
3003
- "title": "id"
3004
- },
3005
- "element": {
3006
- "description": "The html Element tag name",
3007
- "type": "string",
3008
- "title": "element"
3009
- }
3010
- },
3011
- "required": [
3012
- "element",
3013
- "id"
3014
- ]
3015
- },
3016
- "MultiTraitRubricPie": {
3017
- "description": "Model for the MultiTraitRubric Interaction",
3018
- "additionalProperties": false,
3019
- "title": "MultiTraitRubricPie",
3020
- "type": "object",
3021
- "properties": {
3022
- "halfScoring": {
3023
- "description": "Indicates if half scoring is enabled",
3024
- "type": "boolean",
3025
- "title": "halfScoring"
3026
- },
3027
- "pointLabels": {
3028
- "description": "Indicates if point labels should be shown",
3029
- "type": "boolean",
3030
- "title": "pointLabels"
3031
- },
3032
- "visibleToStudent": {
3033
- "description": "Indicates if should be visible to student",
3034
- "type": "boolean",
3035
- "title": "visibleToStudent"
3036
- },
3037
- "description": {
3038
- "description": "Indicates if description should be shown",
3039
- "type": "boolean",
3040
- "title": "description"
3041
- },
3042
- "standards": {
3043
- "description": "Indicates if standards should be shown",
3044
- "type": "boolean",
3045
- "title": "standards"
3046
- },
3047
- "excludeZero": {
3048
- "description": "Indicates if scoring should start at 0 or 1",
3049
- "type": "boolean",
3050
- "title": "excludeZero"
3051
- },
3052
- "spellCheckEnabled": {
3053
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
3054
- "type": "boolean",
3055
- "title": "spellCheckEnabled"
3056
- },
3057
- "scales": {
3058
- "description": "scales",
3059
- "type": "array",
3060
- "items": {
3061
- "title": "Scale",
3062
- "type": "object",
3063
- "properties": {
3064
- "maxPoints": {
3065
- "description": "Indicates max limit for scoring points",
3066
- "type": "number",
3067
- "title": "maxPoints"
3068
- },
3069
- "scorePointsLabels": {
3070
- "description": "Score labels. Starting from 0 to max.",
3071
- "type": "array",
3072
- "items": {
3073
- "type": "string"
3074
- },
3075
- "title": "scorePointsLabels"
3076
- },
3077
- "traitLabel": {
3078
- "description": "Trait label",
3079
- "type": "string",
3080
- "title": "traitLabel"
3081
- },
3082
- "traits": {
3083
- "description": "Traits",
3084
- "type": "array",
3085
- "items": {
3086
- "title": "Trait",
3087
- "type": "object",
3088
- "properties": {
3089
- "name": {
3090
- "description": "Trait name",
3091
- "type": "string",
3092
- "title": "name"
3093
- },
3094
- "standards": {
3095
- "description": "Trait standards",
3096
- "type": "array",
3097
- "items": {
3098
- "type": "string"
3099
- },
3100
- "title": "standards"
3101
- },
3102
- "description": {
3103
- "description": "Trait description",
3104
- "type": "string",
3105
- "title": "description"
3106
- },
3107
- "scorePointsDescriptors": {
3108
- "description": "Score point descriptors. Starting from 0 to max.",
3109
- "type": "array",
3110
- "items": {
3111
- "type": "string"
3112
- },
3113
- "title": "scorePointsDescriptors"
3114
- }
3115
- },
3116
- "required": [
3117
- "description",
3118
- "name",
3119
- "scorePointsDescriptors",
3120
- "standards"
3121
- ]
3122
- },
3123
- "title": "traits"
3124
- }
3125
- },
3126
- "required": [
3127
- "maxPoints",
3128
- "scorePointsLabels",
3129
- "traitLabel",
3130
- "traits"
3131
- ]
3132
- },
3133
- "title": "scales"
3134
- },
3135
- "id": {
3136
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
3137
- "type": "string",
3138
- "title": "id"
3139
- },
3140
- "element": {
3141
- "description": "The html Element tag name",
3142
- "type": "string",
3143
- "title": "element"
3144
- }
3145
- },
3146
- "required": [
3147
- "element",
3148
- "id",
3149
- "scales",
3150
- "spellCheckEnabled"
3151
- ]
3152
- },
3153
- "Scale": {
3154
- "title": "Scale",
3155
- "type": "object",
3156
- "properties": {
3157
- "maxPoints": {
3158
- "description": "Indicates max limit for scoring points",
3159
- "type": "number",
3160
- "title": "maxPoints"
3161
- },
3162
- "scorePointsLabels": {
3163
- "description": "Score labels. Starting from 0 to max.",
3164
- "type": "array",
3165
- "items": {
3166
- "type": "string"
3167
- },
3168
- "title": "scorePointsLabels"
3169
- },
3170
- "traitLabel": {
3171
- "description": "Trait label",
3172
- "type": "string",
3173
- "title": "traitLabel"
3174
- },
3175
- "traits": {
3176
- "description": "Traits",
3177
- "type": "array",
3178
- "items": {
3179
- "title": "Trait",
3180
- "type": "object",
3181
- "properties": {
3182
- "name": {
3183
- "description": "Trait name",
3184
- "type": "string",
3185
- "title": "name"
3186
- },
3187
- "standards": {
3188
- "description": "Trait standards",
3189
- "type": "array",
3190
- "items": {
3191
- "type": "string"
3192
- },
3193
- "title": "standards"
3194
- },
3195
- "description": {
3196
- "description": "Trait description",
3197
- "type": "string",
3198
- "title": "description"
3199
- },
3200
- "scorePointsDescriptors": {
3201
- "description": "Score point descriptors. Starting from 0 to max.",
3202
- "type": "array",
3203
- "items": {
3204
- "type": "string"
3205
- },
3206
- "title": "scorePointsDescriptors"
3207
- }
3208
- },
3209
- "required": [
3210
- "description",
3211
- "name",
3212
- "scorePointsDescriptors",
3213
- "standards"
3214
- ]
3215
- },
3216
- "title": "traits"
3217
- }
3218
- },
3219
- "required": [
3220
- "maxPoints",
3221
- "scorePointsLabels",
3222
- "traitLabel",
3223
- "traits"
3224
- ]
3225
- },
3226
- "Trait": {
3227
- "title": "Trait",
3228
- "type": "object",
3229
- "properties": {
3230
- "name": {
3231
- "description": "Trait name",
3232
- "type": "string",
3233
- "title": "name"
3234
- },
3235
- "standards": {
3236
- "description": "Trait standards",
3237
- "type": "array",
3238
- "items": {
3239
- "type": "string"
3240
- },
3241
- "title": "standards"
3242
- },
3243
- "description": {
3244
- "description": "Trait description",
3245
- "type": "string",
3246
- "title": "description"
3247
- },
3248
- "scorePointsDescriptors": {
3249
- "description": "Score point descriptors. Starting from 0 to max.",
3250
- "type": "array",
3251
- "items": {
3252
- "type": "string"
3253
- },
3254
- "title": "scorePointsDescriptors"
3255
- }
3256
- },
3257
- "required": [
3258
- "description",
3259
- "name",
3260
- "scorePointsDescriptors",
3261
- "standards"
3262
- ]
3263
- },
3264
- "RubriclessPie": {
3265
- "title": "RubriclessPie",
3266
- "type": "object",
3267
- "properties": {
3268
- "maxPoints": {
3269
- "description": "Indicates the max limit for scoring points",
3270
- "type": "number",
3271
- "title": "maxPoints"
3272
- },
3273
- "excludeZeros": {
3274
- "description": "Indicates if point 0 should be shown",
3275
- "type": "boolean",
3276
- "title": "excludeZeros"
3277
- },
3278
- "rubriclessInstructionEnabled": {
3279
- "description": "Indicates that rubricInstruction is enabled",
3280
- "type": "boolean",
3281
- "title": "rubriclessInstructionEnabled"
3282
- },
3283
- "id": {
3284
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
3285
- "type": "string",
3286
- "title": "id"
3287
- },
3288
- "element": {
3289
- "description": "The html Element tag name",
3290
- "type": "string",
3291
- "title": "element"
3292
- }
3293
- },
3294
- "required": [
3295
- "element",
3296
- "id",
3297
- "rubriclessInstructionEnabled"
3298
- ]
3299
- }
3300
- },
3301
- "$schema": "http://json-schema.org/draft-07/schema#"
3302
- }