losant_rest 1.10.4 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +2 -2
  4. data/docs/_schemas.md +35272 -19039
  5. data/docs/application.md +45 -4
  6. data/docs/applicationApiTokens.md +2 -2
  7. data/docs/applicationCertificateAuthorities.md +1 -1
  8. data/docs/applicationCertificates.md +1 -1
  9. data/docs/applicationDashboard.md +133 -0
  10. data/docs/applicationDashboards.md +93 -0
  11. data/docs/applicationKeys.md +4 -3
  12. data/docs/applicationTemplates.md +1 -1
  13. data/docs/applications.md +2 -2
  14. data/docs/auditLogs.md +1 -1
  15. data/docs/dashboards.md +1 -1
  16. data/docs/dataTable.md +1 -1
  17. data/docs/dataTableRows.md +1 -1
  18. data/docs/dataTables.md +2 -2
  19. data/docs/deviceRecipes.md +1 -1
  20. data/docs/devices.md +127 -3
  21. data/docs/edgeDeployments.md +1 -1
  22. data/docs/events.md +4 -4
  23. data/docs/experience.md +1 -1
  24. data/docs/experienceDomains.md +1 -1
  25. data/docs/experienceEndpoint.md +1 -0
  26. data/docs/experienceGroup.md +2 -0
  27. data/docs/experienceGroups.md +1 -1
  28. data/docs/experienceSlugs.md +1 -1
  29. data/docs/experienceUsers.md +1 -1
  30. data/docs/experienceVersion.md +3 -3
  31. data/docs/experienceVersions.md +3 -3
  32. data/docs/experienceView.md +4 -4
  33. data/docs/experienceViews.md +3 -3
  34. data/docs/file.md +5 -5
  35. data/docs/files.md +3 -3
  36. data/docs/flow.md +41 -0
  37. data/docs/flowVersions.md +46 -1
  38. data/docs/flows.md +5 -2
  39. data/docs/instance.md +166 -0
  40. data/docs/instanceApiToken.md +133 -0
  41. data/docs/instanceApiTokens.md +91 -0
  42. data/docs/instanceMember.md +133 -0
  43. data/docs/instanceMembers.md +91 -0
  44. data/docs/instanceOrg.md +133 -0
  45. data/docs/instanceOrgMember.md +139 -0
  46. data/docs/instanceOrgMembers.md +96 -0
  47. data/docs/instanceOrgs.md +91 -0
  48. data/docs/instances.md +50 -0
  49. data/docs/integration.md +1 -0
  50. data/docs/integrations.md +1 -1
  51. data/docs/notebooks.md +1 -1
  52. data/docs/orgs.md +1 -1
  53. data/docs/userApiToken.md +125 -0
  54. data/docs/userApiTokens.md +87 -0
  55. data/docs/webhook.md +1 -0
  56. data/docs/webhooks.md +1 -1
  57. data/lib/losant_rest.rb +15 -1
  58. data/lib/losant_rest/application.rb +53 -6
  59. data/lib/losant_rest/application_api_token.rb +1 -1
  60. data/lib/losant_rest/application_api_tokens.rb +2 -2
  61. data/lib/losant_rest/application_certificate.rb +1 -1
  62. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  63. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  64. data/lib/losant_rest/application_certificates.rb +1 -1
  65. data/lib/losant_rest/application_dashboard.rb +176 -0
  66. data/lib/losant_rest/application_dashboards.rb +138 -0
  67. data/lib/losant_rest/application_key.rb +1 -1
  68. data/lib/losant_rest/application_keys.rb +4 -1
  69. data/lib/losant_rest/application_template.rb +1 -1
  70. data/lib/losant_rest/application_templates.rb +1 -1
  71. data/lib/losant_rest/applications.rb +2 -2
  72. data/lib/losant_rest/audit_log.rb +1 -1
  73. data/lib/losant_rest/audit_logs.rb +1 -1
  74. data/lib/losant_rest/auth.rb +1 -1
  75. data/lib/losant_rest/client.rb +59 -3
  76. data/lib/losant_rest/dashboard.rb +1 -1
  77. data/lib/losant_rest/dashboards.rb +1 -1
  78. data/lib/losant_rest/data.rb +1 -1
  79. data/lib/losant_rest/data_table.rb +2 -2
  80. data/lib/losant_rest/data_table_row.rb +1 -1
  81. data/lib/losant_rest/data_table_rows.rb +2 -2
  82. data/lib/losant_rest/data_tables.rb +2 -2
  83. data/lib/losant_rest/device.rb +1 -1
  84. data/lib/losant_rest/device_recipe.rb +1 -1
  85. data/lib/losant_rest/device_recipes.rb +1 -1
  86. data/lib/losant_rest/devices.rb +155 -3
  87. data/lib/losant_rest/edge_deployments.rb +1 -1
  88. data/lib/losant_rest/error.rb +1 -1
  89. data/lib/losant_rest/event.rb +1 -1
  90. data/lib/losant_rest/events.rb +4 -4
  91. data/lib/losant_rest/experience.rb +2 -2
  92. data/lib/losant_rest/experience_domain.rb +1 -1
  93. data/lib/losant_rest/experience_domains.rb +2 -2
  94. data/lib/losant_rest/experience_endpoint.rb +3 -1
  95. data/lib/losant_rest/experience_endpoints.rb +1 -1
  96. data/lib/losant_rest/experience_group.rb +5 -1
  97. data/lib/losant_rest/experience_groups.rb +1 -1
  98. data/lib/losant_rest/experience_slug.rb +1 -1
  99. data/lib/losant_rest/experience_slugs.rb +2 -2
  100. data/lib/losant_rest/experience_user.rb +1 -1
  101. data/lib/losant_rest/experience_users.rb +1 -1
  102. data/lib/losant_rest/experience_version.rb +4 -4
  103. data/lib/losant_rest/experience_versions.rb +3 -3
  104. data/lib/losant_rest/experience_view.rb +5 -5
  105. data/lib/losant_rest/experience_views.rb +3 -3
  106. data/lib/losant_rest/file.rb +5 -5
  107. data/lib/losant_rest/files.rb +3 -3
  108. data/lib/losant_rest/flow.rb +47 -1
  109. data/lib/losant_rest/flow_version.rb +1 -1
  110. data/lib/losant_rest/flow_versions.rb +54 -1
  111. data/lib/losant_rest/flows.rb +9 -1
  112. data/lib/losant_rest/instance.rb +226 -0
  113. data/lib/losant_rest/instance_api_token.rb +176 -0
  114. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  115. data/lib/losant_rest/instance_member.rb +176 -0
  116. data/lib/losant_rest/instance_members.rb +134 -0
  117. data/lib/losant_rest/instance_org.rb +176 -0
  118. data/lib/losant_rest/instance_org_member.rb +182 -0
  119. data/lib/losant_rest/instance_org_members.rb +138 -0
  120. data/lib/losant_rest/instance_orgs.rb +139 -0
  121. data/lib/losant_rest/instances.rb +88 -0
  122. data/lib/losant_rest/integration.rb +3 -1
  123. data/lib/losant_rest/integrations.rb +1 -1
  124. data/lib/losant_rest/me.rb +2 -2
  125. data/lib/losant_rest/notebook.rb +1 -1
  126. data/lib/losant_rest/notebooks.rb +1 -1
  127. data/lib/losant_rest/org.rb +2 -2
  128. data/lib/losant_rest/org_invites.rb +1 -1
  129. data/lib/losant_rest/orgs.rb +1 -1
  130. data/lib/losant_rest/user_api_token.rb +170 -0
  131. data/lib/losant_rest/user_api_tokens.rb +132 -0
  132. data/lib/losant_rest/utils.rb +1 -1
  133. data/lib/losant_rest/version.rb +2 -2
  134. data/lib/losant_rest/webhook.rb +3 -1
  135. data/lib/losant_rest/webhooks.rb +1 -1
  136. data/schemas/advancedApplicationKeyQuery.json +1082 -0
  137. data/schemas/advancedDeviceQuery.json +309 -0
  138. data/schemas/advancedFlowByVersionQuery.json +665 -0
  139. data/schemas/advancedFlowQuery.json +883 -0
  140. data/schemas/advancedFlowVersionQuery.json +925 -0
  141. data/schemas/apiToken.json +2 -1
  142. data/schemas/apiTokenPost.json +420 -0
  143. data/schemas/apiTokens.json +4 -2
  144. data/schemas/applicationApiTokenPost.json +11 -0
  145. data/schemas/applicationDashboardPost.json +5687 -0
  146. data/schemas/applicationGlobalPatch.json +33 -0
  147. data/schemas/attributeNamesResponse.json +14 -0
  148. data/schemas/auditLog.json +4 -0
  149. data/schemas/auditLogFilter.json +4 -0
  150. data/schemas/auditLogs.json +4 -0
  151. data/schemas/authedUser.json +3 -0
  152. data/schemas/bulkDeleteResponse.json +12 -0
  153. data/schemas/changePassword.json +1 -1
  154. data/schemas/dashboard.json +72 -17
  155. data/schemas/dashboardPatch.json +72 -17
  156. data/schemas/dashboardPost.json +72 -17
  157. data/schemas/dashboardSendReport.json +4 -0
  158. data/schemas/dashboards.json +72 -17
  159. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  160. data/schemas/deviceClassFilter.json +1 -2
  161. data/schemas/devicesDeletePost.json +309 -0
  162. data/schemas/devicesExportPost.json +309 -0
  163. data/schemas/devicesPatch.json +309 -0
  164. data/schemas/devicesRemoveDataPost.json +309 -0
  165. data/schemas/experienceGroup.json +6 -0
  166. data/schemas/experienceGroups.json +6 -0
  167. data/schemas/experienceLinkedResources.json +57 -0
  168. data/schemas/experienceVersion.json +9 -0
  169. data/schemas/experienceVersionPatch.json +9 -0
  170. data/schemas/experienceVersions.json +9 -0
  171. data/schemas/filePost.json +8 -2
  172. data/schemas/files.json +3 -0
  173. data/schemas/flow.json +19 -0
  174. data/schemas/flowPatch.json +19 -0
  175. data/schemas/flowPost.json +19 -0
  176. data/schemas/flowStorageMetadata.json +13 -0
  177. data/schemas/flowVersion.json +38 -0
  178. data/schemas/flowVersionPost.json +19 -0
  179. data/schemas/flowVersions.json +38 -0
  180. data/schemas/flowVersionsDeletePost.json +941 -0
  181. data/schemas/flows.json +19 -0
  182. data/schemas/flowsImportPost.json +38 -0
  183. data/schemas/flowsImportResult.json +57 -0
  184. data/schemas/githubLogin.json +64 -1
  185. data/schemas/historicalSummaries.json +43 -0
  186. data/schemas/historicalSummary.json +458 -0
  187. data/schemas/instance.json +192 -0
  188. data/schemas/instanceMember.json +37 -0
  189. data/schemas/instanceMemberPatch.json +17 -0
  190. data/schemas/instanceMemberPost.json +22 -0
  191. data/schemas/instanceMembers.json +69 -0
  192. data/schemas/instanceOrg.json +133 -0
  193. data/schemas/instanceOrgMember.json +37 -0
  194. data/schemas/instanceOrgMemberPatch.json +69 -0
  195. data/schemas/instanceOrgMemberPost.json +161 -0
  196. data/schemas/instanceOrgMembers.json +34 -0
  197. data/schemas/instanceOrgPatch.json +122 -0
  198. data/schemas/instanceOrgPost.json +291 -0
  199. data/schemas/instanceOrgs.json +174 -0
  200. data/schemas/instancePatch.json +67 -0
  201. data/schemas/instanceReportOptionsPost.json +41 -0
  202. data/schemas/instances.json +43 -0
  203. data/schemas/integration.json +3 -0
  204. data/schemas/integrationPatch.json +3 -0
  205. data/schemas/integrationPost.json +3 -0
  206. data/schemas/integrations.json +3 -0
  207. data/schemas/me.json +3 -0
  208. data/schemas/mePatch.json +1 -1
  209. data/schemas/multiDeviceCommand.json +309 -0
  210. data/schemas/notebook.json +22 -0
  211. data/schemas/notebookExecutionLogs.json +7 -0
  212. data/schemas/notebookPatch.json +7 -0
  213. data/schemas/notebookPost.json +7 -0
  214. data/schemas/notebooks.json +22 -0
  215. data/schemas/orgPatch.json +0 -9
  216. data/schemas/passwordResetFinish.json +1 -1
  217. data/schemas/payloadStats.json +110 -0
  218. data/schemas/tagKeysResponse.json +14 -0
  219. data/schemas/tagValuesResponse.json +19 -0
  220. data/schemas/userCredentials.json +64 -1
  221. data/schemas/userPost.json +65 -2
  222. data/schemas/validateContextError.json +34 -0
  223. data/schemas/validateContextSuccess.json +34 -0
  224. metadata +64 -3
