losant_rest 1.11.1 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/docs/_schemas.md +34959 -19022
  5. data/docs/application.md +46 -5
  6. data/docs/applicationApiTokens.md +1 -1
  7. data/docs/applicationDashboard.md +133 -0
  8. data/docs/applicationDashboards.md +93 -0
  9. data/docs/applicationKeys.md +3 -2
  10. data/docs/applications.md +1 -1
  11. data/docs/dataTable.md +1 -1
  12. data/docs/dataTableRows.md +1 -1
  13. data/docs/dataTables.md +1 -1
  14. data/docs/device.md +43 -0
  15. data/docs/devices.md +41 -2
  16. data/docs/edgeDeployment.md +49 -0
  17. data/docs/events.md +3 -3
  18. data/docs/experience.md +1 -1
  19. data/docs/experienceDomains.md +1 -1
  20. data/docs/experienceEndpoint.md +1 -0
  21. data/docs/experienceGroup.md +2 -0
  22. data/docs/experienceSlugs.md +1 -1
  23. data/docs/experienceVersion.md +3 -3
  24. data/docs/experienceVersions.md +2 -2
  25. data/docs/experienceView.md +4 -4
  26. data/docs/experienceViews.md +2 -2
  27. data/docs/file.md +5 -5
  28. data/docs/files.md +2 -2
  29. data/docs/flow.md +41 -0
  30. data/docs/flowVersions.md +44 -0
  31. data/docs/flows.md +1 -0
  32. data/docs/instance.md +166 -0
  33. data/docs/instanceApiToken.md +133 -0
  34. data/docs/instanceApiTokens.md +91 -0
  35. data/docs/instanceMember.md +133 -0
  36. data/docs/instanceMembers.md +91 -0
  37. data/docs/instanceOrg.md +135 -0
  38. data/docs/instanceOrgInvite.md +139 -0
  39. data/docs/instanceOrgInvites.md +96 -0
  40. data/docs/instanceOrgMember.md +139 -0
  41. data/docs/instanceOrgMembers.md +96 -0
  42. data/docs/instanceOrgs.md +91 -0
  43. data/docs/instances.md +50 -0
  44. data/docs/integration.md +1 -0
  45. data/docs/me.md +1 -1
  46. data/docs/org.md +1 -1
  47. data/docs/userApiToken.md +125 -0
  48. data/docs/userApiTokens.md +87 -0
  49. data/docs/webhook.md +1 -0
  50. data/lib/losant_rest.rb +18 -1
  51. data/lib/losant_rest/application.rb +53 -6
  52. data/lib/losant_rest/application_api_token.rb +1 -1
  53. data/lib/losant_rest/application_api_tokens.rb +2 -2
  54. data/lib/losant_rest/application_certificate.rb +1 -1
  55. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  56. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  57. data/lib/losant_rest/application_certificates.rb +1 -1
  58. data/lib/losant_rest/application_dashboard.rb +176 -0
  59. data/lib/losant_rest/application_dashboards.rb +138 -0
  60. data/lib/losant_rest/application_key.rb +1 -1
  61. data/lib/losant_rest/application_keys.rb +4 -1
  62. data/lib/losant_rest/application_template.rb +1 -1
  63. data/lib/losant_rest/application_templates.rb +1 -1
  64. data/lib/losant_rest/applications.rb +2 -2
  65. data/lib/losant_rest/audit_log.rb +1 -1
  66. data/lib/losant_rest/audit_logs.rb +1 -1
  67. data/lib/losant_rest/auth.rb +1 -1
  68. data/lib/losant_rest/client.rb +71 -3
  69. data/lib/losant_rest/dashboard.rb +1 -1
  70. data/lib/losant_rest/dashboards.rb +1 -1
  71. data/lib/losant_rest/data.rb +1 -1
  72. data/lib/losant_rest/data_table.rb +2 -2
  73. data/lib/losant_rest/data_table_row.rb +1 -1
  74. data/lib/losant_rest/data_table_rows.rb +2 -2
  75. data/lib/losant_rest/data_tables.rb +2 -2
  76. data/lib/losant_rest/device.rb +51 -1
  77. data/lib/losant_rest/device_recipe.rb +1 -1
  78. data/lib/losant_rest/device_recipes.rb +1 -1
  79. data/lib/losant_rest/devices.rb +49 -3
  80. data/lib/losant_rest/edge_deployment.rb +81 -0
  81. data/lib/losant_rest/edge_deployments.rb +1 -1
  82. data/lib/losant_rest/error.rb +1 -1
  83. data/lib/losant_rest/event.rb +1 -1
  84. data/lib/losant_rest/events.rb +4 -4
  85. data/lib/losant_rest/experience.rb +2 -2
  86. data/lib/losant_rest/experience_domain.rb +1 -1
  87. data/lib/losant_rest/experience_domains.rb +2 -2
  88. data/lib/losant_rest/experience_endpoint.rb +3 -1
  89. data/lib/losant_rest/experience_endpoints.rb +1 -1
  90. data/lib/losant_rest/experience_group.rb +5 -1
  91. data/lib/losant_rest/experience_groups.rb +1 -1
  92. data/lib/losant_rest/experience_slug.rb +1 -1
  93. data/lib/losant_rest/experience_slugs.rb +2 -2
  94. data/lib/losant_rest/experience_user.rb +1 -1
  95. data/lib/losant_rest/experience_users.rb +1 -1
  96. data/lib/losant_rest/experience_version.rb +4 -4
  97. data/lib/losant_rest/experience_versions.rb +3 -3
  98. data/lib/losant_rest/experience_view.rb +5 -5
  99. data/lib/losant_rest/experience_views.rb +3 -3
  100. data/lib/losant_rest/file.rb +5 -5
  101. data/lib/losant_rest/files.rb +3 -3
  102. data/lib/losant_rest/flow.rb +47 -1
  103. data/lib/losant_rest/flow_version.rb +1 -1
  104. data/lib/losant_rest/flow_versions.rb +51 -1
  105. data/lib/losant_rest/flows.rb +3 -1
  106. data/lib/losant_rest/instance.rb +226 -0
  107. data/lib/losant_rest/instance_api_token.rb +176 -0
  108. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  109. data/lib/losant_rest/instance_member.rb +176 -0
  110. data/lib/losant_rest/instance_members.rb +134 -0
  111. data/lib/losant_rest/instance_org.rb +180 -0
  112. data/lib/losant_rest/instance_org_invite.rb +182 -0
  113. data/lib/losant_rest/instance_org_invites.rb +138 -0
  114. data/lib/losant_rest/instance_org_member.rb +182 -0
  115. data/lib/losant_rest/instance_org_members.rb +138 -0
  116. data/lib/losant_rest/instance_orgs.rb +139 -0
  117. data/lib/losant_rest/instances.rb +88 -0
  118. data/lib/losant_rest/integration.rb +3 -1
  119. data/lib/losant_rest/integrations.rb +1 -1
  120. data/lib/losant_rest/me.rb +2 -2
  121. data/lib/losant_rest/notebook.rb +1 -1
  122. data/lib/losant_rest/notebooks.rb +1 -1
  123. data/lib/losant_rest/org.rb +2 -2
  124. data/lib/losant_rest/org_invites.rb +1 -1
  125. data/lib/losant_rest/orgs.rb +1 -1
  126. data/lib/losant_rest/user_api_token.rb +170 -0
  127. data/lib/losant_rest/user_api_tokens.rb +132 -0
  128. data/lib/losant_rest/utils.rb +1 -1
  129. data/lib/losant_rest/version.rb +2 -2
  130. data/lib/losant_rest/webhook.rb +3 -1
  131. data/lib/losant_rest/webhooks.rb +1 -1
  132. data/schemas/advancedApplicationKeyQuery.json +1082 -0
  133. data/schemas/advancedDeviceQuery.json +309 -0
  134. data/schemas/advancedFlowQuery.json +218 -0
  135. data/schemas/advancedFlowVersionQuery.json +218 -0
  136. data/schemas/apiToken.json +2 -1
  137. data/schemas/apiTokenPost.json +431 -0
  138. data/schemas/apiTokens.json +4 -2
  139. data/schemas/applicationApiTokenPost.json +8 -0
  140. data/schemas/applicationDashboardPost.json +5687 -0
  141. data/schemas/applicationGlobalPatch.json +33 -0
  142. data/schemas/auditLog.json +4 -0
  143. data/schemas/auditLogFilter.json +4 -0
  144. data/schemas/auditLogs.json +4 -0
  145. data/schemas/bulkDeleteResponse.json +12 -0
  146. data/schemas/dashboard.json +66 -17
  147. data/schemas/dashboardPatch.json +66 -17
  148. data/schemas/dashboardPost.json +66 -17
  149. data/schemas/dashboardSendReport.json +4 -0
  150. data/schemas/dashboards.json +66 -17
  151. data/schemas/devicePayloadCounts.json +24 -0
  152. data/schemas/devicesDeletePost.json +309 -0
  153. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  154. data/schemas/devicesExportPost.json +309 -0
  155. data/schemas/devicesPatch.json +309 -0
  156. data/schemas/devicesRemoveDataPost.json +309 -0
  157. data/schemas/edgeDeployment.json +16 -0
  158. data/schemas/edgeDeployments.json +16 -0
  159. data/schemas/experienceGroup.json +6 -0
  160. data/schemas/experienceGroups.json +6 -0
  161. data/schemas/experienceLinkedResources.json +45 -0
  162. data/schemas/filePost.json +8 -2
  163. data/schemas/files.json +3 -0
  164. data/schemas/flow.json +15 -0
  165. data/schemas/flowPatch.json +15 -0
  166. data/schemas/flowPost.json +15 -0
  167. data/schemas/flowStorageMetadata.json +13 -0
  168. data/schemas/flowVersion.json +30 -0
  169. data/schemas/flowVersionPost.json +15 -0
  170. data/schemas/flowVersions.json +30 -0
  171. data/schemas/flowVersionsDeletePost.json +941 -0
  172. data/schemas/flows.json +15 -0
  173. data/schemas/flowsImportPost.json +30 -0
  174. data/schemas/flowsImportResult.json +45 -0
  175. data/schemas/githubLogin.json +72 -1
  176. data/schemas/historicalSummaries.json +43 -0
  177. data/schemas/historicalSummary.json +490 -0
  178. data/schemas/instance.json +192 -0
  179. data/schemas/instanceMember.json +41 -0
  180. data/schemas/instanceMemberPatch.json +17 -0
  181. data/schemas/instanceMemberPost.json +37 -0
  182. data/schemas/instanceMembers.json +77 -0
  183. data/schemas/instanceOrg.json +133 -0
  184. data/schemas/instanceOrgMember.json +45 -0
  185. data/schemas/instanceOrgMemberPatch.json +69 -0
  186. data/schemas/instanceOrgMemberPost.json +161 -0
  187. data/schemas/instanceOrgMembers.json +42 -0
  188. data/schemas/instanceOrgPatch.json +122 -0
  189. data/schemas/instanceOrgPost.json +291 -0
  190. data/schemas/instanceOrgs.json +178 -0
  191. data/schemas/instancePatch.json +67 -0
  192. data/schemas/instanceReportOptionsPost.json +41 -0
  193. data/schemas/instances.json +43 -0
  194. data/schemas/me.json +30 -14
  195. data/schemas/multiDeviceCommand.json +309 -0
  196. data/schemas/notebook.json +45 -0
  197. data/schemas/notebookPatch.json +30 -0
  198. data/schemas/notebookPost.json +30 -0
  199. data/schemas/notebooks.json +45 -0
  200. data/schemas/org.json +30 -14
  201. data/schemas/orgInvite.json +90 -0
  202. data/schemas/orgInviteCollection.json +130 -0
  203. data/schemas/orgInvites.json +82 -77
  204. data/schemas/orgPatch.json +0 -9
  205. data/schemas/orgRoleInfo.json +69 -0
  206. data/schemas/orgs.json +30 -14
  207. data/schemas/payloadStats.json +126 -0
  208. data/schemas/userCredentials.json +72 -1
  209. data/schemas/userPost.json +72 -1
  210. data/schemas/validateContextError.json +34 -0
  211. data/schemas/validateContextSuccess.json +34 -0
  212. data/schemas/virtualButtonPress.json +4 -0
  213. metadata +68 -3
