@pie-element/graphing 3.5.0 → 3.5.1-beta.587

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.
@@ -4,27 +4,185 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "authoring": {
7
- "title": "ConfigurePropWithEnabled",
7
+ "title": "AuthoringConfigProp",
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "settings": {
11
- "description": "Indicates if the item has to be displayed in the Settings Panel",
11
+ "description": "Indicates if the item is displayed in the Settings Panel",
12
12
  "type": "boolean",
13
13
  "title": "settings"
14
14
  },
15
15
  "label": {
16
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
16
+ "description": "Indicates the label for the item that is displayed in the Settings Panel",
17
17
  "type": "string",
18
18
  "title": "label"
19
19
  },
20
20
  "enabled": {
21
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
21
+ "description": "Indicates if the Grid Setup Panel is displayed",
22
22
  "type": "boolean",
23
23
  "title": "enabled"
24
+ },
25
+ "includeAxesEnabled": {
26
+ "description": "Indicates if the \"includeAxes\" toggle is displayed in the Grid Setup Panel",
27
+ "type": "boolean",
28
+ "title": "includeAxesEnabled"
29
+ },
30
+ "standardGridEnabled": {
31
+ "description": "Indicates if the \"standardGrid\" toggle is displayed in the Grid Setup Panel",
32
+ "type": "boolean",
33
+ "title": "standardGridEnabled"
34
+ },
35
+ "min": {
36
+ "title": "GridPanelConfigProp",
37
+ "type": "object",
38
+ "properties": {
39
+ "label": {
40
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
41
+ "type": "string",
42
+ "title": "label"
43
+ },
44
+ "enabled": {
45
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
46
+ "type": "boolean",
47
+ "title": "enabled"
48
+ }
49
+ }
50
+ },
51
+ "max": {
52
+ "title": "GridPanelConfigProp",
53
+ "type": "object",
54
+ "properties": {
55
+ "label": {
56
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
57
+ "type": "string",
58
+ "title": "label"
59
+ },
60
+ "enabled": {
61
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
62
+ "type": "boolean",
63
+ "title": "enabled"
64
+ }
65
+ }
66
+ },
67
+ "axisLabel": {
68
+ "title": "GridPanelConfigProp",
69
+ "type": "object",
70
+ "properties": {
71
+ "label": {
72
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
73
+ "type": "string",
74
+ "title": "label"
75
+ },
76
+ "enabled": {
77
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
78
+ "type": "boolean",
79
+ "title": "enabled"
80
+ }
81
+ }
82
+ },
83
+ "step": {
84
+ "title": "GridPanelConfigProp",
85
+ "type": "object",
86
+ "properties": {
87
+ "label": {
88
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
89
+ "type": "string",
90
+ "title": "label"
91
+ },
92
+ "enabled": {
93
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
94
+ "type": "boolean",
95
+ "title": "enabled"
96
+ }
97
+ }
98
+ },
99
+ "labelStep": {
100
+ "title": "GridPanelConfigProp",
101
+ "type": "object",
102
+ "properties": {
103
+ "label": {
104
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
105
+ "type": "string",
106
+ "title": "label"
107
+ },
108
+ "enabled": {
109
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
110
+ "type": "boolean",
111
+ "title": "enabled"
112
+ }
113
+ }
24
114
  }
25
115
  }
26
116
  },
