losant_rest 1.13.1 → 1.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +10817 -3660
  3. data/docs/application.md +1 -1
  4. data/docs/device.md +43 -0
  5. data/docs/devices.md +39 -0
  6. data/docs/edgeDeployment.md +49 -0
  7. data/docs/embeddedDeployment.md +49 -0
  8. data/docs/embeddedDeployments.md +215 -0
  9. data/docs/flow.md +3 -3
  10. data/docs/flows.md +2 -2
  11. data/docs/instance.md +4 -2
  12. data/docs/instanceOrg.md +2 -0
  13. data/docs/instanceOrgInvite.md +139 -0
  14. data/docs/instanceOrgInvites.md +96 -0
  15. data/docs/instanceOrgMembers.md +2 -2
  16. data/docs/instanceOrgs.md +1 -1
  17. data/docs/me.md +1 -1
  18. data/docs/org.md +1 -1
  19. data/lib/losant_rest/client.rb +22 -2
  20. data/lib/losant_rest/device.rb +50 -0
  21. data/lib/losant_rest/devices.rb +46 -0
  22. data/lib/losant_rest/edge_deployment.rb +81 -0
  23. data/lib/losant_rest/embedded_deployment.rb +81 -0
  24. data/lib/losant_rest/embedded_deployments.rb +280 -0
  25. data/lib/losant_rest/flow.rb +3 -3
  26. data/lib/losant_rest/flows.rb +2 -2
  27. data/lib/losant_rest/instance.rb +1 -0
  28. data/lib/losant_rest/instance_org.rb +4 -0
  29. data/lib/losant_rest/instance_org_invite.rb +182 -0
  30. data/lib/losant_rest/instance_org_invites.rb +138 -0
  31. data/lib/losant_rest/instance_org_members.rb +2 -2
  32. data/lib/losant_rest/instance_orgs.rb +2 -2
  33. data/lib/losant_rest/version.rb +1 -1
  34. data/lib/losant_rest.rb +5 -0
  35. data/schemas/apiTokenPost.json +19 -0
  36. data/schemas/application.json +32 -32
  37. data/schemas/applicationCreationByTemplateResult.json +32 -32
  38. data/schemas/applicationDashboardPost.json +8 -5
  39. data/schemas/applicationPatch.json +13 -13
  40. data/schemas/applicationPost.json +13 -13
  41. data/schemas/applicationTemplate.json +16 -16
  42. data/schemas/applicationTemplates.json +16 -16
  43. data/schemas/applications.json +32 -32
  44. data/schemas/authedDevice.json +2 -1
  45. data/schemas/dashboard.json +8 -5
  46. data/schemas/dashboardPatch.json +8 -5
  47. data/schemas/dashboardPost.json +8 -5
  48. data/schemas/dashboardSendReport.json +6 -6
  49. data/schemas/dashboards.json +8 -5
  50. data/schemas/dataTableRowsDelete.json +1 -1
  51. data/schemas/device.json +2 -1
  52. data/schemas/deviceClassFilter.json +4 -2
  53. data/schemas/devicePatch.json +2 -1
  54. data/schemas/devicePayloadCounts.json +24 -0
  55. data/schemas/devicePost.json +2 -1
  56. data/schemas/deviceRecipe.json +2 -1
  57. data/schemas/deviceRecipePatch.json +2 -1
  58. data/schemas/deviceRecipePost.json +2 -1
  59. data/schemas/deviceRecipes.json +2 -1
  60. data/schemas/devices.json +4 -2
  61. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  62. data/schemas/devicesPatch.json +4 -2
  63. data/schemas/edgeDeployment.json +20 -0
  64. data/schemas/edgeDeployments.json +20 -0
  65. data/schemas/embeddedDeployment.json +179 -0
  66. data/schemas/embeddedDeploymentExport.json +44 -0
  67. data/schemas/embeddedDeploymentRelease.json +58 -0
  68. data/schemas/embeddedDeploymentRemove.json +25 -0
  69. data/schemas/embeddedDeploymentReplace.json +29 -0
  70. data/schemas/embeddedDeployments.json +212 -0
  71. data/schemas/eventsDeleted.json +1 -1
  72. data/schemas/eventsExport.json +4 -0
  73. data/schemas/experienceEndpoint.json +6 -8
  74. data/schemas/experienceEndpointPatch.json +6 -8
  75. data/schemas/experienceEndpointPost.json +6 -8
  76. data/schemas/experienceEndpoints.json +6 -8
  77. data/schemas/experienceLinkedResources.json +790 -85
  78. data/schemas/flow.json +252 -16
  79. data/schemas/flowPatch.json +251 -16
  80. data/schemas/flowPost.json +252 -16
  81. data/schemas/flowVersion.json +503 -33
  82. data/schemas/flowVersionPost.json +251 -16
  83. data/schemas/flowVersions.json +503 -33
  84. data/schemas/flows.json +253 -16
  85. data/schemas/flowsImportPost.json +503 -32
  86. data/schemas/flowsImportResult.json +785 -79
  87. data/schemas/githubLogin.json +19 -0
  88. data/schemas/historicalSummary.json +147 -102
  89. data/schemas/instance.json +92 -79
  90. data/schemas/instanceMember.json +10 -0
  91. data/schemas/instanceMemberPost.json +18 -3
  92. data/schemas/instanceMembers.json +14 -0
  93. data/schemas/instanceOrg.json +87 -74
  94. data/schemas/instanceOrgMember.json +14 -0
  95. data/schemas/instanceOrgMembers.json +8 -0
  96. data/schemas/instanceOrgPatch.json +64 -26
  97. data/schemas/instanceOrgPost.json +65 -27
  98. data/schemas/instanceOrgs.json +91 -74
  99. data/schemas/instancePatch.json +2 -2
  100. data/schemas/me.json +134 -105
  101. data/schemas/notebook.json +32 -1
  102. data/schemas/notebookExecutionLogs.json +2 -1
  103. data/schemas/notebookPatch.json +32 -1
  104. data/schemas/notebookPost.json +32 -1
  105. data/schemas/notebooks.json +32 -1
  106. data/schemas/org.json +145 -110
  107. data/schemas/orgInvite.json +90 -0
  108. data/schemas/orgInviteCollection.json +130 -0
  109. data/schemas/orgInvites.json +82 -77
  110. data/schemas/orgRoleInfo.json +69 -0
  111. data/schemas/orgs.json +145 -110
  112. data/schemas/payloadStats.json +28 -12
  113. data/schemas/userCredentials.json +19 -0
  114. data/schemas/userPost.json +19 -0
  115. data/schemas/virtualButtonPress.json +4 -0
  116. metadata +27 -6
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-04/schema#",
3
3
  "oneOf": [
4
4
  {
5
- "description": "Schema for a single Cloud/Edge/Custom Node Workflow Version",
5
+ "description": "Schema for a single Cloud/Edge/Embedded/Custom Node Workflow Version",
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "id": {
@@ -66,7 +66,6 @@
66
66
  "onBoot",
67
67
  "onConnect",
68
68
  "onDisconnect",
69
- "request",
70
69
  "udp",
71
70
  "webhook"
72
71
  ]
@@ -91,6 +90,7 @@
91
90
  "deviceCommand",
92
91
  "deviceIdsTagsConnect",
93
92
  "deviceIdsTagsDisconnect",
93
+ "eeaInit",
94
94
  "flowError",
95
95
  "googlePubSub",
96
96
  "meridian",
@@ -100,7 +100,6 @@
100
100
  "onConnect",
101
101
  "onDisconnect",
102
102
  "particle",
103
- "request",
104
103
  "udp",
105
104
  "webhook"
106
105
  ]
@@ -155,7 +154,8 @@
155
154
  "type": "array",
156
155
  "items": {
157
156
  "type": "string",
158
- "maxLength": 255
157
+ "maxLength": 48,
158
+ "minLength": 1
159
159
  },
160
160
  "maxItems": 100
161
161
  },
