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