losant_rest 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +139101 -66992
  3. data/docs/application.md +6 -6
  4. data/docs/applicationCertificates.md +3 -2
  5. data/docs/applicationDashboard.md +1 -1
  6. data/docs/applications.md +1 -1
  7. data/docs/auth.md +1 -1
  8. data/docs/dashboard.md +1 -1
  9. data/docs/dashboards.md +1 -0
  10. data/docs/dataTableRow.md +1 -1
  11. data/docs/dataTableRows.md +3 -3
  12. data/docs/device.md +1 -1
  13. data/docs/edgeDeployments.md +3 -3
  14. data/docs/embeddedDeployments.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/file.md +4 -4
  17. data/docs/files.md +1 -1
  18. data/docs/flowVersions.md +1 -1
  19. data/docs/instanceApiTokens.md +1 -1
  20. data/docs/instanceMember.md +1 -1
  21. data/docs/instanceOrg.md +1 -1
  22. data/docs/instanceOrgInvite.md +2 -2
  23. data/docs/instanceOrgInvites.md +1 -1
  24. data/docs/instanceOrgMembers.md +2 -1
  25. data/docs/instanceOrgs.md +1 -1
  26. data/docs/me.md +1 -1
  27. data/docs/notebook.md +1 -1
  28. data/docs/org.md +1 -1
  29. data/docs/privateFile.md +4 -4
  30. data/docs/privateFiles.md +1 -1
  31. data/docs/resourceJob.md +2 -2
  32. data/docs/userApiTokens.md +2 -2
  33. data/lib/platform_rest/application.rb +1 -1
  34. data/lib/platform_rest/application_certificates.rb +5 -2
  35. data/lib/platform_rest/application_dashboard.rb +1 -1
  36. data/lib/platform_rest/client.rb +2 -2
  37. data/lib/platform_rest/dashboard.rb +1 -1
  38. data/lib/platform_rest/dashboards.rb +1 -0
  39. data/lib/platform_rest/data_table_row.rb +1 -1
  40. data/lib/platform_rest/data_table_rows.rb +3 -3
  41. data/lib/platform_rest/device.rb +1 -1
  42. data/lib/platform_rest/edge_deployments.rb +3 -3
  43. data/lib/platform_rest/embedded_deployments.rb +3 -3
  44. data/lib/platform_rest/experience.rb +1 -1
  45. data/lib/platform_rest/file.rb +2 -2
  46. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  47. data/lib/platform_rest/instance_member.rb +1 -1
  48. data/lib/platform_rest/instance_org.rb +1 -1
  49. data/lib/platform_rest/instance_org_invite.rb +2 -2
  50. data/lib/platform_rest/instance_org_invites.rb +2 -2
  51. data/lib/platform_rest/instance_org_members.rb +2 -1
  52. data/lib/platform_rest/instance_orgs.rb +1 -1
  53. data/lib/platform_rest/me.rb +1 -1
  54. data/lib/platform_rest/notebook.rb +1 -1
  55. data/lib/platform_rest/org.rb +1 -1
  56. data/lib/platform_rest/private_file.rb +2 -2
  57. data/lib/platform_rest/resource_job.rb +2 -2
  58. data/lib/platform_rest/user_api_tokens.rb +2 -2
  59. data/lib/platform_rest/version.rb +1 -1
  60. data/schemas/advancedApplicationCertQuery.json +1885 -0
  61. data/schemas/advancedApplicationKeyQuery.json +763 -763
  62. data/schemas/apiToken.json +10 -1
  63. data/schemas/apiTokens.json +20 -2
  64. data/schemas/application.json +15 -2
  65. data/schemas/applicationCertificate.json +90 -58
  66. data/schemas/applicationCertificateAuthorities.json +24 -0
  67. data/schemas/applicationCertificateAuthority.json +24 -0
  68. data/schemas/applicationCertificatePatch.json +32 -4
  69. data/schemas/applicationCertificatePost.json +28 -30
  70. data/schemas/applicationCertificates.json +90 -58
  71. data/schemas/applicationCreationByTemplateResult.json +15 -2
  72. data/schemas/applicationDashboardPost.json +179 -128
  73. data/schemas/applicationImportExecutions.json +3 -5
  74. data/schemas/applicationImportResult.json +674 -0
  75. data/schemas/applicationJobLog.json +129 -123
  76. data/schemas/applicationJobLogs.json +129 -123
  77. data/schemas/applicationKey.json +41 -41
  78. data/schemas/applicationKeyPatch.json +4 -4
  79. data/schemas/applicationKeyPost.json +36 -29
  80. data/schemas/applicationKeys.json +41 -41
  81. data/schemas/applicationSearchResult.json +10 -10
  82. data/schemas/applicationTemplates.json +9 -2
  83. data/schemas/applications.json +15 -2
  84. data/schemas/auditLog.json +2 -6
  85. data/schemas/auditLogs.json +2 -6
  86. data/schemas/authedDevice.json +3 -0
  87. data/schemas/credential.json +7 -0
  88. data/schemas/credentialLinkedResources.json +19724 -344
  89. data/schemas/credentialPatch.json +3 -0
  90. data/schemas/credentialPost.json +3 -0
  91. data/schemas/credentials.json +7 -0
  92. data/schemas/dashboard.json +199 -128
  93. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  94. data/schemas/dashboardPatch.json +179 -128
  95. data/schemas/dashboardPost.json +179 -128
  96. data/schemas/dashboardUpdateEventsResult.json +266 -0
  97. data/schemas/dashboards.json +199 -128
  98. data/schemas/dataTable.json +11 -0
  99. data/schemas/dataTableRowPatch.json +16 -0
  100. data/schemas/dataTableRowPost.json +39 -0
  101. data/schemas/dataTableRowPostResult.json +54 -0
  102. data/schemas/dataTables.json +11 -0
  103. data/schemas/device.json +259 -107
  104. data/schemas/deviceConnectionStatus.json +4 -0
  105. data/schemas/deviceLog.json +3 -0
  106. data/schemas/deviceRecipe.json +259 -108
  107. data/schemas/deviceRecipes.json +259 -108
  108. data/schemas/devices.json +287 -116
  109. data/schemas/edgeDeploymentRelease.json +4252 -39
  110. data/schemas/edgeDeployments.json +28 -0
  111. data/schemas/embeddedDeploymentRelease.json +2073 -0
  112. data/schemas/embeddedDeployments.json +25 -0
  113. data/schemas/error.json +14 -0
  114. data/schemas/event.json +4 -1
  115. data/schemas/eventPlusNewCount.json +4 -1
  116. data/schemas/events.json +4 -1
  117. data/schemas/experienceDomains.json +19 -0
  118. data/schemas/experienceEndpoint.json +19 -0
  119. data/schemas/experienceEndpoints.json +24 -0
  120. data/schemas/experienceLinkedResources.json +19728 -313
  121. data/schemas/experienceSlugs.json +19 -0
  122. data/schemas/experienceUsers.json +16 -2
  123. data/schemas/experienceVersions.json +25 -0
  124. data/schemas/experienceView.json +5 -0
  125. data/schemas/experienceViews.json +10 -0
  126. data/schemas/fileUploadPostResponse.json +92 -103
  127. data/schemas/files.json +5 -1
  128. data/schemas/flow.json +211 -46
  129. data/schemas/flowPatch.json +199 -46
  130. data/schemas/flowPost.json +199 -46
  131. data/schemas/flowStorageMetadata.json +2 -2
  132. data/schemas/flowVersion.json +450 -101
  133. data/schemas/flowVersionPost.json +199 -46
  134. data/schemas/flowVersions.json +9903 -113
  135. data/schemas/flows.json +9637 -46
  136. data/schemas/flowsImportPost.json +398 -92
  137. data/schemas/flowsImportResult.json +661 -147
  138. data/schemas/historicalSummaries.json +3 -2
  139. data/schemas/historicalSummary.json +3 -2
  140. data/schemas/instanceAuditLog.json +2 -6
  141. data/schemas/instanceAuditLogs.json +90 -1
  142. data/schemas/instanceCustomNode.json +41 -2
  143. data/schemas/instanceCustomNodePatch.json +59 -6
  144. data/schemas/instanceCustomNodePost.json +59 -6
  145. data/schemas/instanceCustomNodes.json +41 -2
  146. data/schemas/instanceOrg.json +4 -1
  147. data/schemas/instanceOrgInvite.json +102 -0
  148. data/schemas/instanceOrgInviteSent.json +12 -0
  149. data/schemas/instanceOrgInvites.json +145 -0
  150. data/schemas/instanceOrgMember.json +52 -0
  151. data/schemas/instanceOrgMembers.json +105 -1
  152. data/schemas/instanceOrgPost.json +1 -1
  153. data/schemas/instanceOrgs.json +5 -2
  154. data/schemas/instanceSandbox.json +5 -1
  155. data/schemas/instanceSandboxes.json +9 -1
  156. data/schemas/integration.json +38 -39
  157. data/schemas/integrationPatch.json +8 -8
  158. data/schemas/integrationPost.json +8 -8
  159. data/schemas/integrations.json +38 -39
  160. data/schemas/jobEnqueuedResult.json +1 -1
  161. data/schemas/me.json +685 -88
  162. data/schemas/notebook.json +33 -21
  163. data/schemas/notebookExecutionLogs.json +20 -0
  164. data/schemas/notebookMinuteCounts.json +1 -1
  165. data/schemas/notebookPatch.json +29 -21
  166. data/schemas/notebookPost.json +29 -21
  167. data/schemas/notebooks.json +33 -21
  168. data/schemas/notificationRule.json +4 -0
  169. data/schemas/notificationRules.json +8 -0
  170. data/schemas/org.json +14 -1
  171. data/schemas/orgInvites.json +77 -82
  172. data/schemas/orgInvitesUser.json +44 -47
  173. data/schemas/orgs.json +14 -1
  174. data/schemas/paletteResponse.json +372 -364
  175. data/schemas/periodSummaries.json +1 -1
  176. data/schemas/recentItemList.json +226 -27
  177. data/schemas/resourceJob.json +33 -9
  178. data/schemas/resourceJobExecutionLogs.json +34 -20
  179. data/schemas/resourceJobExecutionOptions.json +1 -1
  180. data/schemas/resourceJobPatch.json +9 -9
  181. data/schemas/resourceJobPost.json +9 -9
  182. data/schemas/resourceJobs.json +33 -9
  183. data/schemas/tagValuesResponse.json +1 -2
  184. data/schemas/templateKeywords.json +1 -0
  185. data/schemas/timeSeriesData.json +36 -4
  186. data/schemas/userOauthToken.json +4 -1
  187. data/schemas/userOauthTokenPost.json +1 -1
  188. data/schemas/userOauthTokens.json +4 -1
  189. data/schemas/validateContextError.json +71 -24
  190. data/schemas/validateContextSuccess.json +71 -24
  191. metadata +10 -1
