@pie-element/complex-rubric 2.10.1-next.11 → 2.10.1-next.12

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 (115) hide show
  1. package/configure/package.json +2 -2
  2. package/controller/package.json +1 -1
  3. package/module/configure.js +233613 -0
  4. package/module/controller.js +379 -0
  5. package/module/demo.js +221 -0
  6. package/module/element.js +231245 -0
  7. package/module/index.html +21 -0
  8. package/module/manifest.json +14 -0
  9. package/module/print-demo.js +259 -0
  10. package/module/print.html +18 -0
  11. package/module/print.js +231217 -0
  12. package/package.json +4 -4
  13. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +0 -1
  14. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +0 -1383
  15. package/configure/node_modules/@pie-element/multi-trait-rubric/LICENSE.md +0 -5
  16. package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +0 -55
  17. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +0 -1
  18. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +0 -1270
  19. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +0 -584
  20. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +0 -1
  21. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +0 -143
  22. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +0 -1
  23. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +0 -204
  24. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +0 -1
  25. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +0 -602
  26. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +0 -1
  27. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +0 -361
  28. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +0 -1
  29. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +0 -556
  30. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +0 -1
  31. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +0 -380
  32. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +0 -1
  33. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +0 -296
  34. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +0 -1
  35. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +0 -14
  36. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +0 -1
  37. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +0 -18
  38. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +0 -1
  39. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +0 -544
  40. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +0 -94
  41. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +0 -1
  42. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +0 -215
  43. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +0 -1
  44. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js +0 -13
  45. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js.map +0 -1
  46. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +0 -15
  47. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +0 -803
  48. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +0 -602
  49. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +0 -8
  50. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +0 -180
  51. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +0 -1
  52. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +0 -6
  53. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +0 -531
  54. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +0 -374
  55. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +0 -85
  56. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +0 -1
  57. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +0 -161
  58. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +0 -1
  59. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +0 -330
  60. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +0 -1
  61. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +0 -103
  62. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +0 -1
  63. package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +0 -24
  64. package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +0 -257
  65. package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +0 -1640
  66. package/configure/node_modules/@pie-element/rubric/LICENSE.md +0 -5
  67. package/configure/node_modules/@pie-element/rubric/README.md +0 -3
  68. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +0 -197
  69. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +0 -1471
  70. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js +0 -59
  71. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js.map +0 -1
  72. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +0 -194
  73. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +0 -1
  74. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js +0 -160
  75. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js.map +0 -1
  76. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/authoring.js +0 -555
  77. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/authoring.js.map +0 -1
  78. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/index.js +0 -24
  79. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/index.js.map +0 -1
  80. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/point-menu.js +0 -172
  81. package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/point-menu.js.map +0 -1
  82. package/configure/node_modules/@pie-element/rubric/configure/package.json +0 -17
  83. package/configure/node_modules/@pie-element/rubric/configure/src/__tests__/index.test.jsx +0 -173
  84. package/configure/node_modules/@pie-element/rubric/configure/src/defaults.js +0 -39
  85. package/configure/node_modules/@pie-element/rubric/configure/src/index.js +0 -127
  86. package/configure/node_modules/@pie-element/rubric/configure/src/main.jsx +0 -87
  87. package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/authoring.jsx +0 -427
  88. package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/index.js +0 -9
  89. package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/point-menu.jsx +0 -94
  90. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +0 -17
  91. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +0 -536
  92. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +0 -51
  93. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +0 -1
  94. package/configure/node_modules/@pie-element/rubric/controller/package.json +0 -13
  95. package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +0 -31
  96. package/configure/node_modules/@pie-element/rubric/controller/src/index.js +0 -42
  97. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +0 -382
  98. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +0 -292
  99. package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +0 -8
  100. package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +0 -8
  101. package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +0 -2
  102. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +0 -226
  103. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +0 -161
  104. package/configure/node_modules/@pie-element/rubric/lib/index.js +0 -88
  105. package/configure/node_modules/@pie-element/rubric/lib/index.js.map +0 -1
  106. package/configure/node_modules/@pie-element/rubric/lib/main.js +0 -187
  107. package/configure/node_modules/@pie-element/rubric/lib/main.js.map +0 -1
  108. package/configure/node_modules/@pie-element/rubric/lib/print.js +0 -114
  109. package/configure/node_modules/@pie-element/rubric/lib/print.js.map +0 -1
  110. package/configure/node_modules/@pie-element/rubric/package.json +0 -26
  111. package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +0 -23003
  112. package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +0 -50
  113. package/configure/node_modules/@pie-element/rubric/src/index.js +0 -34
  114. package/configure/node_modules/@pie-element/rubric/src/main.jsx +0 -136
  115. package/configure/node_modules/@pie-element/rubric/src/print.js +0 -63
