losant_rest 1.9.3 → 1.10.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +17405 -2766
  3. data/docs/application.md +85 -0
  4. data/docs/applicationApiTokens.md +1 -1
  5. data/docs/applicationTemplate.md +46 -0
  6. data/docs/applicationTemplates.md +76 -1
  7. data/docs/device.md +7 -3
  8. data/docs/devices.md +92 -4
  9. data/docs/experienceEndpoints.md +1 -0
  10. data/docs/file.md +4 -4
  11. data/docs/flow.md +94 -1
  12. data/docs/flowVersion.md +96 -1
  13. data/docs/me.md +0 -36
  14. data/lib/losant_rest.rb +1 -0
  15. data/lib/losant_rest/application.rb +48 -0
  16. data/lib/losant_rest/application_api_tokens.rb +1 -1
  17. data/lib/losant_rest/application_template.rb +79 -0
  18. data/lib/losant_rest/application_templates.rb +89 -1
  19. data/lib/losant_rest/client.rb +6 -2
  20. data/lib/losant_rest/device.rb +11 -3
  21. data/lib/losant_rest/devices.rb +103 -3
  22. data/lib/losant_rest/experience_endpoints.rb +2 -0
  23. data/lib/losant_rest/file.rb +3 -3
  24. data/lib/losant_rest/flow.rb +115 -1
  25. data/lib/losant_rest/flow_version.rb +115 -1
  26. data/lib/losant_rest/me.rb +0 -41
  27. data/lib/losant_rest/version.rb +1 -1
  28. data/schemas/advancedDeviceQuery.json +117 -0
  29. data/schemas/advancedEventQuery.json +205 -0
  30. data/schemas/advancedQuery.json +34 -3
  31. data/schemas/application.json +13 -0
  32. data/schemas/applicationApiTokenPost.json +9 -1
  33. data/schemas/applicationApplyTemplatePatch.json +19 -0
  34. data/schemas/applicationCreationByTemplateResult.json +13 -0
  35. data/schemas/applicationPatch.json +5 -0
  36. data/schemas/applicationPost.json +13 -0
  37. data/schemas/applicationTemplate.json +32 -0
  38. data/schemas/applicationTemplateCategories.json +43 -0
  39. data/schemas/applicationTemplateCategory.json +23 -0
  40. data/schemas/applicationTemplates.json +44 -0
  41. data/schemas/applications.json +13 -0
  42. data/schemas/changePassword.json +2 -2
  43. data/schemas/dashboard.json +1285 -145
  44. data/schemas/dashboardPatch.json +1285 -145
  45. data/schemas/dashboardPost.json +1285 -145
  46. data/schemas/dashboards.json +1285 -145
  47. data/schemas/dataExport.json +142 -0
  48. data/schemas/dataTableRowsExport.json +34 -3
  49. data/schemas/device.json +16 -3
  50. data/schemas/devicePatch.json +16 -3
  51. data/schemas/devicePost.json +16 -3
  52. data/schemas/deviceRecipe.json +16 -3
  53. data/schemas/deviceRecipePatch.json +16 -3
  54. data/schemas/deviceRecipePost.json +16 -3
  55. data/schemas/deviceRecipes.json +16 -3
  56. data/schemas/devices.json +16 -3
  57. data/schemas/devicesDataRemoved.json +12 -0
  58. data/schemas/devicesDeletePost.json +1034 -0
  59. data/schemas/devicesDeleted.json +12 -0
  60. data/schemas/devicesExportPost.json +1035 -0
  61. data/schemas/devicesPatch.json +1773 -7
  62. data/schemas/devicesRemoveDataPost.json +1056 -0
  63. data/schemas/devicesUpdated.json +18 -0
  64. data/schemas/eventPost.json +22 -0
  65. data/schemas/eventsExport.json +205 -0
  66. data/schemas/experienceDomain.json +1 -1
  67. data/schemas/experienceDomainPatch.json +1 -1
  68. data/schemas/experienceDomainPost.json +1 -1
  69. data/schemas/experienceDomains.json +1 -1
  70. data/schemas/experienceGroup.json +7 -0
  71. data/schemas/experienceGroupPatch.json +7 -0
  72. data/schemas/experienceGroupPost.json +7 -0
  73. data/schemas/experienceGroups.json +7 -0
  74. data/schemas/experienceLinkedResources.json +348 -3
  75. data/schemas/experienceVersion.json +1 -1
  76. data/schemas/experienceVersions.json +1 -1
  77. data/schemas/flow.json +116 -1
  78. data/schemas/flowErrors.json +87 -0
  79. data/schemas/flowPatch.json +116 -1
  80. data/schemas/flowPost.json +116 -1
  81. data/schemas/flowStats.json +54 -0
  82. data/schemas/flowVersion.json +232 -2
  83. data/schemas/flowVersionPost.json +116 -1
  84. data/schemas/flowVersions.json +232 -2
  85. data/schemas/flows.json +116 -1
  86. data/schemas/flowsImportPost.json +232 -2
  87. data/schemas/flowsImportResult.json +348 -3
  88. data/schemas/githubLogin.json +15 -4
  89. data/schemas/me.json +0 -3
  90. data/schemas/mePatch.json +2 -2
  91. data/schemas/multiDeviceCommand.json +1019 -0
  92. data/schemas/notebook.json +99 -2
  93. data/schemas/notebookPatch.json +99 -2
  94. data/schemas/notebookPost.json +99 -2
  95. data/schemas/notebooks.json +99 -2
  96. data/schemas/org.json +1 -1
  97. data/schemas/orgInviteInfo.json +3 -0
  98. data/schemas/orgInvitePost.json +3 -0
  99. data/schemas/orgInvites.json +3 -0
  100. data/schemas/orgPatch.json +1 -1
  101. data/schemas/orgPost.json +0 -9
  102. data/schemas/orgs.json +1 -1
  103. data/schemas/passwordResetFinish.json +2 -2
  104. data/schemas/samlResponse.json +1 -1
  105. data/schemas/templateKeywords.json +14 -0
  106. data/schemas/timeSeriesData.json +101 -12
  107. data/schemas/timeSeriesQuery.json +101 -12
  108. data/schemas/userCredentials.json +13 -3
  109. data/schemas/userPost.json +21 -7
  110. metadata +19 -5
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "updated": {
6
+ "type": "number"
7
+ },
8
+ "failed": {
9
+ "type": "number"
10
+ },
11
+ "skipped": {
12
+ "type": "number"
13
+ },
14
+ "logLink": {
15
+ "type": "string"
16
+ }
17
+ }
18
+ }
@@ -43,6 +43,28 @@
43
43
  }
