losant_rest 1.13.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +19437 -10622
  3. data/docs/application.md +6 -6
  4. data/docs/applicationApiTokens.md +1 -1
  5. data/docs/applications.md +1 -1
  6. data/docs/dataTable.md +1 -1
  7. data/docs/dataTableRows.md +1 -1
  8. data/docs/dataTables.md +1 -1
  9. data/docs/device.md +43 -0
  10. data/docs/devices.md +41 -2
  11. data/docs/edgeDeployment.md +49 -0
  12. data/docs/embeddedDeployment.md +49 -0
  13. data/docs/embeddedDeployments.md +215 -0
  14. data/docs/experience.md +1 -1
  15. data/docs/experienceDomains.md +1 -1
  16. data/docs/experienceGroup.md +2 -0
  17. data/docs/experienceSlugs.md +1 -1
  18. data/docs/experienceVersion.md +3 -3
  19. data/docs/experienceVersions.md +2 -2
  20. data/docs/experienceView.md +4 -4
  21. data/docs/experienceViews.md +2 -2
  22. data/docs/file.md +5 -5
  23. data/docs/files.md +2 -2
  24. data/docs/flow.md +3 -3
  25. data/docs/flowVersions.md +44 -0
  26. data/docs/flows.md +2 -2
  27. data/docs/instance.md +40 -0
  28. data/docs/instanceApiToken.md +133 -0
  29. data/docs/instanceApiTokens.md +91 -0
  30. data/docs/instanceMembers.md +1 -1
  31. data/docs/instanceOrg.md +2 -0
  32. data/docs/instanceOrgInvite.md +139 -0
  33. data/docs/instanceOrgInvites.md +96 -0
  34. data/docs/instanceOrgMembers.md +3 -3
  35. data/docs/instanceOrgs.md +1 -1
  36. data/docs/me.md +1 -1
  37. data/docs/org.md +1 -1
  38. data/docs/userApiToken.md +125 -0
  39. data/docs/userApiTokens.md +87 -0
  40. data/lib/losant_rest/application.rb +5 -5
  41. data/lib/losant_rest/application_api_tokens.rb +1 -1
  42. data/lib/losant_rest/applications.rb +1 -1
  43. data/lib/losant_rest/client.rb +38 -2
  44. data/lib/losant_rest/data_table.rb +1 -1
  45. data/lib/losant_rest/data_table_rows.rb +1 -1
  46. data/lib/losant_rest/data_tables.rb +1 -1
  47. data/lib/losant_rest/device.rb +50 -0
  48. data/lib/losant_rest/devices.rb +48 -2
  49. data/lib/losant_rest/edge_deployment.rb +81 -0
  50. data/lib/losant_rest/embedded_deployment.rb +81 -0
  51. data/lib/losant_rest/embedded_deployments.rb +280 -0
  52. data/lib/losant_rest/experience.rb +1 -1
  53. data/lib/losant_rest/experience_domains.rb +1 -1
  54. data/lib/losant_rest/experience_group.rb +4 -0
  55. data/lib/losant_rest/experience_slugs.rb +1 -1
  56. data/lib/losant_rest/experience_version.rb +3 -3
  57. data/lib/losant_rest/experience_versions.rb +2 -2
  58. data/lib/losant_rest/experience_view.rb +4 -4
  59. data/lib/losant_rest/experience_views.rb +2 -2
  60. data/lib/losant_rest/file.rb +4 -4
  61. data/lib/losant_rest/files.rb +2 -2
  62. data/lib/losant_rest/flow.rb +3 -3
  63. data/lib/losant_rest/flow_versions.rb +50 -0
  64. data/lib/losant_rest/flows.rb +2 -2
  65. data/lib/losant_rest/instance.rb +47 -1
  66. data/lib/losant_rest/instance_api_token.rb +176 -0
  67. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  68. data/lib/losant_rest/instance_member.rb +1 -1
  69. data/lib/losant_rest/instance_members.rb +2 -2
  70. data/lib/losant_rest/instance_org.rb +5 -1
  71. data/lib/losant_rest/instance_org_invite.rb +182 -0
  72. data/lib/losant_rest/instance_org_invites.rb +138 -0
  73. data/lib/losant_rest/instance_org_member.rb +1 -1
  74. data/lib/losant_rest/instance_org_members.rb +4 -4
  75. data/lib/losant_rest/instance_orgs.rb +3 -3
  76. data/lib/losant_rest/instances.rb +1 -1
  77. data/lib/losant_rest/user_api_token.rb +170 -0
  78. data/lib/losant_rest/user_api_tokens.rb +132 -0
  79. data/lib/losant_rest/version.rb +1 -1
  80. data/lib/losant_rest.rb +9 -0
  81. data/schemas/apiToken.json +2 -1
  82. data/schemas/apiTokenPost.json +439 -0
  83. data/schemas/apiTokens.json +4 -2
  84. data/schemas/application.json +32 -32
  85. data/schemas/applicationCreationByTemplateResult.json +32 -32
  86. data/schemas/applicationDashboardPost.json +28 -21
  87. data/schemas/applicationPatch.json +13 -13
  88. data/schemas/applicationPost.json +13 -13
  89. data/schemas/applicationTemplate.json +16 -16
  90. data/schemas/applicationTemplates.json +16 -16
  91. data/schemas/applications.json +32 -32
  92. data/schemas/auditLog.json +4 -0
  93. data/schemas/auditLogFilter.json +4 -0
  94. data/schemas/auditLogs.json +4 -0
  95. data/schemas/authedDevice.json +2 -1
  96. data/schemas/bulkDeleteResponse.json +12 -0
  97. data/schemas/dashboard.json +28 -21
  98. data/schemas/dashboardPatch.json +28 -21
  99. data/schemas/dashboardPost.json +28 -21
  100. data/schemas/dashboardSendReport.json +9 -5
  101. data/schemas/dashboards.json +28 -21
  102. data/schemas/dataTableRowsDelete.json +1 -1
  103. data/schemas/device.json +2 -1
  104. data/schemas/deviceClassFilter.json +4 -2
  105. data/schemas/devicePatch.json +2 -1
  106. data/schemas/devicePayloadCounts.json +24 -0
  107. data/schemas/devicePost.json +2 -1
  108. data/schemas/deviceRecipe.json +2 -1
  109. data/schemas/deviceRecipePatch.json +2 -1
  110. data/schemas/deviceRecipePost.json +2 -1
  111. data/schemas/deviceRecipes.json +2 -1
  112. data/schemas/devices.json +4 -2
  113. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  114. data/schemas/devicesPatch.json +4 -2
  115. data/schemas/edgeDeployment.json +20 -0
  116. data/schemas/edgeDeployments.json +20 -0
  117. data/schemas/embeddedDeployment.json +179 -0
  118. data/schemas/embeddedDeploymentExport.json +44 -0
  119. data/schemas/embeddedDeploymentRelease.json +58 -0
  120. data/schemas/embeddedDeploymentRemove.json +25 -0
  121. data/schemas/embeddedDeploymentReplace.json +29 -0
  122. data/schemas/embeddedDeployments.json +212 -0
  123. data/schemas/eventsDeleted.json +1 -1
  124. data/schemas/experienceEndpoint.json +6 -8
  125. data/schemas/experienceEndpointPatch.json +6 -8
  126. data/schemas/experienceEndpointPost.json +6 -8
  127. data/schemas/experienceEndpoints.json +6 -8
  128. data/schemas/experienceGroup.json +6 -0
  129. data/schemas/experienceGroups.json +6 -0
  130. data/schemas/experienceLinkedResources.json +790 -85
  131. data/schemas/flow.json +252 -16
  132. data/schemas/flowPatch.json +251 -16
  133. data/schemas/flowPost.json +252 -16
  134. data/schemas/flowVersion.json +503 -33
  135. data/schemas/flowVersionPost.json +251 -16
  136. data/schemas/flowVersions.json +503 -33
  137. data/schemas/flowVersionsDeletePost.json +941 -0
  138. data/schemas/flows.json +253 -16
  139. data/schemas/flowsImportPost.json +503 -32
  140. data/schemas/flowsImportResult.json +785 -79
  141. data/schemas/githubLogin.json +38 -1
  142. data/schemas/historicalSummary.json +150 -102
  143. data/schemas/instance.json +150 -77
  144. data/schemas/instanceMember.json +10 -0
  145. data/schemas/instanceMemberPost.json +18 -3
  146. data/schemas/instanceMembers.json +14 -0
  147. data/schemas/instanceOrg.json +87 -74
  148. data/schemas/instanceOrgMember.json +14 -0
  149. data/schemas/instanceOrgMembers.json +8 -0
  150. data/schemas/instanceOrgPatch.json +64 -26
  151. data/schemas/instanceOrgPost.json +229 -25
  152. data/schemas/instanceOrgs.json +91 -74
  153. data/schemas/instancePatch.json +67 -0
  154. data/schemas/instanceReportOptionsPost.json +1 -0
  155. data/schemas/me.json +134 -105
  156. data/schemas/notebook.json +45 -0
  157. data/schemas/notebookPatch.json +30 -0
  158. data/schemas/notebookPost.json +30 -0
  159. data/schemas/notebooks.json +45 -0
  160. data/schemas/org.json +145 -110
  161. data/schemas/orgInvite.json +90 -0
  162. data/schemas/orgInviteCollection.json +130 -0
  163. data/schemas/orgInvites.json +82 -77
  164. data/schemas/orgRoleInfo.json +69 -0
  165. data/schemas/orgs.json +145 -110
  166. data/schemas/payloadStats.json +28 -12
  167. data/schemas/userCredentials.json +38 -1
  168. data/schemas/userPost.json +38 -1
  169. data/schemas/validateContextError.json +34 -0
  170. data/schemas/validateContextSuccess.json +34 -0
  171. data/schemas/virtualButtonPress.json +4 -0
  172. metadata +39 -6
@@ -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
+ }