@@ -259,7 +259,8 @@
259
259
  "type": "array",
260
260
  "items": {
261
261
  "type": "string",
262
- "maxLength": 255
262
+ "maxLength": 48,
263
+ "minLength": 1
263
264
  },
264
265
  "maxItems": 100
265
266
  },
@@ -306,6 +307,21 @@
306
307
  },
307
308
  "maxAge": {
308
309
  "type": "number"
310
+ },
311
+ "triggerOn": {
312
+ "type": "string",
313
+ "enum": [
314
+ "batch",
315
+ "individual",
316
+ "both"
317
+ ]
318
+ },
319
+ "batchBehavior": {
320
+ "type": "string",
321
+ "enum": [
322
+ "once",
323
+ "each"
324
+ ]
309
325
  }
310
326
  },
311
327
  "additionalProperties": false
@@ -388,7 +404,8 @@
388
404
  "type": "array",
389
405
  "items": {
390
406
  "type": "string",
391
- "maxLength": 255
407
+ "maxLength": 48,
408
+ "minLength": 1
392
409
  },
393
410
  "maxItems": 100
394
411
  },
@@ -484,8 +501,101 @@
484
501
  "type": "array",
485
502
  "items": {
486
503
  "type": "string",
504
+ "maxLength": 48,
505
+ "minLength": 1
506
+ },
507
+ "maxItems": 100
508
+ },
509
+ "maxItems": 100
510
+ }
511
+ },
512
+ "required": [
513
+ "type"
514
+ ],
515
+ "additionalProperties": false
516
+ },
517
+ {
518
+ "type": "object",
519
+ "properties": {
520
+ "key": {
521
+ "type": "string",
522
+ "maxLength": 1024
523
+ },
524
+ "type": {
525
+ "type": "string",
526
+ "enum": [
527
+ "direct"
528
+ ]
529
+ },
530
+ "config": {
531
+ "type": "object",
532
+ "properties": {},
533
+ "additionalProperties": false
534
+ },
535
+ "meta": {
536
+ "type": "object",
537
+ "properties": {
538
+ "category": {
539
+ "type": "string",
540
+ "enum": [
541
+ "trigger"
542
+ ]
543
+ },
544
+ "name": {
545
+ "type": "string",
546
+ "enum": [
547
+ "direct"
548
+ ]
549
+ },
550
+ "label": {
551
+ "type": "string",
552
+ "minLength": 1,
487
553
  "maxLength": 255
488
554
  },
555
+ "x": {
556
+ "type": "number"
557
+ },
558
+ "y": {
559
+ "type": "number"
560
+ },
561
+ "uiId": {
562
+ "type": "string",
563
+ "maxLength": 48
564
+ },
565
+ "description": {
566
+ "type": "string",
567
+ "maxLength": 32767
568
+ },
569
+ "icon": {
570
+ "type": "string",
571
+ "maxLength": 1024
572
+ },
573
+ "color": {
574
+ "type": "string",
575
+ "maxLength": 1024
576
+ },
577
+ "inputCount": {
578
+ "type": "number"
579
+ },
580
+ "outputCount": {
581
+ "type": "number"
582
+ },
583
+ "id": {
584
+ "type": "string",
585
+ "maxLength": 48
586
+ }
587
+ },
588
+ "additionalProperties": false
589
+ },
590
+ "outputIds": {
591
+ "type": "array",
592
+ "items": {
593
+ "type": "array",
594
+ "items": {
595
+ "type": "string",
596
+ "maxLength": 48,
597
+ "minLength": 1
598
+ },
489
599
  "maxItems": 100
490
600
  },
491
601
  "maxItems": 100
@@ -581,7 +691,8 @@
581
691
  "type": "array",
582
692
  "items": {
583
693
  "type": "string",
584
- "maxLength": 255
694
+ "maxLength": 48,
695
+ "minLength": 1
585
696
  },
586
697
  "maxItems": 100
587
698
  },
@@ -686,7 +797,8 @@
686
797
  "type": "array",
687
798
  "items": {
688
799
  "type": "string",
689
- "maxLength": 255
800
+ "maxLength": 48,
801
+ "minLength": 1
690
802
  },
691
803
  "maxItems": 100
692
804
  },
@@ -794,7 +906,8 @@
794
906
  "type": "array",
795
907
  "items": {
796
908
  "type": "string",
797
- "maxLength": 255
909
+ "maxLength": 48,
910
+ "minLength": 1
798
911
  },
799
912
  "maxItems": 100
800
913
  },