27
117
  "arrows": {
118
+ "title": "ArrowsConfigProp",
119
+ "type": "object",
120
+ "properties": {
121
+ "settings": {
122
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
123
+ "type": "boolean",
124
+ "title": "settings"
125
+ },
126
+ "label": {
127
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
128
+ "type": "string",
129
+ "title": "label"
130
+ },
131
+ "left": {
132
+ "title": "ArrowsProp",
133
+ "type": "object",
134
+ "properties": {
135
+ "label": {
136
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
137
+ "type": "string",
138
+ "title": "label"
139
+ }
140
+ }
141
+ },
142
+ "right": {
143
+ "title": "ArrowsProp",
144
+ "type": "object",
145
+ "properties": {
146
+ "label": {
147
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
148
+ "type": "string",
149
+ "title": "label"
150
+ }
151
+ }
152
+ },
153
+ "up": {
154
+ "title": "ArrowsProp",
155
+ "type": "object",
156
+ "properties": {
157
+ "label": {
158
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
159
+ "type": "string",
160
+ "title": "label"
161
+ }
162
+ }
163
+ },
164
+ "down": {
165
+ "title": "ArrowsProp",
166
+ "type": "object",
167
+ "properties": {
168
+ "label": {
169
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
170
+ "type": "string",
171
+ "title": "label"
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "availableTools": {
178
+ "description": "Graph toolbar tools configuration",
179
+ "type": "array",
180
+ "items": {
181
+ "type": "string"
182
+ },
183
+ "title": "availableTools"
184
+ },
185
+ "coordinatesOnHover": {
28
186
  "title": "ConfigureProp",
29
187
  "type": "object",
30
188
  "properties": {
@@ -40,6 +198,255 @@
40
198
  }
41
199
  }
42
200
  },
201
+ "graphDimensions": {
202
+ "title": "DimensionsConfigProp",
203
+ "type": "object",
204
+ "properties": {
205
+ "settings": {
206
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
207
+ "type": "boolean",
208
+ "title": "settings"
209
+ },
210
+ "label": {
211
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
212
+ "type": "string",
213
+ "title": "label"
214
+ },
215
+ "enabled": {
216
+ "description": "Indicates if the graph dimensions are included in the Grid Setup Panel",
217
+ "type": "boolean",
218
+ "title": "enabled"
219
+ },
220
+ "min": {
221
+ "description": "Indicates the minimum value for the graph width and height",
222
+ "type": "number",
223
+ "title": "min"
224
+ },
225
+ "max": {
226
+ "description": "Indicates the maximum value for the graph width and height",
227
+ "type": "number",
228
+ "title": "max"
229
+ },
230
+ "step": {
231
+ "description": "Indicates the increase/decrease value for the graph width and height",
232
+ "type": "number",
233
+ "title": "step"
234
+ }
235
+ }
236
+ },
237
+ "gridConfigurations": {
238
+ "description": "Grid default configurations",
239
+ "type": "array",
240
+ "items": {
241
+ "title": "GridConfigurationsProp",
242
+ "type": "object",
243
+ "properties": {
244
+ "label": {
245
+ "description": "Indicates the label for the configuration",
246
+ "type": "string",
247
+ "title": "label"
248
+ },
249
+ "arrows": {
250
+ "title": "Arrows",
251
+ "type": "object",
252
+ "properties": {
253
+ "left": {
254
+ "description": "Indicates if left arrow is enabled",
255
+ "type": "boolean",
256
+ "title": "left"
257
+ },
258
+ "right": {
259
+ "description": "Indicates if right arrow is enabled",
260
+ "type": "boolean",
261
+ "title": "right"
262
+ },
263
+ "up": {
264
+ "description": "Indicates if up arrow is enabled",
265
+ "type": "boolean",
266
+ "title": "up"
267
+ },
268
+ "down": {
269
+ "description": "Indicates if down arrow is enabled",
270
+ "type": "boolean",
271
+ "title": "down"
272
+ }
273
+ },
274
+ "required": [
275
+ "down",
276
+ "left",
277
+ "right",
278
+ "up"
279
+ ]
280
+ },
281
+ "domain": {
282
+ "title": "GraphSettings",
283
+ "type": "object",
284
+ "properties": {
285
+ "min": {
286
+ "description": "Min value",
287
+ "type": "number",
288
+ "title": "min"
289
+ },
290
+ "max": {
291
+ "description": "Max value",
292
+ "type": "number",
293
+ "title": "max"
294
+ },
295
+ "padding": {
296
+ "description": "Padding value",
297
+ "type": "number",
298
+ "title": "padding"
299
+ },
300
+ "step": {
301
+ "description": "Step value",
302
+ "type": "number",
303
+ "title": "step"
304
+ },
305
+ "labelStep": {
306
+ "description": "Label step value",
307
+ "type": "number",
308
+ "title": "labelStep"
309
+ },
310
+ "axisLabel": {
311
+ "description": "Axis Label",
312
+ "type": "string",
313
+ "title": "axisLabel"
314
+ }
315
+ },
316
+ "required": [
317
+ "axisLabel",
318
+ "labelStep",
319
+ "max",
320
+ "min",
321
+ "padding",
322
+ "step"
323
+ ]
324
+ },
325
+ "graph": {
326
+ "title": "Graph",
327
+ "type": "object",
328
+ "properties": {
329
+ "width": {
330
+ "description": "Width for graph representation",
331
+ "type": "number",
332
+ "title": "width"
333
+ },
334
+ "height": {
335
+ "description": "Height for graph representation",
336
+ "type": "number",
337
+ "title": "height"
338
+ }
339
+ },
340
+ "required": [
341
+ "height",
342
+ "width"
343
+ ]
344
+ },
345
+ "includeAxes": {
346
+ "description": "Indicates if the graph axes and labels are enabled",
347
+ "type": "boolean",
348
+ "title": "includeAxes"
349
+ },
350
+ "labels": {
351
+ "title": "Labels",
352
+ "type": "object",
353
+ "properties": {
354
+ "top": {
355
+ "description": "Label for top side of the graph",
356
+ "type": "string",
357
+ "title": "top"
358
+ },
359
+ "bottom": {
360
+ "description": "Label for bottom side of the graph",
361
+ "type": "string",
362
+ "title": "bottom"
363
+ },
364
+ "left": {
365
+ "description": "Label for left side of the graph",
366
+ "type": "string",
367
+ "title": "left"
368
+ },
369
+ "right": {
370
+ "description": "Label for right side of the graph",
371
+ "type": "string",
372
+ "title": "right"
373
+ }
374
+ },
375
+ "required": [
376
+ "bottom",
377
+ "left",
378
+ "right",
379
+ "top"
380
+ ]
381
+ },
382
+ "padding": {
383
+ "description": "Indicates if padding is enabled",
384
+ "type": "boolean",
385
+ "title": "padding"
386
+ },
387
+ "range": {
388
+ "title": "GraphSettings",
389
+ "type": "object",
390
+ "properties": {
391
+ "min": {
392
+ "description": "Min value",
393
+ "type": "number",
394
+ "title": "min"
395
+ },
396
+ "max": {
397
+ "description": "Max value",
398
+ "type": "number",
399
+ "title": "max"
400
+ },
401
+ "padding": {
402
+ "description": "Padding value",
403
+ "type": "number",
404
+ "title": "padding"
405
+ },
406
+ "step": {
407
+ "description": "Step value",
408
+ "type": "number",
409
+ "title": "step"
410
+ },
411
+ "labelStep": {
412
+ "description": "Label step value",
413
+ "type": "number",
414
+ "title": "labelStep"
415
+ },
416
+ "axisLabel": {
417
+ "description": "Axis Label",
418
+ "type": "string",
419
+ "title": "axisLabel"
420
+ }
421
+ },
422
+ "required": [
423
+ "axisLabel",
424
+ "labelStep",
425
+ "max",
426
+ "min",
427
+ "padding",
428
+ "step"
429
+ ]
430
+ },
431
+ "standardGrid": {
432
+ "description": "Indicates if some domain values will be synched to the range values",
433
+ "type": "boolean",
434
+ "title": "standardGrid"
435
+ },
436
+ "title": {
437
+ "description": "Indicates graph title",
438
+ "type": "string",
439
+ "title": "title"
440
+ }
441
+ },
442
+ "required": [
443
+ "domain",
444
+ "graph",
445
+ "range"
446
+ ]
447
+ },
448
+ "title": "gridConfigurations"
449
+ },
43
450
  "padding": {
44
451
  "title": "ConfigureProp",
45
452
  "type": "object",
@@ -57,9 +464,29 @@
57
464
  }
58
465
  },
59
466
  "labels": {
60
- "title": "ConfigureProp",
467
+ "title": "LabelsConfigProp",
61
468
  "type": "object",
62
469
  "properties": {
470
+ "top": {
471
+ "description": "Indicates the placeholder for the top label",
472
+ "type": "string",
473
+ "title": "top"
474
+ },
475
+ "right": {
476
+ "description": "Indicates the placeholder for the right label",
477
+ "type": "string",
478
+ "title": "right"
479
+ },
480
+ "bottom": {
481
+ "description": "Indicates the placeholder for the bottom label",
482
+ "type": "string",
483
+ "title": "bottom"
484
+ },
485
+ "left": {
486
+ "description": "Indicates the placeholder for the left label",
487
+ "type": "string",
488
+ "title": "left"
489
+ },
63
490
  "settings": {
64
491
  "description": "Indicates if the item has to be displayed in the Settings Panel",
65
492
  "type": "boolean",
@@ -69,6 +496,11 @@
69
496
  "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
70
497
  "type": "string",
71
498
  "title": "label"
499
+ },
500
+ "enabled": {
501
+ "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
502
+ "type": "boolean",
503
+ "title": "enabled"
72
504
  }
73
505
  }
74
506
  },
@@ -88,6 +520,27 @@
88
520
  }
89
521
  }
90
522
  },