44
44
  },
45
45
  "additionalProperties": false
46
+ },
47
+ "creationDate": {
48
+ "oneOf": [
49
+ {
50
+ "type": "string"
51
+ },
52
+ {
53
+ "type": "number"
54
+ },
55
+ {
56
+ "type": "object",
57
+ "properties": {
58
+ "$date": {
59
+ "type": "string"
60
+ }
61
+ },
62
+ "additionalProperties": false,
63
+ "required": [
64
+ "$date"
65
+ ]
66
+ }
67
+ ]
46
68
  }
47
69
  },
48
70
  "required": [
@@ -26,6 +26,13 @@
26
26
  },
27
27
  "maxItems": 100
28
28
  },
29
+ "$nor": {
30
+ "type": "array",
31
+ "items": {
32
+ "$ref": "#/definitions/advancedEventQuery"
33
+ },
34
+ "maxItems": 100
35
+ },
29
36
  "id": {
30
37
  "oneOf": [
31
38
  {
@@ -101,6 +108,28 @@
101
108
  },
102
109
  "$ci": {
103
110
  "type": "boolean"
111
+ },
112
+ "$in": {
113
+ "type": "array",
114
+ "maxItems": 100,
115
+ "items": {
116
+ "type": [
117
+ "string",
118
+ "number",
119
+ "boolean"
120
+ ]
121
+ }
122
+ },
123
+ "$nin": {
124
+ "type": "array",
125
+ "maxItems": 100,
126
+ "items": {
127
+ "type": [
128
+ "string",
129
+ "number",
130
+ "boolean"
131
+ ]
132
+ }
104
133
  }
105
134
  },
106
135
  "additionalProperties": false
@@ -182,6 +211,28 @@
182
211
  },