@@ -905,7 +1018,8 @@
905
1018
  "type": "array",
906
1019
  "items": {
907
1020
  "type": "string",
908
- "maxLength": 255
1021
+ "maxLength": 48,
1022
+ "minLength": 1
909
1023
  },
910
1024
  "maxItems": 100
911
1025
  },
@@ -1006,7 +1120,8 @@
1006
1120
  "type": "array",
1007
1121
  "items": {
1008
1122
  "type": "string",
1009
- "maxLength": 255
1123
+ "maxLength": 48,
1124
+ "minLength": 1
1010
1125
  },
1011
1126
  "maxItems": 100
1012
1127
  },
@@ -1109,7 +1224,8 @@
1109
1224
  "type": "array",
1110
1225
  "items": {
1111
1226
  "type": "string",
1112
- "maxLength": 255
1227
+ "maxLength": 48,
1228
+ "minLength": 1
1113
1229
  },
1114
1230
  "maxItems": 100
1115
1231
  },
@@ -1249,7 +1365,8 @@
1249
1365
  "type": "array",
1250
1366
  "items": {
1251
1367
  "type": "string",
1252
- "maxLength": 255
1368
+ "maxLength": 48,
1369
+ "minLength": 1
1253
1370
  },
1254
1371
  "maxItems": 100