523
+ "settingsPanelDisabled": {
524
+ "description": "Indicates if the settings panel is not available",
525
+ "type": "boolean",
526
+ "title": "settingsPanelDisabled"
527
+ },
528
+ "spellCheck": {
529
+ "title": "ConfigureProp",
530
+ "type": "object",
531
+ "properties": {
532
+ "settings": {
533
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
534
+ "type": "boolean",
535
+ "title": "settings"
536
+ },
537
+ "label": {
538
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
539
+ "type": "string",
540
+ "title": "label"
541
+ }
542
+ }
543
+ },
91
544
  "rationale": {
92
545
  "title": "ConfigureProp",
93
546
  "type": "object",
@@ -153,9 +606,14 @@
153
606
  }
154
607
  },
155
608
  "title": {
156
- "title": "ConfigurePropWithEnabled",
609
+ "title": "TitleConfigProp",
157
610
  "type": "object",
158
611
  "properties": {
612
+ "placeholder": {
613
+ "description": "Indicates the placeholder for the title label",
614
+ "type": "string",
615
+ "title": "placeholder"
616
+ },
159
617
  "settings": {
160
618
  "description": "Indicates if the item has to be displayed in the Settings Panel",
161
619
  "type": "boolean",
@@ -173,6 +631,64 @@
173
631
  }
174
632
  }
175
633
  },