@@ -4,6 +4,11 @@
4
4
  {
5
5
  "description": "Schema for a single Cloud/Edge/Embedded/Custom Node Workflow Version",
6
6
  "type": "object",
7
+ "not": {
8
+ "required": [
9
+ "flowClass"
10
+ ]
11
+ },
7
12
  "properties": {
8
13
  "id": {
9
14
  "type": "string",
@@ -58,15 +63,6 @@
58
63
  "minLength": 1,
59
64
  "maxLength": 255
60
65
  },
61
- "flowClass": {
62
- "type": "string",
63
- "enum": [
64
- "cloud",
65
- "edge",
66
- "embedded",
67
- "customNode"
68
- ]
69
- },
70
66
  "notes": {
71
67
  "type": "string",
72
68
  "maxLength": 32767
@@ -77,6 +73,10 @@
77
73
  "triggers": {
78
74
  "type": "array",
79
75
  "items": {
76
+ "type": "object",
77
+ "discriminator": {
78
+ "propertyName": "type"
79
+ },
80
80
  "oneOf": [
81
81
  {
82
82
  "type": "object",
@@ -165,7 +165,11 @@
165
165
  "maxLength": 48
166
166
  }
167
167
  },
168
- "additionalProperties": false
168
+ "additionalProperties": false,
169
+ "required": [
170
+ "category",
171
+ "name"
172
+ ]
169
173
  },
170
174
  "outputIds": {
171
175
  "type": "array",
@@ -182,7 +186,8 @@
182
186
  }
183
187
  },
184
188
  "required": [
185
- "type"
189
+ "type",
190
+ "meta"
186
191
  ],
187
192
  "additionalProperties": false
188
193
  },
@@ -292,7 +297,11 @@
292
297
  "maxLength": 48
293
298
  }
294
299
  },