@@ -34,7 +34,13 @@
34
34
  "height": {
35
35
  "type": "number"
36
36
  }
37
- }
37
+ },
38
+ "additionalProperties": false
38
39
  }
39
- }
40
+ },
41
+ "additionalProperties": false,
42
+ "required": [
43
+ "name",
44
+ "type"
45
+ ]
40
46
  }
data/schemas/files.json CHANGED
@@ -125,6 +125,9 @@
125
125
  "DESC",
126
126
  ""
127
127
  ]
128
+ },
129
+ "parentExists": {
130
+ "type": "boolean"
128
131
  }
129
132
  }
130
133
  }
data/schemas/flow.json CHANGED
@@ -321,6 +321,21 @@
321
321
  },
322
322
  "maxAge": {
323
323
  "type": "number"
324
+ },
325
+ "triggerOn": {
326
+ "type": "string",
327
+ "enum": [
328
+ "batch",
329
+ "individual",
330
+ "both"
331
+ ]
332
+ },
333
+ "batchBehavior": {
334
+ "type": "string",
335
+ "enum": [
336
+ "once",
337
+ "each"
338
+ ]
324
339
  }
325
340
  },
326
341
  "additionalProperties": false
@@ -302,6 +302,21 @@
302
302
  },
303
303
  "maxAge": {
304
304
  "type": "number"
305
+ },
306
+ "triggerOn": {
307
+ "type": "string",
308
+ "enum": [
309
+ "batch",
310
+ "individual",
311
+ "both"
312
+ ]
313
+ },
314
+ "batchBehavior": {
315
+ "type": "string",
316
+ "enum": [
317
+ "once",
318
+ "each"
319
+ ]
305
320
  }
