losant_rest 1.8.7 → 1.8.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +38618 -21196
  3. data/docs/application.md +76 -0
  4. data/docs/auth.md +0 -36
  5. data/docs/dashboards.md +1 -1
  6. data/docs/dataTableRows.md +2 -2
  7. data/docs/device.md +1 -0
  8. data/docs/events.md +81 -0
  9. data/docs/file.md +43 -0
  10. data/docs/me.md +50 -13
  11. data/lib/losant_rest.rb +0 -4
  12. data/lib/losant_rest/application.rb +90 -0
  13. data/lib/losant_rest/application_api_token.rb +2 -0
  14. data/lib/losant_rest/application_api_tokens.rb +2 -0
  15. data/lib/losant_rest/application_certificate.rb +2 -0
  16. data/lib/losant_rest/application_certificate_authorities.rb +2 -0
  17. data/lib/losant_rest/application_certificate_authority.rb +2 -0
  18. data/lib/losant_rest/application_certificates.rb +2 -0
  19. data/lib/losant_rest/application_key.rb +2 -0
  20. data/lib/losant_rest/application_keys.rb +2 -0
  21. data/lib/losant_rest/applications.rb +2 -0
  22. data/lib/losant_rest/audit_log.rb +2 -0
  23. data/lib/losant_rest/audit_logs.rb +2 -0
  24. data/lib/losant_rest/auth.rb +2 -42
  25. data/lib/losant_rest/client.rb +2 -18
  26. data/lib/losant_rest/dashboard.rb +2 -0
  27. data/lib/losant_rest/dashboards.rb +3 -1
  28. data/lib/losant_rest/data.rb +2 -0
  29. data/lib/losant_rest/data_table.rb +2 -0
  30. data/lib/losant_rest/data_table_row.rb +2 -0
  31. data/lib/losant_rest/data_table_rows.rb +4 -2
  32. data/lib/losant_rest/data_tables.rb +2 -0
  33. data/lib/losant_rest/device.rb +4 -0
  34. data/lib/losant_rest/device_recipe.rb +2 -0
  35. data/lib/losant_rest/device_recipes.rb +2 -0
  36. data/lib/losant_rest/devices.rb +2 -0
  37. data/lib/losant_rest/edge_deployments.rb +2 -0
  38. data/lib/losant_rest/event.rb +2 -0
  39. data/lib/losant_rest/events.rb +103 -0
  40. data/lib/losant_rest/experience.rb +2 -0
  41. data/lib/losant_rest/experience_domain.rb +2 -0
  42. data/lib/losant_rest/experience_domains.rb +2 -0
  43. data/lib/losant_rest/experience_endpoint.rb +2 -0
  44. data/lib/losant_rest/experience_endpoints.rb +2 -0
  45. data/lib/losant_rest/experience_group.rb +2 -0
  46. data/lib/losant_rest/experience_groups.rb +2 -0
  47. data/lib/losant_rest/experience_slug.rb +2 -0
  48. data/lib/losant_rest/experience_slugs.rb +2 -0
  49. data/lib/losant_rest/experience_user.rb +2 -0
  50. data/lib/losant_rest/experience_users.rb +2 -0
  51. data/lib/losant_rest/experience_version.rb +2 -0
  52. data/lib/losant_rest/experience_versions.rb +2 -0
  53. data/lib/losant_rest/experience_view.rb +2 -0
  54. data/lib/losant_rest/experience_views.rb +2 -0
  55. data/lib/losant_rest/file.rb +2 -0
  56. data/lib/losant_rest/files.rb +2 -0
  57. data/lib/losant_rest/flow.rb +2 -0
  58. data/lib/losant_rest/flow_version.rb +2 -0
  59. data/lib/losant_rest/flow_versions.rb +2 -0
  60. data/lib/losant_rest/flows.rb +2 -0
  61. data/lib/losant_rest/integration.rb +2 -0
  62. data/lib/losant_rest/integrations.rb +2 -0
  63. data/lib/losant_rest/me.rb +57 -13
  64. data/lib/losant_rest/notebook.rb +2 -0
  65. data/lib/losant_rest/notebooks.rb +2 -0
  66. data/lib/losant_rest/org.rb +2 -0
  67. data/lib/losant_rest/org_invites.rb +2 -0
  68. data/lib/losant_rest/orgs.rb +2 -0
  69. data/lib/losant_rest/version.rb +1 -1
  70. data/lib/losant_rest/webhook.rb +2 -0
  71. data/lib/losant_rest/webhooks.rb +2 -0
  72. data/schemas/advancedEventQuery.json +817 -0
  73. data/schemas/{dataTableQuery.json → advancedQuery.json} +5 -4
  74. data/schemas/apiTokens.json +4 -1
  75. data/schemas/application.json +30 -1
  76. data/schemas/applicationApiTokenPost.json +5 -0
  77. data/schemas/applicationCertificate.json +29 -1
  78. data/schemas/applicationCertificateAuthorities.json +36 -3
  79. data/schemas/applicationCertificateAuthority.json +32 -2
  80. data/schemas/applicationCertificateAuthorityPatch.json +3 -1
  81. data/schemas/applicationCertificateAuthorityPost.json +3 -1
  82. data/schemas/applicationCertificatePatch.json +3 -1
  83. data/schemas/applicationCertificatePost.json +3 -1
  84. data/schemas/applicationCertificates.json +33 -2
  85. data/schemas/applicationKeys.json +4 -1
  86. data/schemas/applicationPatch.json +28 -0
  87. data/schemas/applicationPost.json +28 -0
  88. data/schemas/applications.json +34 -2
  89. data/schemas/auditLog.json +0 -3
  90. data/schemas/auditLogFilter.json +0 -3
  91. data/schemas/auditLogs.json +4 -4
  92. data/schemas/authedDevice.json +7 -0
  93. data/schemas/dashboard.json +3970 -72
  94. data/schemas/dashboardPatch.json +3969 -72
  95. data/schemas/dashboardPost.json +3969 -72
  96. data/schemas/dashboardSendReport.json +4 -0
  97. data/schemas/dashboardUpdateEvents.json +46 -0
  98. data/schemas/dashboards.json +3974 -73
  99. data/schemas/dataTableRows.json +4 -1
  100. data/schemas/dataTableRowsExport.json +11 -7
  101. data/schemas/dataTables.json +4 -1
  102. data/schemas/deviceRecipes.json +4 -1
  103. data/schemas/devices.json +4 -1
  104. data/schemas/event.json +19 -2
  105. data/schemas/eventPost.json +0 -1
  106. data/schemas/eventTagsSummary.json +28 -0
  107. data/schemas/events.json +841 -3
  108. data/schemas/eventsDeleted.json +9 -0
  109. data/schemas/eventsExport.json +830 -0
  110. data/schemas/experienceDomain.json +6 -2
  111. data/schemas/experienceDomainPatch.json +14 -10
  112. data/schemas/experienceDomainPost.json +8 -4
  113. data/schemas/experienceDomains.json +6 -2
  114. data/schemas/experienceEndpoints.json +4 -1
  115. data/schemas/experienceGroup.json +2 -2
  116. data/schemas/experienceGroupPatch.json +2 -2
  117. data/schemas/experienceGroupPost.json +2 -2
  118. data/schemas/experienceGroups.json +6 -3
  119. data/schemas/experienceSlugPatch.json +2 -2
  120. data/schemas/experienceSlugPost.json +2 -2
  121. data/schemas/experienceUsers.json +4 -1
  122. data/schemas/experienceViews.json +4 -1
  123. data/schemas/files.json +4 -1
  124. data/schemas/flow.json +4 -0
  125. data/schemas/flowPatch.json +6 -2
  126. data/schemas/flowPost.json +4 -0
  127. data/schemas/flowVersion.json +8 -0
  128. data/schemas/flowVersionPost.json +4 -0
  129. data/schemas/flowVersions.json +12 -1
  130. data/schemas/flows.json +8 -1
  131. data/schemas/flowsImportPost.json +10 -2
  132. data/schemas/flowsImportResult.json +12 -0
  133. data/schemas/githubLogin.json +6 -15
  134. data/schemas/integrations.json +4 -1
  135. data/schemas/notebooks.json +4 -1
  136. data/schemas/org.json +2 -4
  137. data/schemas/orgPatch.json +2 -1
  138. data/schemas/orgPost.json +2 -1
  139. data/schemas/orgs.json +6 -5
  140. data/schemas/passwordResetFinish.json +0 -4
  141. data/schemas/passwordResetInput.json +0 -4
  142. data/schemas/resourceTransfer.json +0 -8
  143. data/schemas/userCredentials.json +6 -15
  144. data/schemas/userPost.json +6 -15
  145. data/schemas/webhooks.json +4 -1
  146. data/test/basic_test.rb +15 -0
  147. metadata +8 -23
  148. data/docs/solution.md +0 -133
  149. data/docs/solutionUser.md +0 -139
  150. data/docs/solutionUsers.md +0 -96
  151. data/docs/solutions.md +0 -91
  152. data/lib/losant_rest/solution.rb +0 -174
  153. data/lib/losant_rest/solution_user.rb +0 -180
  154. data/lib/losant_rest/solution_users.rb +0 -138
  155. data/lib/losant_rest/solutions.rb +0 -134
  156. data/schemas/authedSolutionUser.json +0 -18
  157. data/schemas/fileUploadPostResp.json +0 -109
  158. data/schemas/solution.json +0 -76
  159. data/schemas/solutionMe.json +0 -150
  160. data/schemas/solutionPatch.json +0 -48
  161. data/schemas/solutionPost.json +0 -52
  162. data/schemas/solutionUser.json +0 -103
  163. data/schemas/solutionUserCredentials.json +0 -34
  164. data/schemas/solutionUserPatch.json +0 -74
  165. data/schemas/solutionUserPost.json +0 -80
  166. data/schemas/solutionUsers.json +0 -149
  167. data/schemas/solutions.json +0 -118