295
- "additionalProperties": false
300
+ "additionalProperties": false,
301
+ "required": [
302
+ "category",
303
+ "name"
304
+ ]
296
305
  },
297
306
  "outputIds": {
298
307
  "type": "array",
@@ -309,7 +318,8 @@
309
318
  }
310
319
  },
311
320
  "required": [
312
- "type"
321
+ "type",
322
+ "meta"
313
323
  ],
314
324
  "additionalProperties": false
315
325
  },
@@ -431,7 +441,11 @@
431
441
  "maxLength": 48
432
442
  }
433
443
  },
434
- "additionalProperties": false
444
+ "additionalProperties": false,
445
+ "required": [
446
+ "category",
447
+ "name"
448
+ ]
435
449
  },
436
450
  "outputIds": {
437
451
  "type": "array",
@@ -448,7 +462,8 @@
448
462
  }
449
463
  },
450
464
  "required": [
451
- "type"
465
+ "type",
466
+ "meta"
452
467
  ],
453
468
  "additionalProperties": false
454
469
  },
@@ -536,7 +551,11 @@
536
551
  "maxLength": 48
537
552
  }
538
553
  },
539
- "additionalProperties": false
554
+ "additionalProperties": false,
555
+ "required": [
556
+ "category",
557
+ "name"
558
+ ]
540
559
  },
541
560
  "outputIds": {
542
561
  "type": "array",
@@ -553,7 +572,8 @@
553
572
  }
554
573
  },
555
574
  "required": [
556
- "type"
575
+ "type",
576
+ "meta"
557
577
  ],
558
578
  "additionalProperties": false
559
579
  },
@@ -650,7 +670,11 @@
650
670
  "maxLength": 48
651
671
  }
652
672
  },
653
- "additionalProperties": false
673
+ "additionalProperties": false,
674
+ "required": [
675
+ "category",
676
+ "name"
677
+ ]
654
678
  },
655
679
  "outputIds": {
656
680
  "type": "array",
@@ -667,7 +691,8 @@
667
691
  }
668
692
  },
669
693
  "required": [
670
- "type"
694
+ "type",
695
+ "meta"
671
696
  ],
672
697
  "additionalProperties": false
673
698
  },
@@ -798,7 +823,11 @@
798
823
  ]
799
824
  }
800
825
  },
801
- "additionalProperties": false
826
+ "additionalProperties": false,
827
+ "required": [
828
+ "category",
829
+ "name"
830
+ ]
802
831
  },
803
832
  "outputIds": {
804
833
  "type": "array",
@@ -815,7 +844,8 @@
815
844
  }
816
845
  },
817
846
  "required": [
818
- "type"
847
+ "type",
848
+ "meta"
819
849
  ],
820
850
  "additionalProperties": false
821
851
  },
@@ -895,7 +925,11 @@
895
925
  "maxLength": 48
896
926
  }
897
927
  },
898
- "additionalProperties": false
928
+ "additionalProperties": false,
929
+ "required": [
930
+ "category",
931
+ "name"
932
+ ]
899
933
  },
900
934
  "outputIds": {
901
935
  "type": "array",
@@ -912,7 +946,8 @@
912
946
  }
913
947
  },
914
948
  "required": [
915
- "type"
949
+ "type",
950
+ "meta"
916
951
  ],
917
952
  "additionalProperties": false
918
953
  },
@@ -987,7 +1022,11 @@
987
1022
  "maxLength": 48
988
1023
  }
989
1024
  },
990
- "additionalProperties": false
1025
+ "additionalProperties": false,
1026
+ "required": [
1027
+ "category",
1028
+ "name"
1029
+ ]
991
1030
  },
992
1031
  "outputIds": {
993
1032
  "type": "array",
@@ -1004,7 +1043,8 @@
1004
1043
  }
1005
1044
  },
1006
1045
  "required": [
1007
- "type"
1046
+ "type",
1047
+ "meta"
1008
1048
  ],
1009
1049
  "additionalProperties": false
1010
1050
  },
@@ -1085,7 +1125,11 @@
1085
1125
  "maxLength": 48
1086
1126
  }
1087
1127
  },
1088
- "additionalProperties": false
1128
+ "additionalProperties": false,
1129
+ "required": [
1130
+ "category",
1131
+ "name"
1132
+ ]
1089
1133
  },
1090
1134
  "outputIds": {
1091
1135
  "type": "array",
@@ -1102,7 +1146,8 @@
1102
1146
  }
1103
1147
  },
1104
1148
  "required": [
1105
- "type"
1149
+ "type",
1150
+ "meta"
1106
1151
  ],
1107
1152
  "additionalProperties": false
1108
1153
  },
@@ -1191,7 +1236,11 @@
1191
1236
  "maxLength": 48
