@pie-element/complex-rubric 0.0.2-next.4424

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 (121) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +3 -0
  3. package/configure/lib/defaults.js +99 -0
  4. package/configure/lib/defaults.js.map +1 -0
  5. package/configure/lib/index.js +232 -0
  6. package/configure/lib/index.js.map +1 -0
  7. package/configure/lib/main.js +165 -0
  8. package/configure/lib/main.js.map +1 -0
  9. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +1 -0
  10. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +376 -0
  11. package/configure/node_modules/@pie-element/multi-trait-rubric/LICENSE.md +5 -0
  12. package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +55 -0
  13. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +1 -0
  14. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +344 -0
  15. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +455 -0
  16. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +1 -0
  17. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +82 -0
  18. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +1 -0
  19. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +112 -0
  20. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +1 -0
  21. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +438 -0
  22. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +1 -0
  23. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +324 -0
  24. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +1 -0
  25. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +490 -0
  26. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +1 -0
  27. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +334 -0
  28. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +1 -0
  29. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +254 -0
  30. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +1 -0
  31. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +29 -0
  32. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +1 -0
  33. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +22 -0
  34. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +1 -0
  35. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +66 -0
  36. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +9 -0
  37. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +1 -0
  38. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +122 -0
  39. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +1 -0
  40. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +15 -0
  41. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +226 -0
  42. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +169 -0
  43. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +8 -0
  44. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +108 -0
  45. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +1 -0
  46. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +6 -0
  47. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +282 -0
  48. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +189 -0
  49. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +85 -0
  50. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +1 -0
  51. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +99 -0
  52. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +1 -0
  53. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +209 -0
  54. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +1 -0
  55. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +103 -0
  56. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +1 -0
  57. package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +24 -0
  58. package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +257 -0
  59. package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +731 -0
  60. package/configure/node_modules/@pie-element/rubric/LICENSE.md +5 -0
  61. package/configure/node_modules/@pie-element/rubric/README.md +3 -0
  62. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +197 -0
  63. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +615 -0
  64. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +93 -0
  65. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +1 -0
  66. package/configure/node_modules/@pie-element/rubric/configure/package.json +16 -0
  67. package/configure/node_modules/@pie-element/rubric/configure/src/index.js +38 -0
  68. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +17 -0
  69. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +105 -0
  70. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +14 -0
  71. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +1 -0
  72. package/configure/node_modules/@pie-element/rubric/controller/package.json +9 -0
  73. package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +35 -0
  74. package/configure/node_modules/@pie-element/rubric/controller/src/index.js +6 -0
  75. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +24 -0
  76. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +19 -0
  77. package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +8 -0
  78. package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +8 -0
  79. package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +3 -0
  80. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +62 -0
  81. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +35 -0
  82. package/configure/node_modules/@pie-element/rubric/lib/index.js +88 -0
  83. package/configure/node_modules/@pie-element/rubric/lib/index.js.map +1 -0
  84. package/configure/node_modules/@pie-element/rubric/lib/main.js +171 -0
  85. package/configure/node_modules/@pie-element/rubric/lib/main.js.map +1 -0
  86. package/configure/node_modules/@pie-element/rubric/lib/print.js +114 -0
  87. package/configure/node_modules/@pie-element/rubric/lib/print.js.map +1 -0
  88. package/configure/node_modules/@pie-element/rubric/package.json +25 -0
  89. package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +22767 -0
  90. package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +48 -0
  91. package/configure/node_modules/@pie-element/rubric/src/index.js +38 -0
  92. package/configure/node_modules/@pie-element/rubric/src/main.jsx +117 -0
  93. package/configure/node_modules/@pie-element/rubric/src/print.js +63 -0
  94. package/configure/package.json +22 -0
  95. package/configure/src/__tests__/__snapshots__/main.test.jsx.snap +106 -0
  96. package/configure/src/__tests__/index.test.js +41 -0
  97. package/configure/src/__tests__/main.test.jsx +104 -0
  98. package/configure/src/defaults.js +122 -0
  99. package/configure/src/index.js +138 -0
  100. package/configure/src/main.jsx +117 -0
  101. package/controller/lib/defaults.js +99 -0
  102. package/controller/lib/defaults.js.map +1 -0
  103. package/controller/lib/index.js +147 -0
  104. package/controller/lib/index.js.map +1 -0
  105. package/controller/package.json +12 -0
  106. package/controller/src/__tests__/index.test.js +58 -0
  107. package/controller/src/defaults.js +121 -0
  108. package/controller/src/index.js +81 -0
  109. package/docs/config-schema.json +427 -0
  110. package/docs/config-schema.json.md +315 -0
  111. package/docs/demo/config.js +8 -0
  112. package/docs/demo/generate.js +119 -0
  113. package/docs/demo/index.html +1 -0
  114. package/docs/demo/session.js +6 -0
  115. package/docs/pie-schema.json +994 -0
  116. package/docs/pie-schema.json.md +660 -0
  117. package/lib/index.js +176 -0
  118. package/lib/index.js.map +1 -0
  119. package/package.json +25 -0
  120. package/src/__tests__/index.test.js +166 -0
  121. package/src/index.js +106 -0