@@ -1,531 +0,0 @@
1
- {
2
- "description": "Model for the MultiTraitRubric Interaction",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "halfScoring": {
7
- "description": "Indicates if half scoring is enabled",
8
- "type": "boolean",
9
- "title": "halfScoring"
10
- },
11
- "pointLabels": {
12
- "description": "Indicates if point labels should be shown",
13
- "type": "boolean",
14
- "title": "pointLabels"
15
- },
16
- "visibleToStudent": {
17
- "description": "Indicates if should be visible to student",
18
- "type": "boolean",
19
- "title": "visibleToStudent"
20
- },
21
- "description": {
22
- "description": "Indicates if description should be shown",
23
- "type": "boolean",
24
- "title": "description"
25
- },
26
- "standards": {
27
- "description": "Indicates if standards should be shown",
28
- "type": "boolean",
29
- "title": "standards"
30
- },
31
- "excludeZero": {
32
- "description": "Indicates if scoring should start at 0 or 1",
33
- "type": "boolean",
34
- "title": "excludeZero"
35
- },
36
- "spellCheckEnabled": {
37
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
38
- "type": "boolean",
39
- "title": "spellCheckEnabled"
40
- },
41
- "scales": {
42
- "description": "scales",
43
- "type": "array",
44
- "items": {
45
- "title": "Scale",
46
- "type": "object",
47
- "properties": {
48
- "maxPoints": {
49
- "description": "Indicates max limit for scoring points",
50
- "type": "number",
51
- "title": "maxPoints"
52
- },
53
- "scorePointsLabels": {
54
- "description": "Score labels. Starting from 0 to max.",
55
- "type": "array",
56
- "items": {
57
- "type": "string"
58
- },
59
- "title": "scorePointsLabels"
60
- },
61
- "traitLabel": {
62
- "description": "Trait label",
63
- "type": "string",
64
- "title": "traitLabel"
65
- },
66
- "traits": {
67
- "description": "Traits",
68
- "type": "array",
69
- "items": {
70
- "title": "Trait",
71
- "type": "object",
72
- "properties": {
73
- "name": {
74
- "description": "Trait name",
75
- "type": "string",
76
- "title": "name"
77
- },
78
- "standards": {
79
- "description": "Trait standards",
80
- "type": "array",
81
- "items": {
82
- "type": "string"
83
- },
84
- "title": "standards"
85
- },
86
- "description": {
87
- "description": "Trait description",
88
- "type": "string",
89
- "title": "description"
90
- },
91
- "scorePointsDescriptors": {
92
- "description": "Score point descriptors. Starting from 0 to max.",
93
- "type": "array",
94
- "items": {
95
- "type": "string"
96
- },
97
- "title": "scorePointsDescriptors"
98
- }
99
- },
100
- "required": [
101
- "description",
102
- "name",
103
- "scorePointsDescriptors",
104
- "standards"
105
- ]
106
- },
107
- "title": "traits"
108
- }
109
- },
110
- "required": [
111
- "maxPoints",
112
- "scorePointsLabels",
113
- "traitLabel",
114
- "traits"
115
- ]
116
- },
117
- "title": "scales"
118
- },
119
- "id": {
120
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
121
- "type": "string",
122
- "title": "id"
123
- },
124
- "element": {
125
- "description": "The html Element tag name",
126
- "type": "string",
127
- "title": "element"
128
- }
129
- },
130
- "required": [
131
- "element",
132
- "id",
133
- "scales",
134
- "spellCheckEnabled"
135
- ],
136
- "definitions": {
137
- "EditableHtmlConfigureProp": {
138
- "title": "EditableHtmlConfigureProp",
139
- "type": "object",
140
- "properties": {
141
- "math": {
142
- "title": "EditableHtmlButtonConfigure",
143
- "type": "object",
144
- "properties": {
145
- "disabled": {
146
- "description": "Indicates if the plugin is disabled or not",
147
- "type": "boolean",
148
- "title": "disabled"
149
- }
150
- }
151
- },
152
- "audio": {
153
- "title": "EditableHtmlButtonConfigure",
154
- "type": "object",
155
- "properties": {
156
- "disabled": {
157
- "description": "Indicates if the plugin is disabled or not",
158
- "type": "boolean",
159
- "title": "disabled"
160
- }
161
- }
162
- },
163
- "video": {
164
- "title": "EditableHtmlButtonConfigure",
165
- "type": "object",
166
- "properties": {
167
- "disabled": {
168
- "description": "Indicates if the plugin is disabled or not",
169
- "type": "boolean",
170
- "title": "disabled"
171
- }
172
- }
173
- },
174
- "image": {
175
- "title": "EditableHtmlButtonConfigure",
176
- "type": "object",
177
- "properties": {
178
- "disabled": {
179
- "description": "Indicates if the plugin is disabled or not",
180
- "type": "boolean",
181
- "title": "disabled"
182
- }
183
- }
184
- },
185
- "customPlugins": {
186
- "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.",
187
- "type": "array",
188
- "items": {
189
- "title": "CustomPlugin",
190
- "type": "object",
191
- "properties": {
192
- "event": {
193
- "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\"",
194
- "type": "string",
195
- "title": "event"
196
- },
197
- "iconAlt": {
198
- "description": "The alt for the custom button icon",
199
- "type": "string",
200
- "title": "iconAlt"
201
- },
202
- "iconType": {
203
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
204
- "type": "string",
205
- "title": "iconType"
206
- },
207
- "icon": {
208
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
209
- "type": "string",
210
- "title": "icon"
211
- }
212
- },
213
- "required": [
214
- "event",
215
- "icon",
216
- "iconAlt",
217
- "iconType"
218
- ]
219
- },
220
- "title": "customPlugins"
221
- }
222
- }
223
- },
224
- "EditableHtmlButtonConfigure": {
225
- "title": "EditableHtmlButtonConfigure",
226
- "type": "object",
227
- "properties": {
228
- "disabled": {
229
- "description": "Indicates if the plugin is disabled or not",
230
- "type": "boolean",
231
- "title": "disabled"
232
- }
233
- }
234
- },
235
- "CustomPlugin": {
236
- "title": "CustomPlugin",
237
- "type": "object",
238
- "properties": {
239
- "event": {
240
- "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\"",
241
- "type": "string",
242
- "title": "event"
243
- },
244
- "iconAlt": {
245
- "description": "The alt for the custom button icon",
246
- "type": "string",
247
- "title": "iconAlt"
248
- },
249
- "iconType": {
250
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
251
- "type": "string",
252
- "title": "iconType"
253
- },
254
- "icon": {
255
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
256
- "type": "string",
257
- "title": "icon"
258
- }
259
- },
260
- "required": [
261
- "event",
262
- "icon",
263
- "iconAlt",
264
- "iconType"
265
- ]
266
- },
267
- "EditableHtmlPluginConfigure": {
268
- "title": "EditableHtmlPluginConfigure",
269
- "type": "object",
270
- "properties": {
271
- "inputConfiguration": {
272
- "title": "EditableHtmlConfigureProp",
273
- "type": "object",
274
- "properties": {
275
- "math": {
276
- "title": "EditableHtmlButtonConfigure",
277
- "type": "object",
278
- "properties": {
279
- "disabled": {
280
- "description": "Indicates if the plugin is disabled or not",
281
- "type": "boolean",
282
- "title": "disabled"
283
- }
284
- }
285
- },
286
- "audio": {
287
- "title": "EditableHtmlButtonConfigure",
288
- "type": "object",
289
- "properties": {
290
- "disabled": {
291
- "description": "Indicates if the plugin is disabled or not",
292
- "type": "boolean",
293
- "title": "disabled"
294
- }
295
- }
296
- },
297
- "video": {
298
- "title": "EditableHtmlButtonConfigure",
299
- "type": "object",
300
- "properties": {
301
- "disabled": {
302
- "description": "Indicates if the plugin is disabled or not",
303
- "type": "boolean",
304
- "title": "disabled"
305
- }
306
- }
307
- },
308
- "image": {
309
- "title": "EditableHtmlButtonConfigure",
310
- "type": "object",
311
- "properties": {
312
- "disabled": {
313
- "description": "Indicates if the plugin is disabled or not",
314
- "type": "boolean",
315
- "title": "disabled"
316
- }
317
- }
318
- },
319
- "customPlugins": {
320
- "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.",
321
- "type": "array",
322
- "items": {
323
- "title": "CustomPlugin",
324
- "type": "object",
325
- "properties": {
326
- "event": {
327
- "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\"",
328
- "type": "string",
329
- "title": "event"
330
- },
331
- "iconAlt": {
332
- "description": "The alt for the custom button icon",
333
- "type": "string",
334
- "title": "iconAlt"
335
- },
336
- "iconType": {
337
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
338
- "type": "string",
339
- "title": "iconType"
340
- },
341
- "icon": {
342
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
343
- "type": "string",
344
- "title": "icon"
345
- }
346
- },
347
- "required": [
348
- "event",
349
- "icon",
350
- "iconAlt",
351
- "iconType"
352
- ]
353
- },
354
- "title": "customPlugins"
355
- }
356
- }
357
- },
358
- "settings": {
359
- "description": "Indicates if the item has to be displayed in the Settings Panel",
360
- "type": "boolean",
361
- "title": "settings"
362
- },
363
- "label": {
364
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
365
- "type": "string",
366
- "title": "label"
367
- }
368
- }
369
- },
370
- "DialogContent": {
371
- "title": "DialogContent",
372
- "type": "object",
373
- "properties": {
374
- "title": {
375
- "description": "Dialog box title",
376
- "type": "string",
377
- "title": "title"
378
- },
379
- "text": {
380
- "description": "Dialog box text",
381
- "type": "string",
382
- "title": "text"
383
- }
384
- }
385
- },
386
- "ConfigureProp": {
387
- "title": "ConfigureProp",
388
- "type": "object",
389
- "properties": {
390
- "settings": {
391
- "description": "Indicates if the item has to be displayed in the Settings Panel",
392
- "type": "boolean",
393
- "title": "settings"
394
- },
395
- "label": {
396
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
397
- "type": "string",
398
- "title": "label"
399
- }
400
- }
401
- },
402
- "ConfigureMathMLProp": {
403
- "title": "ConfigureMathMLProp",
404
- "type": "object",
405
- "properties": {
406
- "mmlOutput": {
407
- "description": "Indicates if model should have mathML output instead of latex",
408
- "type": "number",
409
- "title": "mmlOutput"
410
- },
411
- "mmlEditing": {
412
- "description": "Indicates if mathML that's already in model should be editable",
413
- "type": "number",
414
- "title": "mmlEditing"
415
- }
416
- }
417
- },
418
- "Scale": {
419
- "title": "Scale",
420
- "type": "object",
421
- "properties": {
422
- "maxPoints": {
423
- "description": "Indicates max limit for scoring points",
424
- "type": "number",
425
- "title": "maxPoints"
426
- },
427
- "scorePointsLabels": {
428
- "description": "Score labels. Starting from 0 to max.",
429
- "type": "array",
430
- "items": {
431
- "type": "string"
432
- },
433
- "title": "scorePointsLabels"
434
- },
435
- "traitLabel": {
436
- "description": "Trait label",
437
- "type": "string",
438
- "title": "traitLabel"
439
- },
440
- "traits": {
441
- "description": "Traits",
442
- "type": "array",
443
- "items": {
444
- "title": "Trait",
445
- "type": "object",
446
- "properties": {
447
- "name": {
448
- "description": "Trait name",
449
- "type": "string",
450
- "title": "name"
451
- },
452
- "standards": {
453
- "description": "Trait standards",
454
- "type": "array",
455
- "items": {
456
- "type": "string"
457
- },
458
- "title": "standards"
459
- },
460
- "description": {
461
- "description": "Trait description",
462
- "type": "string",
463
- "title": "description"
464
- },
465
- "scorePointsDescriptors": {
466
- "description": "Score point descriptors. Starting from 0 to max.",
467
- "type": "array",
468
- "items": {
469
- "type": "string"
470
- },
471
- "title": "scorePointsDescriptors"
472
- }
473
- },
474
- "required": [
475
- "description",
476
- "name",
477
- "scorePointsDescriptors",
478
- "standards"
479
- ]
480
- },
481
- "title": "traits"
482
- }
483
- },
484
- "required": [
485
- "maxPoints",
486
- "scorePointsLabels",
487
- "traitLabel",
488
- "traits"
489
- ]
490
- },
491
- "Trait": {
492
- "title": "Trait",
493
- "type": "object",
494
- "properties": {
495
- "name": {
496
- "description": "Trait name",
497
- "type": "string",
498
- "title": "name"
499
- },
500
- "standards": {
501
- "description": "Trait standards",
502
- "type": "array",
503
- "items": {
504
- "type": "string"
505
- },
506
- "title": "standards"
507
- },
508
- "description": {
509
- "description": "Trait description",
510
- "type": "string",
511
- "title": "description"
512
- },
513
- "scorePointsDescriptors": {
514
- "description": "Score point descriptors. Starting from 0 to max.",
515
- "type": "array",
516
- "items": {
517
- "type": "string"
518
- },
519
- "title": "scorePointsDescriptors"
520
- }
521
- },
522
- "required": [
523
- "description",
524
- "name",
525
- "scorePointsDescriptors",
526
- "standards"
527
- ]
528
- }
529
- },
530
- "$schema": "http://json-schema.org/draft-07/schema#"
531
- }