losant_rest 1.8.9 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +5 -5
  2. data/docs/_schemas.md +26390 -4889
  3. data/docs/device.md +1 -1
  4. data/docs/devices.md +44 -4
  5. data/lib/losant_rest/client.rb +2 -2
  6. data/lib/losant_rest/device.rb +1 -1
  7. data/lib/losant_rest/devices.rb +52 -4
  8. data/lib/losant_rest/version.rb +1 -1
  9. data/schemas/application.json +25 -0
  10. data/schemas/applicationApiTokenPost.json +1 -0
  11. data/schemas/applicationPatch.json +25 -0
  12. data/schemas/applicationPost.json +25 -0
  13. data/schemas/applications.json +25 -0
  14. data/schemas/authedDevice.json +2 -1
  15. data/schemas/dashboard.json +34 -11
  16. data/schemas/dashboardPatch.json +34 -11
  17. data/schemas/dashboardPost.json +34 -11
  18. data/schemas/dashboards.json +34 -11
  19. data/schemas/device.json +110 -1
  20. data/schemas/deviceClassFilter.json +31 -0
  21. data/schemas/devicePatch.json +110 -1
  22. data/schemas/devicePost.json +110 -1
  23. data/schemas/deviceRecipe.json +110 -1
  24. data/schemas/deviceRecipePatch.json +110 -1
  25. data/schemas/deviceRecipePost.json +110 -1
  26. data/schemas/deviceRecipes.json +110 -1
  27. data/schemas/devices.json +123 -2
  28. data/schemas/devicesPatch.json +209 -0
  29. data/schemas/flow.json +1491 -54
  30. data/schemas/flowPatch.json +1491 -54
  31. data/schemas/flowPost.json +1491 -54
  32. data/schemas/flowVersion.json +3319 -445
  33. data/schemas/flowVersionPost.json +1491 -54
  34. data/schemas/flowVersions.json +3319 -445
  35. data/schemas/flows.json +1491 -54
  36. data/schemas/flowsImportPost.json +3313 -439
  37. data/schemas/flowsImportResult.json +5129 -818
  38. data/schemas/githubLogin.json +1 -0
  39. data/schemas/userCredentials.json +1 -0
  40. data/schemas/userPost.json +1 -0
  41. metadata +5 -3