634
+ "maxImageWidth": {
635
+ "title": "ConfigureMaxImageDimensionsProp",
636
+ "type": "object",
637
+ "properties": {
638
+ "teacherInstructions": {
639
+ "description": "Indicates the max dimension for images in teacher instructions",
640
+ "type": "number",
641
+ "title": "teacherInstructions"
642
+ },
643
+ "prompt": {
644
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
645
+ "type": "number",
646
+ "title": "prompt"
647
+ },
648
+ "rationale": {
649
+ "description": "Indicates the max dimension for images in rationale",
650
+ "type": "number",
651
+ "title": "rationale"
652
+ }
653
+ }
654
+ },
655
+ "maxImageHeight": {
656
+ "title": "ConfigureMaxImageDimensionsProp",
657
+ "type": "object",
658
+ "properties": {
659
+ "teacherInstructions": {
660
+ "description": "Indicates the max dimension for images in teacher instructions",
661
+ "type": "number",
662
+ "title": "teacherInstructions"
663
+ },
664
+ "prompt": {
665
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
666
+ "type": "number",
667
+ "title": "prompt"
668
+ },
669
+ "rationale": {
670
+ "description": "Indicates the max dimension for images in rationale",
671
+ "type": "number",
672
+ "title": "rationale"
673
+ }
674
+ }
675
+ },
676
+ "withRubric": {
677
+ "title": "ConfigureProp",
678
+ "type": "object",
679
+ "properties": {
680
+ "settings": {
681
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
682
+ "type": "boolean",
683
+ "title": "settings"
684
+ },
685
+ "label": {
686
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
687
+ "type": "string",
688
+ "title": "label"
689
+ }
690
+ }
691
+ },
176
692
  "showPrompt": {
177
693
  "description": "Determines whether prompt field will be displayed or not",
178
694
  "default": true,
@@ -192,11 +708,620 @@
192
708
  "title": "settingsPartialScoring"
193
709
  }
194
710
  },