306
321
  },
307
322
  "additionalProperties": false
@@ -291,6 +291,21 @@
291
291
  },
292
292
  "maxAge": {
293
293
  "type": "number"
294
+ },
295
+ "triggerOn": {
296
+ "type": "string",
297
+ "enum": [
298
+ "batch",
299
+ "individual",
300
+ "both"
301
+ ]
302
+ },
303
+ "batchBehavior": {
304
+ "type": "string",
305
+ "enum": [
306
+ "once",
307
+ "each"
308
+ ]
294
309
  }
295
310
  },
296
311
  "additionalProperties": false
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "memoryUsed": {
6
+ "type": "number"
7
+ },
8
+ "keysCount": {
9
+ "type": "number"
10
+ }
11
+ },
12
+ "additionalProperties": false
13
+ }
@@ -306,6 +306,21 @@
306
306
  },
307
307
  "maxAge": {
308
308
  "type": "number"
309
+ },
310
+ "triggerOn": {
311
+ "type": "string",
312
+ "enum": [
313
+ "batch",
314
+ "individual",
315
+ "both"
316
+ ]
317
+ },
318
+ "batchBehavior": {
319
+ "type": "string",
320
+ "enum": [
321
+ "once",
322
+ "each"
323
+ ]
309
324
  }
310
325
  },
