@pie-element/graphing-solution-set 1.0.1-next.6591
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.
- package/CHANGELOG.json +1 -0
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +5 -0
- package/README.md +20 -0
- package/configure/CHANGELOG.json +1 -0
- package/configure/CHANGELOG.md +4 -0
- package/configure/lib/configure.js +398 -0
- package/configure/lib/configure.js.map +1 -0
- package/configure/lib/correct-response.js +596 -0
- package/configure/lib/correct-response.js.map +1 -0
- package/configure/lib/defaults.js +359 -0
- package/configure/lib/defaults.js.map +1 -0
- package/configure/lib/graphing-config.js +435 -0
- package/configure/lib/graphing-config.js.map +1 -0
- package/configure/lib/index.js +218 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/utils.js +754 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +23 -0
- package/controller/CHANGELOG.json +1 -0
- package/controller/CHANGELOG.md +4 -0
- package/controller/lib/defaults.js +71 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +419 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/lib/utils.js +273 -0
- package/controller/lib/utils.js.map +1 -0
- package/controller/package.json +23 -0
- package/demo-gss.gif +0 -0
- package/docs/config-schema.json +1564 -0
- package/docs/config-schema.json.md +1114 -0
- package/docs/demo/config.js +8 -0
- package/docs/demo/generate.js +54 -0
- package/docs/demo/index.html +1 -0
- package/docs/demo/session.js +6 -0
- package/docs/pie-schema.json +969 -0
- package/docs/pie-schema.json.md +509 -0
- package/lib/index.js +203 -0
- package/lib/index.js.map +1 -0
- package/lib/main.js +440 -0
- package/lib/main.js.map +1 -0
- package/lib/utils.js +604 -0
- package/lib/utils.js.map +1 -0
- package/package.json +27 -0
|
@@ -0,0 +1,969 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Model Object for",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"answers": {
|
|
7
|
+
"description": "Indicates marks that are set as answers",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"correctAnswer": {
|
|
11
|
+
"title": "Answer",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"name": {
|
|
15
|
+
"description": "Indicates name of answer",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"title": "name"
|
|
18
|
+
},
|
|
19
|
+
"marks": {
|
|
20
|
+
"description": "Indicates marks for the answer",
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": [
|
|
23
|
+
{
|
|
24
|
+
"title": "Mark",
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"type": {
|
|
28
|
+
"description": "Indicates type of mark",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"const": "line",
|
|
31
|
+
"title": "type"
|
|
32
|
+
},
|
|
33
|
+
"showLabel": {
|
|
34
|
+
"description": "Indicates if label should be visible",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"title": "showLabel"
|
|
37
|
+
},
|
|
38
|
+
"label": {
|
|
39
|
+
"description": "Indicates label value for mark",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"title": "label"
|
|
42
|
+
},
|
|
43
|
+
"building": {
|
|
44
|
+
"description": "Indicates if mark is in build process",
|
|
45
|
+
"type": "boolean",
|
|
46
|
+
"title": "building"
|
|
47
|
+
},
|
|
48
|
+
"x": {
|
|
49
|
+
"description": "Indicates x coordinate if type is point",
|
|
50
|
+
"type": "number",
|
|
51
|
+
"title": "x"
|
|
52
|
+
},
|
|
53
|
+
"y": {
|
|
54
|
+
"description": "Indicates y coordinate if type is point",
|
|
55
|
+
"type": "number",
|
|
56
|
+
"title": "y"
|
|
57
|
+
},
|
|
58
|
+
"from": {
|
|
59
|
+
"title": "Point",
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"x": {
|
|
63
|
+
"description": "Indicates x coordinate",
|
|
64
|
+
"type": "number",
|
|
65
|
+
"title": "x"
|
|
66
|
+
},
|
|
67
|
+
"y": {
|
|
68
|
+
"description": "Indicates y coordinate",
|
|
69
|
+
"type": "number",
|
|
70
|
+
"title": "y"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"x",
|
|
75
|
+
"y"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"to": {
|
|
79
|
+
"title": "Point",
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"x": {
|
|
83
|
+
"description": "Indicates x coordinate",
|
|
84
|
+
"type": "number",
|
|
85
|
+
"title": "x"
|
|
86
|
+
},
|
|
87
|
+
"y": {
|
|
88
|
+
"description": "Indicates y coordinate",
|
|
89
|
+
"type": "number",
|
|
90
|
+
"title": "y"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"x",
|
|
95
|
+
"y"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": [
|
|
100
|
+
"building",
|
|
101
|
+
"type"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"minItems": 1,
|
|
106
|
+
"maxItems": 1,
|
|
107
|
+
"title": "marks"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"required": [
|
|
111
|
+
"marks",
|
|
112
|
+
"name"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"correctAnswer"
|
|
118
|
+
],
|
|
119
|
+
"title": "answers"
|
|
120
|
+
},
|
|
121
|
+
"arrows": {
|
|
122
|
+
"title": "Arrows",
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"left": {
|
|
126
|
+
"description": "Indicates if left arrow is enabled",
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"title": "left"
|
|
129
|
+
},
|
|
130
|
+
"right": {
|
|
131
|
+
"description": "Indicates if right arrow is enabled",
|
|
132
|
+
"type": "boolean",
|
|
133
|
+
"title": "right"
|
|
134
|
+
},
|
|
135
|
+
"up": {
|
|
136
|
+
"description": "Indicates if up arrow is enabled",
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"title": "up"
|
|
139
|
+
},
|
|
140
|
+
"down": {
|
|
141
|
+
"description": "Indicates if down arrow is enabled",
|
|
142
|
+
"type": "boolean",
|
|
143
|
+
"title": "down"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"required": [
|
|
147
|
+
"down",
|
|
148
|
+
"left",
|
|
149
|
+
"right",
|
|
150
|
+
"up"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"defaultGridConfiguration": {
|
|
154
|
+
"title": "Number",
|
|
155
|
+
"type": "object"
|
|
156
|
+
},
|
|
157
|
+
"coordinatesOnHover": {
|
|
158
|
+
"description": "Indicates if coordinates of a point are displayed on hover",
|
|
159
|
+
"type": "boolean",
|
|
160
|
+
"title": "coordinatesOnHover"
|
|
161
|
+
},
|
|
162
|
+
"domain": {
|
|
163
|
+
"title": "GraphSettings",
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"min": {
|
|
167
|
+
"description": "Min value",
|
|
168
|
+
"type": "number",
|
|
169
|
+
"title": "min"
|
|
170
|
+
},
|
|
171
|
+
"max": {
|
|
172
|
+
"description": "Max value",
|
|
173
|
+
"type": "number",
|
|
174
|
+
"title": "max"
|
|
175
|
+
},
|
|
176
|
+
"padding": {
|
|
177
|
+
"description": "Padding value",
|
|
178
|
+
"type": "number",
|
|
179
|
+
"title": "padding"
|
|
180
|
+
},
|
|
181
|
+
"step": {
|
|
182
|
+
"description": "Step value",
|
|
183
|
+
"type": "number",
|
|
184
|
+
"title": "step"
|
|
185
|
+
},
|
|
186
|
+
"labelStep": {
|
|
187
|
+
"description": "Label step value",
|
|
188
|
+
"type": "number",
|
|
189
|
+
"title": "labelStep"
|
|
190
|
+
},
|
|
191
|
+
"axisLabel": {
|
|
192
|
+
"description": "Axis Label",
|
|
193
|
+
"type": "string",
|
|
194
|
+
"title": "axisLabel"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"required": [
|
|
198
|
+
"axisLabel",
|
|
199
|
+
"labelStep",
|
|
200
|
+
"max",
|
|
201
|
+
"min",
|
|
202
|
+
"padding",
|
|
203
|
+
"step"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"graph": {
|
|
207
|
+
"title": "Graph",
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"width": {
|
|
211
|
+
"description": "Width for graph representation",
|
|
212
|
+
"type": "number",
|
|
213
|
+
"title": "width"
|
|
214
|
+
},
|
|
215
|
+
"height": {
|
|
216
|
+
"description": "Height for graph representation",
|
|
217
|
+
"type": "number",
|
|
218
|
+
"title": "height"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"required": [
|
|
222
|
+
"height",
|
|
223
|
+
"width"
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"gssLineData": {
|
|
227
|
+
"title": "GssLineData",
|
|
228
|
+
"type": "object",
|
|
229
|
+
"properties": {
|
|
230
|
+
"numberOfLines": {
|
|
231
|
+
"description": "Indicates number of lines for GSS item",
|
|
232
|
+
"type": "number",
|
|
233
|
+
"title": "numberOfLines"
|
|
234
|
+
},
|
|
235
|
+
"selectedTool": {
|
|
236
|
+
"description": "Indicates selected tool default is lineA",
|
|
237
|
+
"enum": [
|
|
238
|
+
"lineA",
|
|
239
|
+
"lineB",
|
|
240
|
+
"solutionSet"
|
|
241
|
+
],
|
|
242
|
+
"type": "string",
|
|
243
|
+
"title": "selectedTool"
|
|
244
|
+
},
|
|
245
|
+
"sections": {
|
|
246
|
+
"description": "Indicates array of polygons points formed by intersection of lines drawn",
|
|
247
|
+
"type": "array",
|
|
248
|
+
"items": [
|
|
249
|
+
{
|
|
250
|
+
"title": "Point",
|
|
251
|
+
"type": "object",
|
|
252
|
+
"properties": {
|
|
253
|
+
"x": {
|
|
254
|
+
"description": "Indicates x coordinate",
|
|
255
|
+
"type": "number",
|
|
256
|
+
"title": "x"
|
|
257
|
+
},
|
|
258
|
+
"y": {
|
|
259
|
+
"description": "Indicates y coordinate",
|
|
260
|
+
"type": "number",
|
|
261
|
+
"title": "y"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": [
|
|
265
|
+
"x",
|
|
266
|
+
"y"
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"minItems": 1,
|
|
271
|
+
"maxItems": 1,
|
|
272
|
+
"title": "sections"
|
|
273
|
+
},
|
|
274
|
+
"lineA": {
|
|
275
|
+
"title": "LineType",
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": {
|
|
278
|
+
"lineType": {
|
|
279
|
+
"description": "Indicates if line is Solid or Dashed",
|
|
280
|
+
"enum": [
|
|
281
|
+
"Dashed",
|
|
282
|
+
"Solid"
|
|
283
|
+
],
|
|
284
|
+
"type": "string",
|
|
285
|
+
"title": "lineType"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"required": [
|
|
289
|
+
"lineType"
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
"lineB": {
|
|
293
|
+
"title": "LineType",
|
|
294
|
+
"type": "object",
|
|
295
|
+
"properties": {
|
|
296
|
+
"lineType": {
|
|
297
|
+
"description": "Indicates if line is Solid or Dashed",
|
|
298
|
+
"enum": [
|
|
299
|
+
"Dashed",
|
|
300
|
+
"Solid"
|
|
301
|
+
],
|
|
302
|
+
"type": "string",
|
|
303
|
+
"title": "lineType"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"required": [
|
|
307
|
+
"lineType"
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"required": [
|
|
312
|
+
"lineA",
|
|
313
|
+
"lineB",
|
|
314
|
+
"numberOfLines",
|
|
315
|
+
"sections",
|
|
316
|
+
"selectedTool"
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
"includeAxes": {
|
|
320
|
+
"description": "Indicates if the graph axes and labels are enabled",
|
|
321
|
+
"type": "boolean",
|
|
322
|
+
"title": "includeAxes"
|
|
323
|
+
},
|
|
324
|
+
"labels": {
|
|
325
|
+
"title": "Labels",
|
|
326
|
+
"type": "object",
|
|
327
|
+
"properties": {
|
|
328
|
+
"top": {
|
|
329
|
+
"description": "Label for top side of the graph",
|
|
330
|
+
"type": "string",
|
|
331
|
+
"title": "top"
|
|
332
|
+
},
|
|
333
|
+
"bottom": {
|
|
334
|
+
"description": "Label for bottom side of the graph",
|
|
335
|
+
"type": "string",
|
|
336
|
+
"title": "bottom"
|
|
337
|
+
},
|
|
338
|
+
"left": {
|
|
339
|
+
"description": "Label for left side of the graph",
|
|
340
|
+
"type": "string",
|
|
341
|
+
"title": "left"
|
|
342
|
+
},
|
|
343
|
+
"right": {
|
|
344
|
+
"description": "Label for right side of the graph",
|
|
345
|
+
"type": "string",
|
|
346
|
+
"title": "right"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"required": [
|
|
350
|
+
"bottom",
|
|
351
|
+
"left",
|
|
352
|
+
"right",
|
|
353
|
+
"top"
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
"language": {
|
|
357
|
+
"description": "Indicates the language of the component\nSupported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX",
|
|
358
|
+
"type": "string",
|
|
359
|
+
"title": "language"
|
|
360
|
+
},
|
|
361
|
+
"padding": {
|
|
362
|
+
"description": "Indicates if padding is enabled",
|
|
363
|
+
"type": "boolean",
|
|
364
|
+
"title": "padding"
|
|
365
|
+
},
|
|
366
|
+
"prompt": {
|
|
367
|
+
"description": "Indicates prompt value",
|
|
368
|
+
"type": "string",
|
|
369
|
+
"title": "prompt"
|
|
370
|
+
},
|
|
371
|
+
"promptEnabled": {
|
|
372
|
+
"description": "Indicates if the prompt is enabled",
|
|
373
|
+
"type": "boolean",
|
|
374
|
+
"title": "promptEnabled"
|
|
375
|
+
},
|
|
376
|
+
"range": {
|
|
377
|
+
"title": "GraphSettings",
|
|
378
|
+
"type": "object",
|
|
379
|
+
"properties": {
|
|
380
|
+
"min": {
|
|
381
|
+
"description": "Min value",
|
|
382
|
+
"type": "number",
|
|
383
|
+
"title": "min"
|
|
384
|
+
},
|
|
385
|
+
"max": {
|
|
386
|
+
"description": "Max value",
|
|
387
|
+
"type": "number",
|
|
388
|
+
"title": "max"
|
|
389
|
+
},
|
|
390
|
+
"padding": {
|
|
391
|
+
"description": "Padding value",
|
|
392
|
+
"type": "number",
|
|
393
|
+
"title": "padding"
|
|
394
|
+
},
|
|
395
|
+
"step": {
|
|
396
|
+
"description": "Step value",
|
|
397
|
+
"type": "number",
|
|
398
|
+
"title": "step"
|
|
399
|
+
},
|
|
400
|
+
"labelStep": {
|
|
401
|
+
"description": "Label step value",
|
|
402
|
+
"type": "number",
|
|
403
|
+
"title": "labelStep"
|
|
404
|
+
},
|
|
405
|
+
"axisLabel": {
|
|
406
|
+
"description": "Axis Label",
|
|
407
|
+
"type": "string",
|
|
408
|
+
"title": "axisLabel"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"required": [
|
|
412
|
+
"axisLabel",
|
|
413
|
+
"labelStep",
|
|
414
|
+
"max",
|
|
415
|
+
"min",
|
|
416
|
+
"padding",
|
|
417
|
+
"step"
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
"rationale": {
|
|
421
|
+
"description": "Indicates rationale for the answer",
|
|
422
|
+
"type": "string",
|
|
423
|
+
"title": "rationale"
|
|
424
|
+
},
|
|
425
|
+
"scoringType": {
|
|
426
|
+
"description": "Indicates scoring type",
|
|
427
|
+
"type": "string",
|
|
428
|
+
"const": "dichotomous",
|
|
429
|
+
"title": "scoringType"
|
|
430
|
+
},
|
|
431
|
+
"studentInstructions": {
|
|
432
|
+
"description": "Indicates student instructions",
|
|
433
|
+
"type": "string",
|
|
434
|
+
"title": "studentInstructions"
|
|
435
|
+
},
|
|
436
|
+
"teacherInstructions": {
|
|
437
|
+
"description": "Indicates teacher instructions",
|
|
438
|
+
"type": "string",
|
|
439
|
+
"title": "teacherInstructions"
|
|
440
|
+
},
|
|
441
|
+
"title": {
|
|
442
|
+
"description": "Indicates graph title",
|
|
443
|
+
"type": "string",
|
|
444
|
+
"title": "title"
|
|
445
|
+
},
|
|
446
|
+
"labelsEnabled": {
|
|
447
|
+
"description": "Indicates if the graph labels are displayed",
|
|
448
|
+
"type": "boolean",
|
|
449
|
+
"title": "labelsEnabled"
|
|
450
|
+
},
|
|
451
|
+
"dimensionsEnabled": {
|
|
452
|
+
"description": "Indicates if the graph dimensions are displayed",
|
|
453
|
+
"type": "boolean",
|
|
454
|
+
"title": "dimensionsEnabled"
|
|
455
|
+
},
|
|
456
|
+
"titleEnabled": {
|
|
457
|
+
"description": "Indicates if the graph title is displayed",
|
|
458
|
+
"type": "boolean",
|
|
459
|
+
"title": "titleEnabled"
|
|
460
|
+
},
|
|
461
|
+
"rationaleEnabled": {
|
|
462
|
+
"description": "Indicates if Rationale are enabled",
|
|
463
|
+
"type": "boolean",
|
|
464
|
+
"title": "rationaleEnabled"
|
|
465
|
+
},
|
|
466
|
+
"spellCheckEnabled": {
|
|
467
|
+
"description": "Indicates if spellcheck is enabled for the author. Default value is true",
|
|
468
|
+
"type": "boolean",
|
|
469
|
+
"title": "spellCheckEnabled"
|
|
470
|
+
},
|
|
471
|
+
"standardGrid": {
|
|
472
|
+
"description": "Indicates if some domain values will be synched to the range values",
|
|
473
|
+
"type": "boolean",
|
|
474
|
+
"title": "standardGrid"
|
|
475
|
+
},
|
|
476
|
+
"studentInstructionsEnabled": {
|
|
477
|
+
"description": "Indicates if Student Instructions are enabled",
|
|
478
|
+
"type": "boolean",
|
|
479
|
+
"title": "studentInstructionsEnabled"
|
|
480
|
+
},
|
|
481
|
+
"teacherInstructionsEnabled": {
|
|
482
|
+
"description": "Indicates if Teacher Instructions are enabled",
|
|
483
|
+
"type": "boolean",
|
|
484
|
+
"title": "teacherInstructionsEnabled"
|
|
485
|
+
},
|
|
486
|
+
"rubricEnabled": {
|
|
487
|
+
"description": "Indicates if Rubric is enabled",
|
|
488
|
+
"type": "boolean",
|
|
489
|
+
"title": "rubricEnabled"
|
|
490
|
+
},
|
|
491
|
+
"id": {
|
|
492
|
+
"description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
|
|
493
|
+
"type": "string",
|
|
494
|
+
"title": "id"
|
|
495
|
+
},
|
|
496
|
+
"element": {
|
|
497
|
+
"description": "The html Element tag name",
|
|
498
|
+
"type": "string",
|
|
499
|
+
"title": "element"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"required": [
|
|
503
|
+
"answers",
|
|
504
|
+
"defaultGridConfiguration",
|
|
505
|
+
"domain",
|
|
506
|
+
"element",
|
|
507
|
+
"graph",
|
|
508
|
+
"gssLineData",
|
|
509
|
+
"id",
|
|
510
|
+
"range",
|
|
511
|
+
"rationaleEnabled",
|
|
512
|
+
"rubricEnabled",
|
|
513
|
+
"spellCheckEnabled",
|
|
514
|
+
"studentInstructionsEnabled",
|
|
515
|
+
"teacherInstructionsEnabled"
|
|
516
|
+
],
|
|
517
|
+
"definitions": {
|
|
518
|
+
"Answer": {
|
|
519
|
+
"title": "Answer",
|
|
520
|
+
"type": "object",
|
|
521
|
+
"properties": {
|
|
522
|
+
"name": {
|
|
523
|
+
"description": "Indicates name of answer",
|
|
524
|
+
"type": "string",
|
|
525
|
+
"title": "name"
|
|
526
|
+
},
|
|
527
|
+
"marks": {
|
|
528
|
+
"description": "Indicates marks for the answer",
|
|
529
|
+
"type": "array",
|
|
530
|
+
"items": [
|
|
531
|
+
{
|
|
532
|
+
"title": "Mark",
|
|
533
|
+
"type": "object",
|
|
534
|
+
"properties": {
|
|
535
|
+
"type": {
|
|
536
|
+
"description": "Indicates type of mark",
|
|
537
|
+
"type": "string",
|
|
538
|
+
"const": "line",
|
|
539
|
+
"title": "type"
|
|
540
|
+
},
|
|
541
|
+
"showLabel": {
|
|
542
|
+
"description": "Indicates if label should be visible",
|
|
543
|
+
"type": "boolean",
|
|
544
|
+
"title": "showLabel"
|
|
545
|
+
},
|
|
546
|
+
"label": {
|
|
547
|
+
"description": "Indicates label value for mark",
|
|
548
|
+
"type": "string",
|
|
549
|
+
"title": "label"
|
|
550
|
+
},
|
|
551
|
+
"building": {
|
|
552
|
+
"description": "Indicates if mark is in build process",
|
|
553
|
+
"type": "boolean",
|
|
554
|
+
"title": "building"
|
|
555
|
+
},
|
|
556
|
+
"x": {
|
|
557
|
+
"description": "Indicates x coordinate if type is point",
|
|
558
|
+
"type": "number",
|
|
559
|
+
"title": "x"
|
|
560
|
+
},
|
|
561
|
+
"y": {
|
|
562
|
+
"description": "Indicates y coordinate if type is point",
|
|
563
|
+
"type": "number",
|
|
564
|
+
"title": "y"
|
|
565
|
+
},
|
|
566
|
+
"from": {
|
|
567
|
+
"title": "Point",
|
|
568
|
+
"type": "object",
|
|
569
|
+
"properties": {
|
|
570
|
+
"x": {
|
|
571
|
+
"description": "Indicates x coordinate",
|
|
572
|
+
"type": "number",
|
|
573
|
+
"title": "x"
|
|
574
|
+
},
|
|
575
|
+
"y": {
|
|
576
|
+
"description": "Indicates y coordinate",
|
|
577
|
+
"type": "number",
|
|
578
|
+
"title": "y"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"required": [
|
|
582
|
+
"x",
|
|
583
|
+
"y"
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
"to": {
|
|
587
|
+
"title": "Point",
|
|
588
|
+
"type": "object",
|
|
589
|
+
"properties": {
|
|
590
|
+
"x": {
|
|
591
|
+
"description": "Indicates x coordinate",
|
|
592
|
+
"type": "number",
|
|
593
|
+
"title": "x"
|
|
594
|
+
},
|
|
595
|
+
"y": {
|
|
596
|
+
"description": "Indicates y coordinate",
|
|
597
|
+
"type": "number",
|
|
598
|
+
"title": "y"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"required": [
|
|
602
|
+
"x",
|
|
603
|
+
"y"
|
|
604
|
+
]
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"required": [
|
|
608
|
+
"building",
|
|
609
|
+
"type"
|
|
610
|
+
]
|
|
611
|
+
}
|
|
612
|
+
],
|
|
613
|
+
"minItems": 1,
|
|
614
|
+
"maxItems": 1,
|
|
615
|
+
"title": "marks"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"required": [
|
|
619
|
+
"marks",
|
|
620
|
+
"name"
|
|
621
|
+
]
|
|
622
|
+
},
|
|
623
|
+
"Mark": {
|
|
624
|
+
"title": "Mark",
|
|
625
|
+
"type": "object",
|
|
626
|
+
"properties": {
|
|
627
|
+
"type": {
|
|
628
|
+
"description": "Indicates type of mark",
|
|
629
|
+
"type": "string",
|
|
630
|
+
"const": "line",
|
|
631
|
+
"title": "type"
|
|
632
|
+
},
|
|
633
|
+
"showLabel": {
|
|
634
|
+
"description": "Indicates if label should be visible",
|
|
635
|
+
"type": "boolean",
|
|
636
|
+
"title": "showLabel"
|
|
637
|
+
},
|
|
638
|
+
"label": {
|
|
639
|
+
"description": "Indicates label value for mark",
|
|
640
|
+
"type": "string",
|
|
641
|
+
"title": "label"
|
|
642
|
+
},
|
|
643
|
+
"building": {
|
|
644
|
+
"description": "Indicates if mark is in build process",
|
|
645
|
+
"type": "boolean",
|
|
646
|
+
"title": "building"
|
|
647
|
+
},
|
|
648
|
+
"x": {
|
|
649
|
+
"description": "Indicates x coordinate if type is point",
|
|
650
|
+
"type": "number",
|
|
651
|
+
"title": "x"
|
|
652
|
+
},
|
|
653
|
+
"y": {
|
|
654
|
+
"description": "Indicates y coordinate if type is point",
|
|
655
|
+
"type": "number",
|
|
656
|
+
"title": "y"
|
|
657
|
+
},
|
|
658
|
+
"from": {
|
|
659
|
+
"title": "Point",
|
|
660
|
+
"type": "object",
|
|
661
|
+
"properties": {
|
|
662
|
+
"x": {
|
|
663
|
+
"description": "Indicates x coordinate",
|
|
664
|
+
"type": "number",
|
|
665
|
+
"title": "x"
|
|
666
|
+
},
|
|
667
|
+
"y": {
|
|
668
|
+
"description": "Indicates y coordinate",
|
|
669
|
+
"type": "number",
|
|
670
|
+
"title": "y"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"required": [
|
|
674
|
+
"x",
|
|
675
|
+
"y"
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
"to": {
|
|
679
|
+
"title": "Point",
|
|
680
|
+
"type": "object",
|
|
681
|
+
"properties": {
|
|
682
|
+
"x": {
|
|
683
|
+
"description": "Indicates x coordinate",
|
|
684
|
+
"type": "number",
|
|
685
|
+
"title": "x"
|
|
686
|
+
},
|
|
687
|
+
"y": {
|
|
688
|
+
"description": "Indicates y coordinate",
|
|
689
|
+
"type": "number",
|
|
690
|
+
"title": "y"
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
"required": [
|
|
694
|
+
"x",
|
|
695
|
+
"y"
|
|
696
|
+
]
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"required": [
|
|
700
|
+
"building",
|
|
701
|
+
"type"
|
|
702
|
+
]
|
|
703
|
+
},
|
|
704
|
+
"Point": {
|
|
705
|
+
"title": "Point",
|
|
706
|
+
"type": "object",
|
|
707
|
+
"properties": {
|
|
708
|
+
"x": {
|
|
709
|
+
"description": "Indicates x coordinate",
|
|
710
|
+
"type": "number",
|
|
711
|
+
"title": "x"
|
|
712
|
+
},
|
|
713
|
+
"y": {
|
|
714
|
+
"description": "Indicates y coordinate",
|
|
715
|
+
"type": "number",
|
|
716
|
+
"title": "y"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"required": [
|
|
720
|
+
"x",
|
|
721
|
+
"y"
|
|
722
|
+
]
|
|
723
|
+
},
|
|
724
|
+
"Arrows": {
|
|
725
|
+
"title": "Arrows",
|
|
726
|
+
"type": "object",
|
|
727
|
+
"properties": {
|
|
728
|
+
"left": {
|
|
729
|
+
"description": "Indicates if left arrow is enabled",
|
|
730
|
+
"type": "boolean",
|
|
731
|
+
"title": "left"
|
|
732
|
+
},
|
|
733
|
+
"right": {
|
|
734
|
+
"description": "Indicates if right arrow is enabled",
|
|
735
|
+
"type": "boolean",
|
|
736
|
+
"title": "right"
|
|
737
|
+
},
|
|
738
|
+
"up": {
|
|
739
|
+
"description": "Indicates if up arrow is enabled",
|
|
740
|
+
"type": "boolean",
|
|
741
|
+
"title": "up"
|
|
742
|
+
},
|
|
743
|
+
"down": {
|
|
744
|
+
"description": "Indicates if down arrow is enabled",
|
|
745
|
+
"type": "boolean",
|
|
746
|
+
"title": "down"
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
"required": [
|
|
750
|
+
"down",
|
|
751
|
+
"left",
|
|
752
|
+
"right",
|
|
753
|
+
"up"
|
|
754
|
+
]
|
|
755
|
+
},
|
|
756
|
+
"Number": {
|
|
757
|
+
"title": "Number",
|
|
758
|
+
"type": "object"
|
|
759
|
+
},
|
|
760
|
+
"GraphSettings": {
|
|
761
|
+
"title": "GraphSettings",
|
|
762
|
+
"type": "object",
|
|
763
|
+
"properties": {
|
|
764
|
+
"min": {
|
|
765
|
+
"description": "Min value",
|
|
766
|
+
"type": "number",
|
|
767
|
+
"title": "min"
|
|
768
|
+
},
|
|
769
|
+
"max": {
|
|
770
|
+
"description": "Max value",
|
|
771
|
+
"type": "number",
|
|
772
|
+
"title": "max"
|
|
773
|
+
},
|
|
774
|
+
"padding": {
|
|
775
|
+
"description": "Padding value",
|
|
776
|
+
"type": "number",
|
|
777
|
+
"title": "padding"
|
|
778
|
+
},
|
|
779
|
+
"step": {
|
|
780
|
+
"description": "Step value",
|
|
781
|
+
"type": "number",
|
|
782
|
+
"title": "step"
|
|
783
|
+
},
|
|
784
|
+
"labelStep": {
|
|
785
|
+
"description": "Label step value",
|
|
786
|
+
"type": "number",
|
|
787
|
+
"title": "labelStep"
|
|
788
|
+
},
|
|
789
|
+
"axisLabel": {
|
|
790
|
+
"description": "Axis Label",
|
|
791
|
+
"type": "string",
|
|
792
|
+
"title": "axisLabel"
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
"required": [
|
|
796
|
+
"axisLabel",
|
|
797
|
+
"labelStep",
|
|
798
|
+
"max",
|
|
799
|
+
"min",
|
|
800
|
+
"padding",
|
|
801
|
+
"step"
|
|
802
|
+
]
|
|
803
|
+
},
|
|
804
|
+
"Graph": {
|
|
805
|
+
"title": "Graph",
|
|
806
|
+
"type": "object",
|
|
807
|
+
"properties": {
|
|
808
|
+
"width": {
|
|
809
|
+
"description": "Width for graph representation",
|
|
810
|
+
"type": "number",
|
|
811
|
+
"title": "width"
|
|
812
|
+
},
|
|
813
|
+
"height": {
|
|
814
|
+
"description": "Height for graph representation",
|
|
815
|
+
"type": "number",
|
|
816
|
+
"title": "height"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"required": [
|
|
820
|
+
"height",
|
|
821
|
+
"width"
|
|
822
|
+
]
|
|
823
|
+
},
|
|
824
|
+
"GssLineData": {
|
|
825
|
+
"title": "GssLineData",
|
|
826
|
+
"type": "object",
|
|
827
|
+
"properties": {
|
|
828
|
+
"numberOfLines": {
|
|
829
|
+
"description": "Indicates number of lines for GSS item",
|
|
830
|
+
"type": "number",
|
|
831
|
+
"title": "numberOfLines"
|
|
832
|
+
},
|
|
833
|
+
"selectedTool": {
|
|
834
|
+
"description": "Indicates selected tool default is lineA",
|
|
835
|
+
"enum": [
|
|
836
|
+
"lineA",
|
|
837
|
+
"lineB",
|
|
838
|
+
"solutionSet"
|
|
839
|
+
],
|
|
840
|
+
"type": "string",
|
|
841
|
+
"title": "selectedTool"
|
|
842
|
+
},
|
|
843
|
+
"sections": {
|
|
844
|
+
"description": "Indicates array of polygons points formed by intersection of lines drawn",
|
|
845
|
+
"type": "array",
|
|
846
|
+
"items": [
|
|
847
|
+
{
|
|
848
|
+
"title": "Point",
|
|
849
|
+
"type": "object",
|
|
850
|
+
"properties": {
|
|
851
|
+
"x": {
|
|
852
|
+
"description": "Indicates x coordinate",
|
|
853
|
+
"type": "number",
|
|
854
|
+
"title": "x"
|
|
855
|
+
},
|
|
856
|
+
"y": {
|
|
857
|
+
"description": "Indicates y coordinate",
|
|
858
|
+
"type": "number",
|
|
859
|
+
"title": "y"
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"required": [
|
|
863
|
+
"x",
|
|
864
|
+
"y"
|
|
865
|
+
]
|
|
866
|
+
}
|
|
867
|
+
],
|
|
868
|
+
"minItems": 1,
|
|
869
|
+
"maxItems": 1,
|
|
870
|
+
"title": "sections"
|
|
871
|
+
},
|
|
872
|
+
"lineA": {
|
|
873
|
+
"title": "LineType",
|
|
874
|
+
"type": "object",
|
|
875
|
+
"properties": {
|
|
876
|
+
"lineType": {
|
|
877
|
+
"description": "Indicates if line is Solid or Dashed",
|
|
878
|
+
"enum": [
|
|
879
|
+
"Dashed",
|
|
880
|
+
"Solid"
|
|
881
|
+
],
|
|
882
|
+
"type": "string",
|
|
883
|
+
"title": "lineType"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
"required": [
|
|
887
|
+
"lineType"
|
|
888
|
+
]
|
|
889
|
+
},
|
|
890
|
+
"lineB": {
|
|
891
|
+
"title": "LineType",
|
|
892
|
+
"type": "object",
|
|
893
|
+
"properties": {
|
|
894
|
+
"lineType": {
|
|
895
|
+
"description": "Indicates if line is Solid or Dashed",
|
|
896
|
+
"enum": [
|
|
897
|
+
"Dashed",
|
|
898
|
+
"Solid"
|
|
899
|
+
],
|
|
900
|
+
"type": "string",
|
|
901
|
+
"title": "lineType"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"required": [
|
|
905
|
+
"lineType"
|
|
906
|
+
]
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
"required": [
|
|
910
|
+
"lineA",
|
|
911
|
+
"lineB",
|
|
912
|
+
"numberOfLines",
|
|
913
|
+
"sections",
|
|
914
|
+
"selectedTool"
|
|
915
|
+
]
|
|
916
|
+
},
|
|
917
|
+
"LineType": {
|
|
918
|
+
"title": "LineType",
|
|
919
|
+
"type": "object",
|
|
920
|
+
"properties": {
|
|
921
|
+
"lineType": {
|
|
922
|
+
"description": "Indicates if line is Solid or Dashed",
|
|
923
|
+
"enum": [
|
|
924
|
+
"Dashed",
|
|
925
|
+
"Solid"
|
|
926
|
+
],
|
|
927
|
+
"type": "string",
|
|
928
|
+
"title": "lineType"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"required": [
|
|
932
|
+
"lineType"
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
"Labels": {
|
|
936
|
+
"title": "Labels",
|
|
937
|
+
"type": "object",
|
|
938
|
+
"properties": {
|
|
939
|
+
"top": {
|
|
940
|
+
"description": "Label for top side of the graph",
|
|
941
|
+
"type": "string",
|
|
942
|
+
"title": "top"
|
|
943
|
+
},
|
|
944
|
+
"bottom": {
|
|
945
|
+
"description": "Label for bottom side of the graph",
|
|
946
|
+
"type": "string",
|
|
947
|
+
"title": "bottom"
|
|
948
|
+
},
|
|
949
|
+
"left": {
|
|
950
|
+
"description": "Label for left side of the graph",
|
|
951
|
+
"type": "string",
|
|
952
|
+
"title": "left"
|
|
953
|
+
},
|
|
954
|
+
"right": {
|
|
955
|
+
"description": "Label for right side of the graph",
|
|
956
|
+
"type": "string",
|
|
957
|
+
"title": "right"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"required": [
|
|
961
|
+
"bottom",
|
|
962
|
+
"left",
|
|
963
|
+
"right",
|
|
964
|
+
"top"
|
|
965
|
+
]
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
969
|
+
}
|