@@ -36,585 +36,3459 @@
36
36
  "triggers": {
37
37
  "type": "array",
38
38
  "items": {
39
- "type": "object",
40
- "properties": {
41
- "key": {
42
- "type": "string",
43
- "maxLength": 1024
44
- },
45
- "type": {
46
- "type": "string",
47
- "enum": [
48
- "customNodeStart",
49
- "dataTable",
50
- "deviceCommand",
51
- "deviceId",
52
- "deviceIdConnect",
53
- "deviceIdDisconnect",
54
- "deviceIdInactivity",
55
- "deviceTag",
56
- "deviceTagConnect",
57
- "deviceTagDisconnect",
58
- "deviceTagInactivity",
59
- "endpoint",
60
- "event",
61
- "fileTail",
62
- "fileWatch",
63
- "integration",
64
- "mqttTopic",
65
- "notebook",
66
- "onBoot",
67
- "onConnect",
68
- "onDisconnect",
69
- "opcua",
70
- "redis",
71
- "request",
72
- "serial",
73
- "timer",
74
- "udp",
75
- "virtualButton",
76
- "webhook"
77
- ]
78
- },
79
- "config": {
80
- "type": "object"
81
- },
82
- "meta": {
83
- "type": "object"
84
- },
85
- "outputIds": {
86
- "type": "array",
87
- "items": {
88
- "type": "array",
89
- "items": {
39
+ "oneOf": [
40
+ {
41
+ "type": "object",
42
+ "properties": {
43
+ "key": {
90
44
  "type": "string",
91
- "maxLength": 255
45
+ "maxLength": 1024
92
46
  },
93
- "maxItems": 100
47
+ "type": {
48
+ "type": "string",
49
+ "enum": [
50
+ "customNodeStart",
51
+ "deviceCommand",
52
+ "deviceIdConnect",
53
+ "deviceTagConnect",
54
+ "deviceIdDisconnect",
55
+ "deviceTagDisconnect",
56
+ "integration",
57
+ "mqttTopic",
58
+ "notebook",
59
+ "onBoot",
60
+ "onConnect",
61
+ "onDisconnect",
62
+ "request",
63
+ "udp",
64
+ "webhook"
65
+ ]
66
+ },
67
+ "config": {
68
+ "type": "object",
69
+ "additionalProperties": false
70
+ },
71
+ "meta": {
72
+ "type": "object",
73
+ "properties": {
74
+ "category": {
75
+ "type": "string",
76
+ "enum": [
77
+ "trigger"
78
+ ]
79
+ },
80
+ "name": {
81
+ "type": "string",
82
+ "enum": [
83
+ "customNodeStart",
84
+ "deviceCommand",
85
+ "deviceIdsTagsConnect",
86
+ "deviceIdsTagsDisconnect",
87
+ "googlePubSub",
88
+ "meridian",
89
+ "mqtt",
90
+ "notebook",
91
+ "onBoot",
92
+ "onConnect",
93
+ "onDisconnect",
94
+ "particle",
95
+ "request",
96
+ "udp",
97
+ "webhook"
98
+ ]
99
+ },
100
+ "label": {
101
+ "type": "string",
102
+ "minLength": 1,
103
+ "maxLength": 255
104
+ },
105
+ "x": {
106
+ "type": "number"
107
+ },
108
+ "y": {
109
+ "type": "number"
110
+ },
111
+ "uiId": {
112
+ "type": "string",
113
+ "maxLength": 48
114
+ },
115
+ "description": {
116
+ "type": "string",
117
+ "maxLength": 32767
118
+ },
119
+ "icon": {
120
+ "type": "string",
121
+ "maxLength": 1024
122
+ },
123
+ "color": {
124
+ "type": "string",
125
+ "maxLength": 1024
126
+ },
127
+ "inputCount": {
128
+ "type": "number"
129
+ },
130
+ "outputCount": {
131
+ "type": "number"
132
+ },
133
+ "triggerId": {
134
+ "type": "string",
135
+ "maxLength": 48
136
+ },
137
+ "id": {
138
+ "type": "string",
139
+ "maxLength": 48
140
+ }
141
+ },
142
+ "additionalProperties": false
143
+ },
144
+ "outputIds": {
145
+ "type": "array",
146
+ "items": {
147
+ "type": "array",
148
+ "items": {
149
+ "type": "string",
150
+ "maxLength": 255
151
+ },
152
+ "maxItems": 100
153
+ },
154
+ "maxItems": 100
155
+ }
94
156
  },
95
- "maxItems": 100
96
- }
97
- },
98
- "additionalProperties": false,
99
- "required": [
100
- "type"
101
- ]
102
- }
103
- },
104
- "nodes": {
105
- "type": "array",
106
- "items": {
107
- "type": "object",
108
- "properties": {
109
- "id": {
110
- "type": "string",
111
- "maxLength": 1024
112
- },
113
- "type": {
114
- "type": "string",
115
- "minLength": 1,
116
- "maxLength": 1024
117
- },
118
- "config": {
119
- "type": "object"
120
- },
121
- "meta": {
122
- "type": "object"
157
+ "required": [
158
+ "type"
159
+ ],
160
+ "additionalProperties": false
123
161
  },
124
- "outputIds": {
125
- "type": "array",
126
- "items": {
127
- "type": "array",
128
- "items": {
162
+ {
163
+ "type": "object",
164
+ "properties": {
165
+ "key": {
129
166
  "type": "string",
130
- "maxLength": 255
167
+ "maxLength": 1024
131
168
  },
132
- "maxItems": 100
169
+ "type": {
170
+ "type": "string",
171
+ "enum": [
172
+ "dataTable"
173
+ ]
174
+ },
175
+ "config": {
176
+ "type": "object",
177
+ "properties": {
178
+ "bulkInsert": {
179
+ "type": "boolean"
180
+ },
181
+ "delete": {
182
+ "type": "boolean"
183
+ },
184
+ "insert": {
185
+ "type": "boolean"
186
+ },
187
+ "update": {
188
+ "type": "boolean"
189
+ }
190
+ },
191
+ "additionalProperties": false
192
+ },
193
+ "meta": {
194
+ "type": "object",
195
+ "properties": {
196
+ "category": {
197
+ "type": "string",
198
+ "enum": [
199
+ "trigger"
200
+ ]
201
+ },
202
+ "name": {
203
+ "type": "string",
204
+ "enum": [
205
+ "dataTable"
206
+ ]
207
+ },
208
+ "label": {
209
+ "type": "string",
210
+ "minLength": 1,
211
+ "maxLength": 255
212
+ },
213
+ "x": {
214
+ "type": "number"
215
+ },
216
+ "y": {
217
+ "type": "number"
218
+ },
219
+ "uiId": {
220
+ "type": "string",
221
+ "maxLength": 48
222
+ },
223
+ "description": {
224
+ "type": "string",
225
+ "maxLength": 32767
226
+ },
227
+ "icon": {
228
+ "type": "string",
229
+ "maxLength": 1024
230
+ },
231
+ "color": {
232
+ "type": "string",
233
+ "maxLength": 1024
234
+ },
235
+ "inputCount": {
236
+ "type": "number"
237
+ },
238
+ "outputCount": {
239
+ "type": "number"
240
+ },
241
+ "id": {
242
+ "type": "string",
243
+ "maxLength": 48
244
+ }
245
+ },
246
+ "additionalProperties": false
247
+ },
248
+ "outputIds": {
249
+ "type": "array",
250
+ "items": {
251
+ "type": "array",
252
+ "items": {
253
+ "type": "string",
254
+ "maxLength": 255
255
+ },
256
+ "maxItems": 100
257
+ },
258
+ "maxItems": 100
259
+ }
133
260
  },
134
- "maxItems": 100
135
- }
136
- },
137
- "additionalProperties": false,
138
- "required": [
139
- "type"
140
- ]
141
- }
142
- },
143
- "globals": {
144
- "type": "array",
145
- "maxItems": 100,
146
- "items": {
147
- "type": "object",
148
- "properties": {
149
- "key": {
150
- "type": "string",
151
- "pattern": "^[0-9a-zA-Z_-]{1,255}$"
261
+ "required": [
262
+ "type"
263
+ ],
264
+ "additionalProperties": false
152
265
  },
153
- "json": {
154
- "type": "string",
155
- "minLength": 1,
156
- "maxLength": 32767
157
- }
158
- },
159
- "additionalProperties": false,
160
- "required": [
161
- "key",
162
- "json"
163
- ]
164
- }
165
- },
166
- "flowClass": {
167
- "type": "string",
168
- "enum": [
169
- "cloud",
170
- "edge",
171
- "experience",
172
- "customNode"
173
- ]
174
- },
175
- "defaultVersionId": {
176
- "oneOf": [
177
- {
178
- "type": "string",
179
- "pattern": "^[A-Fa-f\\d]{24}$"
180
- },
181
- {
182
- "type": "null"
183
- }
184
- ]
185
- },
186
- "minimumAgentVersion": {
187
- "type": "string",
188
- "pattern": "^(0|([1-9]\\d*))\\.(0|([1-9]\\d*))\\.(0|([1-9]\\d*))$"
189
- },
190
- "customNodeConfig": {
191
- "type": "object",
192
- "properties": {
193
- "outputCount": {
194
- "type": "number",
195
- "enum": [
196
- 1,
197
- 2
198
- ]
199
- },
200
- "resultMode": {
201
- "type": "string",
202
- "enum": [
203
- "optional",
204
- "required",
205
- "none"
206
- ]
207
- },
208
- "resultDescription": {
209
- "type": "string",
210
- "maxLength": 32767
211
- },
212
- "fields": {
213
- "type": "array",
214
- "maxItems": 100,
215
- "items": {
216
- "oneOf": [
217
- {
266
+ {
267
+ "type": "object",
268
+ "properties": {
269
+ "key": {
270
+ "type": "string",
271
+ "maxLength": 1024
272
+ },
273
+ "type": {
274
+ "type": "string",
275
+ "enum": [
276
+ "deviceId",
277
+ "deviceTag"
278
+ ]
279
+ },
280
+ "config": {
218
281
  "type": "object",
219
282
  "properties": {
220
- "type": {
283
+ "attributeBlacklist": {
284
+ "type": "array",
285
+ "maxItems": 100,
286
+ "items": {
287
+ "type": "string",
288
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
289
+ }
290
+ },
291
+ "attributeWhitelist": {
292
+ "type": "array",
293
+ "maxItems": 100,
294
+ "items": {
295
+ "type": "string",
296
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
297
+ }
298
+ },
299
+ "maxAge": {
300
+ "type": "number"
301
+ }
302
+ },
303
+ "additionalProperties": false
304
+ },
305
+ "meta": {
306
+ "type": "object",
307
+ "properties": {
308
+ "category": {
309
+ "type": "string",
310
+ "enum": [
311
+ "trigger"
312
+ ]
313
+ },
314
+ "name": {
315
+ "type": "string",
316
+ "enum": [
317
+ "deviceIdsTags",
318
+ "device",
319
+ "deviceTag"
320
+ ]
321
+ },
322
+ "label": {
323
+ "type": "string",
324
+ "minLength": 1,
325
+ "maxLength": 255
326
+ },
327
+ "x": {
328
+ "type": "number"
329
+ },
330
+ "y": {
331
+ "type": "number"
332
+ },
333
+ "uiId": {
334
+ "type": "string",
335
+ "maxLength": 48
336
+ },
337
+ "description": {
338
+ "type": "string",
339
+ "maxLength": 32767
340
+ },
341
+ "icon": {
342
+ "type": "string",
343
+ "maxLength": 1024
344
+ },
345
+ "color": {
346
+ "type": "string",
347
+ "maxLength": 1024
348
+ },
349
+ "inputCount": {
350
+ "type": "number"
351
+ },
352
+ "outputCount": {
353
+ "type": "number"
354
+ },
355
+ "id": {
356
+ "type": "string",
357
+ "maxLength": 48
358
+ },
359
+ "timeUnit": {
360
+ "type": "string",
361
+ "maxLength": 48
362
+ },
363
+ "maxAgeToggle": {
364
+ "type": "boolean"
365
+ },
366
+ "allowedAttributeType": {
367
+ "type": "string",
368
+ "enum": [
369
+ "attributeWhitelist",
370
+ "any",
371
+ "attributeBlacklist"
372
+ ]
373
+ }
374
+ },
375
+ "additionalProperties": false
376
+ },
377
+ "outputIds": {
378
+ "type": "array",
379
+ "items": {
380
+ "type": "array",
381
+ "items": {
382
+ "type": "string",
383
+ "maxLength": 255
384
+ },
385
+ "maxItems": 100
386
+ },
387
+ "maxItems": 100
388
+ }
389
+ },
390
+ "required": [
391
+ "type"
392
+ ],
393
+ "additionalProperties": false
394
+ },
395
+ {
396
+ "type": "object",
397
+ "properties": {
398
+ "key": {
399
+ "type": "string",
400
+ "maxLength": 1024
401
+ },
402
+ "type": {
403
+ "type": "string",
404
+ "enum": [
405
+ "deviceIdInactivity",
406
+ "deviceTagInactivity"
407
+ ]
408
+ },
409
+ "config": {
410
+ "type": "object",
411
+ "properties": {
412
+ "seconds": {
413
+ "type": "number"
414
+ }
415
+ },
416
+ "additionalProperties": false
417
+ },
418
+ "meta": {
419
+ "type": "object",
420
+ "properties": {
421
+ "category": {
422
+ "type": "string",
423
+ "enum": [
424
+ "trigger"
425
+ ]
426
+ },
427
+ "name": {
428
+ "type": "string",
429
+ "enum": [
430
+ "deviceIdsTagsInactivity"
431
+ ]
432
+ },
433
+ "label": {
434
+ "type": "string",
435
+ "minLength": 1,
436
+ "maxLength": 255
437
+ },
438
+ "x": {
439
+ "type": "number"
440
+ },
441
+ "y": {
442
+ "type": "number"
443
+ },
444
+ "uiId": {
445
+ "type": "string",
446
+ "maxLength": 48
447
+ },
448
+ "description": {
449
+ "type": "string",
450
+ "maxLength": 32767
451
+ },
452
+ "icon": {
453
+ "type": "string",
454
+ "maxLength": 1024
455
+ },
456
+ "color": {
457
+ "type": "string",
458
+ "maxLength": 1024
459
+ },
460
+ "inputCount": {
461
+ "type": "number"
462
+ },
463
+ "outputCount": {
464
+ "type": "number"
465
+ },
466
+ "id": {
467
+ "type": "string",
468
+ "maxLength": 48
469
+ }
470
+ },
471
+ "additionalProperties": false
472
+ },
473
+ "outputIds": {
474
+ "type": "array",
475
+ "items": {
476
+ "type": "array",
477
+ "items": {
478
+ "type": "string",
479
+ "maxLength": 255
480
+ },
481
+ "maxItems": 100
482
+ },
483
+ "maxItems": 100
484
+ }
485
+ },
486
+ "required": [
487
+ "type"
488
+ ],
489
+ "additionalProperties": false
490
+ },
491
+ {
492
+ "type": "object",
493
+ "properties": {
494
+ "key": {
495
+ "type": "string",
496
+ "maxLength": 1024
497
+ },
498
+ "type": {
499
+ "type": "string",
500
+ "enum": [
501
+ "endpoint"
502
+ ]
503
+ },
504
+ "config": {
505
+ "type": "object",
506
+ "properties": {
507
+ "experienceVersion": {
508
+ "type": "string",
509
+ "minLength": 1,
510
+ "maxLength": 255
511
+ }
512
+ },
513
+ "additionalProperties": false
514
+ },
515
+ "meta": {
516
+ "type": "object",
517
+ "properties": {
518
+ "category": {
519
+ "type": "string",
520
+ "enum": [
521
+ "trigger"
522
+ ]
523
+ },
524
+ "name": {
525
+ "type": "string",
526
+ "enum": [
527
+ "endpoint"
528
+ ]
529
+ },
530
+ "label": {
531
+ "type": "string",
532
+ "minLength": 1,
533
+ "maxLength": 255
534
+ },
535
+ "x": {
536
+ "type": "number"
537
+ },
538
+ "y": {
539
+ "type": "number"
540
+ },
541
+ "uiId": {
542
+ "type": "string",
543
+ "maxLength": 48
544
+ },
545
+ "description": {
546
+ "type": "string",
547
+ "maxLength": 32767
548
+ },
549
+ "icon": {
550
+ "type": "string",
551
+ "maxLength": 1024
552
+ },
553
+ "color": {
554
+ "type": "string",
555
+ "maxLength": 1024
556
+ },
557
+ "inputCount": {
558
+ "type": "number"
559
+ },
560
+ "outputCount": {
561
+ "type": "number"
562
+ },
563
+ "id": {
564
+ "type": "string",
565
+ "maxLength": 48
566
+ }
567
+ },
568
+ "additionalProperties": false
569
+ },
570
+ "outputIds": {
571
+ "type": "array",
572
+ "items": {
573
+ "type": "array",
574
+ "items": {
575
+ "type": "string",
576
+ "maxLength": 255
577
+ },
578
+ "maxItems": 100
579
+ },
580
+ "maxItems": 100
581
+ }
582
+ },
583
+ "required": [
584
+ "type"
585
+ ],
586
+ "additionalProperties": false
587
+ },
588
+ {
589
+ "type": "object",
590
+ "properties": {
591
+ "key": {
592
+ "type": "string",
593
+ "maxLength": 1024
594
+ },
595
+ "type": {
596
+ "type": "string",
597
+ "enum": [
598
+ "event"
599
+ ]
600
+ },
601
+ "config": {
602
+ "type": "object",
603
+ "properties": {
604
+ "subject": {
605
+ "type": "string",
606
+ "maxLength": 255
607
+ },
608
+ "new": {
609
+ "type": "boolean"
610
+ },
611
+ "acknowledged": {
612
+ "type": "boolean"
613
+ },
614
+ "resolved": {
615
+ "type": "boolean"
616
+ }
617
+ },
618
+ "additionalProperties": false
619
+ },
620
+ "meta": {
621
+ "type": "object",
622
+ "properties": {
623
+ "category": {
624
+ "type": "string",
625
+ "enum": [
626
+ "trigger"
627
+ ]
628
+ },
629
+ "name": {
630
+ "type": "string",
631
+ "enum": [
632
+ "event"
633
+ ]
634
+ },
635
+ "label": {
636
+ "type": "string",
637
+ "minLength": 1,
638
+ "maxLength": 255
639
+ },
640
+ "x": {
641
+ "type": "number"
642
+ },
643
+ "y": {
644
+ "type": "number"
645
+ },
646
+ "uiId": {
647
+ "type": "string",
648
+ "maxLength": 48
649
+ },
650
+ "description": {
651
+ "type": "string",
652
+ "maxLength": 32767
653
+ },
654
+ "icon": {
655
+ "type": "string",
656
+ "maxLength": 1024
657
+ },
658
+ "color": {
659
+ "type": "string",
660
+ "maxLength": 1024
661
+ },
662
+ "inputCount": {
663
+ "type": "number"
664
+ },
665
+ "outputCount": {
666
+ "type": "number"
667
+ },
668
+ "id": {
669
+ "type": "string",
670
+ "maxLength": 48
671
+ }
672
+ },
673
+ "additionalProperties": false
674
+ },
675
+ "outputIds": {
676
+ "type": "array",
677
+ "items": {
678
+ "type": "array",
679
+ "items": {
680
+ "type": "string",
681
+ "maxLength": 255
682
+ },
683
+ "maxItems": 100
684
+ },
685
+ "maxItems": 100
686
+ }
687
+ },
688
+ "required": [
689
+ "type"
690
+ ],
691
+ "additionalProperties": false
692
+ },
693
+ {
694
+ "type": "object",
695
+ "properties": {
696
+ "key": {
697
+ "type": "string",
698
+ "maxLength": 1024
699
+ },
700
+ "type": {
701
+ "type": "string",
702
+ "enum": [
703
+ "fileTail"
704
+ ]
705
+ },
706
+ "config": {
707
+ "type": "object",
708
+ "properties": {
709
+ "path": {
710
+ "type": "string",
711
+ "maxLength": 1024
712
+ },
713
+ "encoding": {
714
+ "type": "string",
715
+ "maxLength": 48
716
+ },
717
+ "byteLength": {
718
+ "type": "string",
719
+ "maxLength": 48
720
+ },
721
+ "delimiter": {
722
+ "type": "string",
723
+ "maxLength": 48
724
+ }
725
+ },
726
+ "additionalProperties": false
727
+ },
728
+ "meta": {
729
+ "type": "object",
730
+ "properties": {
731
+ "category": {
732
+ "type": "string",
733
+ "enum": [
734
+ "trigger"
735
+ ]
736
+ },
737
+ "name": {
738
+ "type": "string",
739
+ "enum": [
740
+ "fileTail"
741
+ ]
742
+ },
743
+ "label": {
744
+ "type": "string",
745
+ "minLength": 1,
746
+ "maxLength": 255
747
+ },
748
+ "x": {
749
+ "type": "number"
750
+ },
751
+ "y": {
752
+ "type": "number"
753
+ },
754
+ "uiId": {
755
+ "type": "string",
756
+ "maxLength": 48
757
+ },
758
+ "description": {
759
+ "type": "string",
760
+ "maxLength": 32767
761
+ },
762
+ "icon": {
763
+ "type": "string",
764
+ "maxLength": 1024
765
+ },
766
+ "color": {
767
+ "type": "string",
768
+ "maxLength": 1024
769
+ },
770
+ "inputCount": {
771
+ "type": "number"
772
+ },
773
+ "outputCount": {
774
+ "type": "number"
775
+ },
776
+ "id": {
777
+ "type": "string",
778
+ "maxLength": 48
779
+ }
780
+ },
781
+ "additionalProperties": false
782
+ },
783
+ "outputIds": {
784
+ "type": "array",
785
+ "items": {
786
+ "type": "array",
787
+ "items": {
788
+ "type": "string",
789
+ "maxLength": 255
790
+ },
791
+ "maxItems": 100
792
+ },
793
+ "maxItems": 100
794
+ }
795
+ },
796
+ "required": [
797
+ "type"
798
+ ],
799
+ "additionalProperties": false
800
+ },
801
+ {
802
+ "type": "object",
803
+ "properties": {
804
+ "key": {
805
+ "type": "string",
806
+ "maxLength": 1024
807
+ },
808
+ "type": {
809
+ "type": "string",
810
+ "enum": [
811
+ "fileWatch"
812
+ ]
813
+ },
814
+ "config": {
815
+ "type": "object",
816
+ "properties": {
817
+ "path": {
818
+ "type": "string",
819
+ "maxLength": 1024
820
+ },
821
+ "fileAdded": {
822
+ "type": "boolean"
823
+ },
824
+ "fileChanged": {
825
+ "type": "boolean"
826
+ },
827
+ "fileRemoved": {
828
+ "type": "boolean"
829
+ },
830
+ "directoryAdded": {
831
+ "type": "boolean"
832
+ },
833
+ "directoryRemoved": {
834
+ "type": "boolean"
835
+ }
836
+ },
837
+ "additionalProperties": false
838
+ },
839
+ "meta": {
840
+ "type": "object",
841
+ "properties": {
842
+ "category": {
843
+ "type": "string",
844
+ "enum": [
845
+ "trigger"
846
+ ]
847
+ },
848
+ "name": {
849
+ "type": "string",
850
+ "enum": [
851
+ "fileWatch"
852
+ ]
853
+ },
854
+ "label": {
855
+ "type": "string",
856
+ "minLength": 1,
857
+ "maxLength": 255
858
+ },
859
+ "x": {
860
+ "type": "number"
861
+ },
862
+ "y": {
863
+ "type": "number"
864
+ },
865
+ "uiId": {
866
+ "type": "string",
867
+ "maxLength": 48
868
+ },
869
+ "description": {
870
+ "type": "string",
871
+ "maxLength": 32767
872
+ },
873
+ "icon": {
874
+ "type": "string",
875
+ "maxLength": 1024
876
+ },
877
+ "color": {
878
+ "type": "string",
879
+ "maxLength": 1024
880
+ },
881
+ "inputCount": {
882
+ "type": "number"
883
+ },
884
+ "outputCount": {
885
+ "type": "number"
886
+ },
887
+ "id": {
888
+ "type": "string",
889
+ "maxLength": 48
890
+ }
891
+ },
892
+ "additionalProperties": false
893
+ },
894
+ "outputIds": {
895
+ "type": "array",
896
+ "items": {
897
+ "type": "array",
898
+ "items": {
899
+ "type": "string",
900
+ "maxLength": 255
901
+ },
902
+ "maxItems": 100
903
+ },
904
+ "maxItems": 100
905
+ }
906
+ },
907
+ "required": [
908
+ "type"
909
+ ],
910
+ "additionalProperties": false
911
+ },
912
+ {
913
+ "type": "object",
914
+ "properties": {
915
+ "key": {
916
+ "type": "string",
917
+ "maxLength": 1024
918
+ },
919
+ "type": {
920
+ "type": "string",
921
+ "enum": [
922
+ "opcua"
923
+ ]
924
+ },
925
+ "config": {
926
+ "type": "object",
927
+ "properties": {
928
+ "uri": {
929
+ "type": "string",
930
+ "maxLength": 1024
931
+ },
932
+ "securityPolicy": {
933
+ "type": "string",
934
+ "maxLength": 255
935
+ },
936
+ "securityMode": {
937
+ "type": "string",
938
+ "maxLength": 255
939
+ },
940
+ "username": {
941
+ "type": "string",
942
+ "maxLength": 1024
943
+ },
944
+ "password": {
945
+ "type": "string",
946
+ "maxLength": 1024
947
+ },
948
+ "cert": {
949
+ "type": "string",
950
+ "maxLength": 32767
951
+ },
952
+ "privateKey": {
953
+ "type": "string",
954
+ "maxLength": 32767
955
+ },
956
+ "nameSpace": {
957
+ "type": "string",
958
+ "maxLength": 255
959
+ },
960
+ "identifier": {
961
+ "type": "string",
962
+ "maxLength": 255
963
+ },
964
+ "samplingInterval": {
965
+ "type": "string",
966
+ "maxLength": 255
967
+ },
968
+ "eventFilter": {
969
+ "type": "array",
970
+ "maxItems": 100,
971
+ "items": {
972
+ "type": "string",
973
+ "maxLength": 255
974
+ }
975
+ }
976
+ },
977
+ "additionalProperties": false
978
+ },
979
+ "meta": {
980
+ "type": "object",
981
+ "properties": {
982
+ "category": {
983
+ "type": "string",
984
+ "enum": [
985
+ "trigger"
986
+ ]
987
+ },
988
+ "name": {
989
+ "type": "string",
990
+ "enum": [
991
+ "opcua"
992
+ ]
993
+ },
994
+ "label": {
995
+ "type": "string",
996
+ "minLength": 1,
997
+ "maxLength": 255
998
+ },
999
+ "x": {
1000
+ "type": "number"
1001
+ },
1002
+ "y": {
1003
+ "type": "number"
1004
+ },
1005
+ "uiId": {
1006
+ "type": "string",
1007
+ "maxLength": 48
1008
+ },
1009
+ "description": {
1010
+ "type": "string",
1011
+ "maxLength": 32767
1012
+ },
1013
+ "icon": {
1014
+ "type": "string",
1015
+ "maxLength": 1024
1016
+ },
1017
+ "color": {
1018
+ "type": "string",
1019
+ "maxLength": 1024
1020
+ },
1021
+ "inputCount": {
1022
+ "type": "number"
1023
+ },
1024
+ "outputCount": {
1025
+ "type": "number"
1026
+ },
1027
+ "id": {
1028
+ "type": "string",
1029
+ "maxLength": 48
1030
+ }
1031
+ },
1032
+ "additionalProperties": false
1033
+ },
1034
+ "outputIds": {
1035
+ "type": "array",
1036
+ "items": {
1037
+ "type": "array",
1038
+ "items": {
1039
+ "type": "string",
1040
+ "maxLength": 255
1041
+ },
1042
+ "maxItems": 100
1043
+ },
1044
+ "maxItems": 100
1045
+ }
1046
+ },
1047
+ "required": [
1048
+ "type"
1049
+ ],
1050
+ "additionalProperties": false
1051
+ },
1052
+ {
1053
+ "type": "object",
1054
+ "properties": {
1055
+ "key": {
1056
+ "type": "string",
1057
+ "maxLength": 1024
1058
+ },
1059
+ "type": {
1060
+ "type": "string",
1061
+ "enum": [
1062
+ "redis"
1063
+ ]
1064
+ },
1065
+ "config": {
1066
+ "type": "object",
1067
+ "properties": {
1068
+ "host": {
1069
+ "type": "string",
1070
+ "maxLength": 1024
1071
+ },
1072
+ "port": {
1073
+ "type": "string",
1074
+ "maxLength": 16
1075
+ },
1076
+ "password": {
1077
+ "type": "string",
1078
+ "maxLength": 1024
1079
+ },
1080
+ "topic": {
1081
+ "type": "string",
1082
+ "maxLength": 1024
1083
+ },
1084
+ "fileAdded": {
1085
+ "type": "boolean"
1086
+ },
1087
+ "fileChanged": {
1088
+ "type": "boolean"
1089
+ },
1090
+ "fileRemoved": {
1091
+ "type": "boolean"
1092
+ },
1093
+ "directoryAdded": {
1094
+ "type": "boolean"
1095
+ },
1096
+ "directoryRemoved": {
1097
+ "type": "boolean"
1098
+ }
1099
+ },
1100
+ "additionalProperties": false
1101
+ },
1102
+ "meta": {
1103
+ "type": "object",
1104
+ "properties": {
1105
+ "category": {
1106
+ "type": "string",
1107
+ "enum": [
1108
+ "trigger"
1109
+ ]
1110
+ },
1111
+ "name": {
1112
+ "type": "string",
1113
+ "enum": [
1114
+ "redisTrigger"
1115
+ ]
1116
+ },
1117
+ "label": {
1118
+ "type": "string",
1119
+ "minLength": 1,
1120
+ "maxLength": 255
1121
+ },
1122
+ "x": {
1123
+ "type": "number"
1124
+ },
1125
+ "y": {
1126
+ "type": "number"
1127
+ },
1128
+ "uiId": {
1129
+ "type": "string",
1130
+ "maxLength": 48
1131
+ },
1132
+ "description": {
1133
+ "type": "string",
1134
+ "maxLength": 32767
1135
+ },
1136
+ "icon": {
1137
+ "type": "string",
1138
+ "maxLength": 1024
1139
+ },
1140
+ "color": {
1141
+ "type": "string",
1142
+ "maxLength": 1024
1143
+ },
1144
+ "inputCount": {
1145
+ "type": "number"
1146
+ },
1147
+ "outputCount": {
1148
+ "type": "number"
1149
+ },
1150
+ "id": {
1151
+ "type": "string",
1152
+ "maxLength": 48
1153
+ }
1154
+ },
1155
+ "additionalProperties": false
1156
+ },
1157
+ "outputIds": {
1158
+ "type": "array",
1159
+ "items": {
1160
+ "type": "array",
1161
+ "items": {
1162
+ "type": "string",
1163
+ "maxLength": 255
1164
+ },
1165
+ "maxItems": 100
1166
+ },
1167
+ "maxItems": 100
1168
+ }
1169
+ },
1170
+ "required": [
1171
+ "type"
1172
+ ],
1173
+ "additionalProperties": false
1174
+ },
1175
+ {
1176
+ "type": "object",
1177
+ "properties": {
1178
+ "key": {
1179
+ "type": "string",
1180
+ "maxLength": 1024
1181
+ },
1182
+ "type": {
1183
+ "type": "string",
1184
+ "enum": [
1185
+ "serial"
1186
+ ]
1187
+ },
1188
+ "config": {
1189
+ "type": "object",
1190
+ "properties": {
1191
+ "path": {
1192
+ "type": "string",
1193
+ "maxLength": 1024
1194
+ },
1195
+ "baudRate": {
1196
+ "type": "number"
1197
+ },
1198
+ "encoding": {
1199
+ "type": "string",
1200
+ "maxLength": 48
1201
+ },
1202
+ "writeOnOpen": {
1203
+ "type": "string",
1204
+ "maxLength": 1024
1205
+ },
1206
+ "byteLength": {
1207
+ "type": "string",
1208
+ "maxLength": 48
1209
+ },
1210
+ "delimiter": {
1211
+ "type": "string",
1212
+ "maxLength": 48
1213
+ }
1214
+ },
1215
+ "additionalProperties": false
1216
+ },
1217
+ "meta": {
1218
+ "type": "object",
1219
+ "properties": {
1220
+ "category": {
1221
+ "type": "string",
1222
+ "enum": [
1223
+ "trigger"
1224
+ ]
1225
+ },
1226
+ "name": {
1227
+ "type": "string",
1228
+ "enum": [
1229
+ "serial"
1230
+ ]
1231
+ },
1232
+ "label": {
1233
+ "type": "string",
1234
+ "minLength": 1,
1235
+ "maxLength": 255
1236
+ },
1237
+ "x": {
1238
+ "type": "number"
1239
+ },
1240
+ "y": {
1241
+ "type": "number"
1242
+ },
1243
+ "uiId": {
1244
+ "type": "string",
1245
+ "maxLength": 48
1246
+ },
1247
+ "description": {
1248
+ "type": "string",
1249
+ "maxLength": 32767
1250
+ },
1251
+ "icon": {
1252
+ "type": "string",
1253
+ "maxLength": 1024
1254
+ },
1255
+ "color": {
1256
+ "type": "string",
1257
+ "maxLength": 1024
1258
+ },
1259
+ "inputCount": {
1260
+ "type": "number"
1261
+ },
1262
+ "outputCount": {
1263
+ "type": "number"
1264
+ },
1265
+ "id": {
1266
+ "type": "string",
1267
+ "maxLength": 48
1268
+ },
1269
+ "parseBy": {
1270
+ "type": "string",
1271
+ "enum": [
1272
+ "byteLength",
1273
+ "delimiter"
1274
+ ]
1275
+ }
1276
+ },
1277
+ "additionalProperties": false
1278
+ },
1279
+ "outputIds": {
1280
+ "type": "array",
1281
+ "items": {
1282
+ "type": "array",
1283
+ "items": {
1284
+ "type": "string",
1285
+ "maxLength": 255
1286
+ },
1287
+ "maxItems": 100
1288
+ },
1289
+ "maxItems": 100
1290
+ }
1291
+ },
1292
+ "required": [
1293
+ "type"
1294
+ ],
1295
+ "additionalProperties": false
1296
+ },
1297
+ {
1298
+ "type": "object",
1299
+ "properties": {
1300
+ "key": {
1301
+ "type": "string",
1302
+ "maxLength": 1024
1303
+ },
1304
+ "type": {
1305
+ "type": "string",
1306
+ "enum": [
1307
+ "timer"
1308
+ ]
1309
+ },
1310
+ "config": {
1311
+ "type": "object",
1312
+ "properties": {
1313
+ "seconds": {
1314
+ "type": "number"
1315
+ },
1316
+ "cron": {
1317
+ "type": "string",
1318
+ "maxLength": 255
1319
+ },
1320
+ "tz": {
1321
+ "type": "string",
1322
+ "maxLength": 255
1323
+ }
1324
+ },
1325
+ "additionalProperties": false
1326
+ },
1327
+ "meta": {
1328
+ "type": "object",
1329
+ "properties": {
1330
+ "category": {
1331
+ "type": "string",
1332
+ "enum": [
1333
+ "trigger"
1334
+ ]
1335
+ },
1336
+ "name": {
1337
+ "type": "string",
1338
+ "enum": [
1339
+ "timer"
1340
+ ]
1341
+ },
1342
+ "label": {
1343
+ "type": "string",
1344
+ "minLength": 1,
1345
+ "maxLength": 255
1346
+ },
1347
+ "x": {
1348
+ "type": "number"
1349
+ },
1350
+ "y": {
1351
+ "type": "number"
1352
+ },
1353
+ "uiId": {
1354
+ "type": "string",
1355
+ "maxLength": 48
1356
+ },
1357
+ "description": {
1358
+ "type": "string",
1359
+ "maxLength": 32767
1360
+ },
1361
+ "icon": {
1362
+ "type": "string",
1363
+ "maxLength": 1024
1364
+ },
1365
+ "color": {
1366
+ "type": "string",
1367
+ "maxLength": 1024
1368
+ },
1369
+ "inputCount": {
1370
+ "type": "number"
1371
+ },
1372
+ "outputCount": {
1373
+ "type": "number"
1374
+ },
1375
+ "id": {
1376
+ "type": "string",
1377
+ "maxLength": 48
1378
+ },
1379
+ "timerTypeSelect": {
1380
+ "type": "string",
1381
+ "enum": [
1382
+ "cronWeekly",
1383
+ "seconds",
1384
+ "cron"
1385
+ ]
1386
+ },
1387
+ "timeAt": {
1388
+ "type": "string",
1389
+ "maxLength": 255
1390
+ },
1391
+ "timezone": {
1392
+ "type": "string",
1393
+ "maxLength": 255
1394
+ },
1395
+ "weekdays": {
1396
+ "type": "array",
1397
+ "maxItems": 7,
1398
+ "items": {
1399
+ "type": "number"
1400
+ }
1401
+ }
1402
+ },
1403
+ "additionalProperties": false
1404
+ },
1405
+ "outputIds": {
1406
+ "type": "array",
1407
+ "items": {
1408
+ "type": "array",
1409
+ "items": {
1410
+ "type": "string",
1411
+ "maxLength": 255
1412
+ },
1413
+ "maxItems": 100
1414
+ },
1415
+ "maxItems": 100
1416
+ }
1417
+ },
1418
+ "required": [
1419
+ "type"
1420
+ ],
1421
+ "additionalProperties": false
1422
+ },
1423
+ {
1424
+ "type": "object",
1425
+ "properties": {
1426
+ "key": {
1427
+ "type": "string",
1428
+ "maxLength": 1024
1429
+ },
1430
+ "type": {
1431
+ "type": "string",
1432
+ "enum": [
1433
+ "virtualButton"
1434
+ ]
1435
+ },
1436
+ "config": {
1437
+ "type": "object",
1438
+ "additionalProperties": false
1439
+ },
1440
+ "meta": {
1441
+ "type": "object",
1442
+ "properties": {
1443
+ "category": {
1444
+ "type": "string",
1445
+ "enum": [
1446
+ "trigger"
1447
+ ]
1448
+ },
1449
+ "name": {
1450
+ "type": "string",
1451
+ "enum": [
1452
+ "virtualButton"
1453
+ ]
1454
+ },
1455
+ "label": {
1456
+ "type": "string",
1457
+ "minLength": 1,
1458
+ "maxLength": 255
1459
+ },
1460
+ "x": {
1461
+ "type": "number"
1462
+ },
1463
+ "y": {
1464
+ "type": "number"
1465
+ },
1466
+ "uiId": {
1467
+ "type": "string",
1468
+ "maxLength": 48
1469
+ },
1470
+ "groupId": {
1471
+ "type": "string",
1472
+ "maxLength": 48
1473
+ },
1474
+ "description": {
1475
+ "type": "string",
1476
+ "maxLength": 32767
1477
+ },
1478
+ "icon": {
1479
+ "type": "string",
1480
+ "maxLength": 1024
1481
+ },
1482
+ "color": {
1483
+ "type": "string",
1484
+ "maxLength": 1024
1485
+ },
1486
+ "inputCount": {
1487
+ "type": "number"
1488
+ },
1489
+ "outputCount": {
1490
+ "type": "number"
1491
+ },
1492
+ "id": {
1493
+ "type": "string",
1494
+ "maxLength": 48
1495
+ },
1496
+ "payload": {
1497
+ "type": "string",
1498
+ "maxLength": 262144
1499
+ },
1500
+ "deviceId": {
1501
+ "oneOf": [
1502
+ {
1503
+ "type": "string",
1504
+ "pattern": "^[A-Fa-f\\d]{24}$"
1505
+ },
1506
+ {
1507
+ "type": "string",
1508
+ "enum": [
1509
+ ""
1510
+ ]
1511
+ },
1512
+ {
1513
+ "type": "null"
1514
+ }
1515
+ ]
1516
+ }
1517
+ },
1518
+ "additionalProperties": false
1519
+ },
1520
+ "outputIds": {
1521
+ "type": "array",
1522
+ "items": {
1523
+ "type": "array",
1524
+ "items": {
1525
+ "type": "string",
1526
+ "maxLength": 255
1527
+ },
1528
+ "maxItems": 100
1529
+ },
1530
+ "maxItems": 100
1531
+ }
1532
+ },
1533
+ "required": [
1534
+ "type"
1535
+ ],
1536
+ "additionalProperties": false
1537
+ }
1538
+ ]
1539
+ }
1540
+ },
1541
+ "nodes": {
1542
+ "type": "array",
1543
+ "items": {
1544
+ "type": "object",
1545
+ "properties": {
1546
+ "id": {
1547
+ "type": "string",
1548
+ "maxLength": 1024
1549
+ },
1550
+ "type": {
1551
+ "type": "string",
1552
+ "minLength": 1,
1553
+ "maxLength": 1024
1554
+ },
1555
+ "config": {
1556
+ "type": "object"
1557
+ },
1558
+ "meta": {
1559
+ "type": "object"
1560
+ },
1561
+ "outputIds": {
1562
+ "type": "array",
1563
+ "items": {
1564
+ "type": "array",
1565
+ "items": {
1566
+ "type": "string",
1567
+ "maxLength": 255
1568
+ },
1569
+ "maxItems": 100
1570
+ },
1571
+ "maxItems": 100
1572
+ }
1573
+ },
1574
+ "additionalProperties": false,
1575
+ "required": [
1576
+ "type"
1577
+ ]
1578
+ }
1579
+ },
1580
+ "globals": {
1581
+ "type": "array",
1582
+ "maxItems": 100,
1583
+ "items": {
1584
+ "type": "object",
1585
+ "properties": {
1586
+ "key": {
1587
+ "type": "string",
1588
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
1589
+ },
1590
+ "json": {
1591
+ "type": "string",
1592
+ "minLength": 1,
1593
+ "maxLength": 32767
1594
+ }
1595
+ },
1596
+ "additionalProperties": false,
1597
+ "required": [
1598
+ "key",
1599
+ "json"
1600
+ ]
1601
+ }
1602
+ },
1603
+ "flowClass": {
1604
+ "type": "string",
1605
+ "enum": [
1606
+ "cloud",
1607
+ "edge",
1608
+ "experience",
1609
+ "customNode"
1610
+ ]
1611
+ },
1612
+ "defaultVersionId": {
1613
+ "oneOf": [
1614
+ {
1615
+ "type": "string",
1616
+ "pattern": "^[A-Fa-f\\d]{24}$"
1617
+ },
1618
+ {
1619
+ "type": "null"
1620
+ }
1621
+ ]
1622
+ },
1623
+ "minimumAgentVersion": {
1624
+ "type": "string",
1625
+ "pattern": "^(0|([1-9]\\d*))\\.(0|([1-9]\\d*))\\.(0|([1-9]\\d*))$"
1626
+ },
1627
+ "customNodeConfig": {
1628
+ "type": "object",
1629
+ "properties": {
1630
+ "outputCount": {
1631
+ "type": "number",
1632
+ "enum": [
1633
+ 1,
1634
+ 2
1635
+ ]
1636
+ },
1637
+ "resultMode": {
1638
+ "type": "string",
1639
+ "enum": [
1640
+ "optional",
1641
+ "required",
1642
+ "none"
1643
+ ]
1644
+ },
1645
+ "resultDescription": {
1646
+ "type": "string",
1647
+ "maxLength": 32767
1648
+ },
1649
+ "fields": {
1650
+ "type": "array",
1651
+ "maxItems": 100,
1652
+ "items": {
1653
+ "oneOf": [
1654
+ {
1655
+ "type": "object",
1656
+ "properties": {
1657
+ "type": {
1658
+ "type": "string",
1659
+ "enum": [
1660
+ "checkbox"
1661
+ ]
1662
+ },
1663
+ "label": {
1664
+ "type": "string",
1665
+ "minLength": 1,
1666
+ "maxLength": 1024
1667
+ },
1668
+ "id": {
1669
+ "type": "string",
1670
+ "minLength": 1,
1671
+ "maxLength": 1024
1672
+ },
1673
+ "description": {
1674
+ "type": "string",
1675
+ "maxLength": 32767
1676
+ },
1677
+ "defaultValue": {
1678
+ "type": "boolean"
1679
+ }
1680
+ },
1681
+ "additionalProperties": false,
1682
+ "required": [
1683
+ "type",
1684
+ "label"
1685
+ ]
1686
+ },
1687
+ {
1688
+ "type": "object",
1689
+ "properties": {
1690
+ "type": {
1691
+ "type": "string",
1692
+ "enum": [
1693
+ "select"
1694
+ ]
1695
+ },
1696
+ "label": {
1697
+ "type": "string",
1698
+ "minLength": 1,
1699
+ "maxLength": 1024
1700
+ },
1701
+ "id": {
1702
+ "type": "string",
1703
+ "minLength": 1,
1704
+ "maxLength": 1024
1705
+ },
1706
+ "description": {
1707
+ "type": "string",
1708
+ "maxLength": 32767
1709
+ },
1710
+ "defaultValue": {
1711
+ "type": "string",
1712
+ "minLength": 1,
1713
+ "maxLength": 1024
1714
+ },
1715
+ "options": {
1716
+ "type": "array",
1717
+ "minItems": 1,
1718
+ "maxItems": 100,
1719
+ "items": {
1720
+ "type": "object",
1721
+ "properties": {
1722
+ "label": {
1723
+ "type": "string",
1724
+ "maxLength": 1024
1725
+ },
1726
+ "value": {
1727
+ "type": "string",
1728
+ "minLength": 1,
1729
+ "maxLength": 1024
1730
+ }
1731
+ },
1732
+ "additionalProperties": false,
1733
+ "required": [
1734
+ "value"
1735
+ ]
1736
+ }
1737
+ }
1738
+ },
1739
+ "additionalProperties": false,
1740
+ "required": [
1741
+ "type",
1742
+ "label",
1743
+ "defaultValue",
1744
+ "options"
1745
+ ]
1746
+ },
1747
+ {
1748
+ "type": "object",
1749
+ "properties": {
1750
+ "type": {
1751
+ "type": "string",
1752
+ "enum": [
1753
+ "stringTemplate"
1754
+ ]
1755
+ },
1756
+ "label": {
1757
+ "type": "string",
1758
+ "minLength": 1,
1759
+ "maxLength": 1024
1760
+ },
1761
+ "id": {
1762
+ "type": "string",
1763
+ "minLength": 1,
1764
+ "maxLength": 1024
1765
+ },
1766
+ "description": {
1767
+ "type": "string",
1768
+ "maxLength": 32767
1769
+ },
1770
+ "defaultValue": {
1771
+ "type": "string",
1772
+ "maxLength": 1024
1773
+ },
1774
+ "required": {
1775
+ "type": "boolean"
1776
+ },
1777
+ "validRegExp": {
1778
+ "type": "string",
1779
+ "maxLength": 1024
1780
+ }
1781
+ },
1782
+ "additionalProperties": false,
1783
+ "required": [
1784
+ "type",
1785
+ "label"
1786
+ ]
1787
+ },
1788
+ {
1789
+ "type": "object",
1790
+ "properties": {
1791
+ "type": {
1792
+ "type": "string",
1793
+ "enum": [
1794
+ "numberTemplate"
1795
+ ]
1796
+ },
1797
+ "label": {
1798
+ "type": "string",
1799
+ "minLength": 1,
1800
+ "maxLength": 1024
1801
+ },
1802
+ "id": {
1803
+ "type": "string",
1804
+ "minLength": 1,
1805
+ "maxLength": 1024
1806
+ },
1807
+ "description": {
1808
+ "type": "string",
1809
+ "maxLength": 32767
1810
+ },
1811
+ "defaultValue": {
1812
+ "type": "number"
1813
+ },
1814
+ "required": {
1815
+ "type": "boolean"
1816
+ },
1817
+ "validMin": {
1818
+ "type": "number"
1819
+ },
1820
+ "validMax": {
1821
+ "type": "number"
1822
+ }
1823
+ },
1824
+ "additionalProperties": false,
1825
+ "required": [
1826
+ "type",
1827
+ "label"
1828
+ ]
1829
+ },
1830
+ {
1831
+ "type": "object",
1832
+ "properties": {
1833
+ "type": {
1834
+ "type": "string",
1835
+ "enum": [
1836
+ "jsonTemplate"
1837
+ ]
1838
+ },
1839
+ "label": {
1840
+ "type": "string",
1841
+ "minLength": 1,
1842
+ "maxLength": 1024
1843
+ },
1844
+ "id": {
1845
+ "type": "string",
1846
+ "minLength": 1,
1847
+ "maxLength": 1024
1848
+ },
1849
+ "description": {
1850
+ "type": "string",
1851
+ "maxLength": 32767
1852
+ },
1853
+ "defaultValue": {
1854
+ "type": "string",
1855
+ "maxLength": 32767
1856
+ },
1857
+ "required": {
1858
+ "type": "boolean"
1859
+ }
1860
+ },
1861
+ "additionalProperties": false,
1862
+ "required": [
1863
+ "type",
1864
+ "label"
1865
+ ]
1866
+ },
1867
+ {
1868
+ "type": "object",
1869
+ "properties": {
1870
+ "type": {
1871
+ "type": "string",
1872
+ "enum": [
1873
+ "payloadPath"
1874
+ ]
1875
+ },
1876
+ "label": {
1877
+ "type": "string",
1878
+ "minLength": 1,
1879
+ "maxLength": 1024
1880
+ },
1881
+ "id": {
1882
+ "type": "string",
1883
+ "minLength": 1,
1884
+ "maxLength": 1024
1885
+ },
1886
+ "description": {
1887
+ "type": "string",
1888
+ "maxLength": 32767
1889
+ },
1890
+ "required": {
1891
+ "type": "boolean"
1892
+ }
1893
+ },
1894
+ "additionalProperties": false,
1895
+ "required": [
1896
+ "type",
1897
+ "label"
1898
+ ]
1899
+ },
1900
+ {
1901
+ "type": "object",
1902
+ "properties": {
1903
+ "type": {
1904
+ "type": "string",
1905
+ "enum": [
1906
+ "section"
1907
+ ]
1908
+ },
1909
+ "label": {
1910
+ "type": "string",
1911
+ "minLength": 1,
1912
+ "maxLength": 1024
1913
+ },
1914
+ "id": {
1915
+ "type": "string",
1916
+ "minLength": 1,
1917
+ "maxLength": 1024
1918
+ },
1919
+ "description": {
1920
+ "type": "string",
1921
+ "maxLength": 32767
1922
+ }
1923
+ },
1924
+ "additionalProperties": false,
1925
+ "required": [
1926
+ "type",
1927
+ "label"
1928
+ ]
1929
+ }
1930
+ ]
1931
+ }
1932
+ }
1933
+ },
1934
+ "additionalProperties": false,
1935
+ "required": [
1936
+ "outputCount",
1937
+ "resultMode",
1938
+ "fields"
1939
+ ]
1940
+ },
1941
+ "customNodeSupports": {
1942
+ "type": "array",
1943
+ "items": {
1944
+ "type": "string",
1945
+ "enum": [
1946
+ "cloud"
1947
+ ]
1948
+ }
1949
+ }
1950
+ },
1951
+ "additionalProperties": {
1952
+ "type": "string",
1953
+ "maxLength": 1024
1954
+ },
1955
+ "required": [
1956
+ "name"
1957
+ ]
1958
+ }
1959
+ },
1960
+ "flowVersions": {
1961
+ "maxItems": 1000,
1962
+ "type": "array",
1963
+ "items": {
1964
+ "type": "object",
1965
+ "properties": {
1966
+ "id": {
1967
+ "type": "string",
1968
+ "pattern": "^[A-Fa-f\\d]{24}$"
1969
+ },
1970
+ "flowId": {
1971
+ "type": "string",
1972
+ "pattern": "^[A-Fa-f\\d]{24}$"
1973
+ },
1974
+ "applicationId": {
1975
+ "type": "string",
1976
+ "pattern": "^[A-Fa-f\\d]{24}$"
1977
+ },
1978
+ "version": {
1979
+ "type": "string",
1980
+ "minLength": 1,
1981
+ "maxLength": 255
1982
+ },
1983
+ "notes": {
1984
+ "type": "string",
1985
+ "maxLength": 32767
1986
+ },
1987
+ "enabled": {
1988
+ "type": "boolean"
1989
+ },
1990
+ "triggers": {
1991
+ "type": "array",
1992
+ "items": {
1993
+ "oneOf": [
1994
+ {
1995
+ "type": "object",
1996
+ "properties": {
1997
+ "key": {
1998
+ "type": "string",
1999
+ "maxLength": 1024
2000
+ },
2001
+ "type": {
2002
+ "type": "string",
2003
+ "enum": [
2004
+ "customNodeStart",
2005
+ "deviceCommand",
2006
+ "deviceIdConnect",
2007
+ "deviceTagConnect",
2008
+ "deviceIdDisconnect",
2009
+ "deviceTagDisconnect",
2010
+ "integration",
2011
+ "mqttTopic",
2012
+ "notebook",
2013
+ "onBoot",
2014
+ "onConnect",
2015
+ "onDisconnect",
2016
+ "request",
2017
+ "udp",
2018
+ "webhook"
2019
+ ]
2020
+ },
2021
+ "config": {
2022
+ "type": "object",
2023
+ "additionalProperties": false
2024
+ },
2025
+ "meta": {
2026
+ "type": "object",
2027
+ "properties": {
2028
+ "category": {
2029
+ "type": "string",
2030
+ "enum": [
2031
+ "trigger"
2032
+ ]
2033
+ },
2034
+ "name": {
2035
+ "type": "string",
2036
+ "enum": [
2037
+ "customNodeStart",
2038
+ "deviceCommand",
2039
+ "deviceIdsTagsConnect",
2040
+ "deviceIdsTagsDisconnect",
2041
+ "googlePubSub",
2042
+ "meridian",
2043
+ "mqtt",
2044
+ "notebook",
2045
+ "onBoot",
2046
+ "onConnect",
2047
+ "onDisconnect",
2048
+ "particle",
2049
+ "request",
2050
+ "udp",
2051
+ "webhook"
2052
+ ]
2053
+ },
2054
+ "label": {
2055
+ "type": "string",
2056
+ "minLength": 1,
2057
+ "maxLength": 255
2058
+ },
2059
+ "x": {
2060
+ "type": "number"
2061
+ },
2062
+ "y": {
2063
+ "type": "number"
2064
+ },
2065
+ "uiId": {
2066
+ "type": "string",
2067
+ "maxLength": 48
2068
+ },
2069
+ "description": {
2070
+ "type": "string",
2071
+ "maxLength": 32767
2072
+ },
2073
+ "icon": {
2074
+ "type": "string",
2075
+ "maxLength": 1024
2076
+ },
2077
+ "color": {
2078
+ "type": "string",
2079
+ "maxLength": 1024
2080
+ },
2081
+ "inputCount": {
2082
+ "type": "number"
2083
+ },
2084
+ "outputCount": {
2085
+ "type": "number"
2086
+ },
2087
+ "triggerId": {
2088
+ "type": "string",
2089
+ "maxLength": 48
2090
+ },
2091
+ "id": {
2092
+ "type": "string",
2093
+ "maxLength": 48
2094
+ }
2095
+ },
2096
+ "additionalProperties": false
2097
+ },
2098
+ "outputIds": {
2099
+ "type": "array",
2100
+ "items": {
2101
+ "type": "array",
2102
+ "items": {
2103
+ "type": "string",
2104
+ "maxLength": 255
2105
+ },
2106
+ "maxItems": 100
2107
+ },
2108
+ "maxItems": 100
2109
+ }
2110
+ },
2111
+ "required": [
2112
+ "type"
2113
+ ],
2114
+ "additionalProperties": false
2115
+ },
2116
+ {
2117
+ "type": "object",
2118
+ "properties": {
2119
+ "key": {
2120
+ "type": "string",
2121
+ "maxLength": 1024
2122
+ },
2123
+ "type": {
2124
+ "type": "string",
2125
+ "enum": [
2126
+ "dataTable"
2127
+ ]
2128
+ },
2129
+ "config": {
2130
+ "type": "object",
2131
+ "properties": {
2132
+ "bulkInsert": {
2133
+ "type": "boolean"
2134
+ },
2135
+ "delete": {
2136
+ "type": "boolean"
2137
+ },
2138
+ "insert": {
2139
+ "type": "boolean"
2140
+ },
2141
+ "update": {
2142
+ "type": "boolean"
2143
+ }
2144
+ },
2145
+ "additionalProperties": false
2146
+ },
2147
+ "meta": {
2148
+ "type": "object",
2149
+ "properties": {
2150
+ "category": {
2151
+ "type": "string",
2152
+ "enum": [
2153
+ "trigger"
2154
+ ]
2155
+ },
2156
+ "name": {
2157
+ "type": "string",
2158
+ "enum": [
2159
+ "dataTable"
2160
+ ]
2161
+ },
2162
+ "label": {
2163
+ "type": "string",
2164
+ "minLength": 1,
2165
+ "maxLength": 255
2166
+ },
2167
+ "x": {
2168
+ "type": "number"
2169
+ },
2170
+ "y": {
2171
+ "type": "number"
2172
+ },
2173
+ "uiId": {
2174
+ "type": "string",
2175
+ "maxLength": 48
2176
+ },
2177
+ "description": {
2178
+ "type": "string",
2179
+ "maxLength": 32767
2180
+ },
2181
+ "icon": {
2182
+ "type": "string",
2183
+ "maxLength": 1024
2184
+ },
2185
+ "color": {
2186
+ "type": "string",
2187
+ "maxLength": 1024
2188
+ },
2189
+ "inputCount": {
2190
+ "type": "number"
2191
+ },
2192
+ "outputCount": {
2193
+ "type": "number"
2194
+ },
2195
+ "id": {
2196
+ "type": "string",
2197
+ "maxLength": 48
2198
+ }
2199
+ },
2200
+ "additionalProperties": false
2201
+ },
2202
+ "outputIds": {
2203
+ "type": "array",
2204
+ "items": {
2205
+ "type": "array",
2206
+ "items": {
2207
+ "type": "string",
2208
+ "maxLength": 255
2209
+ },
2210
+ "maxItems": 100
2211
+ },
2212
+ "maxItems": 100
2213
+ }
2214
+ },
2215
+ "required": [
2216
+ "type"
2217
+ ],
2218
+ "additionalProperties": false
2219
+ },
2220
+ {
2221
+ "type": "object",
2222
+ "properties": {
2223
+ "key": {
2224
+ "type": "string",
2225
+ "maxLength": 1024
2226
+ },
2227
+ "type": {
2228
+ "type": "string",
2229
+ "enum": [
2230
+ "deviceId",
2231
+ "deviceTag"
2232
+ ]
2233
+ },
2234
+ "config": {
2235
+ "type": "object",
2236
+ "properties": {
2237
+ "attributeBlacklist": {
2238
+ "type": "array",
2239
+ "maxItems": 100,
2240
+ "items": {
2241
+ "type": "string",
2242
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
2243
+ }
2244
+ },
2245
+ "attributeWhitelist": {
2246
+ "type": "array",
2247
+ "maxItems": 100,
2248
+ "items": {
2249
+ "type": "string",
2250
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
2251
+ }
2252
+ },
2253
+ "maxAge": {
2254
+ "type": "number"
2255
+ }
2256
+ },
2257
+ "additionalProperties": false
2258
+ },
2259
+ "meta": {
2260
+ "type": "object",
2261
+ "properties": {
2262
+ "category": {
2263
+ "type": "string",
2264
+ "enum": [
2265
+ "trigger"
2266
+ ]
2267
+ },
2268
+ "name": {
2269
+ "type": "string",
2270
+ "enum": [
2271
+ "deviceIdsTags",
2272
+ "device",
2273
+ "deviceTag"
2274
+ ]
2275
+ },
2276
+ "label": {
2277
+ "type": "string",
2278
+ "minLength": 1,
2279
+ "maxLength": 255
2280
+ },
2281
+ "x": {
2282
+ "type": "number"
2283
+ },
2284
+ "y": {
2285
+ "type": "number"
2286
+ },
2287
+ "uiId": {
2288
+ "type": "string",
2289
+ "maxLength": 48
2290
+ },
2291
+ "description": {
2292
+ "type": "string",
2293
+ "maxLength": 32767
2294
+ },
2295
+ "icon": {
2296
+ "type": "string",
2297
+ "maxLength": 1024
2298
+ },
2299
+ "color": {
2300
+ "type": "string",
2301
+ "maxLength": 1024
2302
+ },
2303
+ "inputCount": {
2304
+ "type": "number"
2305
+ },
2306
+ "outputCount": {
2307
+ "type": "number"
2308
+ },
2309
+ "id": {
2310
+ "type": "string",
2311
+ "maxLength": 48
2312
+ },
2313
+ "timeUnit": {
2314
+ "type": "string",
2315
+ "maxLength": 48
2316
+ },
2317
+ "maxAgeToggle": {
2318
+ "type": "boolean"
2319
+ },
2320
+ "allowedAttributeType": {
2321
+ "type": "string",
2322
+ "enum": [
2323
+ "attributeWhitelist",
2324
+ "any",
2325
+ "attributeBlacklist"
2326
+ ]
2327
+ }
2328
+ },
2329
+ "additionalProperties": false
2330
+ },
2331
+ "outputIds": {
2332
+ "type": "array",
2333
+ "items": {
2334
+ "type": "array",
2335
+ "items": {
2336
+ "type": "string",
2337
+ "maxLength": 255
2338
+ },
2339
+ "maxItems": 100
2340
+ },
2341
+ "maxItems": 100
2342
+ }
2343
+ },
2344
+ "required": [
2345
+ "type"
2346
+ ],
2347
+ "additionalProperties": false
2348
+ },
2349
+ {
2350
+ "type": "object",
2351
+ "properties": {
2352
+ "key": {
2353
+ "type": "string",
2354
+ "maxLength": 1024
2355
+ },
2356
+ "type": {
2357
+ "type": "string",
2358
+ "enum": [
2359
+ "deviceIdInactivity",
2360
+ "deviceTagInactivity"
2361
+ ]
2362
+ },
2363
+ "config": {
2364
+ "type": "object",
2365
+ "properties": {
2366
+ "seconds": {
2367
+ "type": "number"
2368
+ }
2369
+ },
2370
+ "additionalProperties": false
2371
+ },
2372
+ "meta": {
2373
+ "type": "object",
2374
+ "properties": {
2375
+ "category": {
2376
+ "type": "string",
2377
+ "enum": [
2378
+ "trigger"
2379
+ ]
2380
+ },
2381
+ "name": {
2382
+ "type": "string",
2383
+ "enum": [
2384
+ "deviceIdsTagsInactivity"
2385
+ ]
2386
+ },
2387
+ "label": {
2388
+ "type": "string",
2389
+ "minLength": 1,
2390
+ "maxLength": 255
2391
+ },
2392
+ "x": {
2393
+ "type": "number"
2394
+ },
2395
+ "y": {
2396
+ "type": "number"
2397
+ },
2398
+ "uiId": {
2399
+ "type": "string",
2400
+ "maxLength": 48
2401
+ },
2402
+ "description": {
2403
+ "type": "string",
2404
+ "maxLength": 32767
2405
+ },
2406
+ "icon": {
2407
+ "type": "string",
2408
+ "maxLength": 1024
2409
+ },
2410
+ "color": {
2411
+ "type": "string",
2412
+ "maxLength": 1024
2413
+ },
2414
+ "inputCount": {
2415
+ "type": "number"
2416
+ },
2417
+ "outputCount": {
2418
+ "type": "number"
2419
+ },
2420
+ "id": {
2421
+ "type": "string",
2422
+ "maxLength": 48
2423
+ }
2424
+ },
2425
+ "additionalProperties": false
2426
+ },
2427
+ "outputIds": {
2428
+ "type": "array",
2429
+ "items": {
2430
+ "type": "array",
2431
+ "items": {
2432
+ "type": "string",
2433
+ "maxLength": 255
2434
+ },
2435
+ "maxItems": 100
2436
+ },
2437
+ "maxItems": 100
2438
+ }
2439
+ },
2440
+ "required": [
2441
+ "type"
2442
+ ],
2443
+ "additionalProperties": false
2444
+ },
2445
+ {
2446
+ "type": "object",
2447
+ "properties": {
2448
+ "key": {
2449
+ "type": "string",
2450
+ "maxLength": 1024
2451
+ },
2452
+ "type": {
2453
+ "type": "string",
2454
+ "enum": [
2455
+ "endpoint"
2456
+ ]
2457
+ },
2458
+ "config": {
2459
+ "type": "object",
2460
+ "properties": {
2461
+ "experienceVersion": {
2462
+ "type": "string",
2463
+ "minLength": 1,
2464
+ "maxLength": 255
2465
+ }
2466
+ },
2467
+ "additionalProperties": false
2468
+ },
2469
+ "meta": {
2470
+ "type": "object",
2471
+ "properties": {
2472
+ "category": {
2473
+ "type": "string",
2474
+ "enum": [
2475
+ "trigger"
2476
+ ]
2477
+ },
2478
+ "name": {
2479
+ "type": "string",
2480
+ "enum": [
2481
+ "endpoint"
2482
+ ]
2483
+ },
2484
+ "label": {
2485
+ "type": "string",
2486
+ "minLength": 1,
2487
+ "maxLength": 255
2488
+ },
2489
+ "x": {
2490
+ "type": "number"
2491
+ },
2492
+ "y": {
2493
+ "type": "number"
2494
+ },
2495
+ "uiId": {
2496
+ "type": "string",
2497
+ "maxLength": 48
2498
+ },
2499
+ "description": {
2500
+ "type": "string",
2501
+ "maxLength": 32767
2502
+ },
2503
+ "icon": {
2504
+ "type": "string",
2505
+ "maxLength": 1024
2506
+ },
2507
+ "color": {
2508
+ "type": "string",
2509
+ "maxLength": 1024
2510
+ },
2511
+ "inputCount": {
2512
+ "type": "number"
2513
+ },
2514
+ "outputCount": {
2515
+ "type": "number"
2516
+ },
2517
+ "id": {
2518
+ "type": "string",
2519
+ "maxLength": 48
2520
+ }
2521
+ },
2522
+ "additionalProperties": false
2523
+ },
2524
+ "outputIds": {
2525
+ "type": "array",
2526
+ "items": {
2527
+ "type": "array",
2528
+ "items": {
2529
+ "type": "string",
2530
+ "maxLength": 255
2531
+ },
2532
+ "maxItems": 100
2533
+ },
2534
+ "maxItems": 100
2535
+ }
2536
+ },
2537
+ "required": [
2538
+ "type"
2539
+ ],
2540
+ "additionalProperties": false
2541
+ },
2542
+ {
2543
+ "type": "object",
2544
+ "properties": {
2545
+ "key": {
2546
+ "type": "string",
2547
+ "maxLength": 1024
2548
+ },
2549
+ "type": {
2550
+ "type": "string",
2551
+ "enum": [
2552
+ "event"
2553
+ ]
2554
+ },
2555
+ "config": {
2556
+ "type": "object",
2557
+ "properties": {
2558
+ "subject": {
2559
+ "type": "string",
2560
+ "maxLength": 255
2561
+ },
2562
+ "new": {
2563
+ "type": "boolean"
2564
+ },
2565
+ "acknowledged": {
2566
+ "type": "boolean"
2567
+ },
2568
+ "resolved": {
2569
+ "type": "boolean"
2570
+ }
2571
+ },
2572
+ "additionalProperties": false
2573
+ },
2574
+ "meta": {
2575
+ "type": "object",
2576
+ "properties": {
2577
+ "category": {
2578
+ "type": "string",
2579
+ "enum": [
2580
+ "trigger"
2581
+ ]
2582
+ },
2583
+ "name": {
2584
+ "type": "string",
2585
+ "enum": [
2586
+ "event"
2587
+ ]
2588
+ },
2589
+ "label": {
2590
+ "type": "string",
2591
+ "minLength": 1,
2592
+ "maxLength": 255
2593
+ },
2594
+ "x": {
2595
+ "type": "number"
2596
+ },
2597
+ "y": {
2598
+ "type": "number"
2599
+ },
2600
+ "uiId": {
2601
+ "type": "string",
2602
+ "maxLength": 48
2603
+ },
2604
+ "description": {
2605
+ "type": "string",
2606
+ "maxLength": 32767
2607
+ },
2608
+ "icon": {
2609
+ "type": "string",
2610
+ "maxLength": 1024
2611
+ },
2612
+ "color": {
2613
+ "type": "string",
2614
+ "maxLength": 1024
2615
+ },
2616
+ "inputCount": {
2617
+ "type": "number"
2618
+ },
2619
+ "outputCount": {
2620
+ "type": "number"
2621
+ },
2622
+ "id": {
2623
+ "type": "string",
2624
+ "maxLength": 48
2625
+ }
2626
+ },
2627
+ "additionalProperties": false
2628
+ },
2629
+ "outputIds": {
2630
+ "type": "array",
2631
+ "items": {
2632
+ "type": "array",
2633
+ "items": {
2634
+ "type": "string",
2635
+ "maxLength": 255
2636
+ },
2637
+ "maxItems": 100
2638
+ },
2639
+ "maxItems": 100
2640
+ }
2641
+ },
2642
+ "required": [
2643
+ "type"
2644
+ ],
2645
+ "additionalProperties": false
2646
+ },
2647
+ {
2648
+ "type": "object",
2649
+ "properties": {
2650
+ "key": {
2651
+ "type": "string",
2652
+ "maxLength": 1024
2653
+ },
2654
+ "type": {
2655
+ "type": "string",
2656
+ "enum": [
2657
+ "fileTail"
2658
+ ]
2659
+ },
2660
+ "config": {
2661
+ "type": "object",
2662
+ "properties": {
2663
+ "path": {
2664
+ "type": "string",
2665
+ "maxLength": 1024
2666
+ },
2667
+ "encoding": {
2668
+ "type": "string",
2669
+ "maxLength": 48
2670
+ },
2671
+ "byteLength": {
2672
+ "type": "string",
2673
+ "maxLength": 48
2674
+ },
2675
+ "delimiter": {
2676
+ "type": "string",
2677
+ "maxLength": 48
2678
+ }
2679
+ },
2680
+ "additionalProperties": false
2681
+ },
2682
+ "meta": {
2683
+ "type": "object",
2684
+ "properties": {
2685
+ "category": {
2686
+ "type": "string",
2687
+ "enum": [
2688
+ "trigger"
2689
+ ]
2690
+ },
2691
+ "name": {
2692
+ "type": "string",
2693
+ "enum": [
2694
+ "fileTail"
2695
+ ]
2696
+ },
2697
+ "label": {
2698
+ "type": "string",
2699
+ "minLength": 1,
2700
+ "maxLength": 255
2701
+ },
2702
+ "x": {
2703
+ "type": "number"
2704
+ },
2705
+ "y": {
2706
+ "type": "number"
2707
+ },
2708
+ "uiId": {
2709
+ "type": "string",
2710
+ "maxLength": 48
2711
+ },
2712
+ "description": {
2713
+ "type": "string",
2714
+ "maxLength": 32767
2715
+ },
2716
+ "icon": {
2717
+ "type": "string",
2718
+ "maxLength": 1024
2719
+ },
2720
+ "color": {
2721
+ "type": "string",
2722
+ "maxLength": 1024
2723
+ },
2724
+ "inputCount": {
2725
+ "type": "number"
2726
+ },
2727
+ "outputCount": {
2728
+ "type": "number"
2729
+ },
2730
+ "id": {
2731
+ "type": "string",
2732
+ "maxLength": 48
2733
+ }
2734
+ },
2735
+ "additionalProperties": false
2736
+ },
2737
+ "outputIds": {
2738
+ "type": "array",
2739
+ "items": {
2740
+ "type": "array",
2741
+ "items": {
2742
+ "type": "string",
2743
+ "maxLength": 255
2744
+ },
2745
+ "maxItems": 100
2746
+ },
2747
+ "maxItems": 100
2748
+ }
2749
+ },
2750
+ "required": [
2751
+ "type"
2752
+ ],
2753
+ "additionalProperties": false
2754
+ },
2755
+ {
2756
+ "type": "object",
2757
+ "properties": {
2758
+ "key": {
2759
+ "type": "string",
2760
+ "maxLength": 1024
2761
+ },
2762
+ "type": {
2763
+ "type": "string",
2764
+ "enum": [
2765
+ "fileWatch"
2766
+ ]
2767
+ },
2768
+ "config": {
2769
+ "type": "object",
2770
+ "properties": {
2771
+ "path": {
2772
+ "type": "string",
2773
+ "maxLength": 1024
2774
+ },
2775
+ "fileAdded": {
2776
+ "type": "boolean"
2777
+ },
2778
+ "fileChanged": {
2779
+ "type": "boolean"
2780
+ },
2781
+ "fileRemoved": {
2782
+ "type": "boolean"
2783
+ },
2784
+ "directoryAdded": {
2785
+ "type": "boolean"
2786
+ },
2787
+ "directoryRemoved": {
2788
+ "type": "boolean"
2789
+ }
2790
+ },
2791
+ "additionalProperties": false
2792
+ },
2793
+ "meta": {
2794
+ "type": "object",
2795
+ "properties": {
2796
+ "category": {
2797
+ "type": "string",
2798
+ "enum": [
2799
+ "trigger"
2800
+ ]
2801
+ },
2802
+ "name": {
221
2803
  "type": "string",
222
2804
  "enum": [
223
- "checkbox"
2805
+ "fileWatch"
224
2806
  ]
225
2807
  },
226
2808
  "label": {
227
2809
  "type": "string",
228
2810
  "minLength": 1,
2811
+ "maxLength": 255
2812
+ },
2813
+ "x": {
2814
+ "type": "number"
2815
+ },
2816
+ "y": {
2817
+ "type": "number"
2818
+ },
2819
+ "uiId": {
2820
+ "type": "string",
2821
+ "maxLength": 48
2822
+ },
2823
+ "description": {
2824
+ "type": "string",
2825
+ "maxLength": 32767
2826
+ },
2827
+ "icon": {
2828
+ "type": "string",
229
2829
  "maxLength": 1024
230
2830
  },
2831
+ "color": {
2832
+ "type": "string",
2833
+ "maxLength": 1024
2834
+ },
2835
+ "inputCount": {
2836
+ "type": "number"
2837
+ },
2838
+ "outputCount": {
2839
+ "type": "number"
2840
+ },
231
2841
  "id": {
232
2842
  "type": "string",
233
- "minLength": 1,
2843
+ "maxLength": 48
2844
+ }
2845
+ },
2846
+ "additionalProperties": false
2847
+ },
2848
+ "outputIds": {
2849
+ "type": "array",
2850
+ "items": {
2851
+ "type": "array",
2852
+ "items": {
2853
+ "type": "string",
2854
+ "maxLength": 255
2855
+ },
2856
+ "maxItems": 100
2857
+ },
2858
+ "maxItems": 100
2859
+ }
2860
+ },
2861
+ "required": [
2862
+ "type"
2863
+ ],
2864
+ "additionalProperties": false
2865
+ },
2866
+ {
2867
+ "type": "object",
2868
+ "properties": {
2869
+ "key": {
2870
+ "type": "string",
2871
+ "maxLength": 1024
2872
+ },
2873
+ "type": {
2874
+ "type": "string",
2875
+ "enum": [
2876
+ "opcua"
2877
+ ]
2878
+ },
2879
+ "config": {
2880
+ "type": "object",
2881
+ "properties": {
2882
+ "uri": {
2883
+ "type": "string",
234
2884
  "maxLength": 1024
235
2885
  },
236
- "description": {
2886
+ "securityPolicy": {
2887
+ "type": "string",
2888
+ "maxLength": 255
2889
+ },
2890
+ "securityMode": {
2891
+ "type": "string",
2892
+ "maxLength": 255
2893
+ },
2894
+ "username": {
2895
+ "type": "string",
2896
+ "maxLength": 1024
2897
+ },
2898
+ "password": {
2899
+ "type": "string",
2900
+ "maxLength": 1024
2901
+ },
2902
+ "cert": {
237
2903
  "type": "string",
238
2904
  "maxLength": 32767
239
2905
  },
240
- "defaultValue": {
241
- "type": "boolean"
2906
+ "privateKey": {
2907
+ "type": "string",
2908
+ "maxLength": 32767
2909
+ },
2910
+ "nameSpace": {
2911
+ "type": "string",
2912
+ "maxLength": 255
2913
+ },
2914
+ "identifier": {
2915
+ "type": "string",
2916
+ "maxLength": 255
2917
+ },
2918
+ "samplingInterval": {
2919
+ "type": "string",
2920
+ "maxLength": 255
2921
+ },
2922
+ "eventFilter": {
2923
+ "type": "array",
2924
+ "maxItems": 100,
2925
+ "items": {
2926
+ "type": "string",
2927
+ "maxLength": 255
2928
+ }
242
2929
  }
243
2930
  },
244
- "additionalProperties": false,
245
- "required": [
246
- "type",
247
- "label"
248
- ]
2931
+ "additionalProperties": false
249
2932
  },
250
- {
2933
+ "meta": {
251
2934
  "type": "object",
252
2935
  "properties": {
253
- "type": {
2936
+ "category": {
254
2937
  "type": "string",
255
2938
  "enum": [
256
- "select"
2939
+ "trigger"
2940
+ ]
2941
+ },
2942
+ "name": {
2943
+ "type": "string",
2944
+ "enum": [
2945
+ "opcua"
257
2946
  ]
258
2947
  },
259
2948
  "label": {
260
2949
  "type": "string",
261
2950
  "minLength": 1,
2951
+ "maxLength": 255
2952
+ },
2953
+ "x": {
2954
+ "type": "number"
2955
+ },
2956
+ "y": {
2957
+ "type": "number"
2958
+ },
2959
+ "uiId": {
2960
+ "type": "string",
2961
+ "maxLength": 48
2962
+ },
2963
+ "description": {
2964
+ "type": "string",
2965
+ "maxLength": 32767
2966
+ },
2967
+ "icon": {
2968
+ "type": "string",
2969
+ "maxLength": 1024
2970
+ },
2971
+ "color": {
2972
+ "type": "string",
262
2973
  "maxLength": 1024
263
2974
  },
2975
+ "inputCount": {
2976
+ "type": "number"
2977
+ },
2978
+ "outputCount": {
2979
+ "type": "number"
2980
+ },
264
2981
  "id": {
265
2982
  "type": "string",
266
- "minLength": 1,
2983
+ "maxLength": 48
2984
+ }
2985
+ },
2986
+ "additionalProperties": false
2987
+ },
2988
+ "outputIds": {
2989
+ "type": "array",
2990
+ "items": {
2991
+ "type": "array",
2992
+ "items": {
2993
+ "type": "string",
2994
+ "maxLength": 255
2995
+ },
2996
+ "maxItems": 100
2997
+ },
2998
+ "maxItems": 100
2999
+ }
3000
+ },
3001
+ "required": [
3002
+ "type"
3003
+ ],
3004
+ "additionalProperties": false
3005
+ },
3006
+ {
3007
+ "type": "object",
3008
+ "properties": {
3009
+ "key": {
3010
+ "type": "string",
3011
+ "maxLength": 1024
3012
+ },
3013
+ "type": {
3014
+ "type": "string",
3015
+ "enum": [
3016
+ "redis"
3017
+ ]
3018
+ },
3019
+ "config": {
3020
+ "type": "object",
3021
+ "properties": {
3022
+ "host": {
3023
+ "type": "string",
3024
+ "maxLength": 1024
3025
+ },
3026
+ "port": {
3027
+ "type": "string",
3028
+ "maxLength": 16
3029
+ },
3030
+ "password": {
3031
+ "type": "string",
3032
+ "maxLength": 1024
3033
+ },
3034
+ "topic": {
3035
+ "type": "string",
267
3036
  "maxLength": 1024
268
3037
  },
3038
+ "fileAdded": {
3039
+ "type": "boolean"
3040
+ },
3041
+ "fileChanged": {
3042
+ "type": "boolean"
3043
+ },
3044
+ "fileRemoved": {
3045
+ "type": "boolean"
3046
+ },
3047
+ "directoryAdded": {
3048
+ "type": "boolean"
3049
+ },
3050
+ "directoryRemoved": {
3051
+ "type": "boolean"
3052
+ }
3053
+ },
3054
+ "additionalProperties": false
3055
+ },
3056
+ "meta": {
3057
+ "type": "object",
3058
+ "properties": {
3059
+ "category": {
3060
+ "type": "string",
3061
+ "enum": [
3062
+ "trigger"
3063
+ ]
3064
+ },
3065
+ "name": {
3066
+ "type": "string",
3067
+ "enum": [
3068
+ "redisTrigger"
3069
+ ]
3070
+ },
3071
+ "label": {
3072
+ "type": "string",
3073
+ "minLength": 1,
3074
+ "maxLength": 255
3075
+ },
3076
+ "x": {
3077
+ "type": "number"
3078
+ },
3079
+ "y": {
3080
+ "type": "number"
3081
+ },
3082
+ "uiId": {
3083
+ "type": "string",
3084
+ "maxLength": 48
3085
+ },
269
3086
  "description": {
270
3087
  "type": "string",
271
3088
  "maxLength": 32767
272
3089
  },
273
- "defaultValue": {
3090
+ "icon": {
274
3091
  "type": "string",
275
- "minLength": 1,
276
3092
  "maxLength": 1024
277
3093
  },
278
- "options": {
279
- "type": "array",
280
- "minItems": 1,
281
- "maxItems": 100,
282
- "items": {
283
- "type": "object",
284
- "properties": {
285
- "label": {
286
- "type": "string",
287
- "maxLength": 1024
288
- },
289
- "value": {
290
- "type": "string",
291
- "minLength": 1,
292
- "maxLength": 1024
293
- }
294
- },
295
- "additionalProperties": false,
296
- "required": [
297
- "value"
298
- ]
299
- }
3094
+ "color": {
3095
+ "type": "string",
3096
+ "maxLength": 1024
3097
+ },
3098
+ "inputCount": {
3099
+ "type": "number"
3100
+ },
3101
+ "outputCount": {
3102
+ "type": "number"
3103
+ },
3104
+ "id": {
3105
+ "type": "string",
3106
+ "maxLength": 48
300
3107
  }
301
3108
  },
302
- "additionalProperties": false,
303
- "required": [
304
- "type",
305
- "label",
306
- "defaultValue",
307
- "options"
3109
+ "additionalProperties": false
3110
+ },
3111
+ "outputIds": {
3112
+ "type": "array",
3113
+ "items": {
3114
+ "type": "array",
3115
+ "items": {
3116
+ "type": "string",
3117
+ "maxLength": 255
3118
+ },
3119
+ "maxItems": 100
3120
+ },
3121
+ "maxItems": 100
3122
+ }
3123
+ },
3124
+ "required": [
3125
+ "type"
3126
+ ],
3127
+ "additionalProperties": false
3128
+ },
3129
+ {
3130
+ "type": "object",
3131
+ "properties": {
3132
+ "key": {
3133
+ "type": "string",
3134
+ "maxLength": 1024
3135
+ },
3136
+ "type": {
3137
+ "type": "string",
3138
+ "enum": [
3139
+ "serial"
308
3140
  ]
309
3141
  },
310
- {
3142
+ "config": {
311
3143
  "type": "object",
312
3144
  "properties": {
313
- "type": {
3145
+ "path": {
3146
+ "type": "string",
3147
+ "maxLength": 1024
3148
+ },
3149
+ "baudRate": {
3150
+ "type": "number"
3151
+ },
3152
+ "encoding": {
3153
+ "type": "string",
3154
+ "maxLength": 48
3155
+ },
3156
+ "writeOnOpen": {
3157
+ "type": "string",
3158
+ "maxLength": 1024
3159
+ },
3160
+ "byteLength": {
3161
+ "type": "string",
3162
+ "maxLength": 48
3163
+ },
3164
+ "delimiter": {
3165
+ "type": "string",
3166
+ "maxLength": 48
3167
+ }
3168
+ },
3169
+ "additionalProperties": false
3170
+ },
3171
+ "meta": {
3172
+ "type": "object",
3173
+ "properties": {
3174
+ "category": {
314
3175
  "type": "string",
315
3176
  "enum": [
316
- "stringTemplate"
3177
+ "trigger"
3178
+ ]
3179
+ },
3180
+ "name": {
3181
+ "type": "string",
3182
+ "enum": [
3183
+ "serial"
317
3184
  ]
318
3185
  },
319
3186
  "label": {
320
3187
  "type": "string",
321
3188
  "minLength": 1,
3189
+ "maxLength": 255
3190
+ },
3191
+ "x": {
3192
+ "type": "number"
3193
+ },
3194
+ "y": {
3195
+ "type": "number"
3196
+ },
3197
+ "uiId": {
3198
+ "type": "string",
3199
+ "maxLength": 48
3200
+ },
3201
+ "description": {
3202
+ "type": "string",
3203
+ "maxLength": 32767
3204
+ },
3205
+ "icon": {
3206
+ "type": "string",
3207
+ "maxLength": 1024
3208
+ },
3209
+ "color": {
3210
+ "type": "string",
322
3211
  "maxLength": 1024
323
3212
  },
3213
+ "inputCount": {
3214
+ "type": "number"
3215
+ },
3216
+ "outputCount": {
3217
+ "type": "number"
3218
+ },
324
3219
  "id": {
325
3220
  "type": "string",
326
- "minLength": 1,
327
- "maxLength": 1024
3221
+ "maxLength": 48
3222
+ },
3223
+ "parseBy": {
3224
+ "type": "string",
3225
+ "enum": [
3226
+ "byteLength",
3227
+ "delimiter"
3228
+ ]
3229
+ }
3230
+ },
3231
+ "additionalProperties": false
3232
+ },
3233
+ "outputIds": {
3234
+ "type": "array",
3235
+ "items": {
3236
+ "type": "array",
3237
+ "items": {
3238
+ "type": "string",
3239
+ "maxLength": 255
328
3240
  },
329
- "description": {
330
- "type": "string",
331
- "maxLength": 32767
3241
+ "maxItems": 100
3242
+ },
3243
+ "maxItems": 100
3244
+ }
3245
+ },
3246
+ "required": [
3247
+ "type"
3248
+ ],
3249
+ "additionalProperties": false
3250
+ },
3251
+ {
3252
+ "type": "object",
3253
+ "properties": {
3254
+ "key": {
3255
+ "type": "string",
3256
+ "maxLength": 1024
3257
+ },
3258
+ "type": {
3259
+ "type": "string",
3260
+ "enum": [
3261
+ "timer"
3262
+ ]
3263
+ },
3264
+ "config": {
3265
+ "type": "object",
3266
+ "properties": {
3267
+ "seconds": {
3268
+ "type": "number"
332
3269
  },
333
- "defaultValue": {
3270
+ "cron": {
334
3271
  "type": "string",
335
- "maxLength": 1024
3272
+ "maxLength": 255
336
3273
  },
337
- "required": {
338
- "type": "boolean"
339
- },
340
- "validRegExp": {
3274
+ "tz": {
341
3275
  "type": "string",
342
- "maxLength": 1024
3276
+ "maxLength": 255
343
3277
  }
344
3278
  },
345
- "additionalProperties": false,
346
- "required": [
347
- "type",
348
- "label"
349
- ]
3279
+ "additionalProperties": false
350
3280
  },
351
- {
3281
+ "meta": {
352
3282
  "type": "object",
353
3283
  "properties": {
354
- "type": {
3284
+ "category": {
355
3285
  "type": "string",
356
3286
  "enum": [
357
- "numberTemplate"
3287
+ "trigger"
3288
+ ]
3289
+ },
3290
+ "name": {
3291
+ "type": "string",
3292
+ "enum": [
3293
+ "timer"
358
3294
  ]
359
3295
  },
360
3296
  "label": {
361
3297
  "type": "string",
362
3298
  "minLength": 1,
363
- "maxLength": 1024
3299
+ "maxLength": 255
364
3300
  },
365
- "id": {
3301
+ "x": {
3302
+ "type": "number"
3303
+ },
3304
+ "y": {
3305
+ "type": "number"
3306
+ },
3307
+ "uiId": {
366
3308
  "type": "string",
367
- "minLength": 1,
368
- "maxLength": 1024
3309
+ "maxLength": 48
369
3310
  },
370
3311
  "description": {
371
3312
  "type": "string",
372
3313
  "maxLength": 32767
373
3314
  },
374
- "defaultValue": {
375
- "type": "number"
3315
+ "icon": {
3316
+ "type": "string",
3317
+ "maxLength": 1024
376
3318
  },
377
- "required": {
378
- "type": "boolean"
3319
+ "color": {
3320
+ "type": "string",
3321
+ "maxLength": 1024
379
3322
  },
380
- "validMin": {
3323
+ "inputCount": {
381
3324
  "type": "number"
382
3325
  },
383
- "validMax": {
3326
+ "outputCount": {
384
3327
  "type": "number"
385
- }
386
- },
387
- "additionalProperties": false,
388
- "required": [
389
- "type",
390
- "label"
391
- ]
392
- },
393
- {
394
- "type": "object",
395
- "properties": {
396
- "type": {
397
- "type": "string",
398
- "enum": [
399
- "jsonTemplate"
400
- ]
401
3328
  },
402
- "label": {
3329
+ "id": {
403
3330
  "type": "string",
404
- "minLength": 1,
405
- "maxLength": 1024
3331
+ "maxLength": 48
406
3332
  },
407
- "id": {
3333
+ "timerTypeSelect": {
408
3334
  "type": "string",
409
- "minLength": 1,
410
- "maxLength": 1024
3335
+ "enum": [
3336
+ "cronWeekly",
3337
+ "seconds",
3338
+ "cron"
3339
+ ]
411
3340
  },
412
- "description": {
3341
+ "timeAt": {
413
3342
  "type": "string",
414
- "maxLength": 32767
3343
+ "maxLength": 255
415
3344
  },
416
- "defaultValue": {
3345
+ "timezone": {
417
3346
  "type": "string",
418
- "maxLength": 32767
3347
+ "maxLength": 255
419
3348
  },
420
- "required": {
421
- "type": "boolean"
3349
+ "weekdays": {
3350
+ "type": "array",
3351
+ "maxItems": 7,
3352
+ "items": {
3353
+ "type": "number"
3354
+ }
422
3355
  }
423
3356
  },
424
- "additionalProperties": false,
425
- "required": [
426
- "type",
427
- "label"
3357
+ "additionalProperties": false
3358
+ },
3359
+ "outputIds": {
3360
+ "type": "array",
3361
+ "items": {
3362
+ "type": "array",
3363
+ "items": {
3364
+ "type": "string",
3365
+ "maxLength": 255
3366
+ },
3367
+ "maxItems": 100
3368
+ },
3369
+ "maxItems": 100
3370
+ }
3371
+ },
3372
+ "required": [
3373
+ "type"
3374
+ ],
3375
+ "additionalProperties": false
3376
+ },
3377
+ {
3378
+ "type": "object",
3379
+ "properties": {
3380
+ "key": {
3381
+ "type": "string",
3382
+ "maxLength": 1024
3383
+ },
3384
+ "type": {
3385
+ "type": "string",
3386
+ "enum": [
3387
+ "virtualButton"
428
3388
  ]
429
3389
  },
430
- {
3390
+ "config": {
3391
+ "type": "object",
3392
+ "additionalProperties": false
3393
+ },
3394
+ "meta": {
431
3395
  "type": "object",
432
3396
  "properties": {
433
- "type": {
3397
+ "category": {
434
3398
  "type": "string",
435
3399
  "enum": [
436
- "payloadPath"
3400
+ "trigger"
3401
+ ]
3402
+ },
3403
+ "name": {
3404
+ "type": "string",
3405
+ "enum": [
3406
+ "virtualButton"
437
3407
  ]
438
3408
  },
439
3409
  "label": {
440
3410
  "type": "string",
441
3411
  "minLength": 1,
442
- "maxLength": 1024
3412
+ "maxLength": 255
443
3413
  },
444
- "id": {
3414
+ "x": {
3415
+ "type": "number"
3416
+ },
3417
+ "y": {
3418
+ "type": "number"
3419
+ },
3420
+ "uiId": {
445
3421
  "type": "string",
446
- "minLength": 1,
447
- "maxLength": 1024
3422
+ "maxLength": 48
3423
+ },
3424
+ "groupId": {
3425
+ "type": "string",
3426
+ "maxLength": 48
448
3427
  },
449
3428
  "description": {
450
3429
  "type": "string",
451
3430
  "maxLength": 32767
452
3431
  },
453
- "required": {
454
- "type": "boolean"
455
- }
456
- },
457
- "additionalProperties": false,
458
- "required": [
459
- "type",
460
- "label"
461
- ]
462
- },
463
- {
464
- "type": "object",
465
- "properties": {
466
- "type": {
3432
+ "icon": {
467
3433
  "type": "string",
468
- "enum": [
469
- "section"
470
- ]
3434
+ "maxLength": 1024
471
3435
  },
472
- "label": {
3436
+ "color": {
473
3437
  "type": "string",
474
- "minLength": 1,
475
3438
  "maxLength": 1024
476
3439
  },
3440
+ "inputCount": {
3441
+ "type": "number"
3442
+ },
3443
+ "outputCount": {
3444
+ "type": "number"
3445
+ },
477
3446
  "id": {
478
3447
  "type": "string",
479
- "minLength": 1,
480
- "maxLength": 1024
3448
+ "maxLength": 48
481
3449
  },
482
- "description": {
3450
+ "payload": {
483
3451
  "type": "string",
484
- "maxLength": 32767
3452
+ "maxLength": 262144
3453
+ },
3454
+ "deviceId": {
3455
+ "oneOf": [
3456
+ {
3457
+ "type": "string",
3458
+ "pattern": "^[A-Fa-f\\d]{24}$"
3459
+ },
3460
+ {
3461
+ "type": "string",
3462
+ "enum": [
3463
+ ""
3464
+ ]
3465
+ },
3466
+ {
3467
+ "type": "null"
3468
+ }
3469
+ ]
485
3470
  }
486
3471
  },
487
- "additionalProperties": false,
488
- "required": [
489
- "type",
490
- "label"
491
- ]
492
- }
493
- ]
494
- }
495
- }
496
- },
497
- "additionalProperties": false,
498
- "required": [
499
- "outputCount",
500
- "resultMode",
501
- "fields"
502
- ]
503
- },
504
- "customNodeSupports": {
505
- "type": "array",
506
- "items": {
507
- "type": "string",
508
- "enum": [
509
- "cloud"
510
- ]
511
- }
512
- }
513
- },
514
- "additionalProperties": {
515
- "type": "string",
516
- "maxLength": 1024
517
- },
518
- "required": [
519
- "name"
520
- ]
521
- }
522
- },
523
- "flowVersions": {
524
- "maxItems": 1000,
525
- "type": "array",
526
- "items": {
527
- "type": "object",
528
- "properties": {
529
- "id": {
530
- "type": "string",
531
- "pattern": "^[A-Fa-f\\d]{24}$"
532
- },
533
- "flowId": {
534
- "type": "string",
535
- "pattern": "^[A-Fa-f\\d]{24}$"
536
- },
537
- "applicationId": {
538
- "type": "string",
539
- "pattern": "^[A-Fa-f\\d]{24}$"
540
- },
541
- "version": {
542
- "type": "string",
543
- "minLength": 1,
544
- "maxLength": 255
545
- },
546
- "notes": {
547
- "type": "string",
548
- "maxLength": 32767
549
- },
550
- "enabled": {
551
- "type": "boolean"
552
- },
553
- "triggers": {
554
- "type": "array",
555
- "items": {
556
- "type": "object",
557
- "properties": {
558
- "key": {
559
- "type": "string",
560
- "maxLength": 1024
561
- },
562
- "type": {
563
- "type": "string",
564
- "enum": [
565
- "customNodeStart",
566
- "dataTable",
567
- "deviceCommand",
568
- "deviceId",
569
- "deviceIdConnect",
570
- "deviceIdDisconnect",
571
- "deviceIdInactivity",
572
- "deviceTag",
573
- "deviceTagConnect",
574
- "deviceTagDisconnect",
575
- "deviceTagInactivity",
576
- "endpoint",
577
- "event",
578
- "fileTail",
579
- "fileWatch",
580
- "integration",
581
- "mqttTopic",
582
- "notebook",
583
- "onBoot",
584
- "onConnect",
585
- "onDisconnect",
586
- "opcua",
587
- "redis",
588
- "request",
589
- "serial",
590
- "timer",
591
- "udp",
592
- "virtualButton",
593
- "webhook"
594
- ]
595
- },
596
- "config": {
597
- "type": "object"
598
- },
599
- "meta": {
600
- "type": "object"
601
- },
602
- "outputIds": {
603
- "type": "array",
604
- "items": {
605
- "type": "array",
606
- "items": {
607
- "type": "string",
608
- "maxLength": 255
3472
+ "additionalProperties": false
609
3473
  },
610
- "maxItems": 100
3474
+ "outputIds": {
3475
+ "type": "array",
3476
+ "items": {
3477
+ "type": "array",
3478
+ "items": {
3479
+ "type": "string",
3480
+ "maxLength": 255
3481
+ },
3482
+ "maxItems": 100
3483
+ },
3484
+ "maxItems": 100
3485
+ }
611
3486
  },
612
- "maxItems": 100
3487
+ "required": [
3488
+ "type"
3489
+ ],
3490
+ "additionalProperties": false
613
3491
  }
614
- },
615
- "additionalProperties": false,
616
- "required": [
617
- "type"
618
3492
  ]
619
3493
  }
620
3494
  },