711
+ "required": [
712
+ "gridConfigurations"
713
+ ],
195
714
  "definitions": {
196
- "ConfigurePropWithEnabled": {
197
- "title": "ConfigurePropWithEnabled",
715
+ "AuthoringConfigProp": {
716
+ "title": "AuthoringConfigProp",
198
717
  "type": "object",
199
718
  "properties": {
719
+ "settings": {
720
+ "description": "Indicates if the item is displayed in the Settings Panel",
721
+ "type": "boolean",
722
+ "title": "settings"
723
+ },
724
+ "label": {
725
+ "description": "Indicates the label for the item that is displayed in the Settings Panel",
726
+ "type": "string",
727
+ "title": "label"
728
+ },
729
+ "enabled": {
730
+ "description": "Indicates if the Grid Setup Panel is displayed",
731
+ "type": "boolean",
732
+ "title": "enabled"
733
+ },
734
+ "includeAxesEnabled": {
735
+ "description": "Indicates if the \"includeAxes\" toggle is displayed in the Grid Setup Panel",
736
+ "type": "boolean",
737
+ "title": "includeAxesEnabled"
738
+ },
739
+ "standardGridEnabled": {
740
+ "description": "Indicates if the \"standardGrid\" toggle is displayed in the Grid Setup Panel",
741
+ "type": "boolean",
742
+ "title": "standardGridEnabled"
743
+ },
744
+ "min": {
745
+ "title": "GridPanelConfigProp",
746
+ "type": "object",
747
+ "properties": {
748
+ "label": {
749
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
750
+ "type": "string",
751
+ "title": "label"
752
+ },
753
+ "enabled": {
754
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
755
+ "type": "boolean",
756
+ "title": "enabled"
757
+ }
758
+ }
759
+ },
760
+ "max": {
761
+ "title": "GridPanelConfigProp",
762
+ "type": "object",
763
+ "properties": {
764
+ "label": {
765
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
766
+ "type": "string",
767
+ "title": "label"
768
+ },
769
+ "enabled": {
770
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
771
+ "type": "boolean",
772
+ "title": "enabled"
773
+ }
774
+ }
775
+ },
776
+ "axisLabel": {
777
+ "title": "GridPanelConfigProp",
778
+ "type": "object",
779
+ "properties": {
780
+ "label": {
781
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
782
+ "type": "string",
783
+ "title": "label"
784
+ },
785
+ "enabled": {
786
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
787
+ "type": "boolean",
788
+ "title": "enabled"
789
+ }
790
+ }
791
+ },
792
+ "step": {
793
+ "title": "GridPanelConfigProp",
794
+ "type": "object",
795
+ "properties": {
796
+ "label": {
797
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
798
+ "type": "string",
799
+ "title": "label"
800
+ },
801
+ "enabled": {
802
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
803
+ "type": "boolean",
804
+ "title": "enabled"
805
+ }
806
+ }
807
+ },
808
+ "labelStep": {
809
+ "title": "GridPanelConfigProp",
810
+ "type": "object",
811
+ "properties": {
812
+ "label": {
813
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
814
+ "type": "string",
815
+ "title": "label"
816
+ },
817
+ "enabled": {
818
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
819
+ "type": "boolean",
820
+ "title": "enabled"
821
+ }
822
+ }
823
+ }
824
+ }
825
+ },
826
+ "GridPanelConfigProp": {
827
+ "title": "GridPanelConfigProp",
828
+ "type": "object",
829
+ "properties": {
830
+ "label": {
831
+ "description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
832
+ "type": "string",
833
+ "title": "label"
834
+ },
835
+ "enabled": {
836
+ "description": "Indicates if the item is displayed in the Grid Setup Panel",
837
+ "type": "boolean",
838
+ "title": "enabled"
839
+ }
840
+ }
841
+ },
842
+ "ArrowsConfigProp": {
843
+ "title": "ArrowsConfigProp",
844
+ "type": "object",
845
+ "properties": {
846
+ "settings": {
847
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
848
+ "type": "boolean",
849
+ "title": "settings"
850
+ },
851
+ "label": {
852
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
853
+ "type": "string",
854
+ "title": "label"
855
+ },
856
+ "left": {
857
+ "title": "ArrowsProp",
858
+ "type": "object",
859
+ "properties": {
860
+ "label": {
861
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
862
+ "type": "string",
863
+ "title": "label"
864
+ }
865
+ }
866
+ },
867
+ "right": {
868
+ "title": "ArrowsProp",
869
+ "type": "object",
870
+ "properties": {
871
+ "label": {
872
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
873
+ "type": "string",
874
+ "title": "label"
875
+ }
876
+ }
877
+ },
878
+ "up": {
879
+ "title": "ArrowsProp",
880
+ "type": "object",
881
+ "properties": {
882
+ "label": {
883
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
884
+ "type": "string",
885
+ "title": "label"
886
+ }
887
+ }
888
+ },
889
+ "down": {
890
+ "title": "ArrowsProp",
891
+ "type": "object",
892
+ "properties": {
893
+ "label": {
894
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
895
+ "type": "string",
896
+ "title": "label"
897
+ }
898
+ }
899
+ }
900
+ }
901
+ },
902
+ "ArrowsProp": {
903
+ "title": "ArrowsProp",
904
+ "type": "object",
905
+ "properties": {
906
+ "label": {
907
+ "description": "Indicates the label for the arrow that has to be displayed in the Settings Panel",
908
+ "type": "string",
909
+ "title": "label"
910
+ }
911
+ }
912
+ },
913
+ "ConfigureProp": {
914
+ "title": "ConfigureProp",
915
+ "type": "object",
916
+ "properties": {
917
+ "settings": {
918
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
919
+ "type": "boolean",
920
+ "title": "settings"
921
+ },
922
+ "label": {
923
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
924
+ "type": "string",
925
+ "title": "label"
926
+ }
927
+ }
928
+ },
929
+ "DimensionsConfigProp": {
930
+ "title": "DimensionsConfigProp",
931
+ "type": "object",
932
+ "properties": {
933
+ "settings": {
934
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
935
+ "type": "boolean",
936
+ "title": "settings"
937
+ },
938
+ "label": {
939
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
940
+ "type": "string",
941
+ "title": "label"
942
+ },
943
+ "enabled": {
944
+ "description": "Indicates if the graph dimensions are included in the Grid Setup Panel",
945
+ "type": "boolean",
946
+ "title": "enabled"
947
+ },
948
+ "min": {
949
+ "description": "Indicates the minimum value for the graph width and height",
950
+ "type": "number",
951
+ "title": "min"
952
+ },
953
+ "max": {
954
+ "description": "Indicates the maximum value for the graph width and height",
955
+ "type": "number",
956
+ "title": "max"
957
+ },
958
+ "step": {
959
+ "description": "Indicates the increase/decrease value for the graph width and height",
960
+ "type": "number",
961
+ "title": "step"
962
+ }
963
+ }
964
+ },
965
+ "GridConfigurationsProp": {
966
+ "title": "GridConfigurationsProp",
967
+ "type": "object",
968
+ "properties": {
969
+ "label": {
970
+ "description": "Indicates the label for the configuration",
971
+ "type": "string",
972
+ "title": "label"
973
+ },
974
+ "arrows": {
975
+ "title": "Arrows",
976
+ "type": "object",
977
+ "properties": {
978
+ "left": {
979
+ "description": "Indicates if left arrow is enabled",
980
+ "type": "boolean",
981
+ "title": "left"
982
+ },
983
+ "right": {
984
+ "description": "Indicates if right arrow is enabled",
985
+ "type": "boolean",
986
+ "title": "right"
987
+ },
988
+ "up": {
989
+ "description": "Indicates if up arrow is enabled",
990
+ "type": "boolean",
991
+ "title": "up"
992
+ },
993
+ "down": {
994
+ "description": "Indicates if down arrow is enabled",
995
+ "type": "boolean",
996
+ "title": "down"
997
+ }
998
+ },
999
+ "required": [
1000
+ "down",
1001
+ "left",
1002
+ "right",
1003
+ "up"
1004
+ ]
1005
+ },
1006
+ "domain": {
1007
+ "title": "GraphSettings",
1008
+ "type": "object",
1009
+ "properties": {
1010
+ "min": {
1011
+ "description": "Min value",
1012
+ "type": "number",
1013
+ "title": "min"
1014
+ },
1015
+ "max": {
1016
+ "description": "Max value",
1017
+ "type": "number",
1018
+ "title": "max"
1019
+ },
1020
+ "padding": {
1021
+ "description": "Padding value",
1022
+ "type": "number",
1023
+ "title": "padding"
1024
+ },
1025
+ "step": {
1026
+ "description": "Step value",
1027
+ "type": "number",
1028
+ "title": "step"
1029
+ },
1030
+ "labelStep": {
1031
+ "description": "Label step value",
1032
+ "type": "number",
1033
+ "title": "labelStep"
1034
+ },
1035
+ "axisLabel": {
1036
+ "description": "Axis Label",
1037
+ "type": "string",
1038
+ "title": "axisLabel"
1039
+ }
1040
+ },
1041
+ "required": [
1042
+ "axisLabel",
1043
+ "labelStep",
1044
+ "max",
1045
+ "min",
1046
+ "padding",
1047
+ "step"
1048
+ ]
1049
+ },
1050
+ "graph": {
1051
+ "title": "Graph",
1052
+ "type": "object",
1053
+ "properties": {
1054
+ "width": {
1055
+ "description": "Width for graph representation",
1056
+ "type": "number",
1057
+ "title": "width"
1058
+ },
1059
+ "height": {
1060
+ "description": "Height for graph representation",
1061
+ "type": "number",
1062
+ "title": "height"
1063
+ }
1064
+ },
1065
+ "required": [
1066
+ "height",
1067
+ "width"
1068
+ ]
1069
+ },
1070
+ "includeAxes": {
1071
+ "description": "Indicates if the graph axes and labels are enabled",
1072
+ "type": "boolean",
1073
+ "title": "includeAxes"
1074
+ },
1075
+ "labels": {
1076
+ "title": "Labels",
1077
+ "type": "object",
1078
+ "properties": {
1079
+ "top": {
1080
+ "description": "Label for top side of the graph",
1081
+ "type": "string",
1082
+ "title": "top"
1083
+ },
1084
+ "bottom": {
1085
+ "description": "Label for bottom side of the graph",
1086
+ "type": "string",
1087
+ "title": "bottom"
1088
+ },
1089
+ "left": {
1090
+ "description": "Label for left side of the graph",
1091
+ "type": "string",
1092
+ "title": "left"
1093
+ },
1094
+ "right": {
1095
+ "description": "Label for right side of the graph",
1096
+ "type": "string",
1097
+ "title": "right"
1098
+ }
1099
+ },
1100
+ "required": [
1101
+ "bottom",
1102
+ "left",
1103
+ "right",
1104
+ "top"
1105
+ ]
1106
+ },
1107
+ "padding": {
1108
+ "description": "Indicates if padding is enabled",
1109
+ "type": "boolean",
1110
+ "title": "padding"
1111
+ },
1112
+ "range": {
1113
+ "title": "GraphSettings",
1114
+ "type": "object",
1115
+ "properties": {
1116
+ "min": {
1117
+ "description": "Min value",
1118
+ "type": "number",
1119
+ "title": "min"
1120
+ },
1121
+ "max": {
1122
+ "description": "Max value",
1123
+ "type": "number",
1124
+ "title": "max"
1125
+ },
1126
+ "padding": {
1127
+ "description": "Padding value",
1128
+ "type": "number",
1129
+ "title": "padding"
1130
+ },
1131
+ "step": {
1132
+ "description": "Step value",
1133
+ "type": "number",
1134
+ "title": "step"
1135
+ },
1136
+ "labelStep": {
1137
+ "description": "Label step value",
1138
+ "type": "number",
1139
+ "title": "labelStep"
1140
+ },
1141
+ "axisLabel": {
1142
+ "description": "Axis Label",
1143
+ "type": "string",
1144
+ "title": "axisLabel"
1145
+ }
1146
+ },
1147
+ "required": [
1148
+ "axisLabel",
1149
+ "labelStep",
1150
+ "max",
1151
+ "min",
1152
+ "padding",
1153
+ "step"
1154
+ ]
1155
+ },
1156
+ "standardGrid": {
1157
+ "description": "Indicates if some domain values will be synched to the range values",
1158
+ "type": "boolean",
1159
+ "title": "standardGrid"
1160
+ },
1161
+ "title": {
1162
+ "description": "Indicates graph title",
1163
+ "type": "string",
1164
+ "title": "title"
1165
+ }
1166
+ },
1167
+ "required": [
1168
+ "domain",
1169
+ "graph",
1170
+ "range"
1171
+ ]
1172
+ },
1173
+ "Arrows": {
1174
+ "title": "Arrows",
1175
+ "type": "object",
1176
+ "properties": {
1177
+ "left": {
1178
+ "description": "Indicates if left arrow is enabled",
1179
+ "type": "boolean",
1180
+ "title": "left"
1181
+ },
1182
+ "right": {
1183
+ "description": "Indicates if right arrow is enabled",
1184
+ "type": "boolean",
1185
+ "title": "right"
1186
+ },
1187
+ "up": {
1188
+ "description": "Indicates if up arrow is enabled",
1189
+ "type": "boolean",
1190
+ "title": "up"
1191
+ },
1192
+ "down": {
1193
+ "description": "Indicates if down arrow is enabled",
1194
+ "type": "boolean",
1195
+ "title": "down"
1196
+ }
1197
+ },
1198
+ "required": [
1199
+ "down",
1200
+ "left",
1201
+ "right",
1202
+ "up"
1203
+ ]
1204
+ },
1205
+ "GraphSettings": {
1206
+ "title": "GraphSettings",
1207
+ "type": "object",
1208
+ "properties": {
1209
+ "min": {
1210
+ "description": "Min value",
1211
+ "type": "number",
1212
+ "title": "min"
1213
+ },
1214
+ "max": {
1215
+ "description": "Max value",
1216
+ "type": "number",
1217
+ "title": "max"
1218
+ },
1219
+ "padding": {
1220
+ "description": "Padding value",
1221
+ "type": "number",
1222
+ "title": "padding"
1223
+ },
1224
+ "step": {
1225
+ "description": "Step value",
1226
+ "type": "number",
1227
+ "title": "step"
1228
+ },
1229
+ "labelStep": {
1230
+ "description": "Label step value",
1231
+ "type": "number",
1232
+ "title": "labelStep"
1233
+ },
1234
+ "axisLabel": {
1235
+ "description": "Axis Label",
1236
+ "type": "string",
1237
+ "title": "axisLabel"
1238
+ }
1239
+ },
1240
+ "required": [
1241
+ "axisLabel",
1242
+ "labelStep",
1243
+ "max",
1244
+ "min",
1245
+ "padding",
1246
+ "step"
1247
+ ]
1248
+ },
1249
+ "Graph": {
1250
+ "title": "Graph",
1251
+ "type": "object",
1252
+ "properties": {
1253
+ "width": {
1254
+ "description": "Width for graph representation",
1255
+ "type": "number",
1256
+ "title": "width"
1257
+ },
1258
+ "height": {
1259
+ "description": "Height for graph representation",
1260
+ "type": "number",
1261
+ "title": "height"
1262
+ }
1263
+ },
1264
+ "required": [
1265
+ "height",
1266
+ "width"
1267
+ ]
1268
+ },
1269
+ "Labels": {
1270
+ "title": "Labels",
1271
+ "type": "object",
1272
+ "properties": {
1273
+ "top": {
1274
+ "description": "Label for top side of the graph",
1275
+ "type": "string",
1276
+ "title": "top"
1277
+ },
1278
+ "bottom": {
1279
+ "description": "Label for bottom side of the graph",
1280
+ "type": "string",
1281
+ "title": "bottom"
1282
+ },
1283
+ "left": {
1284
+ "description": "Label for left side of the graph",
1285
+ "type": "string",
1286
+ "title": "left"
1287
+ },
1288
+ "right": {
1289
+ "description": "Label for right side of the graph",
1290
+ "type": "string",
1291
+ "title": "right"
1292
+ }
1293
+ },
1294
+ "required": [
1295
+ "bottom",
1296
+ "left",
1297
+ "right",
1298
+ "top"
1299
+ ]
1300
+ },
1301
+ "LabelsConfigProp": {
1302
+ "title": "LabelsConfigProp",
1303
+ "type": "object",
1304
+ "properties": {
1305
+ "top": {
1306
+ "description": "Indicates the placeholder for the top label",
1307
+ "type": "string",
1308
+ "title": "top"
1309
+ },
1310
+ "right": {
1311
+ "description": "Indicates the placeholder for the right label",
1312
+ "type": "string",
1313
+ "title": "right"
1314
+ },
1315
+ "bottom": {
1316
+ "description": "Indicates the placeholder for the bottom label",
1317
+ "type": "string",
1318
+ "title": "bottom"
1319
+ },
1320
+ "left": {
1321
+ "description": "Indicates the placeholder for the left label",
1322
+ "type": "string",
1323
+ "title": "left"
1324
+ },
200
1325
  "settings": {
201
1326
  "description": "Indicates if the item has to be displayed in the Settings Panel",
202
1327
  "type": "boolean",
@@ -214,10 +1339,15 @@
214
1339
  }
215
1340
  }
216
1341
  },
217
- "ConfigureProp": {
218
- "title": "ConfigureProp",
1342
+ "TitleConfigProp": {
1343
+ "title": "TitleConfigProp",
219
1344
  "type": "object",
220
1345
  "properties": {
1346
+ "placeholder": {
1347
+ "description": "Indicates the placeholder for the title label",
1348
+ "type": "string",
1349
+ "title": "placeholder"
1350
+ },
221
1351
  "settings": {
222
1352
  "description": "Indicates if the item has to be displayed in the Settings Panel",
223
1353
  "type": "boolean",
@@ -227,6 +1357,32 @@
227
1357
  "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
228
1358
  "type": "string",
229
1359
  "title": "label"
1360
+ },
1361
+ "enabled": {
1362
+ "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
1363
+ "type": "boolean",
1364
+ "title": "enabled"
1365
+ }
1366
+ }
1367
+ },
1368
+ "ConfigureMaxImageDimensionsProp": {
1369
+ "title": "ConfigureMaxImageDimensionsProp",
1370
+ "type": "object",
1371
+ "properties": {
1372
+ "teacherInstructions": {
1373
+ "description": "Indicates the max dimension for images in teacher instructions",
1374
+ "type": "number",
1375
+ "title": "teacherInstructions"
1376
+ },
1377
+ "prompt": {
1378
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
1379
+ "type": "number",
1380
+ "title": "prompt"
1381
+ },
1382
+ "rationale": {
1383
+ "description": "Indicates the max dimension for images in rationale",
1384
+ "type": "number",
1385
+ "title": "rationale"
230
1386
  }
231
1387
  }
232
1388
  }