1192
1237
  }
1193
1238
  },
1194
- "additionalProperties": false
1239
+ "additionalProperties": false,
1240
+ "required": [
1241
+ "category",
1242
+ "name"
1243
+ ]
1195
1244
  },
1196
1245
  "outputIds": {
1197
1246
  "type": "array",
@@ -1208,7 +1257,8 @@
1208
1257
  }
1209
1258
  },
1210
1259
  "required": [
1211
- "type"
1260
+ "type",
1261
+ "meta"
1212
1262
  ],
1213
1263
  "additionalProperties": false
1214
1264
  },
@@ -1300,7 +1350,11 @@
1300
1350
  "maxLength": 48
1301
1351
  }
1302
1352
  },
1303
- "additionalProperties": false
1353
+ "additionalProperties": false,
1354
+ "required": [
1355
+ "category",
1356
+ "name"
1357
+ ]
1304
1358
  },
1305
1359
  "outputIds": {
1306
1360
  "type": "array",
@@ -1317,7 +1371,8 @@
1317
1371
  }
1318
1372
  },
1319
1373
  "required": [
1320
- "type"
1374
+ "type",
1375
+ "meta"
1321
1376
  ],
1322
1377
  "additionalProperties": false
1323
1378
  },
@@ -1412,7 +1467,11 @@
1412
1467
  "maxLength": 48
1413
1468
  }
1414
1469
  },
1415
- "additionalProperties": false
1470
+ "additionalProperties": false,
1471
+ "required": [
1472
+ "category",
1473
+ "name"
1474
+ ]
1416
1475
  },
1417
1476
  "outputIds": {
1418
1477
  "type": "array",
@@ -1429,7 +1488,8 @@
1429
1488
  }
1430
1489
  },
1431
1490
  "required": [
1432
- "type"
1491
+ "type",
1492
+ "meta"
1433
1493
  ],
1434
1494
  "additionalProperties": false
1435
1495
  },
@@ -1514,7 +1574,11 @@
1514
1574
  "maxLength": 48
1515
1575
  }
1516
1576
  },
1517
- "additionalProperties": false
1577
+ "additionalProperties": false,
1578
+ "required": [
1579
+ "category",
1580
+ "name"
1581
+ ]
1518
1582
  },
1519
1583
  "outputIds": {
1520
1584
  "type": "array",
@@ -1531,7 +1595,8 @@
1531
1595
  }
1532
1596
  },
1533
1597
  "required": [
1534
- "type"
1598
+ "type",
1599
+ "meta"
1535
1600
  ],
1536
1601
  "additionalProperties": false
1537
1602
  },
@@ -1619,7 +1684,11 @@
1619
1684
  "maxLength": 48
1620
1685
  }
1621
1686
  },
1622
- "additionalProperties": false
1687
+ "additionalProperties": false,
1688
+ "required": [
1689
+ "category",
1690
+ "name"
1691
+ ]
1623
1692
  },
1624
1693
  "outputIds": {
1625
1694
  "type": "array",
@@ -1636,7 +1705,8 @@
1636
1705
  }
1637
1706
  },
1638
1707
  "required": [
1639
- "type"
1708
+ "type",
1709
+ "meta"
1640
1710
  ],
1641
1711
  "additionalProperties": false
1642
1712
  },
@@ -1707,7 +1777,11 @@
1707
1777
  "maxLength": 32767
1708
1778
  }
1709
1779
  },
1710
- "additionalProperties": false
1780
+ "additionalProperties": false,
1781
+ "required": [
1782
+ "category",
1783
+ "name"
1784
+ ]
1711
1785
  },
1712
1786
  "outputIds": {
1713
1787
  "type": "array",
@@ -1724,7 +1798,8 @@
1724
1798
  }
1725
1799
  },
1726
1800
  "required": [
1727
- "type"
1801
+ "type",
1802
+ "meta"
1728
1803
  ],
1729
1804
  "additionalProperties": false
1730
1805
  },
@@ -1853,7 +1928,11 @@
1853
1928
  "maxLength": 48
1854
1929
  }
1855
1930
  },
1856
- "additionalProperties": false
1931
+ "additionalProperties": false,
1932
+ "required": [
1933
+ "category",
1934
+ "name"
1935
+ ]
1857
1936
  },
1858
1937
  "outputIds": {
1859
1938
  "type": "array",
@@ -1870,7 +1949,8 @@
1870
1949
  }
1871
1950
  },
1872
1951
  "required": [
1873
- "type"
1952
+ "type",
1953
+ "meta"
1874
1954
  ],
1875
1955
  "additionalProperties": false
1876
1956
  },
@@ -1977,7 +2057,11 @@
1977
2057
  "maxLength": 48
1978
2058
  }
1979
2059
  },
1980
- "additionalProperties": false
2060
+ "additionalProperties": false,
2061
+ "required": [
2062
+ "category",
2063
+ "name"
2064
+ ]
1981
2065
  },
1982
2066
  "outputIds": {
1983
2067
  "type": "array",
@@ -1994,7 +2078,8 @@
1994
2078
  }
1995
2079
  },
1996
2080
  "required": [
1997
- "type"
2081
+ "type",
2082
+ "meta"
1998
2083
  ],
1999
2084
  "additionalProperties": false
2000
2085
  },
@@ -2090,7 +2175,11 @@
2090
2175
  "maxLength": 48
2091
2176
  }
2092
2177
  },
2093
- "additionalProperties": false
2178
+ "additionalProperties": false,
2179
+ "required": [
2180
+ "category",
2181
+ "name"
2182
+ ]
2094
2183
  },
2095
2184
  "outputIds": {
2096
2185
  "type": "array",
@@ -2107,7 +2196,8 @@
2107
2196
  }
2108
2197
  },
2109
2198
  "required": [
2110
- "type"
2199
+ "type",
2200
+ "meta"
2111
2201
  ],