183
212
  "$ci": {
184
213
  "type": "boolean"
214
+ },
215
+ "$in": {
216
+ "type": "array",
217
+ "maxItems": 100,
218
+ "items": {
219
+ "type": [
220
+ "string",
221
+ "number",
222
+ "boolean"
223
+ ]
224
+ }
225
+ },
226
+ "$nin": {
227
+ "type": "array",
228
+ "maxItems": 100,
229
+ "items": {
230
+ "type": [
231
+ "string",
232
+ "number",
233
+ "boolean"
234
+ ]
235
+ }
185
236
  }
186
237
  },
187
238
  "additionalProperties": false
@@ -263,6 +314,28 @@
263
314
  },
264
315
  "$ci": {
265
316
  "type": "boolean"
317
+ },
318
+ "$in": {
319
+ "type": "array",
320
+ "maxItems": 100,
321
+ "items": {
322
+ "type": [
323
+ "string",
324
+ "number",
325
+ "boolean"
326
+ ]
327
+ }
328
+ },
329
+ "$nin": {
330
+ "type": "array",
331
+ "maxItems": 100,
332
+ "items": {
333
+ "type": [
334
+ "string",
335
+ "number",
336
+ "boolean"
337
+ ]
338
+ }
266
339
  }
267
340
  },
268
341
  "additionalProperties": false
@@ -344,6 +417,28 @@
344
417
  },
345
418
  "$ci": {
346
419
  "type": "boolean"
420
+ },
421
+ "$in": {
422
+ "type": "array",
423
+ "maxItems": 100,
424
+ "items": {
425
+ "type": [
426
+ "string",
427
+ "number",
428
+ "boolean"
429
+ ]
430
+ }
431
+ },
432
+ "$nin": {
433
+ "type": "array",
434
+ "maxItems": 100,
435
+ "items": {
436
+ "type": [
437
+ "string",
438
+ "number",
439
+ "boolean"
440
+ ]
441
+ }
347
442
  }
348
443
  },
349
444
  "additionalProperties": false
@@ -425,6 +520,28 @@
425
520
  },
426
521
  "$ci": {
427
522
  "type": "boolean"
523
+ },
524
+ "$in": {
525
+ "type": "array",
526
+ "maxItems": 100,
527
+ "items": {
528
+ "type": [
529
+ "string",
530
+ "number",
531
+ "boolean"
532
+ ]
533
+ }
534
+ },
535
+ "$nin": {
536
+ "type": "array",
537
+ "maxItems": 100,
538
+ "items": {
539
+ "type": [
540
+ "string",
541
+ "number",
542
+ "boolean"
543
+ ]
544
+ }
428
545
  }
429
546
  },
430
547
  "additionalProperties": false
@@ -506,6 +623,28 @@
506
623
  },
507
624
  "$ci": {
508
625
  "type": "boolean"
626
+ },
627
+ "$in": {
628
+ "type": "array",
629
+ "maxItems": 100,
630
+ "items": {
631
+ "type": [
632
+ "string",
633
+ "number",
634
+ "boolean"
635
+ ]
636
+ }
637
+ },
638
+ "$nin": {
639
+ "type": "array",
640
+ "maxItems": 100,
641
+ "items": {
642
+ "type": [
643
+ "string",
644
+ "number",
645
+ "boolean"
646
+ ]
647
+ }
509
648
  }
510
649
  },
511
650
  "additionalProperties": false
@@ -587,6 +726,28 @@
587
726
  },
