@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,121 @@
1
+ const multiTraitDefaultModel = {
2
+ visibleToStudent: true,
3
+ halfScoring: false,
4
+ pointLabels: true,
5
+ description: false,
6
+ standards: false,
7
+ scales: [],
8
+ excludeZero: false,
9
+ };
10
+
11
+ const rubricDefaultModel = {
12
+ points: ['nothing right', 'a teeny bit right', 'mostly right', 'bingo'],
13
+ sampleAnswers: [null, 'just right', 'not left', null],
14
+ maxPoints: 4,
15
+ excludeZero: false
16
+ };
17
+
18
+ const multiTraitDefaultConfiguration = {
19
+ settingsPanelDisabled: true,
20
+ excludeZeroDialogBoxContent: {
21
+ title: 'Exclude 0 (Zero) from Score Point Values.',
22
+ text: `<div>
23
+ You are about to exclude 0 from score point values.
24
+ <br/>
25
+ Some of the existing data has to be changed.
26
+ <br/>
27
+ Please choose if you want to:
28
+ <ul>
29
+ <li>
30
+ shift Labels and Descriptions to the left
31
+ </li>
32
+ <li>
33
+ remove 0 column with its Label and Description
34
+ </li>
35
+ </ul>
36
+ </div>`
37
+ },
38
+ includeZeroDialogBoxContent: {
39
+ title: 'Include 0 (Zero) in Score Point Values.',
40
+ text: `<div>
41
+ You are about to include 0 in score point values.
42
+ <br/>
43
+ Some of the existing data has to be changed.
44
+ <br/>
45
+ Please choose if you want to:
46
+ <ul>
47
+ <li>
48
+ shift Labels and Descriptions to the right
49
+ </li>
50
+ <li>
51
+ add 0 column with empty Label and Descriptions
52
+ </li>
53
+ </ul>
54
+ </div>`
55
+ },
56
+ deleteTraitDialogBoxContent: {
57
+ title: 'Delete Trait',
58
+ text: 'Are you sure you want to delete this trait?'
59
+ },
60
+ deleteScaleDialogBoxContent: {
61
+ title: 'Delete Scale',
62
+ text: 'Are you sure you want to delete this scale?'
63
+ },
64
+ maxPointsDialogBoxContent: {
65
+ title: 'Decreasing Max Points.',
66
+ text: ` You are about to decrease max score point value.
67
+ <br/>
68
+ All the Labels and Descriptions for scores above Max Point will be deleted.`
69
+ },
70
+ spellCheck: {
71
+ label: 'Spellcheck',
72
+ settings: false,
73
+ enabled: true
74
+ },
75
+ showExcludeZero: {
76
+ settings: true,
77
+ label: 'Exclude Zero',
78
+ },
79
+ showScorePointLabels: {
80
+ settings: true,
81
+ label: 'Show Score Point Labels',
82
+ },
83
+ showDescription: {
84
+ settings: true,
85
+ label: 'Show Description',
86
+ },
87
+ showVisibleToStudent: {
88
+ settings: true,
89
+ label: 'Visible to Student',
90
+ },
91
+ showHalfScoring: {
92
+ settings: true,
93
+ label: 'Half Scoring',
94
+ },
95
+ width: '900px',
96
+ // these should not be set to true (should not be used) for now
97
+ showStandards: {
98
+ settings: false,
99
+ label: 'Show Standards',
100
+ },
101
+ showLevelTagInput: {
102
+ settings: false,
103
+ label: 'Show Level Tag Input',
104
+ enabled: false
105
+ },
106
+ dragAndDrop: {
107
+ settings: true,
108
+ label: 'Enable Drag and Drop',
109
+ enabled: false,
110
+ }
111
+ };
112
+
113
+ export default {
114
+ model: {
115
+ rubricType: 'simpleRubric',
116
+ rubrics: { simpleRubric: rubricDefaultModel, multiTraitRubric: multiTraitDefaultModel }
117
+ },
118
+ configuration: {
119
+ multiTraitRubric: multiTraitDefaultConfiguration
120
+ }
121
+ };
@@ -0,0 +1,81 @@
1
+ import defaults from './defaults';
2
+ import { RUBRIC_TYPES } from '@pie-lib/rubric';
3
+
4
+ export function createDefaultModel(model = {}) {
5
+ return new Promise(resolve => resolve({ ...defaults.model, ...model }));
6
+ }
7
+
8
+ export const normalize = question => ({ ...defaults.model, ...question });
9
+
10
+ /**
11
+ *
12
+ * @param {*} question
13
+ * @param {*} session
14
+ * @param {*} env
15
+ */
16
+ export async function model(question, session, env) {
17
+ const normalizedQuestion = normalize(question);
18
+
19
+ if (normalizedQuestion.rubricType === RUBRIC_TYPES.SIMPLE_RUBRIC) {
20
+ return new Promise(resolve => {
21
+ resolve((env && env.role && env.role === 'instructor') ?
22
+ {
23
+ ...normalizedQuestion,
24
+ rubrics: {
25
+ ...normalizedQuestion.rubrics,
26
+ multiTraitRubric: {
27
+ ...normalizedQuestion.rubrics.multiTraitRubric,
28
+ visible: false
29
+ }
30
+ }
31
+ }
32
+ : {});
33
+ });
34
+ } else {
35
+ if (!env.role || env.role === 'student' && normalizedQuestion.rubrics && normalizedQuestion.rubrics.multiTraitRubric) {
36
+ normalizedQuestion.rubrics.multiTraitRubric.visible = normalizedQuestion.visibleToStudent;
37
+ } else {
38
+ normalizedQuestion.rubrics.multiTraitRubric.visible = true;
39
+ }
40
+
41
+ // todo update pie-ui instead of parsing this here:
42
+ const { scales, excludeZero } = normalizedQuestion.rubrics.multiTraitRubric || {};
43
+ const parsedScales = (scales || []).map(scale => ({ ...scale, excludeZero }));
44
+
45
+ return {
46
+ ...normalizedQuestion,
47
+ rubrics: {
48
+ ...normalizedQuestion.rubrics,
49
+ simpleRubric: {
50
+ ...normalizedQuestion.rubrics.simpleRubric,
51
+ visible: false
52
+ },
53
+ multiTraitRubric: {
54
+ ...normalizedQuestion.rubrics.multiTraitRubric,
55
+ scales: parsedScales
56
+ }
57
+ }
58
+ };
59
+ }
60
+ }
61
+
62
+ export const getScore = () => 0;
63
+
64
+ /**
65
+ * @param {Object} model - the main model
66
+ * @param {*} session
67
+ * @param {Object} env
68
+ */
69
+ export function outcome(model, session, env) {
70
+ return new Promise(resolve => resolve({ score: 0, empty: true }));
71
+ }
72
+
73
+ export const createCorrectResponseSession = (question, env) => {
74
+ return new Promise(resolve => {
75
+ if (env.mode !== 'evaluate' && env.role === 'instructor') {
76
+ resolve({ id: '1' });
77
+ } else {
78
+ resolve(null);
79
+ }
80
+ });
81
+ };
@@ -0,0 +1,427 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "multiTraitRubric": {
5
+ "description": "Config Object for @pie-elements/multi-trait-rubric",
6
+ "additionalProperties": false,
7
+ "title": "MultiTraitRubricConfigure",
8
+ "type": "object",
9
+ "properties": {
10
+ "excludeZeroDialogBoxContent": {
11
+ "title": "DialogContent",
12
+ "type": "object",
13
+ "properties": {
14
+ "title": {
15
+ "description": "Dialog box title",
16
+ "type": "string",
17
+ "title": "title"
18
+ },
19
+ "text": {
20
+ "description": "Dialog box text",
21
+ "type": "string",
22
+ "title": "text"
23
+ }
24
+ }
25
+ },
26
+ "includeZeroDialogBoxContent": {
27
+ "title": "DialogContent",
28
+ "type": "object",
29
+ "properties": {
30
+ "title": {
31
+ "description": "Dialog box title",
32
+ "type": "string",
33
+ "title": "title"
34
+ },
35
+ "text": {
36
+ "description": "Dialog box text",
37
+ "type": "string",
38
+ "title": "text"
39
+ }
40
+ }
41
+ },
42
+ "deleteTraitDialogBoxContent": {
43
+ "title": "DialogContent",
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "description": "Dialog box title",
48
+ "type": "string",
49
+ "title": "title"
50
+ },
51
+ "text": {
52
+ "description": "Dialog box text",
53
+ "type": "string",
54
+ "title": "text"
55
+ }
56
+ }
57
+ },
58
+ "deleteScaleDialogBoxContent": {
59
+ "title": "DialogContent",
60
+ "type": "object",
61
+ "properties": {
62
+ "title": {
63
+ "description": "Dialog box title",
64
+ "type": "string",
65
+ "title": "title"
66
+ },
67
+ "text": {
68
+ "description": "Dialog box text",
69
+ "type": "string",
70
+ "title": "text"
71
+ }
72
+ }
73
+ },
74
+ "maxPointsDialogBoxContent": {
75
+ "title": "DialogContent",
76
+ "type": "object",
77
+ "properties": {
78
+ "title": {
79
+ "description": "Dialog box title",
80
+ "type": "string",
81
+ "title": "title"
82
+ },
83
+ "text": {
84
+ "description": "Dialog box text",
85
+ "type": "string",
86
+ "title": "text"
87
+ }
88
+ }
89
+ },
90
+ "showExcludeZero": {
91
+ "title": "ConfigureProp",
92
+ "type": "object",
93
+ "properties": {
94
+ "settings": {
95
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
96
+ "type": "boolean",
97
+ "title": "settings"
98
+ },
99
+ "label": {
100
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
101
+ "type": "string",
102
+ "title": "label"
103
+ }
104
+ }
105
+ },
106
+ "showScorePointLabels": {
107
+ "title": "ConfigureProp",
108
+ "type": "object",
109
+ "properties": {
110
+ "settings": {
111
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
112
+ "type": "boolean",
113
+ "title": "settings"
114
+ },
115
+ "label": {
116
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
117
+ "type": "string",
118
+ "title": "label"
119
+ }
120
+ }
121
+ },
122
+ "showDescription": {
123
+ "title": "ConfigureProp",
124
+ "type": "object",
125
+ "properties": {
126
+ "settings": {
127
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
128
+ "type": "boolean",
129
+ "title": "settings"
130
+ },
131
+ "label": {
132
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
133
+ "type": "string",
134
+ "title": "label"
135
+ }
136
+ }
137
+ },
138
+ "showVisibleToStudent": {
139
+ "title": "ConfigureProp",
140
+ "type": "object",
141
+ "properties": {
142
+ "settings": {
143
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
144
+ "type": "boolean",
145
+ "title": "settings"
146
+ },
147
+ "label": {
148
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
149
+ "type": "string",
150
+ "title": "label"
151
+ }
152
+ }
153
+ },
154
+ "showHalfScoring": {
155
+ "title": "ConfigureProp",
156
+ "type": "object",
157
+ "properties": {
158
+ "settings": {
159
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
160
+ "type": "boolean",
161
+ "title": "settings"
162
+ },
163
+ "label": {
164
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
165
+ "type": "string",
166
+ "title": "label"
167
+ }
168
+ }
169
+ },
170
+ "spellCheck": {
171
+ "title": "ConfigureProp",
172
+ "type": "object",
173
+ "properties": {
174
+ "settings": {
175
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
176
+ "type": "boolean",
177
+ "title": "settings"
178
+ },
179
+ "label": {
180
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
181
+ "type": "string",
182
+ "title": "label"
183
+ }
184
+ }
185
+ },
186
+ "width": {
187
+ "description": "How large (in px) should multi-trait-rubric be",
188
+ "type": "string",
189
+ "title": "width"
190
+ }
191
+ },
192
+ "required": [
193
+ "width"
194
+ ]
195
+ }
196
+ },
197
+ "required": [
198
+ "multiTraitRubric"
199
+ ],
200
+ "definitions": {
201
+ "MultiTraitRubricConfigure": {
202
+ "description": "Config Object for @pie-elements/multi-trait-rubric",
203
+ "additionalProperties": false,
204
+ "title": "MultiTraitRubricConfigure",
205
+ "type": "object",
206
+ "properties": {
207
+ "excludeZeroDialogBoxContent": {
208
+ "title": "DialogContent",
209
+ "type": "object",
210
+ "properties": {
211
+ "title": {
212
+ "description": "Dialog box title",
213
+ "type": "string",
214
+ "title": "title"
215
+ },
216
+ "text": {
217
+ "description": "Dialog box text",
218
+ "type": "string",
219
+ "title": "text"
220
+ }
221
+ }
222
+ },
223
+ "includeZeroDialogBoxContent": {
224
+ "title": "DialogContent",
225
+ "type": "object",
226
+ "properties": {
227
+ "title": {
228
+ "description": "Dialog box title",
229
+ "type": "string",
230
+ "title": "title"
231
+ },
232
+ "text": {
233
+ "description": "Dialog box text",
234
+ "type": "string",
235
+ "title": "text"
236
+ }
237
+ }
238
+ },
239
+ "deleteTraitDialogBoxContent": {
240
+ "title": "DialogContent",
241
+ "type": "object",
242
+ "properties": {
243
+ "title": {
244
+ "description": "Dialog box title",
245
+ "type": "string",
246
+ "title": "title"
247
+ },
248
+ "text": {
249
+ "description": "Dialog box text",
250
+ "type": "string",
251
+ "title": "text"
252
+ }
253
+ }
254
+ },
255
+ "deleteScaleDialogBoxContent": {
256
+ "title": "DialogContent",
257
+ "type": "object",
258
+ "properties": {
259
+ "title": {
260
+ "description": "Dialog box title",
261
+ "type": "string",
262
+ "title": "title"
263
+ },
264
+ "text": {
265
+ "description": "Dialog box text",
266
+ "type": "string",
267
+ "title": "text"
268
+ }
269
+ }
270
+ },
271
+ "maxPointsDialogBoxContent": {
272
+ "title": "DialogContent",
273
+ "type": "object",
274
+ "properties": {
275
+ "title": {
276
+ "description": "Dialog box title",
277
+ "type": "string",
278
+ "title": "title"
279
+ },
280
+ "text": {
281
+ "description": "Dialog box text",
282
+ "type": "string",
283
+ "title": "text"
284
+ }
285
+ }
286
+ },
287
+ "showExcludeZero": {
288
+ "title": "ConfigureProp",
289
+ "type": "object",
290
+ "properties": {
291
+ "settings": {
292
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
293
+ "type": "boolean",
294
+ "title": "settings"
295
+ },
296
+ "label": {
297
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
298
+ "type": "string",
299
+ "title": "label"
300
+ }
301
+ }
302
+ },
303
+ "showScorePointLabels": {
304
+ "title": "ConfigureProp",
305
+ "type": "object",
306
+ "properties": {
307
+ "settings": {
308
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
309
+ "type": "boolean",
310
+ "title": "settings"
311
+ },
312
+ "label": {
313
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
314
+ "type": "string",
315
+ "title": "label"
316
+ }
317
+ }
318
+ },
319
+ "showDescription": {
320
+ "title": "ConfigureProp",
321
+ "type": "object",
322
+ "properties": {
323
+ "settings": {
324
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
325
+ "type": "boolean",
326
+ "title": "settings"
327
+ },
328
+ "label": {
329
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
330
+ "type": "string",
331
+ "title": "label"
332
+ }
333
+ }
334
+ },
335
+ "showVisibleToStudent": {
336
+ "title": "ConfigureProp",
337
+ "type": "object",
338
+ "properties": {
339
+ "settings": {
340
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
341
+ "type": "boolean",
342
+ "title": "settings"
343
+ },
344
+ "label": {
345
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
346
+ "type": "string",
347
+ "title": "label"
348
+ }
349
+ }
350
+ },
351
+ "showHalfScoring": {
352
+ "title": "ConfigureProp",
353
+ "type": "object",
354
+ "properties": {
355
+ "settings": {
356
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
357
+ "type": "boolean",
358
+ "title": "settings"
359
+ },
360
+ "label": {
361
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
362
+ "type": "string",
363
+ "title": "label"
364
+ }
365
+ }
366
+ },
367
+ "spellCheck": {
368
+ "title": "ConfigureProp",
369
+ "type": "object",
370
+ "properties": {
371
+ "settings": {
372
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
373
+ "type": "boolean",
374
+ "title": "settings"
375
+ },
376
+ "label": {
377
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
378
+ "type": "string",
379
+ "title": "label"
380
+ }
381
+ }
382
+ },
383
+ "width": {
384
+ "description": "How large (in px) should multi-trait-rubric be",
385
+ "type": "string",
386
+ "title": "width"
387
+ }
388
+ },
389
+ "required": [
390
+ "width"
391
+ ]
392
+ },
393
+ "DialogContent": {
394
+ "title": "DialogContent",
395
+ "type": "object",
396
+ "properties": {
397
+ "title": {
398
+ "description": "Dialog box title",
399
+ "type": "string",
400
+ "title": "title"
401
+ },
402
+ "text": {
403
+ "description": "Dialog box text",
404
+ "type": "string",
405
+ "title": "text"
406
+ }
407
+ }
408
+ },
409
+ "ConfigureProp": {
410
+ "title": "ConfigureProp",
411
+ "type": "object",
412
+ "properties": {
413
+ "settings": {
414
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
415
+ "type": "boolean",
416
+ "title": "settings"
417
+ },
418
+ "label": {
419
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
420
+ "type": "string",
421
+ "title": "label"
422
+ }
423
+ }
424
+ }
425
+ },
426
+ "$schema": "http://json-schema.org/draft-07/schema#"
427
+ }