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
@@ -0,0 +1,925 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$and": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/advancedFlowVersionQuery"
9
+ },
10
+ "maxItems": 100
11
+ },
12
+ "$or": {
13
+ "type": "array",
14
+ "items": {
15
+ "$ref": "#/definitions/advancedFlowVersionQuery"
16
+ },
17
+ "maxItems": 100
18
+ },
19
+ "$nor": {
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "#/definitions/advancedFlowVersionQuery"
23
+ },
24
+ "maxItems": 100
25
+ },
26
+ "name": {
27
+ "oneOf": [
28
+ {
29
+ "type": [
30
+ "string",
31
+ "number",
32
+ "boolean",
33
+ "null"
34
+ ]
35
+ },
36
+ {
37
+ "type": "object",
38
+ "properties": {
39
+ "$eq": {
40
+ "type": [
41
+ "string",
42
+ "number",
43
+ "boolean",
44
+ "null"
45
+ ]
46
+ },
47
+ "$ne": {
48
+ "type": [
49
+ "string",
50
+ "number",
51
+ "boolean",
52
+ "null"
53
+ ]
54
+ },
55
+ "$gt": {
56
+ "type": [
57
+ "string",
58
+ "number",
59
+ "boolean",
60
+ "null"
61
+ ]
62
+ },
63
+ "$lt": {
64
+ "type": [
65
+ "string",
66
+ "number",
67
+ "boolean",
68
+ "null"
69
+ ]
70
+ },
71
+ "$gte": {
72
+ "type": [
73
+ "string",
74
+ "number",
75
+ "boolean",
76
+ "null"
77
+ ]
78
+ },
79
+ "$lte": {
80
+ "type": [
81
+ "string",
82
+ "number",
83
+ "boolean",
84
+ "null"
85
+ ]
86
+ },
87
+ "$startsWith": {
88
+ "type": "string",
89
+ "minLength": 1
90
+ },
91
+ "$endsWith": {
92
+ "type": "string",
93
+ "minLength": 1
94
+ },
95
+ "$contains": {
96
+ "type": "string",
97
+ "minLength": 1
98
+ },
99
+ "$ci": {
100
+ "type": "boolean"
101
+ },
102
+ "$in": {
103
+ "type": "array",
104
+ "maxItems": 100,
105
+ "items": {
106
+ "type": [
107
+ "string",
108
+ "number",
109
+ "boolean"
110
+ ]
111
+ }
112
+ },
113
+ "$nin": {
114
+ "type": "array",
115
+ "maxItems": 100,
116
+ "items": {
117
+ "type": [
118
+ "string",
119
+ "number",
120
+ "boolean"
121
+ ]
122
+ }
123
+ }
124
+ },
125
+ "additionalProperties": false
126
+ }
127
+ ]
128
+ },
129
+ "id": {
130
+ "oneOf": [
131
+ {
132
+ "oneOf": [
133
+ {
134
+ "type": "string",
135
+ "pattern": "^[A-Fa-f\\d]{24}$"
136
+ },
137
+ {
138
+ "type": "null"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "type": "object",
144
+ "properties": {
145
+ "$eq": {
146
+ "oneOf": [
147
+ {
148
+ "type": "string",
149
+ "pattern": "^[A-Fa-f\\d]{24}$"
150
+ },
151
+ {
152
+ "type": "null"
153
+ }
154
+ ]
155
+ },
156
+ "$ne": {
157
+ "oneOf": [
158
+ {
159
+ "type": "string",
160
+ "pattern": "^[A-Fa-f\\d]{24}$"
161
+ },
162
+ {
163
+ "type": "null"
164
+ }
165
+ ]
166
+ },
167
+ "$in": {
168
+ "type": "array",
169
+ "maxItems": 100,
170
+ "items": {
171
+ "type": "string",
172
+ "pattern": "^[A-Fa-f\\d]{24}$"
173
+ }
174
+ },
175
+ "$nin": {
176
+ "type": "array",
177
+ "maxItems": 100,
178
+ "items": {
179
+ "type": "string",
180
+ "pattern": "^[A-Fa-f\\d]{24}$"
181
+ }
182
+ }
183
+ },
184
+ "additionalProperties": false,
185
+ "minProperties": 1,
186
+ "maxProperties": 1
187
+ }
188
+ ]
189
+ },
190
+ "creationDate": {
191
+ "oneOf": [
192
+ {
193
+ "type": [
194
+ "string",
195
+ "number",
196
+ "boolean",
197
+ "null"
198
+ ]
199
+ },
200
+ {
201
+ "type": "object",
202
+ "properties": {
203
+ "$eq": {
204
+ "type": [
205
+ "string",
206
+ "number",
207
+ "boolean",
208
+ "null"
209
+ ]
210
+ },
211
+ "$ne": {
212
+ "type": [
213
+ "string",
214
+ "number",
215
+ "boolean",
216
+ "null"
217
+ ]
218
+ },
219
+ "$gt": {
220
+ "type": [
221
+ "string",
222
+ "number",
223
+ "boolean",
224
+ "null"
225
+ ]
226
+ },
227
+ "$lt": {
228
+ "type": [
229
+ "string",
230
+ "number",
231
+ "boolean",
232
+ "null"
233
+ ]
234
+ },
235
+ "$gte": {
236
+ "type": [
237
+ "string",
238
+ "number",
239
+ "boolean",
240
+ "null"
241
+ ]
242
+ },
243
+ "$lte": {
244
+ "type": [
245
+ "string",
246
+ "number",
247
+ "boolean",
248
+ "null"
249
+ ]
250
+ },
251
+ "$startsWith": {
252
+ "type": "string",
253
+ "minLength": 1
254
+ },
255
+ "$endsWith": {
256
+ "type": "string",
257
+ "minLength": 1
258
+ },
259
+ "$contains": {
260
+ "type": "string",
261
+ "minLength": 1
262
+ },
263
+ "$ci": {
264
+ "type": "boolean"
265
+ },
266
+ "$in": {
267
+ "type": "array",
268
+ "maxItems": 100,
269
+ "items": {
270
+ "type": [
271
+ "string",
272
+ "number",
273
+ "boolean"
274
+ ]
275
+ }
276
+ },
277
+ "$nin": {
278
+ "type": "array",
279
+ "maxItems": 100,
280
+ "items": {
281
+ "type": [
282
+ "string",
283
+ "number",
284
+ "boolean"
285
+ ]
286
+ }
287
+ }
288
+ },
289
+ "additionalProperties": false
290
+ }
291
+ ]
292
+ },
293
+ "lastUpdated": {
294
+ "oneOf": [
295
+ {
296
+ "type": [
297
+ "string",
298
+ "number",
299
+ "boolean",
300
+ "null"
301
+ ]
302
+ },
303
+ {
304
+ "type": "object",
305
+ "properties": {
306
+ "$eq": {
307
+ "type": [
308
+ "string",
309
+ "number",
310
+ "boolean",
311
+ "null"
312
+ ]
313
+ },
314
+ "$ne": {
315
+ "type": [
316
+ "string",
317
+ "number",
318
+ "boolean",
319
+ "null"
320
+ ]
321
+ },
322
+ "$gt": {
323
+ "type": [
324
+ "string",
325
+ "number",
326
+ "boolean",
327
+ "null"
328
+ ]
329
+ },
330
+ "$lt": {
331
+ "type": [
332
+ "string",
333
+ "number",
334
+ "boolean",
335
+ "null"
336
+ ]
337
+ },
338
+ "$gte": {
339
+ "type": [
340
+ "string",
341
+ "number",
342
+ "boolean",
343
+ "null"
344
+ ]
345
+ },
346
+ "$lte": {
347
+ "type": [
348
+ "string",
349
+ "number",
350
+ "boolean",
351
+ "null"
352
+ ]
353
+ },
354
+ "$startsWith": {
355
+ "type": "string",
356
+ "minLength": 1
357
+ },
358
+ "$endsWith": {
359
+ "type": "string",
360
+ "minLength": 1
361
+ },
362
+ "$contains": {
363
+ "type": "string",
364
+ "minLength": 1
365
+ },
366
+ "$ci": {
367
+ "type": "boolean"
368
+ },
369
+ "$in": {
370
+ "type": "array",
371
+ "maxItems": 100,
372
+ "items": {
373
+ "type": [
374
+ "string",
375
+ "number",
376
+ "boolean"
377
+ ]
378
+ }
379
+ },
380
+ "$nin": {
381
+ "type": "array",
382
+ "maxItems": 100,
383
+ "items": {
384
+ "type": [
385
+ "string",
386
+ "number",
387
+ "boolean"
388
+ ]
389
+ }
390
+ }
391
+ },
392
+ "additionalProperties": false
393
+ }
394
+ ]
395
+ },
396
+ "flowClass": {
397
+ "oneOf": [
398
+ {
399
+ "type": [
400
+ "string",
401
+ "number",
402
+ "boolean",
403
+ "null"
404
+ ]
405
+ },
406
+ {
407
+ "type": "object",
408
+ "properties": {
409
+ "$eq": {
410
+ "type": [
411
+ "string",
412
+ "number",
413
+ "boolean",
414
+ "null"
415
+ ]
416
+ },
417
+ "$ne": {
418
+ "type": [
419
+ "string",
420
+ "number",
421
+ "boolean",
422
+ "null"
423
+ ]
424
+ },
425
+ "$gt": {
426
+ "type": [
427
+ "string",
428
+ "number",
429
+ "boolean",
430
+ "null"
431
+ ]
432
+ },
433
+ "$lt": {
434
+ "type": [
435
+ "string",
436
+ "number",
437
+ "boolean",
438
+ "null"
439
+ ]
440
+ },
441
+ "$gte": {
442
+ "type": [
443
+ "string",
444
+ "number",
445
+ "boolean",
446
+ "null"
447
+ ]
448
+ },
449
+ "$lte": {
450
+ "type": [
451
+ "string",
452
+ "number",
453
+ "boolean",
454
+ "null"
455
+ ]
456
+ },
457
+ "$startsWith": {
458
+ "type": "string",
459
+ "minLength": 1
460
+ },
461
+ "$endsWith": {
462
+ "type": "string",
463
+ "minLength": 1
464
+ },
465
+ "$contains": {
466
+ "type": "string",
467
+ "minLength": 1
468
+ },
469
+ "$ci": {
470
+ "type": "boolean"
471
+ },
472
+ "$in": {
473
+ "type": "array",
474
+ "maxItems": 100,
475
+ "items": {
476
+ "type": [
477
+ "string",
478
+ "number",
479
+ "boolean"
480
+ ]
481
+ }
482
+ },
483
+ "$nin": {
484
+ "type": "array",
485
+ "maxItems": 100,
486
+ "items": {
487
+ "type": [
488
+ "string",
489
+ "number",
490
+ "boolean"
491
+ ]
492
+ }
493
+ }
494
+ },
495
+ "additionalProperties": false
496
+ }
497
+ ]
498
+ },
499
+ "enabled": {
500
+ "oneOf": [
501
+ {
502
+ "type": [
503
+ "string",
504
+ "number",
505
+ "boolean",
506
+ "null"
507
+ ]
508
+ },
509
+ {
510
+ "type": "object",
511
+ "properties": {
512
+ "$eq": {
513
+ "type": [
514
+ "string",
515
+ "number",
516
+ "boolean",
517
+ "null"
518
+ ]
519
+ },
520
+ "$ne": {
521
+ "type": [
522
+ "string",
523
+ "number",
524
+ "boolean",
525
+ "null"
526
+ ]
527
+ },
528
+ "$gt": {
529
+ "type": [
530
+ "string",
531
+ "number",
532
+ "boolean",
533
+ "null"
534
+ ]
535
+ },
536
+ "$lt": {
537
+ "type": [
538
+ "string",
539
+ "number",
540
+ "boolean",
541
+ "null"
542
+ ]
543
+ },
544
+ "$gte": {
545
+ "type": [
546
+ "string",
547
+ "number",
548
+ "boolean",
549
+ "null"
550
+ ]
551
+ },
552
+ "$lte": {
553
+ "type": [
554
+ "string",
555
+ "number",
556
+ "boolean",
557
+ "null"
558
+ ]
559
+ },
560
+ "$startsWith": {
561
+ "type": "string",
562
+ "minLength": 1
563
+ },
564
+ "$endsWith": {
565
+ "type": "string",
566
+ "minLength": 1
567
+ },
568
+ "$contains": {
569
+ "type": "string",
570
+ "minLength": 1
571
+ },
572
+ "$ci": {
573
+ "type": "boolean"
574
+ },
575
+ "$in": {
576
+ "type": "array",
577
+ "maxItems": 100,
578
+ "items": {
579
+ "type": [
580
+ "string",
581
+ "number",
582
+ "boolean"
583
+ ]
584
+ }
585
+ },
586
+ "$nin": {
587
+ "type": "array",
588
+ "maxItems": 100,
589
+ "items": {
590
+ "type": [
591
+ "string",
592
+ "number",
593
+ "boolean"
594
+ ]
595
+ }
596
+ }
597
+ },
598
+ "additionalProperties": false
599
+ }
600
+ ]
601
+ },
602
+ "version": {
603
+ "oneOf": [
604
+ {
605
+ "type": [
606
+ "string",
607
+ "number",
608
+ "boolean",
609
+ "null"
610
+ ]
611
+ },
612
+ {
613
+ "type": "object",
614
+ "properties": {
615
+ "$eq": {
616
+ "type": [
617
+ "string",
618
+ "number",
619
+ "boolean",
620
+ "null"
621
+ ]
622
+ },
623
+ "$ne": {
624
+ "type": [
625
+ "string",
626
+ "number",
627
+ "boolean",
628
+ "null"
629
+ ]
630
+ },
631
+ "$gt": {
632
+ "type": [
633
+ "string",
634
+ "number",
635
+ "boolean",
636
+ "null"
637
+ ]
638
+ },
639
+ "$lt": {
640
+ "type": [
641
+ "string",
642
+ "number",
643
+ "boolean",
644
+ "null"
645
+ ]
646
+ },
647
+ "$gte": {
648
+ "type": [
649
+ "string",
650
+ "number",
651
+ "boolean",
652
+ "null"
653
+ ]
654
+ },
655
+ "$lte": {
656
+ "type": [
657
+ "string",
658
+ "number",
659
+ "boolean",
660
+ "null"
661
+ ]
662
+ },
663
+ "$startsWith": {
664
+ "type": "string",
665
+ "minLength": 1
666
+ },
667
+ "$endsWith": {
668
+ "type": "string",
669
+ "minLength": 1
670
+ },
671
+ "$contains": {
672
+ "type": "string",
673
+ "minLength": 1
674
+ },
675
+ "$ci": {
676
+ "type": "boolean"
677
+ },
678
+ "$in": {
679
+ "type": "array",
680
+ "maxItems": 100,
681
+ "items": {
682
+ "type": [
683
+ "string",
684
+ "number",
685
+ "boolean"
686
+ ]
687
+ }
688
+ },
689
+ "$nin": {
690
+ "type": "array",
691
+ "maxItems": 100,
692
+ "items": {
693
+ "type": [
694
+ "string",
695
+ "number",
696
+ "boolean"
697
+ ]
698
+ }
699
+ }
700
+ },
701
+ "additionalProperties": false
702
+ }
703
+ ]
704
+ },
705
+ "triggers": {
706
+ "oneOf": [
707
+ {
708
+ "type": "object",
709
+ "properties": {
710
+ "type": {
711
+ "type": "string",
712
+ "maxLength": 255
713
+ },
714
+ "key": {
715
+ "type": "string",
716
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
717
+ },
718
+ "config": {
719
+ "type": "object",
720
+ "patternProperties": {
721
+ "^[0-9a-zA-Z_-]{1,255}$": {
722
+ "type": [
723
+ "string",
724
+ "number",
725
+ "boolean",
726
+ "null"
727
+ ],
728
+ "maxLength": 1024
729
+ }
730
+ }
731
+ }
732
+ },
733
+ "required": [
734
+ "type"
735
+ ],
736
+ "additionalProperties": false
737
+ },
738
+ {
739
+ "type": "object",
740
+ "properties": {
741
+ "$eq": {
742
+ "type": "object",
743
+ "properties": {
744
+ "type": {
745
+ "type": "string",
746
+ "maxLength": 255
747
+ },
748
+ "key": {
749
+ "type": "string",
750
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
751
+ },
752
+ "config": {
753
+ "type": "object",
754
+ "patternProperties": {
755
+ "^[0-9a-zA-Z_-]{1,255}$": {
756
+ "type": [
757
+ "string",
758
+ "number",
759
+ "boolean",
760
+ "null"
761
+ ],
762
+ "maxLength": 1024
763
+ }
764
+ }
765
+ }
766
+ },
767
+ "required": [
768
+ "type"
769
+ ],
770
+ "additionalProperties": false
771
+ }
772
+ },
773
+ "required": [
774
+ "$eq"
775
+ ],
776
+ "additionalProperties": false
777
+ },
778
+ {
779
+ "type": "object",
780
+ "properties": {
781
+ "$ne": {
782
+ "type": "object",
783
+ "properties": {
784
+ "type": {
785
+ "type": "string",
786
+ "maxLength": 255
787
+ },
788
+ "key": {
789
+ "type": "string",
790
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
791
+ },
792
+ "config": {
793
+ "type": "object",
794
+ "patternProperties": {
795
+ "^[0-9a-zA-Z_-]{1,255}$": {
796
+ "type": [
797
+ "string",
798
+ "number",
799
+ "boolean",
800
+ "null"
801
+ ],
802
+ "maxLength": 1024
803
+ }
804
+ }
805
+ }
806
+ },
807
+ "required": [
808
+ "type"
809
+ ],
810
+ "additionalProperties": false
811
+ }
812
+ },
813
+ "required": [
814
+ "$ne"
815
+ ],
816
+ "additionalProperties": false
817
+ }
818
+ ]
819
+ },
820
+ "nodes": {
821
+ "oneOf": [
822
+ {
823
+ "type": "object",
824
+ "properties": {
825
+ "type": {
826
+ "type": "string",
827
+ "maxLength": 255
828
+ },
829
+ "config": {
830
+ "type": "object",
831
+ "patternProperties": {
832
+ "^[0-9a-zA-Z_-]{1,255}$": {
833
+ "type": [
834
+ "string",
835
+ "number",
836
+ "boolean",
837
+ "null"
838
+ ],
839
+ "maxLength": 1024
840
+ }
841
+ }
842
+ }
843
+ },
844
+ "required": [
845
+ "type"
846
+ ],
847
+ "additionalProperties": false
848
+ },
849
+ {
850
+ "type": "object",
851
+ "properties": {
852
+ "$eq": {
853
+ "type": "object",
854
+ "properties": {
855
+ "type": {
856
+ "type": "string",
857
+ "maxLength": 255
858
+ },
859
+ "config": {
860
+ "type": "object",
861
+ "patternProperties": {
862
+ "^[0-9a-zA-Z_-]{1,255}$": {
863
+ "type": [
864
+ "string",
865
+ "number",
866
+ "boolean",
867
+ "null"
868
+ ],
869
+ "maxLength": 1024
870
+ }
871
+ }
872
+ }
873
+ },
874
+ "required": [
875
+ "type"
876
+ ],
877
+ "additionalProperties": false
878
+ }
879
+ },
880
+ "required": [
881
+ "$eq"
882
+ ],
883
+ "additionalProperties": false
884
+ },
885
+ {
886
+ "type": "object",
887
+ "properties": {
888
+ "$ne": {
889
+ "type": "object",
890
+ "properties": {
891
+ "type": {
892
+ "type": "string",
893
+ "maxLength": 255
894
+ },
895
+ "config": {
896
+ "type": "object",
897
+ "patternProperties": {
898
+ "^[0-9a-zA-Z_-]{1,255}$": {
899
+ "type": [
900
+ "string",
901
+ "number",
902
+ "boolean",
903
+ "null"
904
+ ],
905
+ "maxLength": 1024
906
+ }
907
+ }
908
+ }
909
+ },
910
+ "required": [
911
+ "type"
912
+ ],
913
+ "additionalProperties": false
914
+ }
915
+ },
916
+ "required": [
917
+ "$ne"
918
+ ],
919
+ "additionalProperties": false
920
+ }
921
+ ]
922
+ }
923
+ },
924
+ "additionalProperties": false
925
+ }