losant_rest 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +5644 -846
  3. data/docs/applicationApiTokens.md +1 -1
  4. data/docs/applicationKeys.md +1 -1
  5. data/docs/applications.md +1 -1
  6. data/docs/dataTables.md +1 -1
  7. data/docs/deviceRecipes.md +1 -1
  8. data/docs/devices.md +1 -1
  9. data/docs/experienceEndpoints.md +1 -1
  10. data/docs/experienceGroups.md +1 -1
  11. data/docs/experienceUsers.md +1 -1
  12. data/docs/flow.md +2 -0
  13. data/docs/flowVersion.md +6 -4
  14. data/docs/flowVersions.md +4 -2
  15. data/docs/flows.md +44 -2
  16. data/docs/integrations.md +1 -1
  17. data/docs/orgs.md +1 -1
  18. data/docs/solutionUsers.md +1 -1
  19. data/docs/solutions.md +1 -1
  20. data/docs/webhooks.md +1 -1
  21. data/lib/losant_rest/application_api_tokens.rb +1 -1
  22. data/lib/losant_rest/application_keys.rb +1 -1
  23. data/lib/losant_rest/applications.rb +1 -1
  24. data/lib/losant_rest/client.rb +2 -2
  25. data/lib/losant_rest/data_tables.rb +1 -1
  26. data/lib/losant_rest/device_recipes.rb +1 -1
  27. data/lib/losant_rest/devices.rb +1 -1
  28. data/lib/losant_rest/experience_endpoints.rb +1 -1
  29. data/lib/losant_rest/experience_groups.rb +1 -1
  30. data/lib/losant_rest/experience_users.rb +1 -1
  31. data/lib/losant_rest/flow.rb +4 -0
  32. data/lib/losant_rest/flow_version.rb +8 -4
  33. data/lib/losant_rest/flow_versions.rb +6 -2
  34. data/lib/losant_rest/flows.rb +53 -2
  35. data/lib/losant_rest/integrations.rb +1 -1
  36. data/lib/losant_rest/orgs.rb +1 -1
  37. data/lib/losant_rest/solution_users.rb +1 -1
  38. data/lib/losant_rest/solutions.rb +1 -1
  39. data/lib/losant_rest/version.rb +1 -1
  40. data/lib/losant_rest/webhooks.rb +1 -1
  41. data/schemas/applicationApiTokenPost.json +2 -0
  42. data/schemas/auditLog.json +1 -0
  43. data/schemas/auditLogFilter.json +1 -0
  44. data/schemas/auditLogs.json +1 -0
  45. data/schemas/dashboard.json +7 -0
  46. data/schemas/dashboardPatch.json +7 -0
  47. data/schemas/dashboardPost.json +7 -0
  48. data/schemas/dashboards.json +7 -0
  49. data/schemas/deviceState.json +54 -0
  50. data/schemas/flow.json +334 -1
  51. data/schemas/flowPatch.json +327 -0
  52. data/schemas/flowPost.json +338 -1
  53. data/schemas/flowVersion.json +315 -0
  54. data/schemas/flowVersionPost.json +315 -0
  55. data/schemas/flowVersions.json +315 -0
  56. data/schemas/flows.json +336 -2
  57. data/schemas/flowsImportPost.json +994 -0
  58. data/schemas/flowsImportResult.json +1048 -0
  59. data/schemas/org.json +59 -1
  60. data/schemas/orgInviteInfo.json +3 -1
  61. data/schemas/orgInvitePost.json +59 -1
  62. data/schemas/orgInvites.json +59 -1
  63. data/schemas/orgMemberPatch.json +60 -3
  64. data/schemas/orgs.json +59 -1
  65. metadata +5 -2