311
326
  "additionalProperties": false
@@ -2504,6 +2519,21 @@
2504
2519
  },
2505
2520
  "maxAge": {
2506
2521
  "type": "number"
2522
+ },
2523
+ "triggerOn": {
2524
+ "type": "string",
2525
+ "enum": [
2526
+ "batch",
2527
+ "individual",
2528
+ "both"
2529
+ ]
2530
+ },
2531
+ "batchBehavior": {
2532
+ "type": "string",
2533
+ "enum": [
2534
+ "once",
2535
+ "each"
2536
+ ]
2507
2537
  }
2508
2538
  },
2509
2539
  "additionalProperties": false
@@ -279,6 +279,21 @@
279
279
  },
280
280
  "maxAge": {
281
281
  "type": "number"
282
+ },
283
+ "triggerOn": {
284
+ "type": "string",
285
+ "enum": [
286
+ "batch",
287
+ "individual",
288
+ "both"
289
+ ]
290
+ },
291
+ "batchBehavior": {
292
+ "type": "string",
293
+ "enum": [
294
+ "once",
295
+ "each"
296
+ ]
282
297
  }
283
298
  },
284
299
  "additionalProperties": false
@@ -313,6 +313,21 @@
313
313
  },
314
314
  "maxAge": {
315
315
  "type": "number"
316
+ },
317
+ "triggerOn": {
318
+ "type": "string",
319
+ "enum": [
320
+ "batch",
321
+ "individual",
322
+ "both"
323
+ ]
324
+ },
325
+ "batchBehavior": {
326
+ "type": "string",
327
+ "enum": [
328
+ "once",
329
+ "each"
330
+ ]
316
331
  }
317
332
  },
318
333
  "additionalProperties": false
@@ -2511,6 +2526,21 @@
2511
2526
  },
2512
2527
  "maxAge": {
2513
2528
  "type": "number"
2529
+ },
2530
+ "triggerOn": {
2531
+ "type": "string",
2532
+ "enum": [
2533
+ "batch",
2534
+ "individual",
2535
+ "both"
2536
+ ]
2537
+ },
2538
+ "batchBehavior": {
2539
+ "type": "string",
2540
+ "enum": [
2541
+ "once",
2542
+ "each"
2543
+ ]
2514
2544
  }
2515
2545
  },
2516
2546
  "additionalProperties": false
