@nebulahome/integration-sdk 0.0.0-stage → 1.1.0

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.
@@ -0,0 +1,1166 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string",
7
+ "description": "The JSON Schema an editor checks the file with."
8
+ },
9
+ "transport": {
10
+ "type": "object",
11
+ "properties": {
12
+ "constants": {
13
+ "default": {},
14
+ "type": "object",
15
+ "propertyNames": {
16
+ "type": "string",
17
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
18
+ },
19
+ "additionalProperties": {
20
+ "type": [
21
+ "string",
22
+ "number",
23
+ "boolean"
24
+ ]
25
+ }
26
+ },
27
+ "fields": {
28
+ "default": [],
29
+ "maxItems": 32,
30
+ "type": "array",
31
+ "items": {
32
+ "oneOf": [
33
+ {
34
+ "type": "object",
35
+ "properties": {
36
+ "key": {
37
+ "type": "string",
38
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
39
+ },
40
+ "label": {
41
+ "type": "string",
42
+ "minLength": 1,
43
+ "maxLength": 64
44
+ },
45
+ "help": {
46
+ "type": "string",
47
+ "maxLength": 256
48
+ },
49
+ "isRequired": {
50
+ "default": false,
51
+ "type": "boolean"
52
+ },
53
+ "shownWhen": {
54
+ "type": "object",
55
+ "properties": {
56
+ "key": {
57
+ "type": "string",
58
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
59
+ },
60
+ "equals": {
61
+ "minItems": 1,
62
+ "maxItems": 64,
63
+ "type": "array",
64
+ "items": {
65
+ "anyOf": [
66
+ {
67
+ "type": "string",
68
+ "minLength": 1,
69
+ "maxLength": 64
70
+ },
71
+ {
72
+ "type": "boolean"
73
+ }
74
+ ]
75
+ }
76
+ }
77
+ },
78
+ "required": [
79
+ "key",
80
+ "equals"
81
+ ],
82
+ "additionalProperties": false
83
+ },
84
+ "isLive": {
85
+ "type": "boolean"
86
+ },
87
+ "type": {
88
+ "type": "string",
89
+ "const": "text"
90
+ },
91
+ "placeholder": {
92
+ "type": "string",
93
+ "maxLength": 128
94
+ },
95
+ "pattern": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "maxLength": 256
99
+ },
100
+ "patternMessage": {
101
+ "type": "string",
102
+ "minLength": 1,
103
+ "maxLength": 160
104
+ },
105
+ "minLength": {
106
+ "type": "integer",
107
+ "minimum": 0,
108
+ "maximum": 4096
109
+ },
110
+ "maxLength": {
111
+ "default": 512,
112
+ "type": "integer",
113
+ "minimum": 1,
114
+ "maximum": 4096
115
+ },
116
+ "default": {
117
+ "type": "string"
118
+ }
119
+ },
120
+ "required": [
121
+ "key",
122
+ "label",
123
+ "type"
124
+ ],
125
+ "additionalProperties": false
126
+ },
127
+ {
128
+ "type": "object",
129
+ "properties": {
130
+ "key": {
131
+ "type": "string",
132
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
133
+ },
134
+ "label": {
135
+ "type": "string",
136
+ "minLength": 1,
137
+ "maxLength": 64
138
+ },
139
+ "help": {
140
+ "type": "string",
141
+ "maxLength": 256
142
+ },
143
+ "isRequired": {
144
+ "default": false,
145
+ "type": "boolean"
146
+ },
147
+ "shownWhen": {
148
+ "type": "object",
149
+ "properties": {
150
+ "key": {
151
+ "type": "string",
152
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
153
+ },
154
+ "equals": {
155
+ "minItems": 1,
156
+ "maxItems": 64,
157
+ "type": "array",
158
+ "items": {
159
+ "anyOf": [
160
+ {
161
+ "type": "string",
162
+ "minLength": 1,
163
+ "maxLength": 64
164
+ },
165
+ {
166
+ "type": "boolean"
167
+ }
168
+ ]
169
+ }
170
+ }
171
+ },
172
+ "required": [
173
+ "key",
174
+ "equals"
175
+ ],
176
+ "additionalProperties": false
177
+ },
178
+ "isLive": {
179
+ "type": "boolean"
180
+ },
181
+ "type": {
182
+ "type": "string",
183
+ "const": "secret"
184
+ },
185
+ "pattern": {
186
+ "type": "string",
187
+ "minLength": 1,
188
+ "maxLength": 256
189
+ },
190
+ "patternMessage": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "maxLength": 160
194
+ },
195
+ "minLength": {
196
+ "type": "integer",
197
+ "minimum": 0,
198
+ "maximum": 4096
199
+ },
200
+ "maxLength": {
201
+ "default": 512,
202
+ "type": "integer",
203
+ "minimum": 1,
204
+ "maximum": 4096
205
+ }
206
+ },
207
+ "required": [
208
+ "key",
209
+ "label",
210
+ "type"
211
+ ],
212
+ "additionalProperties": false
213
+ },
214
+ {
215
+ "type": "object",
216
+ "properties": {
217
+ "key": {
218
+ "type": "string",
219
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
220
+ },
221
+ "label": {
222
+ "type": "string",
223
+ "minLength": 1,
224
+ "maxLength": 64
225
+ },
226
+ "help": {
227
+ "type": "string",
228
+ "maxLength": 256
229
+ },
230
+ "isRequired": {
231
+ "default": false,
232
+ "type": "boolean"
233
+ },
234
+ "shownWhen": {
235
+ "type": "object",
236
+ "properties": {
237
+ "key": {
238
+ "type": "string",
239
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
240
+ },
241
+ "equals": {
242
+ "minItems": 1,
243
+ "maxItems": 64,
244
+ "type": "array",
245
+ "items": {
246
+ "anyOf": [
247
+ {
248
+ "type": "string",
249
+ "minLength": 1,
250
+ "maxLength": 64
251
+ },
252
+ {
253
+ "type": "boolean"
254
+ }
255
+ ]
256
+ }
257
+ }
258
+ },
259
+ "required": [
260
+ "key",
261
+ "equals"
262
+ ],
263
+ "additionalProperties": false
264
+ },
265
+ "isLive": {
266
+ "type": "boolean"
267
+ },
268
+ "type": {
269
+ "type": "string",
270
+ "const": "number"
271
+ },
272
+ "min": {
273
+ "type": "number"
274
+ },
275
+ "max": {
276
+ "type": "number"
277
+ },
278
+ "isInteger": {
279
+ "default": false,
280
+ "type": "boolean"
281
+ },
282
+ "unit": {
283
+ "type": "string",
284
+ "maxLength": 16
285
+ },
286
+ "default": {
287
+ "type": "number"
288
+ },
289
+ "warnBelow": {
290
+ "type": "number"
291
+ },
292
+ "warning": {
293
+ "type": "string",
294
+ "minLength": 1,
295
+ "maxLength": 160
296
+ }
297
+ },
298
+ "required": [
299
+ "key",
300
+ "label",
301
+ "type"
302
+ ],
303
+ "additionalProperties": false
304
+ },
305
+ {
306
+ "type": "object",
307
+ "properties": {
308
+ "key": {
309
+ "type": "string",
310
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
311
+ },
312
+ "label": {
313
+ "type": "string",
314
+ "minLength": 1,
315
+ "maxLength": 64
316
+ },
317
+ "help": {
318
+ "type": "string",
319
+ "maxLength": 256
320
+ },
321
+ "isRequired": {
322
+ "default": false,
323
+ "type": "boolean"
324
+ },
325
+ "shownWhen": {
326
+ "type": "object",
327
+ "properties": {
328
+ "key": {
329
+ "type": "string",
330
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
331
+ },
332
+ "equals": {
333
+ "minItems": 1,
334
+ "maxItems": 64,
335
+ "type": "array",
336
+ "items": {
337
+ "anyOf": [
338
+ {
339
+ "type": "string",
340
+ "minLength": 1,
341
+ "maxLength": 64
342
+ },
343
+ {
344
+ "type": "boolean"
345
+ }
346
+ ]
347
+ }
348
+ }
349
+ },
350
+ "required": [
351
+ "key",
352
+ "equals"
353
+ ],
354
+ "additionalProperties": false
355
+ },
356
+ "isLive": {
357
+ "type": "boolean"
358
+ },
359
+ "type": {
360
+ "type": "string",
361
+ "const": "boolean"
362
+ },
363
+ "default": {
364
+ "type": "boolean"
365
+ }
366
+ },
367
+ "required": [
368
+ "key",
369
+ "label",
370
+ "type"
371
+ ],
372
+ "additionalProperties": false
373
+ },
374
+ {
375
+ "type": "object",
376
+ "properties": {
377
+ "key": {
378
+ "type": "string",
379
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
380
+ },
381
+ "label": {
382
+ "type": "string",
383
+ "minLength": 1,
384
+ "maxLength": 64
385
+ },
386
+ "help": {
387
+ "type": "string",
388
+ "maxLength": 256
389
+ },
390
+ "isRequired": {
391
+ "default": false,
392
+ "type": "boolean"
393
+ },
394
+ "shownWhen": {
395
+ "type": "object",
396
+ "properties": {
397
+ "key": {
398
+ "type": "string",
399
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
400
+ },
401
+ "equals": {
402
+ "minItems": 1,
403
+ "maxItems": 64,
404
+ "type": "array",
405
+ "items": {
406
+ "anyOf": [
407
+ {
408
+ "type": "string",
409
+ "minLength": 1,
410
+ "maxLength": 64
411
+ },
412
+ {
413
+ "type": "boolean"
414
+ }
415
+ ]
416
+ }
417
+ }
418
+ },
419
+ "required": [
420
+ "key",
421
+ "equals"
422
+ ],
423
+ "additionalProperties": false
424
+ },
425
+ "isLive": {
426
+ "type": "boolean"
427
+ },
428
+ "type": {
429
+ "type": "string",
430
+ "const": "choice"
431
+ },
432
+ "choices": {
433
+ "minItems": 1,
434
+ "maxItems": 64,
435
+ "type": "array",
436
+ "items": {
437
+ "type": "object",
438
+ "properties": {
439
+ "value": {
440
+ "type": "string",
441
+ "minLength": 1,
442
+ "maxLength": 64
443
+ },
444
+ "label": {
445
+ "type": "string",
446
+ "minLength": 1,
447
+ "maxLength": 64
448
+ }
449
+ },
450
+ "required": [
451
+ "value",
452
+ "label"
453
+ ],
454
+ "additionalProperties": false
455
+ }
456
+ },
457
+ "default": {
458
+ "type": "string"
459
+ }
460
+ },
461
+ "required": [
462
+ "key",
463
+ "label",
464
+ "type",
465
+ "choices"
466
+ ],
467
+ "additionalProperties": false
468
+ },
469
+ {
470
+ "type": "object",
471
+ "properties": {
472
+ "key": {
473
+ "type": "string",
474
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
475
+ },
476
+ "label": {
477
+ "type": "string",
478
+ "minLength": 1,
479
+ "maxLength": 64
480
+ },
481
+ "help": {
482
+ "type": "string",
483
+ "maxLength": 256
484
+ },
485
+ "isRequired": {
486
+ "default": false,
487
+ "type": "boolean"
488
+ },
489
+ "shownWhen": {
490
+ "type": "object",
491
+ "properties": {
492
+ "key": {
493
+ "type": "string",
494
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
495
+ },
496
+ "equals": {
497
+ "minItems": 1,
498
+ "maxItems": 64,
499
+ "type": "array",
500
+ "items": {
501
+ "anyOf": [
502
+ {
503
+ "type": "string",
504
+ "minLength": 1,
505
+ "maxLength": 64
506
+ },
507
+ {
508
+ "type": "boolean"
509
+ }
510
+ ]
511
+ }
512
+ }
513
+ },
514
+ "required": [
515
+ "key",
516
+ "equals"
517
+ ],
518
+ "additionalProperties": false
519
+ },
520
+ "isLive": {
521
+ "type": "boolean"
522
+ },
523
+ "type": {
524
+ "type": "string",
525
+ "const": "list"
526
+ },
527
+ "placeholder": {
528
+ "type": "string",
529
+ "maxLength": 128
530
+ },
531
+ "minItems": {
532
+ "default": 0,
533
+ "type": "integer",
534
+ "minimum": 0,
535
+ "maximum": 64
536
+ },
537
+ "maxItems": {
538
+ "default": 64,
539
+ "type": "integer",
540
+ "minimum": 1,
541
+ "maximum": 64
542
+ },
543
+ "pattern": {
544
+ "type": "string",
545
+ "minLength": 1,
546
+ "maxLength": 256
547
+ },
548
+ "patternMessage": {
549
+ "type": "string",
550
+ "minLength": 1,
551
+ "maxLength": 160
552
+ }
553
+ },
554
+ "required": [
555
+ "key",
556
+ "label",
557
+ "type"
558
+ ],
559
+ "additionalProperties": false
560
+ }
561
+ ]
562
+ }
563
+ }
564
+ },
565
+ "additionalProperties": false
566
+ },
567
+ "options": {
568
+ "default": {
569
+ "constants": {},
570
+ "fields": []
571
+ },
572
+ "type": "object",
573
+ "properties": {
574
+ "constants": {
575
+ "default": {},
576
+ "type": "object",
577
+ "propertyNames": {
578
+ "type": "string",
579
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
580
+ },
581
+ "additionalProperties": {
582
+ "type": [
583
+ "string",
584
+ "number",
585
+ "boolean"
586
+ ]
587
+ }
588
+ },
589
+ "fields": {
590
+ "default": [],
591
+ "maxItems": 32,
592
+ "type": "array",
593
+ "items": {
594
+ "oneOf": [
595
+ {
596
+ "type": "object",
597
+ "properties": {
598
+ "key": {
599
+ "type": "string",
600
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
601
+ },
602
+ "label": {
603
+ "type": "string",
604
+ "minLength": 1,
605
+ "maxLength": 64
606
+ },
607
+ "help": {
608
+ "type": "string",
609
+ "maxLength": 256
610
+ },
611
+ "isRequired": {
612
+ "default": false,
613
+ "type": "boolean"
614
+ },
615
+ "shownWhen": {
616
+ "type": "object",
617
+ "properties": {
618
+ "key": {
619
+ "type": "string",
620
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
621
+ },
622
+ "equals": {
623
+ "minItems": 1,
624
+ "maxItems": 64,
625
+ "type": "array",
626
+ "items": {
627
+ "anyOf": [
628
+ {
629
+ "type": "string",
630
+ "minLength": 1,
631
+ "maxLength": 64
632
+ },
633
+ {
634
+ "type": "boolean"
635
+ }
636
+ ]
637
+ }
638
+ }
639
+ },
640
+ "required": [
641
+ "key",
642
+ "equals"
643
+ ],
644
+ "additionalProperties": false
645
+ },
646
+ "isLive": {
647
+ "type": "boolean"
648
+ },
649
+ "type": {
650
+ "type": "string",
651
+ "const": "text"
652
+ },
653
+ "placeholder": {
654
+ "type": "string",
655
+ "maxLength": 128
656
+ },
657
+ "pattern": {
658
+ "type": "string",
659
+ "minLength": 1,
660
+ "maxLength": 256
661
+ },
662
+ "patternMessage": {
663
+ "type": "string",
664
+ "minLength": 1,
665
+ "maxLength": 160
666
+ },
667
+ "minLength": {
668
+ "type": "integer",
669
+ "minimum": 0,
670
+ "maximum": 4096
671
+ },
672
+ "maxLength": {
673
+ "default": 512,
674
+ "type": "integer",
675
+ "minimum": 1,
676
+ "maximum": 4096
677
+ },
678
+ "default": {
679
+ "type": "string"
680
+ }
681
+ },
682
+ "required": [
683
+ "key",
684
+ "label",
685
+ "type"
686
+ ],
687
+ "additionalProperties": false
688
+ },
689
+ {
690
+ "type": "object",
691
+ "properties": {
692
+ "key": {
693
+ "type": "string",
694
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
695
+ },
696
+ "label": {
697
+ "type": "string",
698
+ "minLength": 1,
699
+ "maxLength": 64
700
+ },
701
+ "help": {
702
+ "type": "string",
703
+ "maxLength": 256
704
+ },
705
+ "isRequired": {
706
+ "default": false,
707
+ "type": "boolean"
708
+ },
709
+ "shownWhen": {
710
+ "type": "object",
711
+ "properties": {
712
+ "key": {
713
+ "type": "string",
714
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
715
+ },
716
+ "equals": {
717
+ "minItems": 1,
718
+ "maxItems": 64,
719
+ "type": "array",
720
+ "items": {
721
+ "anyOf": [
722
+ {
723
+ "type": "string",
724
+ "minLength": 1,
725
+ "maxLength": 64
726
+ },
727
+ {
728
+ "type": "boolean"
729
+ }
730
+ ]
731
+ }
732
+ }
733
+ },
734
+ "required": [
735
+ "key",
736
+ "equals"
737
+ ],
738
+ "additionalProperties": false
739
+ },
740
+ "isLive": {
741
+ "type": "boolean"
742
+ },
743
+ "type": {
744
+ "type": "string",
745
+ "const": "secret"
746
+ },
747
+ "pattern": {
748
+ "type": "string",
749
+ "minLength": 1,
750
+ "maxLength": 256
751
+ },
752
+ "patternMessage": {
753
+ "type": "string",
754
+ "minLength": 1,
755
+ "maxLength": 160
756
+ },
757
+ "minLength": {
758
+ "type": "integer",
759
+ "minimum": 0,
760
+ "maximum": 4096
761
+ },
762
+ "maxLength": {
763
+ "default": 512,
764
+ "type": "integer",
765
+ "minimum": 1,
766
+ "maximum": 4096
767
+ }
768
+ },
769
+ "required": [
770
+ "key",
771
+ "label",
772
+ "type"
773
+ ],
774
+ "additionalProperties": false
775
+ },
776
+ {
777
+ "type": "object",
778
+ "properties": {
779
+ "key": {
780
+ "type": "string",
781
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
782
+ },
783
+ "label": {
784
+ "type": "string",
785
+ "minLength": 1,
786
+ "maxLength": 64
787
+ },
788
+ "help": {
789
+ "type": "string",
790
+ "maxLength": 256
791
+ },
792
+ "isRequired": {
793
+ "default": false,
794
+ "type": "boolean"
795
+ },
796
+ "shownWhen": {
797
+ "type": "object",
798
+ "properties": {
799
+ "key": {
800
+ "type": "string",
801
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
802
+ },
803
+ "equals": {
804
+ "minItems": 1,
805
+ "maxItems": 64,
806
+ "type": "array",
807
+ "items": {
808
+ "anyOf": [
809
+ {
810
+ "type": "string",
811
+ "minLength": 1,
812
+ "maxLength": 64
813
+ },
814
+ {
815
+ "type": "boolean"
816
+ }
817
+ ]
818
+ }
819
+ }
820
+ },
821
+ "required": [
822
+ "key",
823
+ "equals"
824
+ ],
825
+ "additionalProperties": false
826
+ },
827
+ "isLive": {
828
+ "type": "boolean"
829
+ },
830
+ "type": {
831
+ "type": "string",
832
+ "const": "number"
833
+ },
834
+ "min": {
835
+ "type": "number"
836
+ },
837
+ "max": {
838
+ "type": "number"
839
+ },
840
+ "isInteger": {
841
+ "default": false,
842
+ "type": "boolean"
843
+ },
844
+ "unit": {
845
+ "type": "string",
846
+ "maxLength": 16
847
+ },
848
+ "default": {
849
+ "type": "number"
850
+ },
851
+ "warnBelow": {
852
+ "type": "number"
853
+ },
854
+ "warning": {
855
+ "type": "string",
856
+ "minLength": 1,
857
+ "maxLength": 160
858
+ }
859
+ },
860
+ "required": [
861
+ "key",
862
+ "label",
863
+ "type"
864
+ ],
865
+ "additionalProperties": false
866
+ },
867
+ {
868
+ "type": "object",
869
+ "properties": {
870
+ "key": {
871
+ "type": "string",
872
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
873
+ },
874
+ "label": {
875
+ "type": "string",
876
+ "minLength": 1,
877
+ "maxLength": 64
878
+ },
879
+ "help": {
880
+ "type": "string",
881
+ "maxLength": 256
882
+ },
883
+ "isRequired": {
884
+ "default": false,
885
+ "type": "boolean"
886
+ },
887
+ "shownWhen": {
888
+ "type": "object",
889
+ "properties": {
890
+ "key": {
891
+ "type": "string",
892
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
893
+ },
894
+ "equals": {
895
+ "minItems": 1,
896
+ "maxItems": 64,
897
+ "type": "array",
898
+ "items": {
899
+ "anyOf": [
900
+ {
901
+ "type": "string",
902
+ "minLength": 1,
903
+ "maxLength": 64
904
+ },
905
+ {
906
+ "type": "boolean"
907
+ }
908
+ ]
909
+ }
910
+ }
911
+ },
912
+ "required": [
913
+ "key",
914
+ "equals"
915
+ ],
916
+ "additionalProperties": false
917
+ },
918
+ "isLive": {
919
+ "type": "boolean"
920
+ },
921
+ "type": {
922
+ "type": "string",
923
+ "const": "boolean"
924
+ },
925
+ "default": {
926
+ "type": "boolean"
927
+ }
928
+ },
929
+ "required": [
930
+ "key",
931
+ "label",
932
+ "type"
933
+ ],
934
+ "additionalProperties": false
935
+ },
936
+ {
937
+ "type": "object",
938
+ "properties": {
939
+ "key": {
940
+ "type": "string",
941
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
942
+ },
943
+ "label": {
944
+ "type": "string",
945
+ "minLength": 1,
946
+ "maxLength": 64
947
+ },
948
+ "help": {
949
+ "type": "string",
950
+ "maxLength": 256
951
+ },
952
+ "isRequired": {
953
+ "default": false,
954
+ "type": "boolean"
955
+ },
956
+ "shownWhen": {
957
+ "type": "object",
958
+ "properties": {
959
+ "key": {
960
+ "type": "string",
961
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
962
+ },
963
+ "equals": {
964
+ "minItems": 1,
965
+ "maxItems": 64,
966
+ "type": "array",
967
+ "items": {
968
+ "anyOf": [
969
+ {
970
+ "type": "string",
971
+ "minLength": 1,
972
+ "maxLength": 64
973
+ },
974
+ {
975
+ "type": "boolean"
976
+ }
977
+ ]
978
+ }
979
+ }
980
+ },
981
+ "required": [
982
+ "key",
983
+ "equals"
984
+ ],
985
+ "additionalProperties": false
986
+ },
987
+ "isLive": {
988
+ "type": "boolean"
989
+ },
990
+ "type": {
991
+ "type": "string",
992
+ "const": "choice"
993
+ },
994
+ "choices": {
995
+ "minItems": 1,
996
+ "maxItems": 64,
997
+ "type": "array",
998
+ "items": {
999
+ "type": "object",
1000
+ "properties": {
1001
+ "value": {
1002
+ "type": "string",
1003
+ "minLength": 1,
1004
+ "maxLength": 64
1005
+ },
1006
+ "label": {
1007
+ "type": "string",
1008
+ "minLength": 1,
1009
+ "maxLength": 64
1010
+ }
1011
+ },
1012
+ "required": [
1013
+ "value",
1014
+ "label"
1015
+ ],
1016
+ "additionalProperties": false
1017
+ }
1018
+ },
1019
+ "default": {
1020
+ "type": "string"
1021
+ }
1022
+ },
1023
+ "required": [
1024
+ "key",
1025
+ "label",
1026
+ "type",
1027
+ "choices"
1028
+ ],
1029
+ "additionalProperties": false
1030
+ },
1031
+ {
1032
+ "type": "object",
1033
+ "properties": {
1034
+ "key": {
1035
+ "type": "string",
1036
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
1037
+ },
1038
+ "label": {
1039
+ "type": "string",
1040
+ "minLength": 1,
1041
+ "maxLength": 64
1042
+ },
1043
+ "help": {
1044
+ "type": "string",
1045
+ "maxLength": 256
1046
+ },
1047
+ "isRequired": {
1048
+ "default": false,
1049
+ "type": "boolean"
1050
+ },
1051
+ "shownWhen": {
1052
+ "type": "object",
1053
+ "properties": {
1054
+ "key": {
1055
+ "type": "string",
1056
+ "pattern": "^[a-z][A-Za-z0-9]{0,63}$"
1057
+ },
1058
+ "equals": {
1059
+ "minItems": 1,
1060
+ "maxItems": 64,
1061
+ "type": "array",
1062
+ "items": {
1063
+ "anyOf": [
1064
+ {
1065
+ "type": "string",
1066
+ "minLength": 1,
1067
+ "maxLength": 64
1068
+ },
1069
+ {
1070
+ "type": "boolean"
1071
+ }
1072
+ ]
1073
+ }
1074
+ }
1075
+ },
1076
+ "required": [
1077
+ "key",
1078
+ "equals"
1079
+ ],
1080
+ "additionalProperties": false
1081
+ },
1082
+ "isLive": {
1083
+ "type": "boolean"
1084
+ },
1085
+ "type": {
1086
+ "type": "string",
1087
+ "const": "list"
1088
+ },
1089
+ "placeholder": {
1090
+ "type": "string",
1091
+ "maxLength": 128
1092
+ },
1093
+ "minItems": {
1094
+ "default": 0,
1095
+ "type": "integer",
1096
+ "minimum": 0,
1097
+ "maximum": 64
1098
+ },
1099
+ "maxItems": {
1100
+ "default": 64,
1101
+ "type": "integer",
1102
+ "minimum": 1,
1103
+ "maximum": 64
1104
+ },
1105
+ "pattern": {
1106
+ "type": "string",
1107
+ "minLength": 1,
1108
+ "maxLength": 256
1109
+ },
1110
+ "patternMessage": {
1111
+ "type": "string",
1112
+ "minLength": 1,
1113
+ "maxLength": 160
1114
+ }
1115
+ },
1116
+ "required": [
1117
+ "key",
1118
+ "label",
1119
+ "type"
1120
+ ],
1121
+ "additionalProperties": false
1122
+ }
1123
+ ]
1124
+ }
1125
+ }
1126
+ },
1127
+ "additionalProperties": false
1128
+ },
1129
+ "polling": {
1130
+ "type": "object",
1131
+ "properties": {
1132
+ "default": {
1133
+ "type": "integer",
1134
+ "minimum": 1,
1135
+ "maximum": 86400
1136
+ },
1137
+ "min": {
1138
+ "default": 1,
1139
+ "type": "integer",
1140
+ "minimum": 1,
1141
+ "maximum": 86400
1142
+ },
1143
+ "max": {
1144
+ "default": 86400,
1145
+ "type": "integer",
1146
+ "minimum": 1,
1147
+ "maximum": 86400
1148
+ },
1149
+ "warnBelow": {
1150
+ "type": "integer",
1151
+ "minimum": 1,
1152
+ "maximum": 86400
1153
+ }
1154
+ },
1155
+ "required": [
1156
+ "default"
1157
+ ],
1158
+ "additionalProperties": false
1159
+ }
1160
+ },
1161
+ "required": [
1162
+ "transport"
1163
+ ],
1164
+ "additionalProperties": false,
1165
+ "title": "NebulaHome integration: setup.json"
1166
+ }