@@ -0,0 +1,994 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "flows": {
6
+ "maxItems": 1000,
7
+ "type": "array",
8
+ "items": {
9
+ "type": "object",
10
+ "properties": {
11
+ "id": {
12
+ "type": "string",
13
+ "pattern": "^[A-Fa-f\\d]{24}$"
14
+ },
15
+ "applicationId": {
16
+ "type": "string",
17
+ "pattern": "^[A-Fa-f\\d]{24}$"
18
+ },
19
+ "name": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "maxLength": 255
23
+ },
24
+ "description": {
25
+ "type": "string",
26
+ "maxLength": 32767
27
+ },
28
+ "iconData": {
29
+ "type": "string",
30
+ "maxLength": 32767,
31
+ "pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
32
+ },
33
+ "enabled": {
34
+ "type": "boolean"
35
+ },
36
+ "triggers": {
37
+ "type": "array",
38
+ "items": {
39
+ "type": "object",
40
+ "properties": {
41
+ "key": {
42
+ "type": "string",
43
+ "maxLength": 1024
44
+ },
45
+ "type": {
46
+ "type": "string",
47
+ "enum": [
48
+ "dataTable",
49
+ "deviceCommand",
50
+ "deviceId",
51
+ "deviceIdConnect",
52
+ "deviceIdDisconnect",
53
+ "deviceIdInactivity",
54
+ "deviceTag",
55
+ "deviceTagConnect",
56
+ "deviceTagDisconnect",
57
+ "deviceTagInactivity",
58
+ "endpoint",
59
+ "event",
60
+ "integration",
61
+ "mqttTopic",
62
+ "request",
63
+ "customNodeStart",
64
+ "timer",
65
+ "udp",
66
+ "virtualButton",
67
+ "webhook"
68
+ ]
69
+ },
70
+ "config": {
71
+ "type": "object"
72
+ },
73
+ "meta": {
74
+ "type": "object"
75
+ },
76
+ "outputIds": {
77
+ "type": "array",
78
+ "items": {
79
+ "type": "array",
80
+ "items": {
81
+ "type": "string",
82
+ "maxLength": 255
83
+ },
84
+ "maxItems": 100
85
+ },
86
+ "maxItems": 100
87
+ }
88
+ },
89
+ "additionalProperties": false,
90
+ "required": [
91
+ "type"
92
+ ]
93
+ }
94
+ },
95
+ "nodes": {
96
+ "type": "array",
97
+ "items": {
98
+ "type": "object",
99
+ "properties": {
100
+ "id": {
101
+ "type": "string",
102
+ "maxLength": 1024
103
+ },
104
+ "type": {
105
+ "type": "string",
106
+ "minLength": 1,
107
+ "maxLength": 1024
108
+ },
109
+ "config": {
110
+ "type": "object"
111
+ },
112
+ "meta": {
113
+ "type": "object"
114
+ },
115
+ "outputIds": {
116
+ "type": "array",
117
+ "items": {
118
+ "type": "array",
119
+ "items": {
120
+ "type": "string",
121
+ "maxLength": 255
122
+ },
123
+ "maxItems": 100
124
+ },
125
+ "maxItems": 100
126
+ }
127
+ },
128
+ "additionalProperties": false,
129
+ "required": [
130
+ "type"
131
+ ]
132
+ }
133
+ },
134
+ "globals": {
135
+ "type": "array",
136
+ "maxItems": 100,
137
+ "items": {
138
+ "type": "object",
139
+ "properties": {
140
+ "key": {
141
+ "type": "string",
142
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
143
+ },
144
+ "json": {
145
+ "type": "string",
146
+ "minLength": 1,
147
+ "maxLength": 32767
148
+ }
149
+ },
150
+ "additionalProperties": false,
151
+ "required": [
152
+ "key",
153
+ "json"
154
+ ]
155
+ }
156
+ },
157
+ "flowClass": {
158
+ "type": "string",
159
+ "enum": [
160
+ "cloud",
161
+ "edge",
162
+ "customNode"
163
+ ]
164
+ },
165
+ "defaultVersionId": {
166
+ "oneOf": [
167
+ {
168
+ "type": "string",
169
+ "pattern": "^[A-Fa-f\\d]{24}$"
170
+ },
171
+ {
172
+ "type": "null"
173
+ }
174
+ ]
175
+ },
176
+ "minimumAgentVersion": {
177
+ "type": "string",
178
+ "pattern": "^(0|([1-9]\\d*))\\.(0|([1-9]\\d*))\\.(0|([1-9]\\d*))$"
179
+ },
180
+ "customNodeConfig": {
181
+ "type": "object",
182
+ "properties": {
183
+ "outputCount": {
184
+ "type": "number",
185
+ "enum": [
186
+ 1,
187
+ 2
188
+ ]
189
+ },
190
+ "resultMode": {
191
+ "type": "string",
192
+ "enum": [
193
+ "optional",
194
+ "required",
195
+ "none"
196
+ ]
197
+ },
198
+ "resultDescription": {
199
+ "type": "string",
200
+ "maxLength": 32767
201
+ },
202
+ "fields": {
203
+ "type": "array",
204
+ "maxItems": 100,
205
+ "items": {
206
+ "oneOf": [
207
+ {
208
+ "type": "object",
209
+ "properties": {
210
+ "type": {
211
+ "type": "string",
212
+ "enum": [
213
+ "checkbox"
214
+ ]
215
+ },
216
+ "label": {
217
+ "type": "string",
218
+ "minLength": 1,
219
+ "maxLength": 1024
220
+ },
221
+ "id": {
222
+ "type": "string",
223
+ "minLength": 1,
224
+ "maxLength": 1024
225
+ },
226
+ "description": {
227
+ "type": "string",
228
+ "maxLength": 32767
229
+ },
230
+ "defaultValue": {
231
+ "type": "boolean"
232
+ }
233
+ },
234
+ "additionalProperties": false,
235
+ "required": [
236
+ "type",
237
+ "label"
238
+ ]
239
+ },
240
+ {
241
+ "type": "object",
242
+ "properties": {
243
+ "type": {
244
+ "type": "string",
245
+ "enum": [
246
+ "select"
247
+ ]
248
+ },
249
+ "label": {
250
+ "type": "string",
251
+ "minLength": 1,
252
+ "maxLength": 1024
253
+ },
254
+ "id": {
255
+ "type": "string",
256
+ "minLength": 1,
257
+ "maxLength": 1024
258
+ },
259
+ "description": {
260
+ "type": "string",
261
+ "maxLength": 32767
262
+ },
263
+ "defaultValue": {
264
+ "type": "string",
265
+ "minLength": 1,
266
+ "maxLength": 1024
267
+ },
268
+ "options": {
269
+ "type": "array",
270
+ "minItems": 1,
271
+ "maxItems": 100,
272
+ "items": {
273
+ "type": "object",
274
+ "properties": {
275
+ "label": {
276
+ "type": "string",
277
+ "maxLength": 1024
278
+ },
279
+ "value": {
280
+ "type": "string",
281
+ "minLength": 1,
282
+ "maxLength": 1024
283
+ }
284
+ },
285
+ "additionalProperties": false,
286
+ "required": [
287
+ "value"
288
+ ]
289
+ }
290
+ }
291
+ },
292
+ "additionalProperties": false,
293
+ "required": [
294
+ "type",
295
+ "label",
296
+ "defaultValue",
297
+ "options"
298
+ ]
299
+ },
300
+ {
301
+ "type": "object",
302
+ "properties": {
303
+ "type": {
304
+ "type": "string",
305
+ "enum": [
306
+ "stringTemplate"
307
+ ]
308
+ },
309
+ "label": {
310
+ "type": "string",
311
+ "minLength": 1,
312
+ "maxLength": 1024
313
+ },
314
+ "id": {
315
+ "type": "string",
316
+ "minLength": 1,
317
+ "maxLength": 1024
318
+ },
319
+ "description": {
320
+ "type": "string",
321
+ "maxLength": 32767
322
+ },
323
+ "defaultValue": {
324
+ "type": "string",
325
+ "maxLength": 1024
326
+ },
327
+ "required": {
328
+ "type": "boolean"
329
+ },
330
+ "validRegExp": {
331
+ "type": "string",
332
+ "maxLength": 1024
333
+ }
334
+ },
335
+ "additionalProperties": false,
336
+ "required": [
337
+ "type",
338
+ "label"
339
+ ]
340
+ },
341
+ {
342
+ "type": "object",
343
+ "properties": {
344
+ "type": {
345
+ "type": "string",
346
+ "enum": [
347
+ "numberTemplate"
348
+ ]
349
+ },
350
+ "label": {
351
+ "type": "string",
352
+ "minLength": 1,
353
+ "maxLength": 1024
354
+ },
355
+ "id": {
356
+ "type": "string",
357
+ "minLength": 1,
358
+ "maxLength": 1024
359
+ },
360
+ "description": {
361
+ "type": "string",
362
+ "maxLength": 32767
363
+ },
364
+ "defaultValue": {
365
+ "type": "number"
366
+ },
367
+ "required": {
368
+ "type": "boolean"
369
+ },
370
+ "validMin": {
371
+ "type": "number"
372
+ },
373
+ "validMax": {
374
+ "type": "number"
375
+ }
376
+ },
377
+ "additionalProperties": false,
378
+ "required": [
379
+ "type",
380
+ "label"
381
+ ]
382
+ },
383
+ {
384
+ "type": "object",
385
+ "properties": {
386
+ "type": {
387
+ "type": "string",
388
+ "enum": [
389
+ "jsonTemplate"
390
+ ]
391
+ },
392
+ "label": {
393
+ "type": "string",
394
+ "minLength": 1,
395
+ "maxLength": 1024
396
+ },
397
+ "id": {
398
+ "type": "string",
399
+ "minLength": 1,
400
+ "maxLength": 1024
401
+ },
402
+ "description": {
403
+ "type": "string",
404
+ "maxLength": 32767
405
+ },
406
+ "defaultValue": {
407
+ "type": "string",
408
+ "maxLength": 32767
409
+ },
410
+ "required": {
411
+ "type": "boolean"
412
+ }
413
+ },
414
+ "additionalProperties": false,
415
+ "required": [
416
+ "type",
417
+ "label"
418
+ ]
419
+ },
420
+ {
421
+ "type": "object",
422
+ "properties": {
423
+ "type": {
424
+ "type": "string",
425
+ "enum": [
426
+ "payloadPath"
427
+ ]
428
+ },
429
+ "label": {
430
+ "type": "string",
431
+ "minLength": 1,
432
+ "maxLength": 1024
433
+ },
434
+ "id": {
435
+ "type": "string",
436
+ "minLength": 1,
437
+ "maxLength": 1024
438
+ },
439
+ "description": {
440
+ "type": "string",
441
+ "maxLength": 32767
442
+ },
443
+ "required": {
444
+ "type": "boolean"
445
+ }
446
+ },
447
+ "additionalProperties": false,
448
+ "required": [
449
+ "type",
450
+ "label"
451
+ ]
452
+ },
453
+ {
454
+ "type": "object",
455
+ "properties": {
456
+ "type": {
457
+ "type": "string",
458
+ "enum": [
459
+ "section"
460
+ ]
461
+ },
462
+ "label": {
463
+ "type": "string",
464
+ "minLength": 1,
465
+ "maxLength": 1024
466
+ },
467
+ "id": {
468
+ "type": "string",
469
+ "minLength": 1,
470
+ "maxLength": 1024
471
+ },
472
+ "description": {
473
+ "type": "string",
474
+ "maxLength": 32767
475
+ }
476
+ },
477
+ "additionalProperties": false,
478
+ "required": [
479
+ "type",
480
+ "label"
481
+ ]
482
+ }
483
+ ]
484
+ }
485
+ }
486
+ },
487
+ "additionalProperties": false,
488
+ "required": [
489
+ "outputCount",
490
+ "resultMode",
491
+ "fields"
492
+ ]
493
+ },
494
+ "customNodeSupports": {
495
+ "type": "array",
496
+ "items": {
497
+ "type": "string",
498
+ "enum": [
499
+ "cloud"
500
+ ]
501
+ }
502
+ }
503
+ },
504
+ "additionalProperties": {
505
+ "type": "string",
506
+ "maxLength": 1024
507
+ },
508
+ "required": [
509
+ "name"
510
+ ]
511
+ }
512
+ },
513
+ "flowVersions": {
514
+ "maxItems": 1000,
515
+ "type": "array",
516
+ "items": {
517
+ "type": "object",
518
+ "properties": {
519
+ "id": {
520
+ "type": "string",
521
+ "pattern": "^[A-Fa-f\\d]{24}$"
522
+ },
523
+ "flowId": {
524
+ "type": "string",
525
+ "pattern": "^[A-Fa-f\\d]{24}$"
526
+ },
527
+ "applicationId": {
528
+ "type": "string",
529
+ "pattern": "^[A-Fa-f\\d]{24}$"
530
+ },
531
+ "version": {
532
+ "type": "string",
533
+ "minLength": 1,
534
+ "maxLength": 255
535
+ },
536
+ "notes": {
537
+ "type": "string",
538
+ "maxLength": 32767
539
+ },
540
+ "enabled": {
541
+ "type": "boolean"
542
+ },
543
+ "triggers": {
544
+ "type": "array",
545
+ "items": {
546
+ "type": "object",
547
+ "properties": {
548
+ "key": {
549
+ "type": "string",
550
+ "maxLength": 1024
551
+ },
552
+ "type": {
553
+ "type": "string",
554
+ "enum": [
555
+ "dataTable",
556
+ "deviceCommand",
557
+ "deviceId",
558
+ "deviceIdConnect",
559
+ "deviceIdDisconnect",
560
+ "deviceIdInactivity",
561
+ "deviceTag",
562
+ "deviceTagConnect",
563
+ "deviceTagDisconnect",
564
+ "deviceTagInactivity",
565
+ "endpoint",
566
+ "event",
567
+ "integration",
568
+ "mqttTopic",
569
+ "request",
570
+ "customNodeStart",
571
+ "timer",
572
+ "udp",
573
+ "virtualButton",
574
+ "webhook"
575
+ ]
576
+ },
577
+ "config": {
578
+ "type": "object"
579
+ },
580
+ "meta": {
581
+ "type": "object"
582
+ },
583
+ "outputIds": {
584
+ "type": "array",
585
+ "items": {
586
+ "type": "array",
587
+ "items": {
588
+ "type": "string",
589
+ "maxLength": 255
590
+ },
591
+ "maxItems": 100
592
+ },
593
+ "maxItems": 100
594
+ }
595
+ },
596
+ "additionalProperties": false,
597
+ "required": [
598
+ "type"
599
+ ]
600
+ }
601
+ },
602
+ "nodes": {
603
+ "type": "array",
604
+ "items": {
605
+ "type": "object",
606
+ "properties": {
607
+ "id": {
608
+ "type": "string",
609
+ "maxLength": 1024
610
+ },
611
+ "type": {
612
+ "type": "string",
613
+ "minLength": 1,
614
+ "maxLength": 1024
615
+ },
616
+ "config": {
617
+ "type": "object"
618
+ },
619
+ "meta": {
620
+ "type": "object"
621
+ },
622
+ "outputIds": {
623
+ "type": "array",
624
+ "items": {
625
+ "type": "array",
626
+ "items": {
627
+ "type": "string",
628
+ "maxLength": 255
629
+ },
630
+ "maxItems": 100
631
+ },
632
+ "maxItems": 100
633
+ }
634
+ },
635
+ "additionalProperties": false,
636
+ "required": [
637
+ "type"
638
+ ]
639
+ }
640
+ },
641
+ "globals": {
642
+ "type": "array",
643
+ "maxItems": 100,
644
+ "items": {
645
+ "type": "object",
646
+ "properties": {
647
+ "key": {
648
+ "type": "string",
649
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
650
+ },
651
+ "json": {
652
+ "type": "string",
653
+ "minLength": 1,
654
+ "maxLength": 32767
655
+ }
656
+ },
657
+ "additionalProperties": false,
658
+ "required": [
659
+ "key",
660
+ "json"
661
+ ]
662
+ }
663
+ },
664
+ "minimumAgentVersion": {
665
+ "type": "string",
666
+ "pattern": "^(0|([1-9]\\d*))\\.(0|([1-9]\\d*))\\.(0|([1-9]\\d*))$"
667
+ },
668
+ "customNodeConfig": {
669
+ "type": "object",
670
+ "properties": {
671
+ "outputCount": {
672
+ "type": "number",
673
+ "enum": [
674
+ 1,
675
+ 2
676
+ ]
677
+ },
678
+ "resultMode": {
679
+ "type": "string",
680
+ "enum": [
681
+ "optional",
682
+ "required",
683
+ "none"
684
+ ]
685
+ },
686
+ "resultDescription": {
687
+ "type": "string",
688
+ "maxLength": 32767
689
+ },
690
+ "fields": {
691
+ "type": "array",
692
+ "maxItems": 100,
693
+ "items": {
694
+ "oneOf": [
695
+ {
696
+ "type": "object",
697
+ "properties": {
698
+ "type": {
699
+ "type": "string",
700
+ "enum": [
701
+ "checkbox"
702
+ ]
703
+ },
704
+ "label": {
705
+ "type": "string",
706
+ "minLength": 1,
707
+ "maxLength": 1024
708
+ },
709
+ "id": {
710
+ "type": "string",
711
+ "minLength": 1,
712
+ "maxLength": 1024
713
+ },
714
+ "description": {
715
+ "type": "string",
716
+ "maxLength": 32767
717
+ },
718
+ "defaultValue": {
719
+ "type": "boolean"
720
+ }
721
+ },
722
+ "additionalProperties": false,
723
+ "required": [
724
+ "type",
725
+ "label"
726
+ ]
727
+ },
728
+ {
729
+ "type": "object",
730
+ "properties": {
731
+ "type": {
732
+ "type": "string",
733
+ "enum": [
734
+ "select"
735
+ ]
736
+ },
737
+ "label": {
738
+ "type": "string",
739
+ "minLength": 1,
740
+ "maxLength": 1024
741
+ },
742
+ "id": {
743
+ "type": "string",
744
+ "minLength": 1,
745
+ "maxLength": 1024
746
+ },
747
+ "description": {
748
+ "type": "string",
749
+ "maxLength": 32767
750
+ },
751
+ "defaultValue": {
752
+ "type": "string",
753
+ "minLength": 1,
754
+ "maxLength": 1024
755
+ },
756
+ "options": {
757
+ "type": "array",
758
+ "minItems": 1,
759
+ "maxItems": 100,
760
+ "items": {
761
+ "type": "object",
762
+ "properties": {
763
+ "label": {
764
+ "type": "string",
765
+ "maxLength": 1024
766
+ },
767
+ "value": {
768
+ "type": "string",
769
+ "minLength": 1,
770
+ "maxLength": 1024
771
+ }
772
+ },
773
+ "additionalProperties": false,
774
+ "required": [
775
+ "value"
776
+ ]
777
+ }
778
+ }
779
+ },
780
+ "additionalProperties": false,
781
+ "required": [
782
+ "type",
783
+ "label",
784
+ "defaultValue",
785
+ "options"
786
+ ]
787
+ },
788
+ {
789
+ "type": "object",
790
+ "properties": {
791
+ "type": {
792
+ "type": "string",
793
+ "enum": [
794
+ "stringTemplate"
795
+ ]
796
+ },
797
+ "label": {
798
+ "type": "string",
799
+ "minLength": 1,
800
+ "maxLength": 1024
801
+ },
802
+ "id": {
803
+ "type": "string",
804
+ "minLength": 1,
805
+ "maxLength": 1024
806
+ },
807
+ "description": {
808
+ "type": "string",
809
+ "maxLength": 32767
810
+ },
811
+ "defaultValue": {
812
+ "type": "string",
813
+ "maxLength": 1024
814
+ },
815
+ "required": {
816
+ "type": "boolean"
817
+ },
818
+ "validRegExp": {
819
+ "type": "string",
820
+ "maxLength": 1024
821
+ }
822
+ },
823
+ "additionalProperties": false,
824
+ "required": [
825
+ "type",
826
+ "label"
827
+ ]
828
+ },
829
+ {
830
+ "type": "object",
831
+ "properties": {
832
+ "type": {
833
+ "type": "string",
834
+ "enum": [
835
+ "numberTemplate"
836
+ ]
837
+ },
838
+ "label": {
839
+ "type": "string",
840
+ "minLength": 1,
841
+ "maxLength": 1024
842
+ },
843
+ "id": {
844
+ "type": "string",
845
+ "minLength": 1,
846
+ "maxLength": 1024
847
+ },
848
+ "description": {
849
+ "type": "string",
850
+ "maxLength": 32767
851
+ },
852
+ "defaultValue": {
853
+ "type": "number"
854
+ },
855
+ "required": {
856
+ "type": "boolean"
857
+ },
858
+ "validMin": {
859
+ "type": "number"
860
+ },
861
+ "validMax": {
862
+ "type": "number"
863
+ }
864
+ },
865
+ "additionalProperties": false,
866
+ "required": [
867
+ "type",
868
+ "label"
869
+ ]
870
+ },
871
+ {
872
+ "type": "object",
873
+ "properties": {
874
+ "type": {
875
+ "type": "string",
876
+ "enum": [
877
+ "jsonTemplate"
878
+ ]
879
+ },
880
+ "label": {
881
+ "type": "string",
882
+ "minLength": 1,
883
+ "maxLength": 1024
884
+ },
885
+ "id": {
886
+ "type": "string",
887
+ "minLength": 1,
888
+ "maxLength": 1024
889
+ },
890
+ "description": {
891
+ "type": "string",
892
+ "maxLength": 32767
893
+ },
894
+ "defaultValue": {
895
+ "type": "string",
896
+ "maxLength": 32767
897
+ },
898
+ "required": {
899
+ "type": "boolean"
900
+ }
901
+ },
902
+ "additionalProperties": false,
903
+ "required": [
904
+ "type",
905
+ "label"
906
+ ]
907
+ },
908
+ {
909
+ "type": "object",
910
+ "properties": {
911
+ "type": {
912
+ "type": "string",
913
+ "enum": [
914
+ "payloadPath"
915
+ ]
916
+ },
917
+ "label": {
918
+ "type": "string",
919
+ "minLength": 1,
920
+ "maxLength": 1024
921
+ },
922
+ "id": {
923
+ "type": "string",
924
+ "minLength": 1,
925
+ "maxLength": 1024
926
+ },
927
+ "description": {
928
+ "type": "string",
929
+ "maxLength": 32767
930
+ },
931
+ "required": {
932
+ "type": "boolean"
933
+ }
934
+ },
935
+ "additionalProperties": false,
936
+ "required": [
937
+ "type",
938
+ "label"
939
+ ]
940
+ },
941
+ {
942
+ "type": "object",
943
+ "properties": {
944
+ "type": {
945
+ "type": "string",
946
+ "enum": [
947
+ "section"
948
+ ]
949
+ },
950
+ "label": {
951
+ "type": "string",
952
+ "minLength": 1,
953
+ "maxLength": 1024
954
+ },
955
+ "id": {
956
+ "type": "string",
957
+ "minLength": 1,
958
+ "maxLength": 1024
959
+ },
960
+ "description": {
961
+ "type": "string",
962
+ "maxLength": 32767
963
+ }
964
+ },
965
+ "additionalProperties": false,
966
+ "required": [
967
+ "type",
968
+ "label"
969
+ ]
970
+ }
971
+ ]
972
+ }
973
+ }
974
+ },
975
+ "additionalProperties": false,
976
+ "required": [
977
+ "outputCount",
978
+ "resultMode",
979
+ "fields"
980
+ ]
981
+ }
982
+ },
983
+ "additionalProperties": {
984
+ "type": "string",
985
+ "maxLength": 1024
986
+ },
987
+ "required": [
988
+ "version"
989
+ ]
990
+ }
991
+ }
992
+ },
993
+ "additionalProperties": false
994
+ }