2112
2202
  "additionalProperties": false
2113
2203
  },
@@ -2234,7 +2324,11 @@
2234
2324
  ]
2235
2325
  }
2236
2326
  },
2237
- "additionalProperties": false
2327
+ "additionalProperties": false,
2328
+ "required": [
2329
+ "category",
2330
+ "name"
2331
+ ]
2238
2332
  },
2239
2333
  "outputIds": {
2240
2334
  "type": "array",
@@ -2251,7 +2345,8 @@
2251
2345
  }
2252
2346
  },
2253
2347
  "required": [
2254
- "type"
2348
+ "type",
2349
+ "meta"
2255
2350
  ],
2256
2351
  "additionalProperties": false
2257
2352
  },
@@ -2389,7 +2484,11 @@
2389
2484
  "maxLength": 48
2390
2485
  }
2391
2486
  },
2392
- "additionalProperties": false
2487
+ "additionalProperties": false,
2488
+ "required": [
2489
+ "category",
2490
+ "name"
2491
+ ]
2393
2492
  },
2394
2493
  "outputIds": {
2395
2494
  "type": "array",
@@ -2406,7 +2505,8 @@
2406
2505
  }
2407
2506
  },
2408
2507
  "required": [
2409
- "type"
2508
+ "type",
2509
+ "meta"
2410
2510
  ],
2411
2511
  "additionalProperties": false
2412
2512
  },
@@ -2516,7 +2616,11 @@
2516
2616
  }
2517
2617
  }
2518
2618
  },
2519
- "additionalProperties": false
2619
+ "additionalProperties": false,
2620
+ "required": [
2621
+ "category",
2622
+ "name"
2623
+ ]
2520
2624
  },
2521
2625
  "outputIds": {
2522
2626
  "type": "array",
@@ -2533,7 +2637,8 @@
2533
2637
  }
2534
2638
  },
2535
2639
  "required": [
2536
- "type"
2640
+ "type",
2641
+ "meta"
2537
2642
  ],
2538
2643
  "additionalProperties": false
2539
2644
  },
@@ -2632,7 +2737,11 @@
2632
2737
  ]
2633
2738
  }
2634
2739
  },
2635
- "additionalProperties": false
2740
+ "additionalProperties": false,
2741
+ "required": [
2742
+ "category",
2743
+ "name"
2744
+ ]
2636
2745
  },
2637
2746
  "outputIds": {
2638
2747
  "type": "array",
@@ -2649,7 +2758,8 @@
2649
2758
  }
2650
2759
  },
2651
2760
  "required": [
2652
- "type"
2761
+ "type",
2762
+ "meta"
2653
2763
  ],
2654
2764
  "additionalProperties": false
2655
2765
  }
@@ -2674,7 +2784,41 @@
2674
2784
  "type": "object"
2675
2785
  },
2676
2786
  "meta": {
2677
- "type": "object"
2787
+ "type": "object",
2788
+ "properties": {
2789
+ "category": {
2790
+ "type": "string",
2791
+ "minLength": 1,
2792
+ "maxLength": 1024
2793
+ },
2794
+ "name": {
2795
+ "type": "string",
2796
+ "minLength": 1,
2797
+ "maxLength": 1024
2798
+ },
2799
+ "label": {
2800
+ "type": "string",
2801
+ "minLength": 1,
2802
+ "maxLength": 255
2803
+ },
2804
+ "description": {
2805
+ "type": "string",
2806
+ "maxLength": 32767
2807
+ },
2808
+ "x": {
2809
+ "type": "number"
2810
+ },
2811
+ "y": {
2812
+ "type": "number"
2813
+ },
2814
+ "groupId": {
2815
+ "type": "string",
2816
+ "maxLength": 1024
2817
+ }
2818
+ },
2819
+ "required": [
2820
+ "name"
2821
+ ]
2678
2822
  },
2679
2823
  "outputIds": {
2680
2824
  "type": "array",
@@ -2692,7 +2836,8 @@
2692
2836
  },
2693
2837
  "additionalProperties": false,
2694
2838
  "required": [
2695
- "type"
2839
+ "type",
2840
+ "meta"
2696
2841
  ]
2697
2842
  }
2698
2843
  },
@@ -2749,6 +2894,10 @@
2749
2894
  "type": "array",
2750
2895
  "maxItems": 100,
2751
2896
  "items": {
2897
+ "type": "object",
2898
+ "discriminator": {
2899
+ "propertyName": "type"
2900
+ },
2752
2901
  "oneOf": [
2753
2902
  {
2754
2903
  "type": "object",
@@ -3063,12 +3212,27 @@
3063
3212
  }
3064
3213
  }
3065
3214
  }
3215
+ },
3216
+ "_customNodes": {
3217
+ "type": "array",
3218
+ "items": {
3219
+ "$ref": "#/definitions/flow"
3220
+ }
3221
+ },
3222
+ "_customNodeVersions": {
3223
+ "type": "array",
3224
+ "items": {
3225
+ "$ref": "#/definitions/flowVersion"
3226
+ }
3066
3227
  }
3067
3228
  }
3068
3229
  },