1255
1372
  },
@@ -1372,8 +1489,122 @@
1372
1489
  "type": "array",
1373
1490
  "items": {
1374
1491
  "type": "string",
1492
+ "maxLength": 48,
1493
+ "minLength": 1
1494
+ },
1495
+ "maxItems": 100
1496
+ },
1497
+ "maxItems": 100
1498
+ }
1499
+ },
1500
+ "required": [
1501
+ "type"
1502
+ ],
1503
+ "additionalProperties": false
1504
+ },
1505
+ {
1506
+ "type": "object",
1507
+ "properties": {
1508
+ "key": {
1509
+ "type": "string",
1510
+ "maxLength": 1024
1511
+ },
1512
+ "type": {
1513
+ "type": "string",
1514
+ "enum": [
1515
+ "request"
1516
+ ]
1517
+ },
1518
+ "config": {
1519
+ "type": "object",
1520
+ "properties": {
1521
+ "method": {
1522
+ "type": "string",
1523
+ "enum": [
1524
+ "*",
1525
+ "delete",
1526
+ "get",
1527
+ "options",
1528
+ "patch",
1529
+ "post",
1530
+ "put"
1531
+ ]
1532
+ },
1533
+ "route": {
1534
+ "type": "string",
1535
+ "maxLength": 1024
1536
+ }
1537
+ },
1538
+ "additionalProperties": false
1539
+ },
1540
+ "meta": {
1541
+ "type": "object",
1542
+ "properties": {
1543
+ "category": {
1544
+ "type": "string",
1545
+ "enum": [
1546
+ "trigger"
1547
+ ]
1548
+ },
1549
+ "name": {
1550
+ "type": "string",
1551
+ "enum": [
1552
+ "request"
1553
+ ]
1554
+ },
1555
+ "label": {
1556
+ "type": "string",
1557
+ "minLength": 1,
1375
1558
  "maxLength": 255
1376
1559
  },
1560
+ "x": {
1561
+ "type": "number"
1562
+ },
1563
+ "y": {
1564
+ "type": "number"
1565
+ },
1566
+ "uiId": {
1567
+ "type": "string",
1568
+ "maxLength": 48
1569
+ },
1570
+ "description": {
1571
+ "type": "string",
1572
+ "maxLength": 32767
1573
+ },
1574
+ "icon": {
1575
+ "type": "string",
1576
+ "maxLength": 1024
1577
+ },
1578
+ "color": {
1579
+ "type": "string",
1580
+ "maxLength": 1024
1581
+ },
1582
+ "inputCount": {
1583
+ "type": "number"
1584
+ },
1585
+ "outputCount": {
1586
+ "type": "number"
1587
+ },
1588
+ "triggerId": {
1589
+ "type": "string",
1590
+ "maxLength": 48
1591
+ },
1592
+ "id": {
1593
+ "type": "string",
1594
+ "maxLength": 48
1595
+ }
1596
+ },
1597
+ "additionalProperties": false
1598
+ },
1599
+ "outputIds": {
1600
+ "type": "array",
1601
+ "items": {
1602
+ "type": "array",
1603
+ "items": {
1604
+ "type": "string",
1605
+ "maxLength": 48,
1606
+ "minLength": 1
1607
+ },
1377
1608
  "maxItems": 100
1378
1609
  },
1379
1610
  "maxItems": 100
@@ -1515,7 +1746,8 @@
1515
1746
  "type": "array",
1516
1747
  "items": {
1517
1748
  "type": "string",
1518
- "maxLength": 255
1749
+ "maxLength": 48,
1750
+ "minLength": 1
1519
1751
  },
1520
1752
  "maxItems": 100
1521
1753
  },
@@ -1641,7 +1873,8 @@
1641
1873
  "type": "array",
1642
1874
  "items": {
1643
1875
  "type": "string",
1644
- "maxLength": 255
1876
+ "maxLength": 48,
1877
+ "minLength": 1
1645
1878
  },
1646
1879
  "maxItems": 100
1647
1880
  },
@@ -1756,7 +1989,8 @@
1756
1989
  "type": "array",
1757
1990
  "items": {
1758
1991
  "type": "string",
1759
- "maxLength": 255
1992
+ "maxLength": 48,
1993
+ "minLength": 1
1760
1994
  },
1761
1995
  "maxItems": 100
1762
1996
  },