588
727
  "$ci": {
589
728
  "type": "boolean"
729
+ },
730
+ "$in": {
731
+ "type": "array",
732
+ "maxItems": 100,
733
+ "items": {
734
+ "type": [
735
+ "string",
736
+ "number",
737
+ "boolean"
738
+ ]
739
+ }
740
+ },
741
+ "$nin": {
742
+ "type": "array",
743
+ "maxItems": 100,
744
+ "items": {
745
+ "type": [
746
+ "string",
747
+ "number",
748
+ "boolean"
749
+ ]
750
+ }
590
751
  }
591
752
  },
592
753
  "additionalProperties": false
@@ -668,6 +829,28 @@
668
829
  },
669
830
  "$ci": {
670
831
  "type": "boolean"
832
+ },
833
+ "$in": {
834
+ "type": "array",
835
+ "maxItems": 100,
836
+ "items": {
837
+ "type": [
838
+ "string",
839
+ "number",
840
+ "boolean"
841
+ ]
842
+ }
843
+ },
844
+ "$nin": {
845
+ "type": "array",
846
+ "maxItems": 100,
847
+ "items": {
848
+ "type": [
849
+ "string",
850
+ "number",
851
+ "boolean"
852
+ ]
853
+ }
671
854
  }
672
855
  },
673
856
  "additionalProperties": false
@@ -749,6 +932,28 @@
749
932
  },
750
933
  "$ci": {
751
934
  "type": "boolean"
935
+ },
936
+ "$in": {
937
+ "type": "array",
938
+ "maxItems": 100,
939
+ "items": {
940
+ "type": [
941
+ "string",
942
+ "number",
943
+ "boolean"
944
+ ]
945
+ }
946
+ },
947
+ "$nin": {
948
+ "type": "array",
949
+ "maxItems": 100,
950
+ "items": {
951
+ "type": [
952
+ "string",
953
+ "number",
954
+ "boolean"
955
+ ]
956
+ }
752
957
  }
753
958
  },
754
959
  "additionalProperties": false
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "domainName": {
36
36
  "type": "string",
37
- "maxLength": 1024,
37
+ "maxLength": 45,
38
38
  "minLength": 3
39
39
  },
40
40
  "version": {
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "domainName": {
54
54
  "type": "string",
55
- "maxLength": 1024,
55
+ "maxLength": 45,
56
56
  "minLength": 3
57
57
  }
58
58
  },
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "domainName": {
21
21
  "type": "string",
22
- "maxLength": 1024,
22
+ "maxLength": 45,
23
23
  "minLength": 3
24
24
  },
25
25
  "version": {
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "domainName": {
43
43
  "type": "string",
44
- "maxLength": 1024,
44
+ "maxLength": 45,
45
45
  "minLength": 3
46
46
  },
47
47
  "version": {
@@ -85,6 +85,13 @@
85
85
  },
86
86
  "maxItems": 100
87
87
  },