@@ -939,6 +939,17 @@
939
939
  },
940
940
  "config": {
941
941
  "type": "object",
942
+ "properties": {
943
+ "scope": {
944
+ "type": "string",
945
+ "enum": [
946
+ "local",
947
+ "global",
948
+ "experience",
949
+ "cloud"
950
+ ]
951
+ }
952
+ },
942
953
  "additionalProperties": false
943
954
  },
944
955
  "meta": {
@@ -1424,6 +1435,10 @@
1424
1435
  "type": "string",
1425
1436
  "maxLength": 1024
1426
1437
  },
1438
+ "writeOnOpenEncoding": {
1439
+ "type": "string",
1440
+ "maxLength": 48
1441
+ },
1427
1442
  "byteLength": {
1428
1443
  "type": "string",
1429
1444
  "maxLength": 48
@@ -1431,6 +1446,10 @@
1431
1446
  "delimiter": {
1432
1447
  "type": "string",
1433
1448
  "maxLength": 48
1449
+ },
1450
+ "delimiterEncoding": {
1451
+ "type": "string",
1452
+ "maxLength": 48
1434
1453
  }
1435
1454
  },
1436
1455
  "additionalProperties": false
@@ -3118,6 +3137,17 @@
3118
3137
  },
3119
3138
  "config": {
3120
3139
  "type": "object",
3140
+ "properties": {
3141
+ "scope": {
3142
+ "type": "string",
3143
+ "enum": [
3144
+ "local",
3145
+ "global",
3146
+ "experience",
3147
+ "cloud"
3148
+ ]
3149
+ }
3150
+ },
3121
3151
  "additionalProperties": false
3122
3152
  },
3123
3153
  "meta": {
@@ -3603,6 +3633,10 @@
3603
3633
  "type": "string",
3604
3634
  "maxLength": 1024
3605
3635
  },
3636
+ "writeOnOpenEncoding": {
3637
+ "type": "string",
3638
+ "maxLength": 48
3639
+ },
3606
3640
  "byteLength": {
3607
3641
  "type": "string",
3608
3642
  "maxLength": 48
@@ -3610,6 +3644,10 @@
3610
3644
  "delimiter": {
3611
3645
  "type": "string",
3612
3646
  "maxLength": 48
3647
+ },
3648
+ "delimiterEncoding": {
3649
+ "type": "string",
3650
+ "maxLength": 48
3613
3651
  }
3614
3652
  },
3615
3653
  "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
+ }