@@ -20,6 +20,8 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
22
 
23
+ require "json"
24
+
23
25
  module LosantRest
24
26
 
25
27
  # Class containing all the actions for the Notebook Resource
@@ -20,6 +20,8 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
22
 
23
+ require "json"
24
+
23
25
  module LosantRest
24
26
 
25
27
  # Class containing all the actions for the Notebooks Resource
@@ -20,6 +20,8 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
22
 
23
+ require "json"
24
+
23
25
  module LosantRest
24
26
 
25
27
  # Class containing all the actions for the Org Resource
@@ -20,6 +20,8 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
22
 
23
+ require "json"
24
+
23
25
  module LosantRest
24
26
 
25
27
  # Class containing all the actions for the Org Invites Resource
@@ -20,6 +20,8 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
22
 
23
+ require "json"
24
+
23
25
  module LosantRest
24
26
 
25
27
  # Class containing all the actions for the Orgs Resource
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module LosantRest
24
- VERSION = "1.8.7"
24
+ VERSION = "1.8.9"
25
25
  end
@@ -20,6 +20,8 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
22
 
23
+ require "json"
24
+
23
25
  module LosantRest
24
26
 
25
27
  # Class containing all the actions for the Webhook Resource
@@ -20,6 +20,8 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
22
 
23
+ require "json"
24
+
23
25
  module LosantRest