3069
3230
  {
3070
3231
  "description": "Schema for a single Experience Workflow Version",
3071
3232
  "type": "object",
3233
+ "required": [
3234
+ "flowClass"
3235
+ ],
3072
3236
  "properties": {
3073
3237
  "id": {
3074
3238
  "type": "string",
@@ -3094,6 +3258,30 @@
3094
3258
  "type": "string",
3095
3259
  "format": "date-time"
3096
3260
  },
3261
+ "createdById": {
3262
+ "type": "string",
3263
+ "pattern": "^[A-Fa-f\\d]{24}$"
3264
+ },
3265
+ "createdByType": {
3266
+ "type": "string",
3267
+ "enum": [
3268
+ "flow",
3269
+ "user",
3270
+ "apiToken"
3271
+ ]
3272
+ },
3273
+ "lastUpdatedById": {
3274
+ "type": "string",
3275
+ "pattern": "^[A-Fa-f\\d]{24}$"
3276
+ },
3277
+ "lastUpdatedByType": {
3278
+ "type": "string",
3279
+ "enum": [
3280
+ "flow",
3281
+ "user",
3282
+ "apiToken"
3283
+ ]
3284
+ },
3097
3285
  "name": {
3098
3286
  "type": "string",
3099
3287
  "minLength": 1,
@@ -3123,6 +3311,10 @@
3123
3311
  "triggers": {
3124
3312
  "type": "array",
3125
3313
  "items": {
3314
+ "type": "object",
3315
+ "discriminator": {
3316
+ "propertyName": "type"
3317
+ },
3126
3318
  "oneOf": [
3127
3319
  {
3128
3320
  "type": "object",
@@ -3211,7 +3403,11 @@
3211
3403
  "maxLength": 48
3212
3404
  }
3213
3405
  },
3214
- "additionalProperties": false
3406
+ "additionalProperties": false,
3407
+ "required": [
3408
+ "category",
3409
+ "name"
3410
+ ]
3215
3411
  },
3216
3412
  "outputIds": {
3217
3413
  "type": "array",
@@ -3228,7 +3424,8 @@
3228
3424
  }
3229
3425
  },
3230
3426
  "required": [
3231
- "type"
3427
+ "type",
3428
+ "meta"
3232
3429
  ],
3233
3430
  "additionalProperties": false
3234
3431
  },
@@ -3338,7 +3535,11 @@
3338
3535
  "maxLength": 48
3339
3536
  }
3340
3537
  },
3341
- "additionalProperties": false
3538
+ "additionalProperties": false,
3539
+ "required": [
3540
+ "category",
3541
+ "name"
3542
+ ]
3342
3543
  },
3343
3544
  "outputIds": {
3344
3545
  "type": "array",
@@ -3355,7 +3556,8 @@
3355
3556
  }
3356
3557
  },
3357
3558
  "required": [
3358
- "type"
3559
+ "type",
3560
+ "meta"
3359
3561
  ],
3360
3562
  "additionalProperties": false
3361
3563
  },
@@ -3477,7 +3679,11 @@
3477
3679
  "maxLength": 48
3478
3680
  }
3479
3681
  },
3480
- "additionalProperties": false
3682
+ "additionalProperties": false,
3683
+ "required": [
3684
+ "category",
3685
+ "name"
3686
+ ]
3481
3687
  },
3482
3688
  "outputIds": {
3483
3689
  "type": "array",
@@ -3494,7 +3700,8 @@
3494
3700
  }
3495
3701
  },
3496
3702
  "required": [
3497
- "type"
3703
+ "type",
3704
+ "meta"
3498
3705
  ],
3499
3706
  "additionalProperties": false
3500
3707
  },
@@ -3582,7 +3789,11 @@
3582
3789
  "maxLength": 48
3583
3790
  }
3584
3791
  },
3585
- "additionalProperties": false
3792
+ "additionalProperties": false,
3793
+ "required": [
3794
+ "category",
3795
+ "name"
3796
+ ]
3586
3797
  },
3587
3798
  "outputIds": {
3588
3799
  "type": "array",
@@ -3599,7 +3810,8 @@
3599
3810
  }
3600
3811
  },
3601
3812
  "required": [
3602
- "type"
3813
+ "type",
3814
+ "meta"
3603
3815
  ],
3604
3816
  "additionalProperties": false
3605
3817
  },
@@ -3696,7 +3908,11 @@
3696
3908
  "maxLength": 48
3697
3909
  }
3698
3910
  },
3699
- "additionalProperties": false
3911
+ "additionalProperties": false,
3912
+ "required": [
3913
+ "category",
3914
+ "name"
3915
+ ]
3700
3916
  },
3701
3917
  "outputIds": {
3702
3918
  "type": "array",
@@ -3713,7 +3929,8 @@
3713
3929
  }
3714
3930
  },
3715
3931
  "required": [
3716
- "type"
3932
+ "type",
3933
+ "meta"
3717
3934
  ],
3718
3935
  "additionalProperties": false
3719
3936
  },
@@ -3844,7 +4061,11 @@
3844
4061
  ]
3845
4062
  }
3846
4063
  },
3847
- "additionalProperties": false
4064
+ "additionalProperties": false,
4065
+ "required": [
4066
+ "category",
4067
+ "name"
4068
+ ]
3848
4069
  },
3849
4070
  "outputIds": {
3850
4071
  "type": "array",
@@ -3861,7 +4082,8 @@
3861
4082
  }
3862
4083
  },
3863
4084
  "required": [
3864
- "type"
4085
+ "type",
4086
+ "meta"
3865
4087
  ],
3866
4088
  "additionalProperties": false
3867
4089
  },
@@ -3941,7 +4163,11 @@
3941
4163
  "maxLength": 48
3942
4164
  }
3943
4165
  },
3944
- "additionalProperties": false
4166
+ "additionalProperties": false,
4167
+ "required": [
4168
+ "category",
4169
+ "name"
4170
+ ]
3945
4171
  },
3946
4172
  "outputIds": {
3947
4173
  "type": "array",
@@ -3958,7 +4184,8 @@
3958
4184
  }
3959
4185
  },
3960
4186
  "required": [
3961
- "type"
4187
+ "type",
4188
+ "meta"
3962
4189
  ],
3963
4190
  "additionalProperties": false
3964
4191
  },
@@ -4033,7 +4260,11 @@
4033
4260
  "maxLength": 48
4034
4261
  }
4035
4262
  },
4036
- "additionalProperties": false
4263
+ "additionalProperties": false,
4264
+ "required": [
4265
+ "category",
4266
+ "name"
4267
+ ]
4037
4268
  },