@@ -0,0 +1,660 @@
1
+ Model for the ComplexRubricPie Interaction
2
+
3
+ The schema defines the following properties:
4
+
5
+ # `rubricType` (string, enum, required)
6
+
7
+ This element must be one of the following enum values:
8
+
9
+ * `multiTraitRubric`
10
+ * `simpleRubric`
11
+
12
+ # `rubrics` (object, required)
13
+
14
+ Properties of the `rubrics` object:
15
+
16
+ ## `simpleRubric` (object, required)
17
+
18
+ Model for the RubricPie Interaction
19
+
20
+ Properties of the `simpleRubric` object:
21
+
22
+ ### `points` (array)
23
+
24
+ Indicates the score points labels. Starting from 0 to max
25
+
26
+ The object is an array with all elements of the type `object`.
27
+
28
+ The array object has the following properties:
29
+
30
+ ### `sampleAnswers` (array)
31
+
32
+ Indicates the sample answers labels. Starting from 0 to max
33
+
34
+ The object is an array with all elements of the type `object`.
35
+
36
+ The array object has the following properties:
37
+
38
+ ### `maxPoints` (number)
39
+
40
+ Indicates the max limit for scoring points
41
+
42
+ ### `excludeZeros` (boolean)
43
+
44
+ Indicates if point 0 should be shown
45
+
46
+ ### `id` (string, required)
47
+
48
+ Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
49
+
50
+ ### `element` (string, required)
51
+
52
+ The html Element tag name
53
+
54
+ ## `multiTraitRubric` (object, required)
55
+
56
+ Model for the MultiTraitRubric Interaction
57
+
58
+ Properties of the `multiTraitRubric` object:
59
+
60
+ ### `halfScoring` (boolean)
61
+
62
+ Indicates if half scoring is enabled
63
+
64
+ ### `pointLabels` (boolean)
65
+
66
+ Indicates if point labels should be shown
67
+
68
+ ### `visibleToStudent` (boolean)
69
+
70
+ Indicates if should be visible to student
71
+
72
+ ### `description` (boolean)
73
+
74
+ Indicates if description should be shown
75
+
76
+ ### `standards` (boolean)
77
+
78
+ Indicates if standards should be shown
79
+
80
+ ### `excludeZero` (boolean)
81
+
82
+ Indicates if scoring should start at 0 or 1
83
+
84
+ ### `spellCheckEnabled` (boolean, required)
85
+
86
+ Indicates if spellcheck is enabled for the author. Default value is true
87
+
88
+ ### `scales` (array, required)
89
+
90
+ scales
91
+
92
+ The object is an array with all elements of the type `object`.
93
+
94
+ The array object has the following properties:
95
+
96
+ #### `maxPoints` (number, required)
97
+
98
+ Indicates max limit for scoring points
99
+
100
+ #### `scorePointsLabels` (array, required)
101
+
102
+ Score labels. Starting from 0 to max.
103
+
104
+ The object is an array with all elements of the type `string`.
105
+
106
+ #### `traitLabel` (string, required)
107
+
108
+ Trait label
109
+
110
+ #### `traits` (array, required)
111
+
112
+ Traits
113
+
114
+ The object is an array with all elements of the type `object`.
115
+
116
+ The array object has the following properties:
117
+
118
+ ##### `name` (string, required)
119
+
120
+ Trait name
121
+
122
+ ##### `standards` (array, required)
123
+
124
+ Trait standards
125
+
126
+ The object is an array with all elements of the type `string`.
127
+
128
+ ##### `description` (string, required)
129
+
130
+ Trait description
131
+
132
+ ##### `scorePointsDescriptors` (array, required)
133
+
134
+ Score point descriptors. Starting from 0 to max.
135
+
136
+ The object is an array with all elements of the type `string`.
137
+
138
+ ### `id` (string, required)
139
+
140
+ Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
141
+
142
+ ### `element` (string, required)
143
+
144
+ The html Element tag name
145
+
146
+ # `id` (string, required)
147
+
148
+ Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
149
+
150
+ # `element` (string, required)
151
+
152
+ The html Element tag name
153
+
154
+ ---
155
+
156
+ # Sub Schemas
157
+
158
+ The schema defines the following additional types:
159
+
160
+ ## `MultiTraitRubricConfigure` (object)
161
+
162
+ Config Object for @pie-elements/multi-trait-rubric
163
+
164
+ Properties of the `MultiTraitRubricConfigure` object:
165
+
166
+ ### `excludeZeroDialogBoxContent` (object)
167
+
168
+ Properties of the `excludeZeroDialogBoxContent` object:
169
+
170
+ #### `title` (string)
171
+
172
+ Dialog box title
173
+
174
+ #### `text` (string)
175
+
176
+ Dialog box text
177
+
178
+ ### `includeZeroDialogBoxContent` (object)
179
+
180
+ Properties of the `includeZeroDialogBoxContent` object:
181
+
182
+ #### `title` (string)
183
+
184
+ Dialog box title
185
+
186
+ #### `text` (string)
187
+
188
+ Dialog box text
189
+
190
+ ### `deleteTraitDialogBoxContent` (object)
191
+
192
+ Properties of the `deleteTraitDialogBoxContent` object:
193
+
194
+ #### `title` (string)
195
+
196
+ Dialog box title
197
+
198
+ #### `text` (string)
199
+
200
+ Dialog box text
201
+
202
+ ### `deleteScaleDialogBoxContent` (object)
203
+
204
+ Properties of the `deleteScaleDialogBoxContent` object:
205
+
206
+ #### `title` (string)
207
+
208
+ Dialog box title
209
+
210
+ #### `text` (string)
211
+
212
+ Dialog box text
213
+
214
+ ### `maxPointsDialogBoxContent` (object)
215
+
216
+ Properties of the `maxPointsDialogBoxContent` object:
217
+
218
+ #### `title` (string)
219
+
220
+ Dialog box title
221
+
222
+ #### `text` (string)
223
+
224
+ Dialog box text
225
+
226
+ ### `showExcludeZero` (object)
227
+
228
+ Properties of the `showExcludeZero` object:
229
+
230
+ #### `settings` (boolean)
231
+
232
+ Indicates if the item has to be displayed in the Settings Panel
233
+
234
+ #### `label` (string)
235
+
236
+ Indicates the label for the item that has to be displayed in the Settings Panel
237
+
238
+ ### `showScorePointLabels` (object)
239
+
240
+ Properties of the `showScorePointLabels` object:
241
+
242
+ #### `settings` (boolean)
243
+
244
+ Indicates if the item has to be displayed in the Settings Panel
245
+
246
+ #### `label` (string)
247
+
248
+ Indicates the label for the item that has to be displayed in the Settings Panel
249
+
250
+ ### `showDescription` (object)
251
+
252
+ Properties of the `showDescription` object:
253
+
254
+ #### `settings` (boolean)
255
+
256
+ Indicates if the item has to be displayed in the Settings Panel
257
+
258
+ #### `label` (string)
259
+
260
+ Indicates the label for the item that has to be displayed in the Settings Panel
261
+
262
+ ### `showVisibleToStudent` (object)
263
+
264
+ Properties of the `showVisibleToStudent` object:
265
+
266
+ #### `settings` (boolean)
267
+
268
+ Indicates if the item has to be displayed in the Settings Panel
269
+
270
+ #### `label` (string)
271
+
272
+ Indicates the label for the item that has to be displayed in the Settings Panel
273
+
274
+ ### `showHalfScoring` (object)
275
+
276
+ Properties of the `showHalfScoring` object:
277
+
278
+ #### `settings` (boolean)
279
+
280
+ Indicates if the item has to be displayed in the Settings Panel
281
+
282
+ #### `label` (string)
283
+
284
+ Indicates the label for the item that has to be displayed in the Settings Panel
285
+
286
+ ### `spellCheck` (object)
287
+
288
+ Properties of the `spellCheck` object:
289
+
290
+ #### `settings` (boolean)
291
+
292
+ Indicates if the item has to be displayed in the Settings Panel
293
+
294
+ #### `label` (string)
295
+
296
+ Indicates the label for the item that has to be displayed in the Settings Panel
297
+
298
+ ### `width` (string, required)
299
+
300
+ How large (in px) should multi-trait-rubric be
301
+
302
+ ## `DialogContent` (object)
303
+
304
+ Properties of the `DialogContent` object:
305
+
306
+ ### `title` (string)
307
+
308
+ Dialog box title
309
+
310
+ ### `text` (string)
311
+
312
+ Dialog box text
313
+
314
+ ## `ConfigureProp` (object)
315
+
316
+ Properties of the `ConfigureProp` object:
317
+
318
+ ### `settings` (boolean)
319
+
320
+ Indicates if the item has to be displayed in the Settings Panel
321
+
322
+ ### `label` (string)
323
+
324
+ Indicates the label for the item that has to be displayed in the Settings Panel
325
+
326
+ ## `RubricType` (string)
327
+
328
+ ## `RubricModels` (object)
329
+
330
+ Properties of the `RubricModels` object:
331
+
332
+ ### `simpleRubric` (object, required)
333
+
334
+ Model for the RubricPie Interaction
335
+
336
+ Properties of the `simpleRubric` object:
337
+
338
+ #### `points` (array)
339
+
340
+ Indicates the score points labels. Starting from 0 to max
341
+
342
+ The object is an array with all elements of the type `object`.
343
+
344
+ The array object has the following properties:
345
+
346
+ #### `sampleAnswers` (array)
347
+
348
+ Indicates the sample answers labels. Starting from 0 to max
349
+
350
+ The object is an array with all elements of the type `object`.
351
+
352
+ The array object has the following properties:
353
+
354
+ #### `maxPoints` (number)
355
+
356
+ Indicates the max limit for scoring points
357
+
358
+ #### `excludeZeros` (boolean)
359
+
360
+ Indicates if point 0 should be shown
361
+
362
+ #### `id` (string, required)
363
+
364
+ Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
365
+
366
+ #### `element` (string, required)
367
+
368
+ The html Element tag name
369
+
370
+ ### `multiTraitRubric` (object, required)
371
+
372
+ Model for the MultiTraitRubric Interaction
373
+
374
+ Properties of the `multiTraitRubric` object:
375
+
376
+ #### `halfScoring` (boolean)
377
+
378
+ Indicates if half scoring is enabled
379
+
380
+ #### `pointLabels` (boolean)
381
+
382
+ Indicates if point labels should be shown
383
+
384
+ #### `visibleToStudent` (boolean)
385
+
386
+ Indicates if should be visible to student
387
+
388
+ #### `description` (boolean)
389
+
390
+ Indicates if description should be shown
391
+
392
+ #### `standards` (boolean)
393
+
394
+ Indicates if standards should be shown
395
+
396
+ #### `excludeZero` (boolean)
397
+
398
+ Indicates if scoring should start at 0 or 1
399
+
400
+ #### `spellCheckEnabled` (boolean, required)
401
+
402
+ Indicates if spellcheck is enabled for the author. Default value is true
403
+
404
+ #### `scales` (array, required)
405
+
406
+ scales
407
+
408
+ The object is an array with all elements of the type `object`.
409
+
410
+ The array object has the following properties:
411
+
412
+ ##### `maxPoints` (number, required)
413
+
414
+ Indicates max limit for scoring points
415
+
416
+ ##### `scorePointsLabels` (array, required)
417
+
418
+ Score labels. Starting from 0 to max.
419
+
420
+ The object is an array with all elements of the type `string`.
421
+
422
+ ##### `traitLabel` (string, required)
423
+
424
+ Trait label
425
+
426
+ ##### `traits` (array, required)
427
+
428
+ Traits
429
+
430
+ The object is an array with all elements of the type `object`.
431
+
432
+ The array object has the following properties:
433
+
434
+ ###### `name` (string, required)
435
+
436
+ Trait name
437
+
438
+ ###### `standards` (array, required)
439
+
440
+ Trait standards
441
+
442
+ The object is an array with all elements of the type `string`.
443
+
444
+ ###### `description` (string, required)
445
+
446
+ Trait description
447
+
448
+ ###### `scorePointsDescriptors` (array, required)
449
+
450
+ Score point descriptors. Starting from 0 to max.
451
+
452
+ The object is an array with all elements of the type `string`.
453
+
454
+ #### `id` (string, required)
455
+
456
+ Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
457
+
458
+ #### `element` (string, required)
459
+
460
+ The html Element tag name
461
+
462
+ ## `RubricPie` (object)
463
+
464
+ Model for the RubricPie Interaction
465
+
466
+ Properties of the `RubricPie` object:
467
+
468
+ ### `points` (array)
469
+
470
+ Indicates the score points labels. Starting from 0 to max
471
+
472
+ The object is an array with all elements of the type `object`.
473
+
474
+ The array object has the following properties:
475
+
476
+ ### `sampleAnswers` (array)
477
+
478
+ Indicates the sample answers labels. Starting from 0 to max
479
+
480
+ The object is an array with all elements of the type `object`.
481
+
482
+ The array object has the following properties:
483
+
484
+ ### `maxPoints` (number)
485
+
486
+ Indicates the max limit for scoring points
487
+
488
+ ### `excludeZeros` (boolean)
489
+
490
+ Indicates if point 0 should be shown
491
+
492
+ ### `id` (string, required)
493
+
494
+ Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
495
+
496
+ ### `element` (string, required)
497
+
498
+ The html Element tag name
499
+
500
+ ## `MultiTraitRubricPie` (object)
501
+
502
+ Model for the MultiTraitRubric Interaction
503
+
504
+ Properties of the `MultiTraitRubricPie` object:
505
+
506
+ ### `halfScoring` (boolean)
507
+
508
+ Indicates if half scoring is enabled
509
+
510
+ ### `pointLabels` (boolean)
511
+
512
+ Indicates if point labels should be shown
513
+
514
+ ### `visibleToStudent` (boolean)
515
+
516
+ Indicates if should be visible to student
517
+
518
+ ### `description` (boolean)
519
+
520
+ Indicates if description should be shown
521
+
522
+ ### `standards` (boolean)
523
+
524
+ Indicates if standards should be shown
525
+
526
+ ### `excludeZero` (boolean)
527
+
528
+ Indicates if scoring should start at 0 or 1
529
+
530
+ ### `spellCheckEnabled` (boolean, required)
531
+
532
+ Indicates if spellcheck is enabled for the author. Default value is true
533
+
534
+ ### `scales` (array, required)
535
+
536
+ scales
537
+
538
+ The object is an array with all elements of the type `object`.
539
+
540
+ The array object has the following properties:
541
+
542
+ #### `maxPoints` (number, required)
543
+
544
+ Indicates max limit for scoring points
545
+
546
+ #### `scorePointsLabels` (array, required)
547
+
548
+ Score labels. Starting from 0 to max.
549
+
550
+ The object is an array with all elements of the type `string`.
551
+
552
+ #### `traitLabel` (string, required)
553
+
554
+ Trait label
555
+
556
+ #### `traits` (array, required)
557
+
558
+ Traits
559
+
560
+ The object is an array with all elements of the type `object`.
561
+
562
+ The array object has the following properties:
563
+
564
+ ##### `name` (string, required)
565
+
566
+ Trait name
567
+
568
+ ##### `standards` (array, required)
569
+
570
+ Trait standards
571
+
572
+ The object is an array with all elements of the type `string`.
573
+
574
+ ##### `description` (string, required)
575
+
576
+ Trait description
577
+
578
+ ##### `scorePointsDescriptors` (array, required)
579
+
580
+ Score point descriptors. Starting from 0 to max.
581
+
582
+ The object is an array with all elements of the type `string`.
583
+
584
+ ### `id` (string, required)
585
+
586
+ Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
587
+
588
+ ### `element` (string, required)
589
+
590
+ The html Element tag name
591
+
592
+ ## `Scale` (object)
593
+
594
+ Properties of the `Scale` object:
595
+
596
+ ### `maxPoints` (number, required)
597
+
598
+ Indicates max limit for scoring points
599
+
600
+ ### `scorePointsLabels` (array, required)
601
+
602
+ Score labels. Starting from 0 to max.
603
+
604
+ The object is an array with all elements of the type `string`.
605
+
606
+ ### `traitLabel` (string, required)
607
+
608
+ Trait label
609
+
610
+ ### `traits` (array, required)
611
+
612
+ Traits
613
+
614
+ The object is an array with all elements of the type `object`.
615
+
616
+ The array object has the following properties:
617
+
618
+ #### `name` (string, required)
619
+
620
+ Trait name
621
+
622
+ #### `standards` (array, required)
623
+
624
+ Trait standards
625
+
626
+ The object is an array with all elements of the type `string`.
627
+
628
+ #### `description` (string, required)
629
+
630
+ Trait description
631
+
632
+ #### `scorePointsDescriptors` (array, required)
633
+
634
+ Score point descriptors. Starting from 0 to max.
635
+
636
+ The object is an array with all elements of the type `string`.
637
+
638
+ ## `Trait` (object)
639
+
640
+ Properties of the `Trait` object:
641
+
642
+ ### `name` (string, required)
643
+
644
+ Trait name
645
+
646
+ ### `standards` (array, required)
647
+
648
+ Trait standards
649
+
650
+ The object is an array with all elements of the type `string`.
651
+
652
+ ### `description` (string, required)
653
+
654
+ Trait description
655
+
656
+ ### `scorePointsDescriptors` (array, required)
657
+
658
+ Score point descriptors. Starting from 0 to max.
659
+
660
+ The object is an array with all elements of the type `string`.