24
26
 
25
27
  # Class containing all the actions for the Webhooks Resource
@@ -0,0 +1,817 @@
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/advancedEventQuery"
9
+ }
10
+ },
11
+ "$or": {
12
+ "type": "array",
13
+ "items": {
14
+ "$ref": "#/definitions/advancedEventQuery"
15
+ }
16
+ },
17
+ "id": {
18
+ "oneOf": [
19
+ {
20
+ "type": [
21
+ "string",
22
+ "number",
23
+ "boolean",
24
+ "null"
25
+ ]
26
+ },
27
+ {
28
+ "type": "object",
29
+ "properties": {
30
+ "$eq": {
31
+ "type": [
32
+ "string",
33
+ "number",
34
+ "boolean",
35
+ "null"
36
+ ]
37
+ },
38
+ "$ne": {
39
+ "type": [
40
+ "string",
41
+ "number",
42
+ "boolean",
43
+ "null"
44
+ ]
45
+ },
46
+ "$gt": {
47
+ "type": [
48
+ "string",
49
+ "number",
50
+ "boolean",
51
+ "null"
52
+ ]
53
+ },
54
+ "$lt": {
55
+ "type": [
56
+ "string",
57
+ "number",
58
+ "boolean",
59
+ "null"
60
+ ]
61
+ },
62
+ "$gte": {
63
+ "type": [
64
+ "string",
65
+ "number",
66
+ "boolean",
67
+ "null"
68
+ ]
69
+ },
70
+ "$lte": {
71
+ "type": [
72
+ "string",
73
+ "number",
74
+ "boolean",
75
+ "null"
76
+ ]
77
+ },
78
+ "$startsWith": {
79
+ "type": "string",
80
+ "minLength": 1
81
+ },
82
+ "$endsWith": {
83
+ "type": "string",
84
+ "minLength": 1
85
+ },
86
+ "$contains": {
87
+ "type": "string",
88
+ "minLength": 1
89
+ }
90
+ },
91
+ "additionalProperties": false
92
+ }
93
+ ]
94
+ },
95
+ "creationDate": {
96
+ "oneOf": [
97
+ {
98
+ "type": [
99
+ "string",
100
+ "number",
101
+ "boolean",
102
+ "null"
103
+ ]
104
+ },
105
+ {
106
+ "type": "object",
107
+ "properties": {
108
+ "$eq": {
109
+ "type": [
110
+ "string",
111
+ "number",
112
+ "boolean",
113
+ "null"
114
+ ]
115
+ },
116
+ "$ne": {
117
+ "type": [
118
+ "string",
119
+ "number",
120
+ "boolean",
121
+ "null"
122
+ ]
123
+ },
124
+ "$gt": {
125
+ "type": [
126
+ "string",
127
+ "number",
128
+ "boolean",
129
+ "null"
130
+ ]
131
+ },
132
+ "$lt": {
133
+ "type": [
134
+ "string",
135
+ "number",
136
+ "boolean",
137
+ "null"
138
+ ]
139
+ },
140
+ "$gte": {
141
+ "type": [
142
+ "string",
143
+ "number",
144
+ "boolean",
145
+ "null"
146
+ ]
147
+ },
148
+ "$lte": {
149
+ "type": [
150
+ "string",
151
+ "number",
152
+ "boolean",
153
+ "null"
154
+ ]
155
+ },
156
+ "$startsWith": {
157
+ "type": "string",
158
+ "minLength": 1
159
+ },
160
+ "$endsWith": {
161
+ "type": "string",
162
+ "minLength": 1
163
+ },
164
+ "$contains": {
165
+ "type": "string",
166
+ "minLength": 1
167
+ }
168
+ },
169
+ "additionalProperties": false
170
+ }
171
+ ]
172
+ },
173
+ "lastUpdated": {
174
+ "oneOf": [
175
+ {
176
+ "type": [
177
+ "string",
178
+ "number",
179
+ "boolean",
180
+ "null"
181
+ ]
182
+ },
183
+ {
184
+ "type": "object",
185
+ "properties": {
186
+ "$eq": {
187
+ "type": [
188
+ "string",
189
+ "number",
190
+ "boolean",
191
+ "null"
192
+ ]
193
+ },
194
+ "$ne": {
195
+ "type": [
196
+ "string",
197
+ "number",
198
+ "boolean",
199
+ "null"
200
+ ]
201
+ },
202
+ "$gt": {
203
+ "type": [
204
+ "string",
205
+ "number",
206
+ "boolean",
207
+ "null"
208
+ ]
209
+ },
210
+ "$lt": {
211
+ "type": [
212
+ "string",
213
+ "number",
214
+ "boolean",
215
+ "null"
216
+ ]
217
+ },
218
+ "$gte": {
219
+ "type": [
220
+ "string",
221
+ "number",
222
+ "boolean",
223
+ "null"
224
+ ]
225
+ },
226
+ "$lte": {
227
+ "type": [
228
+ "string",
229
+ "number",
230
+ "boolean",
231
+ "null"
232
+ ]
233
+ },
234
+ "$startsWith": {
235
+ "type": "string",
236
+ "minLength": 1
237
+ },
238
+ "$endsWith": {
239
+ "type": "string",
240
+ "minLength": 1
241
+ },
242
+ "$contains": {
243
+ "type": "string",
244
+ "minLength": 1
245
+ }
246
+ },
247
+ "additionalProperties": false
248
+ }
249
+ ]
250
+ },
251
+ "sourceId": {
252
+ "oneOf": [
253
+ {
254
+ "type": [
255
+ "string",
256
+ "number",
257
+ "boolean",
258
+ "null"
259
+ ]
260
+ },
261
+ {
262
+ "type": "object",
263
+ "properties": {
264
+ "$eq": {
265
+ "type": [
266
+ "string",
267
+ "number",
268
+ "boolean",
269
+ "null"
270
+ ]
271
+ },
272
+ "$ne": {
273
+ "type": [
274
+ "string",
275
+ "number",
276
+ "boolean",
277
+ "null"
278
+ ]
279
+ },
280
+ "$gt": {
281
+ "type": [
282
+ "string",
283
+ "number",
284
+ "boolean",
285
+ "null"
286
+ ]
287
+ },
288
+ "$lt": {
289
+ "type": [
290
+ "string",
291
+ "number",
292
+ "boolean",
293
+ "null"
294
+ ]
295
+ },
296
+ "$gte": {
297
+ "type": [
298
+ "string",
299
+ "number",
300
+ "boolean",
301
+ "null"
302
+ ]
303
+ },
304
+ "$lte": {
305
+ "type": [
306
+ "string",
307
+ "number",
308
+ "boolean",
309
+ "null"
310
+ ]
311
+ },
312
+ "$startsWith": {
313
+ "type": "string",
314
+ "minLength": 1
315
+ },
316
+ "$endsWith": {
317
+ "type": "string",
318
+ "minLength": 1
319
+ },
320
+ "$contains": {
321
+ "type": "string",
322
+ "minLength": 1
323
+ }
324
+ },
325
+ "additionalProperties": false
326
+ }
327
+ ]
328
+ },
329
+ "sourceType": {
330
+ "oneOf": [
331
+ {
332
+ "type": [
333
+ "string",
334
+ "number",
335
+ "boolean",
336
+ "null"
337
+ ]
338
+ },
339
+ {
340
+ "type": "object",
341
+ "properties": {
342
+ "$eq": {
343
+ "type": [
344
+ "string",
345
+ "number",
346
+ "boolean",
347
+ "null"
348
+ ]
349
+ },
350
+ "$ne": {
351
+ "type": [
352
+ "string",
353
+ "number",
354
+ "boolean",
355
+ "null"
356
+ ]
357
+ },
358
+ "$gt": {
359
+ "type": [
360
+ "string",
361
+ "number",
362
+ "boolean",
363
+ "null"
364
+ ]
365
+ },
366
+ "$lt": {
367
+ "type": [
368
+ "string",
369
+ "number",
370
+ "boolean",
371
+ "null"
372
+ ]
373
+ },
374
+ "$gte": {
375
+ "type": [
376
+ "string",
377
+ "number",
378
+ "boolean",
379
+ "null"
380
+ ]
381
+ },
382
+ "$lte": {
383
+ "type": [
384
+ "string",
385
+ "number",
386
+ "boolean",
387
+ "null"
388
+ ]
389
+ },
390
+ "$startsWith": {
391
+ "type": "string",
392
+ "minLength": 1
393
+ },
394
+ "$endsWith": {
395
+ "type": "string",
396
+ "minLength": 1
397
+ },
398
+ "$contains": {
399
+ "type": "string",
400
+ "minLength": 1
401
+ }
402
+ },
403
+ "additionalProperties": false
404
+ }
405
+ ]
406
+ },
407
+ "level": {
408
+ "oneOf": [
409
+ {
410
+ "type": [
411
+ "string",
412
+ "number",
413
+ "boolean",
414
+ "null"
415
+ ]
416
+ },
417
+ {
418
+ "type": "object",
419
+ "properties": {
420
+ "$eq": {
421
+ "type": [
422
+ "string",
423
+ "number",
424
+ "boolean",
425
+ "null"
426
+ ]
427
+ },
428
+ "$ne": {
429
+ "type": [
430
+ "string",
431
+ "number",
432
+ "boolean",
433
+ "null"
434
+ ]
435
+ },
436
+ "$gt": {
437
+ "type": [
438
+ "string",
439
+ "number",
440
+ "boolean",
441
+ "null"
442
+ ]
443
+ },
444
+ "$lt": {
445
+ "type": [
446
+ "string",
447
+ "number",
448
+ "boolean",
449
+ "null"
450
+ ]
451
+ },
452
+ "$gte": {
453
+ "type": [
454
+ "string",
455
+ "number",
456
+ "boolean",
457
+ "null"
458
+ ]
459
+ },
460
+ "$lte": {
461
+ "type": [
462
+ "string",
463
+ "number",
464
+ "boolean",
465
+ "null"
466
+ ]
467
+ },
468
+ "$startsWith": {
469
+ "type": "string",
470
+ "minLength": 1
471
+ },
472
+ "$endsWith": {
473
+ "type": "string",
474
+ "minLength": 1
475
+ },
476
+ "$contains": {
477
+ "type": "string",
478
+ "minLength": 1
479
+ }
480
+ },
481
+ "additionalProperties": false
482
+ }
483
+ ]
484
+ },
485
+ "state": {
486
+ "oneOf": [
487
+ {
488
+ "type": [
489
+ "string",
490
+ "number",
491
+ "boolean",
492
+ "null"
493
+ ]
494
+ },
495
+ {
496
+ "type": "object",
497
+ "properties": {
498
+ "$eq": {
499
+ "type": [
500
+ "string",
501
+ "number",
502
+ "boolean",
503
+ "null"
504
+ ]
505
+ },
506
+ "$ne": {
507
+ "type": [
508
+ "string",
509
+ "number",
510
+ "boolean",
511
+ "null"
512
+ ]
513
+ },
514
+ "$gt": {
515
+ "type": [
516
+ "string",
517
+ "number",
518
+ "boolean",
519
+ "null"
520
+ ]
521
+ },
522
+ "$lt": {
523
+ "type": [
524
+ "string",
525
+ "number",
526
+ "boolean",
527
+ "null"
528
+ ]
529
+ },
530
+ "$gte": {
531
+ "type": [
532
+ "string",
533
+ "number",
534
+ "boolean",
535
+ "null"
536
+ ]
537
+ },
538
+ "$lte": {
539
+ "type": [
540
+ "string",
541
+ "number",
542
+ "boolean",
543
+ "null"
544
+ ]
545
+ },
546
+ "$startsWith": {
547
+ "type": "string",
548
+ "minLength": 1
549
+ },
550
+ "$endsWith": {
551
+ "type": "string",
552
+ "minLength": 1
553
+ },
554
+ "$contains": {
555
+ "type": "string",
556
+ "minLength": 1
557
+ }
558
+ },
559
+ "additionalProperties": false
560
+ }
561
+ ]
562
+ },
563
+ "subject": {
564
+ "oneOf": [
565
+ {
566
+ "type": [
567
+ "string",
568
+ "number",
569
+ "boolean",
570
+ "null"
571
+ ]
572
+ },
573
+ {
574
+ "type": "object",
575
+ "properties": {
576
+ "$eq": {
577
+ "type": [
578
+ "string",
579
+ "number",
580
+ "boolean",
581
+ "null"
582
+ ]
583
+ },
584
+ "$ne": {
585
+ "type": [
586
+ "string",
587
+ "number",
588
+ "boolean",
589
+ "null"
590
+ ]
591
+ },
592
+ "$gt": {
593
+ "type": [
594
+ "string",
595
+ "number",
596
+ "boolean",
597
+ "null"
598
+ ]
599
+ },
600
+ "$lt": {
601
+ "type": [
602
+ "string",
603
+ "number",
604
+ "boolean",
605
+ "null"
606
+ ]
607
+ },
608
+ "$gte": {
609
+ "type": [
610
+ "string",
611
+ "number",
612
+ "boolean",
613
+ "null"
614
+ ]
615
+ },
616
+ "$lte": {
617
+ "type": [
618
+ "string",
619
+ "number",
620
+ "boolean",
621
+ "null"
622
+ ]
623
+ },
624
+ "$startsWith": {
625
+ "type": "string",
626
+ "minLength": 1
627
+ },
628
+ "$endsWith": {
629
+ "type": "string",
630
+ "minLength": 1
631
+ },
632
+ "$contains": {
633
+ "type": "string",
634
+ "minLength": 1
635
+ }
636
+ },
637
+ "additionalProperties": false
638
+ }
639
+ ]
640
+ },
641
+ "deviceId": {
642
+ "oneOf": [
643
+ {
644
+ "type": [
645
+ "string",
646
+ "number",
647
+ "boolean",
648
+ "null"
649
+ ]
650
+ },
651
+ {
652
+ "type": "object",
653
+ "properties": {
654
+ "$eq": {
655
+ "type": [
656
+ "string",
657
+ "number",
658
+ "boolean",
659
+ "null"
660
+ ]
661
+ },
662
+ "$ne": {
663
+ "type": [
664
+ "string",
665
+ "number",
666
+ "boolean",
667
+ "null"
668
+ ]
669
+ },
670
+ "$gt": {
671
+ "type": [
672
+ "string",
673
+ "number",
674
+ "boolean",
675
+ "null"
676
+ ]
677
+ },
678
+ "$lt": {
679
+ "type": [
680
+ "string",
681
+ "number",
682
+ "boolean",
683
+ "null"
684
+ ]
685
+ },
686
+ "$gte": {
687
+ "type": [
688
+ "string",
689
+ "number",
690
+ "boolean",
691
+ "null"
692
+ ]
693
+ },
694
+ "$lte": {
695
+ "type": [
696
+ "string",
697
+ "number",
698
+ "boolean",
699
+ "null"
700
+ ]
701
+ },
702
+ "$startsWith": {
703
+ "type": "string",
704
+ "minLength": 1
705
+ },
706
+ "$endsWith": {
707
+ "type": "string",
708
+ "minLength": 1
709
+ },
710
+ "$contains": {
711
+ "type": "string",
712
+ "minLength": 1
713
+ }
714
+ },
715
+ "additionalProperties": false
716
+ }
717
+ ]
718
+ },
719
+ "eventTags": {
720
+ "oneOf": [
721
+ {
722
+ "oneOf": [
723
+ {
724
+ "type": "object",
725
+ "properties": {
726
+ "$tagKey": {
727
+ "type": "string"
728
+ },
729
+ "$tagValue": {
730
+ "type": "string"
731
+ }
732
+ },
733
+ "additionalProperties": false,
734
+ "minProperties": 1
735
+ },
736
+ {
737
+ "type": "object",
738
+ "patternProperties": {
739
+ "^[0-9a-zA-Z_-]{1,255}": {
740
+ "type": "string"
741
+ }
742
+ },
743
+ "additionalProperties": false
744
+ }
745
+ ]
746
+ },
747
+ {
748
+ "type": "object",
749
+ "properties": {
750
+ "$eq": {
751
+ "oneOf": [
752
+ {
753
+ "type": "object",
754
+ "properties": {
755
+ "$tagKey": {
756
+ "type": "string"
757
+ },
758
+ "$tagValue": {
759
+ "type": "string"
760
+ }
761
+ },
762
+ "additionalProperties": false,
763
+ "minProperties": 1
764
+ },
765
+ {
766
+ "type": "object",
767
+ "patternProperties": {
768
+ "^[0-9a-zA-Z_-]{1,255}": {
769
+ "type": "string"
770
+ }
771
+ },
772
+ "additionalProperties": false
773
+ }
774
+ ]
775
+ }
776
+ },
777
+ "minProperties": 1,
778
+ "additionalProperties": false
779
+ },
780
+ {
781
+ "type": "object",
782
+ "properties": {
783
+ "$ne": {
784
+ "oneOf": [
785
+ {
786
+ "type": "object",
787
+ "properties": {
788
+ "$tagKey": {
789
+ "type": "string"
790
+ },
791
+ "$tagValue": {
792
+ "type": "string"
793
+ }
794
+ },
795
+ "additionalProperties": false,
796
+ "minProperties": 1
797
+ },
798
+ {
799
+ "type": "object",
800
+ "patternProperties": {
801
+ "^[0-9a-zA-Z_-]{1,255}": {
802
+ "type": "string"
803
+ }
804
+ },
805
+ "additionalProperties": false
806
+ }
807
+ ]
808
+ }
809
+ },
810
+ "minProperties": 1,
811
+ "additionalProperties": false
812
+ }
813
+ ]
814
+ }
815
+ },
816
+ "additionalProperties": false
817
+ }