@@ -1797,7 +2031,8 @@
1797
2031
  "type": "array",
1798
2032
  "items": {
1799
2033
  "type": "string",
1800
- "maxLength": 255
2034
+ "maxLength": 48,
2035
+ "minLength": 1
1801
2036
  },
1802
2037
  "maxItems": 100
1803
2038
  },
@@ -2264,7 +2499,6 @@
2264
2499
  "onBoot",
2265
2500
  "onConnect",
2266
2501
  "onDisconnect",
2267
- "request",
2268
2502
  "udp",
2269
2503
  "webhook"
2270
2504
  ]
@@ -2289,6 +2523,7 @@
2289
2523
  "deviceCommand",
2290
2524
  "deviceIdsTagsConnect",
2291
2525
  "deviceIdsTagsDisconnect",
2526
+ "eeaInit",
2292
2527
  "flowError",
2293
2528
  "googlePubSub",
2294
2529
  "meridian",
@@ -2298,7 +2533,6 @@
2298
2533
  "onConnect",
2299
2534
  "onDisconnect",
2300
2535
  "particle",
2301
- "request",
2302
2536
  "udp",
2303
2537
  "webhook"
2304
2538
  ]
@@ -2353,7 +2587,8 @@
2353
2587
  "type": "array",
2354
2588
  "items": {
2355
2589
  "type": "string",
2356
- "maxLength": 255
2590
+ "maxLength": 48,
2591
+ "minLength": 1
2357
2592
  },
2358
2593
  "maxItems": 100
2359
2594
  },
@@ -2457,7 +2692,8 @@
2457
2692
  "type": "array",
2458
2693
  "items": {
2459
2694
  "type": "string",
2460
- "maxLength": 255
2695
+ "maxLength": 48,
2696
+ "minLength": 1
2461
2697
  },
2462
2698
  "maxItems": 100
2463
2699
  },
@@ -2504,6 +2740,21 @@
2504
2740
  },
2505
2741
  "maxAge": {
2506
2742
  "type": "number"
2743
+ },
2744
+ "triggerOn": {
2745
+ "type": "string",
2746
+ "enum": [
2747
+ "batch",
2748
+ "individual",
2749
+ "both"
2750
+ ]
2751
+ },
2752
+ "batchBehavior": {
2753
+ "type": "string",
2754
+ "enum": [
2755
+ "once",
2756
+ "each"
2757
+ ]
2507
2758
  }
2508
2759
  },
2509
2760
  "additionalProperties": false
@@ -2586,7 +2837,8 @@
2586
2837
  "type": "array",
2587
2838
  "items": {
2588
2839
  "type": "string",
2589
- "maxLength": 255
2840
+ "maxLength": 48,
2841
+ "minLength": 1
2590
2842
  },
2591
2843
  "maxItems": 100
2592
2844
  },
@@ -2682,8 +2934,101 @@
2682
2934
  "type": "array",