88
+ "deviceQueryJson": {
89
+ "type": [
90
+ "string",
91
+ "null"
92
+ ],
93
+ "maxLength": 8192
94
+ },
88
95
  "parentId": {
89
96
  "oneOf": [
90
97
  {
@@ -65,6 +65,13 @@
65
65
  },
66
66
  "maxItems": 100
67
67
  },
68
+ "deviceQueryJson": {
69
+ "type": [
70
+ "string",
71
+ "null"
72
+ ],
73
+ "maxLength": 8192
74
+ },
68
75
  "parentId": {
69
76
  "oneOf": [
70
77
  {
@@ -65,6 +65,13 @@
65
65
  },
66
66
  "maxItems": 100
67
67
  },
68
+ "deviceQueryJson": {
69
+ "type": [
70
+ "string",
71
+ "null"
72
+ ],
73
+ "maxLength": 8192
74
+ },
68
75
  "parentId": {
69
76
  "oneOf": [
70
77
  {
@@ -92,6 +92,13 @@
92
92
  },
93
93
  "maxItems": 100
94
94
  },
95
+ "deviceQueryJson": {
96
+ "type": [
97
+ "string",
98
+ "null"
99
+ ],
100
+ "maxLength": 8192
101
+ },
95
102
  "parentId": {
96
103
  "oneOf": [
97
104
  {
@@ -460,7 +460,6 @@
460
460
  "deviceIdDisconnect",
461
461
  "deviceTagDisconnect",
462
462
  "integration",
463
- "mqttTopic",
464
463
  "notebook",
465
464
  "onBoot",
466
465
  "onConnect",
@@ -1406,6 +1405,109 @@
1406
1405
  ],
1407
1406
  "additionalProperties": false
1408
1407
  },
1408
+ {
1409
+ "type": "object",
1410
+ "properties": {
1411
+ "key": {
1412
+ "type": "string",
1413
+ "maxLength": 1024
1414
+ },
1415
+ "type": {
1416
+ "type": "string",
1417
+ "enum": [
1418
+ "mqttTopic"
1419
+ ]
1420
+ },
1421
+ "config": {
1422
+ "type": "object",
1423
+ "properties": {
1424
+ "integrationId": {
1425
+ "type": "string",
1426
+ "enum": [
1427
+ "losant",
1428
+ "local"
1429
+ ]
1430
+ }
1431
+ },
1432
+ "additionalProperties": false
1433
+ },
1434
+ "meta": {
1435
+ "type": "object",
1436
+ "properties": {
1437
+ "category": {
1438
+ "type": "string",
1439
+ "enum": [
1440
+ "trigger"
1441
+ ]
1442
+ },
1443
+ "name": {
1444
+ "type": "string",
1445
+ "enum": [
1446
+ "mqtt"
1447
+ ]
1448
+ },
1449
+ "label": {
1450
+ "type": "string",
1451
+ "minLength": 1,
1452
+ "maxLength": 255
1453
+ },
1454
+ "x": {
1455
+ "type": "number"
1456
+ },
1457
+ "y": {
1458
+ "type": "number"
1459
+ },
1460
+ "uiId": {
1461
+ "type": "string",
1462
+ "maxLength": 48
1463
+ },
1464
+ "description": {
1465
+ "type": "string",
1466
+ "maxLength": 32767
1467
+ },
1468
+ "icon": {
1469
+ "type": "string",
1470
+ "maxLength": 1024
1471
+ },
1472
+ "color": {
1473
+ "type": "string",
1474
+ "maxLength": 1024
1475
+ },
1476
+ "inputCount": {
1477
+ "type": "number"
1478
+ },
1479
+ "outputCount": {
1480
+ "type": "number"
1481
+ },
1482
+ "triggerId": {
1483
+ "type": "string",
1484
+ "maxLength": 48
1485
+ },
1486
+ "id": {
1487
+ "type": "string",
1488
+ "maxLength": 48
1489
+ }
1490
+ },
1491
+ "additionalProperties": false
1492
+ },
1493
+ "outputIds": {
1494
+ "type": "array",
1495
+ "items": {
1496
+ "type": "array",
1497
+ "items": {
1498
+ "type": "string",
1499
+ "maxLength": 255
1500
+ },
1501
+ "maxItems": 100
1502
+ },
1503
+ "maxItems": 100
1504
+ }
1505
+ },
1506
+ "required": [
1507
+ "type"
1508
+ ],
1509
+ "additionalProperties": false
1510
+ },
1409
1511
  {
1410
1512
  "type": "object",
1411
1513
  "properties": {
@@ -1692,6 +1794,19 @@
1692
1794
  "baudRate": {
1693
1795
  "type": "number"
1694
1796
  },
1797
+ "dataBits": {
1798
+ "type": "number"
1799
+ },
1800
+ "stopBits": {
1801
+ "type": "number"
1802
+ },
1803
+ "parity": {
1804
+ "type": "string",
1805
+ "maxLength": 8
1806
+ },
1807
+ "rtscts": {
1808
+ "type": "boolean"
1809
+ },
1695
1810
  "encoding": {
1696
1811
  "type": "string",
1697
1812
  "maxLength": 48
@@ -2574,7 +2689,6 @@
2574
2689
  "deviceIdDisconnect",
2575
2690
  "deviceTagDisconnect",
2576
2691
  "integration",
2577
- "mqttTopic",
2578
2692
  "notebook",
2579
2693
  "onBoot",
2580
2694
  "onConnect",
@@ -3520,6 +3634,109 @@
3520
3634
  ],
3521
3635
  "additionalProperties": false
3522
3636
  },
3637
+ {
3638
+ "type": "object",
3639
+ "properties": {
3640
+ "key": {
3641
+ "type": "string",
3642
+ "maxLength": 1024
3643
+ },
3644
+ "type": {
3645
+ "type": "string",
3646
+ "enum": [
3647
+ "mqttTopic"
3648
+ ]
3649
+ },
3650
+ "config": {
3651
+ "type": "object",
3652
+ "properties": {
3653
+ "integrationId": {
3654
+ "type": "string",
3655
+ "enum": [
3656
+ "losant",
3657
+ "local"
3658
+ ]
3659
+ }
3660
+ },
3661
+ "additionalProperties": false
3662
+ },
3663
+ "meta": {
3664
+ "type": "object",
3665
+ "properties": {
3666
+ "category": {
3667
+ "type": "string",
3668
+ "enum": [
3669
+ "trigger"
3670
+ ]
3671
+ },
3672
+ "name": {
3673
+ "type": "string",
3674
+ "enum": [
3675
+ "mqtt"
3676
+ ]
3677
+ },
3678
+ "label": {
3679
+ "type": "string",
3680
+ "minLength": 1,
3681
+ "maxLength": 255
3682
+ },
3683
+ "x": {
3684
+ "type": "number"
3685
+ },
3686
+ "y": {
3687
+ "type": "number"
3688
+ },
3689
+ "uiId": {
3690
+ "type": "string",
3691
+ "maxLength": 48
3692
+ },
3693
+ "description": {
3694
+ "type": "string",
3695
+ "maxLength": 32767
3696
+ },
3697
+ "icon": {
3698
+ "type": "string",
3699
+ "maxLength": 1024
3700
+ },
3701
+ "color": {
3702
+ "type": "string",
3703
+ "maxLength": 1024
3704
+ },
3705
+ "inputCount": {
3706
+ "type": "number"
3707
+ },
3708
+ "outputCount": {
3709
+ "type": "number"
3710
+ },
3711
+ "triggerId": {
3712
+ "type": "string",
3713
+ "maxLength": 48
3714
+ },
3715
+ "id": {
3716
+ "type": "string",
3717
+ "maxLength": 48
3718
+ }
3719
+ },
3720
+ "additionalProperties": false
3721
+ },
3722
+ "outputIds": {
3723
+ "type": "array",
3724
+ "items": {
3725
+ "type": "array",
3726
+ "items": {
3727
+ "type": "string",
3728
+ "maxLength": 255
3729
+ },
3730
+ "maxItems": 100
3731
+ },
3732
+ "maxItems": 100
3733
+ }
3734
+ },
3735
+ "required": [
3736
+ "type"
3737
+ ],
3738
+ "additionalProperties": false
3739
+ },
3523
3740
  {
3524
3741
  "type": "object",
3525
3742
  "properties": {
@@ -3806,6 +4023,19 @@
3806
4023
  "baudRate": {
3807
4024
  "type": "number"
3808
4025
  },
4026
+ "dataBits": {
4027
+ "type": "number"
4028
+ },
4029
+ "stopBits": {
4030
+ "type": "number"
4031
+ },
4032
+ "parity": {
4033
+ "type": "string",
4034
+ "maxLength": 8
4035
+ },
4036
+ "rtscts": {
4037
+ "type": "boolean"
4038
+ },
3809
4039
  "encoding": {
3810
4040
  "type": "string",
3811
4041
  "maxLength": 48
@@ -4638,7 +4868,6 @@
4638
4868
  "deviceIdDisconnect",
4639
4869
  "deviceTagDisconnect",
4640
4870
  "integration",
4641
- "mqttTopic",
4642
4871
  "notebook",
4643
4872
  "onBoot",
4644
4873
  "onConnect",
@@ -5584,6 +5813,109 @@
5584
5813
  ],
5585
5814
  "additionalProperties": false
5586
5815
  },
5816
+ {
5817
+ "type": "object",
5818
+ "properties": {
5819
+ "key": {
5820
+ "type": "string",
5821
+ "maxLength": 1024
5822
+ },
5823
+ "type": {
5824
+ "type": "string",
5825
+ "enum": [
5826
+ "mqttTopic"
5827
+ ]
5828
+ },
5829
+ "config": {
5830
+ "type": "object",
5831
+ "properties": {
5832
+ "integrationId": {
5833
+ "type": "string",
5834
+ "enum": [
5835
+ "losant",
5836
+ "local"
5837
+ ]
5838
+ }
5839
+ },
5840
+ "additionalProperties": false
5841
+ },
5842
+ "meta": {
5843
+ "type": "object",
5844
+ "properties": {
5845
+ "category": {
5846
+ "type": "string",
5847
+ "enum": [
5848
+ "trigger"
5849
+ ]
5850
+ },
5851
+ "name": {
5852
+ "type": "string",
5853
+ "enum": [
5854
+ "mqtt"
5855
+ ]
5856
+ },
5857
+ "label": {
5858
+ "type": "string",
5859
+ "minLength": 1,
5860
+ "maxLength": 255
5861
+ },
5862
+ "x": {
5863
+ "type": "number"
5864
+ },
5865
+ "y": {
5866
+ "type": "number"
5867
+ },
5868
+ "uiId": {
5869
+ "type": "string",
5870
+ "maxLength": 48
5871
+ },
5872
+ "description": {
5873
+ "type": "string",
5874
+ "maxLength": 32767
5875
+ },
5876
+ "icon": {
5877
+ "type": "string",
5878
+ "maxLength": 1024
5879
+ },
5880
+ "color": {
5881
+ "type": "string",
5882
+ "maxLength": 1024
5883
+ },
5884
+ "inputCount": {
5885
+ "type": "number"
5886
+ },
5887
+ "outputCount": {
5888
+ "type": "number"
5889
+ },
5890
+ "triggerId": {
5891
+ "type": "string",
5892
+ "maxLength": 48
5893
+ },
5894
+ "id": {
5895
+ "type": "string",
5896
+ "maxLength": 48
5897
+ }
5898
+ },
5899
+ "additionalProperties": false
5900
+ },
5901
+ "outputIds": {
5902
+ "type": "array",
5903
+ "items": {
5904
+ "type": "array",
5905
+ "items": {
5906
+ "type": "string",
5907
+ "maxLength": 255
5908
+ },
5909
+ "maxItems": 100
5910
+ },
5911
+ "maxItems": 100
5912
+ }
5913
+ },
5914
+ "required": [
5915
+ "type"
5916
+ ],
5917
+ "additionalProperties": false
5918
+ },
5587
5919
  {
5588
5920
  "type": "object",
5589
5921
  "properties": {
@@ -5870,6 +6202,19 @@
5870
6202
  "baudRate": {
5871
6203
  "type": "number"
5872
6204
  },
6205
+ "dataBits": {
6206
+ "type": "number"
6207
+ },
6208
+ "stopBits": {
6209
+ "type": "number"
6210
+ },
6211
+ "parity": {
6212
+ "type": "string",
6213
+ "maxLength": 8
6214
+ },
6215
+ "rtscts": {
6216
+ "type": "boolean"
6217
+ },
5873
6218
  "encoding": {
5874
6219
  "type": "string",
5875
6220
  "maxLength": 48