4038
4269
  "outputIds": {
4039
4270
  "type": "array",
@@ -4050,7 +4281,8 @@
4050
4281
  }
4051
4282
  },
4052
4283
  "required": [
4053
- "type"
4284
+ "type",
4285
+ "meta"
4054
4286
  ],
4055
4287
  "additionalProperties": false
4056
4288
  },
@@ -4131,7 +4363,11 @@
4131
4363
  "maxLength": 48
4132
4364
  }
4133
4365
  },
4134
- "additionalProperties": false
4366
+ "additionalProperties": false,
4367
+ "required": [
4368
+ "category",
4369
+ "name"
4370
+ ]
4135
4371
  },
4136
4372
  "outputIds": {
4137
4373
  "type": "array",
@@ -4148,7 +4384,8 @@
4148
4384
  }
4149
4385
  },
4150
4386
  "required": [
4151
- "type"
4387
+ "type",
4388
+ "meta"
4152
4389
  ],
4153
4390
  "additionalProperties": false
4154
4391
  },
@@ -4237,7 +4474,11 @@
4237
4474
  "maxLength": 48
4238
4475
  }
4239
4476
  },
4240
- "additionalProperties": false
4477
+ "additionalProperties": false,
4478
+ "required": [
4479
+ "category",
4480
+ "name"
4481
+ ]
4241
4482
  },
4242
4483
  "outputIds": {
4243
4484
  "type": "array",
@@ -4254,7 +4495,8 @@
4254
4495
  }
4255
4496
  },
4256
4497
  "required": [
4257
- "type"
4498
+ "type",
4499
+ "meta"
4258
4500
  ],
4259
4501
  "additionalProperties": false
4260
4502
  },
@@ -4346,7 +4588,11 @@
4346
4588
  "maxLength": 48
4347
4589
  }
4348
4590
  },
4349
- "additionalProperties": false
4591
+ "additionalProperties": false,
4592
+ "required": [
4593
+ "category",
4594
+ "name"
4595
+ ]
4350
4596
  },
4351
4597
  "outputIds": {
4352
4598
  "type": "array",
@@ -4363,7 +4609,8 @@
4363
4609
  }
4364
4610
  },
4365
4611
  "required": [
4366
- "type"
4612
+ "type",
4613
+ "meta"
4367
4614
  ],
4368
4615
  "additionalProperties": false
4369
4616
  },
@@ -4458,7 +4705,11 @@
4458
4705
  "maxLength": 48
4459
4706
  }
4460
4707
  },
4461
- "additionalProperties": false
4708
+ "additionalProperties": false,
4709
+ "required": [
4710
+ "category",
4711
+ "name"
4712
+ ]
4462
4713
  },
4463
4714
  "outputIds": {
4464
4715
  "type": "array",
@@ -4475,7 +4726,8 @@
4475
4726
  }
4476
4727
  },
4477
4728
  "required": [
4478
- "type"
4729
+ "type",
4730
+ "meta"
4479
4731
  ],
4480
4732
  "additionalProperties": false
4481
4733
  },
@@ -4560,7 +4812,11 @@
4560
4812
  "maxLength": 48
4561
4813
  }
4562
4814
  },
4563
- "additionalProperties": false
4815
+ "additionalProperties": false,
4816
+ "required": [
4817
+ "category",
4818
+ "name"
4819
+ ]
4564
4820
  },
4565
4821
  "outputIds": {
4566
4822
  "type": "array",
@@ -4577,7 +4833,8 @@
4577
4833
  }
4578
4834
  },
4579
4835
  "required": [
4580
- "type"
4836
+ "type",
4837
+ "meta"
4581
4838
  ],
4582
4839
  "additionalProperties": false
4583
4840
  },
@@ -4665,7 +4922,11 @@
4665
4922
  "maxLength": 48
4666
4923
  }
4667
4924
  },
4668
- "additionalProperties": false
4925
+ "additionalProperties": false,
4926
+ "required": [
4927
+ "category",
4928
+ "name"
4929
+ ]
4669
4930
  },
4670
4931
  "outputIds": {
4671
4932
  "type": "array",
@@ -4682,7 +4943,8 @@
4682
4943
  }
4683
4944
  },
4684
4945
  "required": [
4685
- "type"
4946
+ "type",
4947
+ "meta"
4686
4948
  ],
4687
4949
  "additionalProperties": false
4688
4950
  },
@@ -4753,7 +5015,11 @@
4753
5015
  "maxLength": 32767
4754
5016
  }
4755
5017
  },
4756
- "additionalProperties": false
5018
+ "additionalProperties": false,
5019
+ "required": [
5020
+ "category",
5021
+ "name"
5022
+ ]
4757
5023
  },
4758
5024
  "outputIds": {
4759
5025
  "type": "array",
@@ -4770,7 +5036,8 @@
4770
5036
  }
4771
5037
  },
4772
5038
  "required": [
4773
- "type"
5039
+ "type",
5040
+ "meta"
4774
5041
  ],
4775
5042
  "additionalProperties": false
4776
5043
  },
@@ -4899,7 +5166,11 @@
4899
5166
  "maxLength": 48
4900
5167
  }
4901
5168
  },
4902
- "additionalProperties": false
5169
+ "additionalProperties": false,
5170
+ "required": [
5171
+ "category",
5172
+ "name"
5173
+ ]
4903
5174
  },
4904
5175
  "outputIds": {
4905
5176
  "type": "array",
@@ -4916,7 +5187,8 @@
4916
5187
  }
4917
5188
  },
4918
5189
  "required": [
4919
- "type"
5190
+ "type",
5191
+ "meta"
4920
5192
  ],
4921
5193
  "additionalProperties": false
4922
5194
  },
@@ -5023,7 +5295,11 @@
5023
5295
  "maxLength": 48
5024
5296
  }
5025
5297
  },