2683
2935
  "items": {
2684
2936
  "type": "string",
2937
+ "maxLength": 48,
2938
+ "minLength": 1
2939
+ },
2940
+ "maxItems": 100
2941
+ },
2942
+ "maxItems": 100
2943
+ }
2944
+ },
2945
+ "required": [
2946
+ "type"
2947
+ ],
2948
+ "additionalProperties": false
2949
+ },
2950
+ {
2951
+ "type": "object",
2952
+ "properties": {
2953
+ "key": {
2954
+ "type": "string",
2955
+ "maxLength": 1024
2956
+ },
2957
+ "type": {
2958
+ "type": "string",
2959
+ "enum": [
2960
+ "direct"
2961
+ ]
2962
+ },
2963
+ "config": {
2964
+ "type": "object",
2965
+ "properties": {},
2966
+ "additionalProperties": false
2967
+ },
2968
+ "meta": {
2969
+ "type": "object",
2970
+ "properties": {
2971
+ "category": {
2972
+ "type": "string",
2973
+ "enum": [
2974
+ "trigger"
2975
+ ]
2976
+ },
2977
+ "name": {
2978
+ "type": "string",
2979
+ "enum": [
2980
+ "direct"
2981
+ ]
2982
+ },
2983
+ "label": {
2984
+ "type": "string",
2985
+ "minLength": 1,
2685
2986
  "maxLength": 255
2686
2987
  },
2988
+ "x": {
2989
+ "type": "number"
2990
+ },
2991
+ "y": {
2992
+ "type": "number"
2993
+ },
2994
+ "uiId": {
2995
+ "type": "string",
2996
+ "maxLength": 48
2997
+ },
2998
+ "description": {
2999
+ "type": "string",
3000
+ "maxLength": 32767
3001
+ },
3002
+ "icon": {
3003
+ "type": "string",
3004
+ "maxLength": 1024
3005
+ },
3006
+ "color": {
3007
+ "type": "string",
3008
+ "maxLength": 1024
3009
+ },
3010
+ "inputCount": {
3011
+ "type": "number"
3012
+ },
3013
+ "outputCount": {
3014
+ "type": "number"
3015
+ },
3016
+ "id": {
3017
+ "type": "string",
3018
+ "maxLength": 48
3019
+ }
3020
+ },
3021
+ "additionalProperties": false
3022
+ },
3023
+ "outputIds": {
3024
+ "type": "array",
3025
+ "items": {
3026
+ "type": "array",
3027
+ "items": {
3028
+ "type": "string",
3029
+ "maxLength": 48,
3030
+ "minLength": 1
3031
+ },
2687
3032
  "maxItems": 100
2688
3033
  },
2689
3034
  "maxItems": 100
@@ -2779,7 +3124,8 @@
2779
3124
  "type": "array",
2780
3125
  "items": {
2781
3126
  "type": "string",
2782
- "maxLength": 255
3127
+ "maxLength": 48,
3128
+ "minLength": 1
2783
3129
  },
2784
3130
  "maxItems": 100
2785
3131
  },
@@ -2884,7 +3230,8 @@
2884
3230
  "type": "array",
2885
3231
  "items": {
2886
3232
  "type": "string",
2887
- "maxLength": 255
3233
+ "maxLength": 48,
3234
+ "minLength": 1
2888
3235
  },
2889
3236
  "maxItems": 100
2890
3237
  },
@@ -2992,7 +3339,8 @@
2992
3339
  "type": "array",
2993
3340
  "items": {
2994
3341
  "type": "string",
2995
- "maxLength": 255
3342
+ "maxLength": 48,
3343
+ "minLength": 1
2996
3344
  },
2997
3345
  "maxItems": 100
2998
3346
  },
@@ -3103,7 +3451,8 @@
3103
3451
  "type": "array",
3104
3452
  "items": {
3105
3453
  "type": "string",
3106
- "maxLength": 255
3454
+ "maxLength": 48,
3455
+ "minLength": 1
3107
3456
  },
3108
3457
  "maxItems": 100
3109
3458
  },
@@ -3204,7 +3553,8 @@
3204
3553
  "type": "array",
3205
3554
  "items": {
3206
3555
  "type": "string",
3207
- "maxLength": 255
3556
+ "maxLength": 48,
3557
+ "minLength": 1
3208
3558
  },
3209
3559
  "maxItems": 100
3210
3560
  },
@@ -3307,7 +3657,8 @@
3307
3657
  "type": "array",
3308
3658
  "items": {
3309
3659
  "type": "string",
3310
- "maxLength": 255
3660
+ "maxLength": 48,
3661
+ "minLength": 1
3311
3662
  },
3312
3663
  "maxItems": 100
3313
3664
  },
@@ -3447,7 +3798,8 @@
3447
3798
  "type": "array",
3448
3799
  "items": {
3449
3800
  "type": "string",
3450
- "maxLength": 255
3801
+ "maxLength": 48,
3802
+ "minLength": 1
3451
3803
  },
3452
3804
  "maxItems": 100
3453
3805
  },
@@ -3570,8 +3922,122 @@
3570
3922
  "type": "array",