@@ -0,0 +1,941 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "email": {
6
+ "type": "string",
7
+ "format": "email",
8
+ "maxLength": 1024
9
+ },
10
+ "query": {
11
+ "title": "Advanced Workflow Version Query",
12
+ "description": "Schema for advanced workflow queries",
13
+ "type": "object",
14
+ "properties": {
15
+ "$and": {
16
+ "type": "array",
17
+ "items": {
18
+ "$ref": "#/definitions/advancedFlowVersionQuery"
19
+ },
20
+ "maxItems": 100
21
+ },
22
+ "$or": {
23
+ "type": "array",
24
+ "items": {
25
+ "$ref": "#/definitions/advancedFlowVersionQuery"
26
+ },
27
+ "maxItems": 100
28
+ },
29
+ "$nor": {
30
+ "type": "array",
31
+ "items": {
32
+ "$ref": "#/definitions/advancedFlowVersionQuery"
33
+ },
34
+ "maxItems": 100
35
+ },
36
+ "name": {
37
+ "oneOf": [
38
+ {
39
+ "type": [
40
+ "string",
41
+ "number",
42
+ "boolean",
43
+ "null"
44
+ ]
45
+ },
46
+ {
47
+ "type": "object",
48
+ "properties": {
49
+ "$eq": {
50
+ "type": [
51
+ "string",
52
+ "number",
53
+ "boolean",
54
+ "null"
55
+ ]
56
+ },
57
+ "$ne": {
58
+ "type": [
59
+ "string",
60
+ "number",
61
+ "boolean",
62
+ "null"
63
+ ]
64
+ },
65
+ "$gt": {
66
+ "type": [
67
+ "string",
68
+ "number",
69
+ "boolean",
70
+ "null"
71
+ ]
72
+ },
73
+ "$lt": {
74
+ "type": [
75
+ "string",
76
+ "number",
77
+ "boolean",
78
+ "null"
79
+ ]
80
+ },
81
+ "$gte": {
82
+ "type": [
83
+ "string",
84
+ "number",
85
+ "boolean",
86
+ "null"
87
+ ]
88
+ },
89
+ "$lte": {
90
+ "type": [
91
+ "string",
92
+ "number",
93
+ "boolean",
94
+ "null"
95
+ ]
96
+ },
97
+ "$startsWith": {
98
+ "type": "string",
99
+ "minLength": 1
100
+ },
101
+ "$endsWith": {
102
+ "type": "string",
103
+ "minLength": 1
104
+ },
105
+ "$contains": {
106
+ "type": "string",
107
+ "minLength": 1
108
+ },
109
+ "$ci": {
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
+ }
133
+ }
134
+ },
135
+ "additionalProperties": false
136
+ }
137
+ ]
138
+ },
139
+ "id": {
140
+ "oneOf": [
141
+ {
142
+ "oneOf": [
143
+ {
144
+ "type": "string",
145
+ "pattern": "^[A-Fa-f\\d]{24}$"
146
+ },
147
+ {
148
+ "type": "null"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "type": "object",
154
+ "properties": {
155
+ "$eq": {
156
+ "oneOf": [
157
+ {
158
+ "type": "string",
159
+ "pattern": "^[A-Fa-f\\d]{24}$"
160
+ },
161
+ {
162
+ "type": "null"
163
+ }
164
+ ]
165
+ },
166
+ "$ne": {
167
+ "oneOf": [
168
+ {
169
+ "type": "string",
170
+ "pattern": "^[A-Fa-f\\d]{24}$"
171
+ },
172
+ {
173
+ "type": "null"
174
+ }
175
+ ]
176
+ },
177
+ "$in": {
178
+ "type": "array",
179
+ "maxItems": 100,
180
+ "items": {
181
+ "type": "string",
182
+ "pattern": "^[A-Fa-f\\d]{24}$"
183
+ }
184
+ },
185
+ "$nin": {
186
+ "type": "array",
187
+ "maxItems": 100,
188
+ "items": {
189
+ "type": "string",
190
+ "pattern": "^[A-Fa-f\\d]{24}$"
191
+ }
192
+ }
193
+ },
194
+ "additionalProperties": false,
195
+ "minProperties": 1,
196
+ "maxProperties": 1
197
+ }
198
+ ]
199
+ },
200
+ "creationDate": {
201
+ "oneOf": [
202
+ {
203
+ "type": [
204
+ "string",
205
+ "number",
206
+ "boolean",
207
+ "null"
208
+ ]
209
+ },
210
+ {
211
+ "type": "object",
212
+ "properties": {
213
+ "$eq": {
214
+ "type": [
215
+ "string",
216
+ "number",
217
+ "boolean",
218
+ "null"
219
+ ]
220
+ },
221
+ "$ne": {
222
+ "type": [
223
+ "string",
224
+ "number",
225
+ "boolean",
226
+ "null"
227
+ ]
228
+ },
229
+ "$gt": {
230
+ "type": [
231
+ "string",
232
+ "number",
233
+ "boolean",
234
+ "null"
235
+ ]
236
+ },
237
+ "$lt": {
238
+ "type": [
239
+ "string",
240
+ "number",
241
+ "boolean",
242
+ "null"
243
+ ]
244
+ },
245
+ "$gte": {
246
+ "type": [
247
+ "string",
248
+ "number",
249
+ "boolean",
250
+ "null"
251
+ ]
252
+ },
253
+ "$lte": {
254
+ "type": [
255
+ "string",
256
+ "number",
257
+ "boolean",
258
+ "null"
259
+ ]
260
+ },
261
+ "$startsWith": {
262
+ "type": "string",
263
+ "minLength": 1
264
+ },
265
+ "$endsWith": {
266
+ "type": "string",
267
+ "minLength": 1
268
+ },
269
+ "$contains": {
270
+ "type": "string",
271
+ "minLength": 1
272
+ },
273
+ "$ci": {
274
+ "type": "boolean"
275
+ },
276
+ "$in": {
277
+ "type": "array",
278
+ "maxItems": 100,
279
+ "items": {
280
+ "type": [
281
+ "string",
282
+ "number",
283
+ "boolean"
284
+ ]
285
+ }
286
+ },
287
+ "$nin": {
288
+ "type": "array",
289
+ "maxItems": 100,
290
+ "items": {
291
+ "type": [
292
+ "string",
293
+ "number",
294
+ "boolean"
295
+ ]
296
+ }
297
+ }
298
+ },
299
+ "additionalProperties": false
300
+ }
301
+ ]
302
+ },
303
+ "lastUpdated": {
304
+ "oneOf": [
305
+ {
306
+ "type": [
307
+ "string",
308
+ "number",
309
+ "boolean",
310
+ "null"
311
+ ]
312
+ },
313
+ {
314
+ "type": "object",
315
+ "properties": {
316
+ "$eq": {
317
+ "type": [
318
+ "string",
319
+ "number",
320
+ "boolean",
321
+ "null"
322
+ ]
323
+ },
324
+ "$ne": {
325
+ "type": [
326
+ "string",
327
+ "number",
328
+ "boolean",
329
+ "null"
330
+ ]
331
+ },
332
+ "$gt": {
333
+ "type": [
334
+ "string",
335
+ "number",
336
+ "boolean",
337
+ "null"
338
+ ]
339
+ },
340
+ "$lt": {
341
+ "type": [
342
+ "string",
343
+ "number",
344
+ "boolean",
345
+ "null"
346
+ ]
347
+ },
348
+ "$gte": {
349
+ "type": [
350
+ "string",
351
+ "number",
352
+ "boolean",
353
+ "null"
354
+ ]
355
+ },
356
+ "$lte": {
357
+ "type": [
358
+ "string",
359
+ "number",
360
+ "boolean",
361
+ "null"
362
+ ]
363
+ },
364
+ "$startsWith": {
365
+ "type": "string",
366
+ "minLength": 1
367
+ },
368
+ "$endsWith": {
369
+ "type": "string",
370
+ "minLength": 1
371
+ },
372
+ "$contains": {
373
+ "type": "string",
374
+ "minLength": 1
375
+ },
376
+ "$ci": {
377
+ "type": "boolean"
378
+ },
379
+ "$in": {
380
+ "type": "array",
381
+ "maxItems": 100,
382
+ "items": {
383
+ "type": [
384
+ "string",
385
+ "number",
386
+ "boolean"
387
+ ]
388
+ }
389
+ },
390
+ "$nin": {
391
+ "type": "array",
392
+ "maxItems": 100,
393
+ "items": {
394
+ "type": [
395
+ "string",
396
+ "number",
397
+ "boolean"
398
+ ]
399
+ }
400
+ }
401
+ },
402
+ "additionalProperties": false
403
+ }
404
+ ]
405
+ },
406
+ "flowClass": {
407
+ "oneOf": [
408
+ {
409
+ "type": [
410
+ "string",
411
+ "number",
412
+ "boolean",
413
+ "null"
414
+ ]
415
+ },
416
+ {
417
+ "type": "object",
418
+ "properties": {
419
+ "$eq": {
420
+ "type": [
421
+ "string",
422
+ "number",
423
+ "boolean",
424
+ "null"
425
+ ]
426
+ },
427
+ "$ne": {
428
+ "type": [
429
+ "string",
430
+ "number",
431
+ "boolean",
432
+ "null"
433
+ ]
434
+ },
435
+ "$gt": {
436
+ "type": [
437
+ "string",
438
+ "number",
439
+ "boolean",
440
+ "null"
441
+ ]
442
+ },
443
+ "$lt": {
444
+ "type": [
445
+ "string",
446
+ "number",
447
+ "boolean",
448
+ "null"
449
+ ]
450
+ },
451
+ "$gte": {
452
+ "type": [
453
+ "string",
454
+ "number",
455
+ "boolean",
456
+ "null"
457
+ ]
458
+ },
459
+ "$lte": {
460
+ "type": [
461
+ "string",
462
+ "number",
463
+ "boolean",
464
+ "null"
465
+ ]
466
+ },
467
+ "$startsWith": {
468
+ "type": "string",
469
+ "minLength": 1
470
+ },
471
+ "$endsWith": {
472
+ "type": "string",
473
+ "minLength": 1
474
+ },
475
+ "$contains": {
476
+ "type": "string",
477
+ "minLength": 1
478
+ },
479
+ "$ci": {
480
+ "type": "boolean"
481
+ },
482
+ "$in": {
483
+ "type": "array",
484
+ "maxItems": 100,
485
+ "items": {
486
+ "type": [
487
+ "string",
488
+ "number",
489
+ "boolean"
490
+ ]
491
+ }
492
+ },
493
+ "$nin": {
494
+ "type": "array",
495
+ "maxItems": 100,
496
+ "items": {
497
+ "type": [
498
+ "string",
499
+ "number",
500
+ "boolean"
501
+ ]
502
+ }
503
+ }
504
+ },
505
+ "additionalProperties": false
506
+ }
507
+ ]
508
+ },
509
+ "enabled": {
510
+ "oneOf": [
511
+ {
512
+ "type": [
513
+ "string",
514
+ "number",
515
+ "boolean",
516
+ "null"
517
+ ]
518
+ },
519
+ {
520
+ "type": "object",
521
+ "properties": {
522
+ "$eq": {
523
+ "type": [
524
+ "string",
525
+ "number",
526
+ "boolean",
527
+ "null"
528
+ ]
529
+ },
530
+ "$ne": {
531
+ "type": [
532
+ "string",
533
+ "number",
534
+ "boolean",
535
+ "null"
536
+ ]
537
+ },
538
+ "$gt": {
539
+ "type": [
540
+ "string",
541
+ "number",
542
+ "boolean",
543
+ "null"
544
+ ]
545
+ },
546
+ "$lt": {
547
+ "type": [
548
+ "string",
549
+ "number",
550
+ "boolean",
551
+ "null"
552
+ ]
553
+ },
554
+ "$gte": {
555
+ "type": [
556
+ "string",
557
+ "number",
558
+ "boolean",
559
+ "null"
560
+ ]
561
+ },
562
+ "$lte": {
563
+ "type": [
564
+ "string",
565
+ "number",
566
+ "boolean",
567
+ "null"
568
+ ]
569
+ },
570
+ "$startsWith": {
571
+ "type": "string",
572
+ "minLength": 1
573
+ },
574
+ "$endsWith": {
575
+ "type": "string",
576
+ "minLength": 1
577
+ },
578
+ "$contains": {
579
+ "type": "string",
580
+ "minLength": 1
581
+ },
582
+ "$ci": {
583
+ "type": "boolean"
584
+ },
585
+ "$in": {
586
+ "type": "array",
587
+ "maxItems": 100,
588
+ "items": {
589
+ "type": [
590
+ "string",
591
+ "number",
592
+ "boolean"
593
+ ]
594
+ }
595
+ },
596
+ "$nin": {
597
+ "type": "array",
598
+ "maxItems": 100,
599
+ "items": {
600
+ "type": [
601
+ "string",
602
+ "number",
603
+ "boolean"
604
+ ]
605
+ }
606
+ }
607
+ },
608
+ "additionalProperties": false
609
+ }
610
+ ]
611
+ },
612
+ "version": {
613
+ "oneOf": [
614
+ {
615
+ "type": [
616
+ "string",
617
+ "number",
618
+ "boolean",
619
+ "null"
620
+ ]
621
+ },
622
+ {
623
+ "type": "object",
624
+ "properties": {
625
+ "$eq": {
626
+ "type": [
627
+ "string",
628
+ "number",
629
+ "boolean",
630
+ "null"
631
+ ]
632
+ },
633
+ "$ne": {
634
+ "type": [
635
+ "string",
636
+ "number",
637
+ "boolean",
638
+ "null"
639
+ ]
640
+ },
641
+ "$gt": {
642
+ "type": [
643
+ "string",
644
+ "number",
645
+ "boolean",
646
+ "null"
647
+ ]
648
+ },
649
+ "$lt": {
650
+ "type": [
651
+ "string",
652
+ "number",
653
+ "boolean",
654
+ "null"
655
+ ]
656
+ },
657
+ "$gte": {
658
+ "type": [
659
+ "string",
660
+ "number",
661
+ "boolean",
662
+ "null"
663
+ ]
664
+ },
665
+ "$lte": {
666
+ "type": [
667
+ "string",
668
+ "number",
669
+ "boolean",
670
+ "null"
671
+ ]
672
+ },
673
+ "$startsWith": {
674
+ "type": "string",
675
+ "minLength": 1
676
+ },
677
+ "$endsWith": {
678
+ "type": "string",
679
+ "minLength": 1
680
+ },
681
+ "$contains": {
682
+ "type": "string",
683
+ "minLength": 1
684
+ },
685
+ "$ci": {
686
+ "type": "boolean"
687
+ },
688
+ "$in": {
689
+ "type": "array",
690
+ "maxItems": 100,
691
+ "items": {
692
+ "type": [
693
+ "string",
694
+ "number",
695
+ "boolean"
696
+ ]
697
+ }
698
+ },
699
+ "$nin": {
700
+ "type": "array",
701
+ "maxItems": 100,
702
+ "items": {
703
+ "type": [
704
+ "string",
705
+ "number",
706
+ "boolean"
707
+ ]
708
+ }
709
+ }
710
+ },
711
+ "additionalProperties": false
712
+ }
713
+ ]
714
+ },
715
+ "triggers": {
716
+ "oneOf": [
717
+ {
718
+ "type": "object",
719
+ "properties": {
720
+ "type": {
721
+ "type": "string",
722
+ "maxLength": 255
723
+ },
724
+ "key": {
725
+ "type": "string",
726
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
727
+ },
728
+ "config": {
729
+ "type": "object",
730
+ "patternProperties": {
731
+ "^[0-9a-zA-Z_-]{1,255}$": {
732
+ "type": [
733
+ "string",
734
+ "number",
735
+ "boolean",
736
+ "null"
737
+ ],
738
+ "maxLength": 1024
739
+ }
740
+ }
741
+ }
742
+ },
743
+ "required": [
744
+ "type"
745
+ ],
746
+ "additionalProperties": false
747
+ },
748
+ {
749
+ "type": "object",
750
+ "properties": {
751
+ "$eq": {
752
+ "type": "object",
753
+ "properties": {
754
+ "type": {
755
+ "type": "string",
756
+ "maxLength": 255
757
+ },
758
+ "key": {
759
+ "type": "string",
760
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
761
+ },
762
+ "config": {
763
+ "type": "object",
764
+ "patternProperties": {
765
+ "^[0-9a-zA-Z_-]{1,255}$": {
766
+ "type": [
767
+ "string",
768
+ "number",
769
+ "boolean",
770
+ "null"
771
+ ],
772
+ "maxLength": 1024
773
+ }
774
+ }
775
+ }
776
+ },
777
+ "required": [
778
+ "type"
779
+ ],
780
+ "additionalProperties": false
781
+ }
782
+ },
783
+ "required": [
784
+ "$eq"
785
+ ],
786
+ "additionalProperties": false
787
+ },
788
+ {
789
+ "type": "object",
790
+ "properties": {
791
+ "$ne": {
792
+ "type": "object",
793
+ "properties": {
794
+ "type": {
795
+ "type": "string",
796
+ "maxLength": 255
797
+ },
798
+ "key": {
799
+ "type": "string",
800
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
801
+ },
802
+ "config": {
803
+ "type": "object",
804
+ "patternProperties": {
805
+ "^[0-9a-zA-Z_-]{1,255}$": {
806
+ "type": [
807
+ "string",
808
+ "number",
809
+ "boolean",
810
+ "null"
811
+ ],
812
+ "maxLength": 1024
813
+ }
814
+ }
815
+ }
816
+ },
817
+ "required": [
818
+ "type"
819
+ ],
820
+ "additionalProperties": false
821
+ }
822
+ },
823
+ "required": [
824
+ "$ne"
825
+ ],
826
+ "additionalProperties": false
827
+ }
828
+ ]
829
+ },
830
+ "nodes": {
831
+ "oneOf": [
832
+ {
833
+ "type": "object",
834
+ "properties": {
835
+ "type": {
836
+ "type": "string",
837
+ "maxLength": 255
838
+ },
839
+ "config": {
840
+ "type": "object",
841
+ "patternProperties": {
842
+ "^[0-9a-zA-Z_-]{1,255}$": {
843
+ "type": [
844
+ "string",
845
+ "number",
846
+ "boolean",
847
+ "null"
848
+ ],
849
+ "maxLength": 1024
850
+ }
851
+ }
852
+ }
853
+ },
854
+ "required": [
855
+ "type"
856
+ ],
857
+ "additionalProperties": false
858
+ },
859
+ {
860
+ "type": "object",
861
+ "properties": {
862
+ "$eq": {
863
+ "type": "object",
864
+ "properties": {
865
+ "type": {
866
+ "type": "string",
867
+ "maxLength": 255
868
+ },
869
+ "config": {
870
+ "type": "object",
871
+ "patternProperties": {
872
+ "^[0-9a-zA-Z_-]{1,255}$": {
873
+ "type": [
874
+ "string",
875
+ "number",
876
+ "boolean",
877
+ "null"
878
+ ],
879
+ "maxLength": 1024
880
+ }
881
+ }
882
+ }
883
+ },
884
+ "required": [
885
+ "type"
886
+ ],
887
+ "additionalProperties": false
888
+ }
889
+ },
890
+ "required": [
891
+ "$eq"
892
+ ],
893
+ "additionalProperties": false
894
+ },
895
+ {
896
+ "type": "object",
897
+ "properties": {
898
+ "$ne": {
899
+ "type": "object",
900
+ "properties": {
901
+ "type": {
902
+ "type": "string",
903
+ "maxLength": 255
904
+ },
905
+ "config": {
906
+ "type": "object",
907
+ "patternProperties": {
908
+ "^[0-9a-zA-Z_-]{1,255}$": {
909
+ "type": [
910
+ "string",
911
+ "number",
912
+ "boolean",
913
+ "null"
914
+ ],
915
+ "maxLength": 1024
916
+ }
917
+ }
918
+ }
919
+ },
920
+ "required": [
921
+ "type"
922
+ ],
923
+ "additionalProperties": false
924
+ }
925
+ },
926
+ "required": [
927
+ "$ne"
928
+ ],
929
+ "additionalProperties": false
930
+ }
931
+ ]
932
+ }
933
+ },
934
+ "additionalProperties": false
935
+ }
936
+ },
937
+ "additionalProperties": false,
938
+ "required": [
939
+ "query"
940
+ ]
941
+ }