5026
- "additionalProperties": false
5298
+ "additionalProperties": false,
5299
+ "required": [
5300
+ "category",
5301
+ "name"
5302
+ ]
5027
5303
  },
5028
5304
  "outputIds": {
5029
5305
  "type": "array",
@@ -5040,7 +5316,8 @@
5040
5316
  }
5041
5317
  },
5042
5318
  "required": [
5043
- "type"
5319
+ "type",
5320
+ "meta"
5044
5321
  ],
5045
5322
  "additionalProperties": false
5046
5323
  },
@@ -5136,7 +5413,11 @@
5136
5413
  "maxLength": 48
5137
5414
  }
5138
5415
  },
5139
- "additionalProperties": false
5416
+ "additionalProperties": false,
5417
+ "required": [
5418
+ "category",
5419
+ "name"
5420
+ ]
5140
5421
  },
5141
5422
  "outputIds": {
5142
5423
  "type": "array",
@@ -5153,7 +5434,8 @@
5153
5434
  }
5154
5435
  },
5155
5436
  "required": [
5156
- "type"
5437
+ "type",
5438
+ "meta"
5157
5439
  ],
5158
5440
  "additionalProperties": false
5159
5441
  },
@@ -5280,7 +5562,11 @@
5280
5562
  ]
5281
5563
  }
5282
5564
  },
5283
- "additionalProperties": false
5565
+ "additionalProperties": false,
5566
+ "required": [
5567
+ "category",
5568
+ "name"
5569
+ ]
5284
5570
  },
5285
5571
  "outputIds": {
5286
5572
  "type": "array",
@@ -5297,7 +5583,8 @@
5297
5583
  }
5298
5584
  },
5299
5585
  "required": [
5300
- "type"
5586
+ "type",
5587
+ "meta"
5301
5588
  ],
5302
5589
  "additionalProperties": false
5303
5590
  },
@@ -5435,7 +5722,11 @@
5435
5722
  "maxLength": 48
5436
5723
  }
5437
5724
  },
5438
- "additionalProperties": false
5725
+ "additionalProperties": false,
5726
+ "required": [
5727
+ "category",
5728
+ "name"
5729
+ ]
5439
5730
  },
5440
5731
  "outputIds": {
5441
5732
  "type": "array",
@@ -5452,7 +5743,8 @@
5452
5743
  }
5453
5744
  },
5454
5745
  "required": [
5455
- "type"
5746
+ "type",
5747
+ "meta"
5456
5748
  ],
5457
5749
  "additionalProperties": false
5458
5750
  },
@@ -5562,7 +5854,11 @@
5562
5854
  }
5563
5855
  }
5564
5856
  },
5565
- "additionalProperties": false
5857
+ "additionalProperties": false,
5858
+ "required": [
5859
+ "category",
5860
+ "name"
5861
+ ]
5566
5862
  },
5567
5863
  "outputIds": {
5568
5864
  "type": "array",
@@ -5579,7 +5875,8 @@
5579
5875
  }
5580
5876
  },
5581
5877
  "required": [
5582
- "type"
5878
+ "type",
5879
+ "meta"
5583
5880
  ],
5584
5881
  "additionalProperties": false
5585
5882
  },
@@ -5678,7 +5975,11 @@
5678
5975
  ]
5679
5976
  }
5680
5977
  },
5681
- "additionalProperties": false
5978
+ "additionalProperties": false,
5979
+ "required": [
5980
+ "category",
5981
+ "name"
5982
+ ]
5682
5983
  },
5683
5984
  "outputIds": {
5684
5985
  "type": "array",
@@ -5695,7 +5996,8 @@
5695
5996
  }
5696
5997
  },
5697
5998
  "required": [
5698
- "type"
5999
+ "type",
6000
+ "meta"
5699
6001
  ],
5700
6002
  "additionalProperties": false
5701
6003
  }
@@ -5720,7 +6022,41 @@
5720
6022
  "type": "object"
5721
6023
  },
5722
6024
  "meta": {
5723
- "type": "object"
6025
+ "type": "object",
6026
+ "properties": {
6027
+ "category": {
6028
+ "type": "string",
6029
+ "minLength": 1,
6030
+ "maxLength": 1024
6031
+ },
6032
+ "name": {
6033
+ "type": "string",
6034
+ "minLength": 1,
6035
+ "maxLength": 1024
6036
+ },
6037
+ "label": {
6038
+ "type": "string",
6039
+ "minLength": 1,
6040
+ "maxLength": 255
6041
+ },
6042
+ "description": {
6043
+ "type": "string",
6044
+ "maxLength": 32767
6045
+ },
6046
+ "x": {
6047
+ "type": "number"
6048
+ },
6049
+ "y": {
6050
+ "type": "number"
6051
+ },
6052
+ "groupId": {
6053
+ "type": "string",
6054
+ "maxLength": 1024
6055
+ }
6056
+ },
6057
+ "required": [
6058
+ "name"
6059
+ ]
5724
6060
  },
5725
6061
  "outputIds": {
5726
6062
  "type": "array",
@@ -5738,7 +6074,8 @@
5738
6074
  },
5739
6075
  "additionalProperties": false,
5740
6076
  "required": [
5741
- "type"
6077
+ "type",
6078
+ "meta"
5742
6079
  ]
5743
6080
  }
5744
6081
  },
@@ -5791,6 +6128,18 @@
5791
6128
  }
5792
6129
  }
5793
6130
  }
6131
+ },
6132
+ "_customNodes": {
6133
+ "type": "array",
6134
+ "items": {
6135
+ "$ref": "#/definitions/flow"
6136
+ }
6137
+ },
6138
+ "_customNodeVersions": {
6139
+ "type": "array",
6140
+ "items": {
6141
+ "$ref": "#/definitions/flowVersion"
6142
+ }
5794
6143
  }
5795
6144
  }
5796
6145
  }