3571
3923
  "items": {
3572
3924
  "type": "string",
3925
+ "maxLength": 48,
3926
+ "minLength": 1
3927
+ },
3928
+ "maxItems": 100
3929
+ },
3930
+ "maxItems": 100
3931
+ }
3932
+ },
3933
+ "required": [
3934
+ "type"
3935
+ ],
3936
+ "additionalProperties": false
3937
+ },
3938
+ {
3939
+ "type": "object",
3940
+ "properties": {
3941
+ "key": {
3942
+ "type": "string",
3943
+ "maxLength": 1024
3944
+ },
3945
+ "type": {
3946
+ "type": "string",
3947
+ "enum": [
3948
+ "request"
3949
+ ]
3950
+ },
3951
+ "config": {
3952
+ "type": "object",
3953
+ "properties": {
3954
+ "method": {
3955
+ "type": "string",
3956
+ "enum": [
3957
+ "*",
3958
+ "delete",
3959
+ "get",
3960
+ "options",
3961
+ "patch",
3962
+ "post",
3963
+ "put"
3964
+ ]
3965
+ },
3966
+ "route": {
3967
+ "type": "string",
3968
+ "maxLength": 1024
3969
+ }
3970
+ },
3971
+ "additionalProperties": false
3972
+ },
3973
+ "meta": {
3974
+ "type": "object",
3975
+ "properties": {
3976
+ "category": {
3977
+ "type": "string",
3978
+ "enum": [
3979
+ "trigger"
3980
+ ]
3981
+ },
3982
+ "name": {
3983
+ "type": "string",
3984
+ "enum": [
3985
+ "request"
3986
+ ]
3987
+ },
3988
+ "label": {
3989
+ "type": "string",
3990
+ "minLength": 1,
3573
3991
  "maxLength": 255
3574
3992
  },
3993
+ "x": {
3994
+ "type": "number"
3995
+ },
3996
+ "y": {
3997
+ "type": "number"
3998
+ },
3999
+ "uiId": {
4000
+ "type": "string",
4001
+ "maxLength": 48
4002
+ },
4003
+ "description": {
4004
+ "type": "string",
4005
+ "maxLength": 32767
4006
+ },
4007
+ "icon": {
4008
+ "type": "string",
4009
+ "maxLength": 1024
4010
+ },
4011
+ "color": {
4012
+ "type": "string",
4013
+ "maxLength": 1024
4014
+ },
4015
+ "inputCount": {
4016
+ "type": "number"
4017
+ },
4018
+ "outputCount": {
4019
+ "type": "number"
4020
+ },
4021
+ "triggerId": {
4022
+ "type": "string",
4023
+ "maxLength": 48
4024
+ },
4025
+ "id": {
4026
+ "type": "string",
4027
+ "maxLength": 48
4028
+ }
4029
+ },
4030
+ "additionalProperties": false
4031
+ },
4032
+ "outputIds": {
4033
+ "type": "array",
4034
+ "items": {
4035
+ "type": "array",
4036
+ "items": {
4037
+ "type": "string",
4038
+ "maxLength": 48,
4039
+ "minLength": 1
4040
+ },
3575
4041
  "maxItems": 100
3576
4042
  },
3577
4043
  "maxItems": 100
@@ -3713,7 +4179,8 @@
3713
4179
  "type": "array",
3714
4180
  "items": {
3715
4181
  "type": "string",
3716
- "maxLength": 255
4182
+ "maxLength": 48,
4183
+ "minLength": 1
3717
4184
  },
3718
4185
  "maxItems": 100
3719
4186
  },
@@ -3839,7 +4306,8 @@
3839
4306
  "type": "array",
3840
4307
  "items": {
3841
4308
  "type": "string",
3842
- "maxLength": 255
4309
+ "maxLength": 48,
4310
+ "minLength": 1
3843
4311
  },
3844
4312
  "maxItems": 100
3845
4313
  },
@@ -3954,7 +4422,8 @@
3954
4422
  "type": "array",
3955
4423
  "items": {
3956
4424
  "type": "string",
3957
- "maxLength": 255
4425
+ "maxLength": 48,
4426
+ "minLength": 1
3958
4427
  },
3959
4428
  "maxItems": 100
3960
4429
  },
@@ -3995,7 +4464,8 @@
3995
4464
  "type": "array",
3996
4465
  "items": {
3997
4466
  "type": "string",
3998
- "maxLength": 255
4467
+ "maxLength": 48,
4468
+ "minLength": 1
3999
4469
  },
4000
4470
  "maxItems": 100
4001
4471
  },