losant_rest 1.10.1 → 1.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/_schemas.md +26941 -15658
  4. data/docs/application.md +42 -0
  5. data/docs/applicationApiTokens.md +2 -2
  6. data/docs/applicationCertificateAuthorities.md +1 -1
  7. data/docs/applicationCertificates.md +1 -1
  8. data/docs/applicationKeys.md +1 -1
  9. data/docs/applicationTemplate.md +46 -0
  10. data/docs/applicationTemplates.md +77 -2
  11. data/docs/applications.md +1 -1
  12. data/docs/auditLogs.md +1 -1
  13. data/docs/dashboards.md +1 -1
  14. data/docs/dataTables.md +1 -1
  15. data/docs/device.md +6 -3
  16. data/docs/deviceRecipes.md +1 -1
  17. data/docs/devices.md +217 -5
  18. data/docs/edgeDeployments.md +1 -1
  19. data/docs/events.md +1 -1
  20. data/docs/experienceEndpoints.md +1 -0
  21. data/docs/experienceGroups.md +1 -1
  22. data/docs/experienceUsers.md +1 -1
  23. data/docs/experienceVersions.md +1 -1
  24. data/docs/experienceViews.md +1 -1
  25. data/docs/file.md +4 -4
  26. data/docs/files.md +1 -1
  27. data/docs/flow.md +94 -1
  28. data/docs/flowVersion.md +96 -1
  29. data/docs/flowVersions.md +2 -1
  30. data/docs/flows.md +4 -2
  31. data/docs/integrations.md +1 -1
  32. data/docs/me.md +0 -36
  33. data/docs/notebooks.md +1 -1
  34. data/docs/orgs.md +1 -1
  35. data/docs/webhooks.md +1 -1
  36. data/lib/losant_rest.rb +1 -0
  37. data/lib/losant_rest/application.rb +48 -0
  38. data/lib/losant_rest/application_api_tokens.rb +1 -1
  39. data/lib/losant_rest/application_template.rb +79 -0
  40. data/lib/losant_rest/application_templates.rb +89 -1
  41. data/lib/losant_rest/client.rb +6 -2
  42. data/lib/losant_rest/device.rb +9 -3
  43. data/lib/losant_rest/devices.rb +255 -3
  44. data/lib/losant_rest/experience_endpoints.rb +2 -0
  45. data/lib/losant_rest/file.rb +3 -3
  46. data/lib/losant_rest/flow.rb +115 -1
  47. data/lib/losant_rest/flow_version.rb +115 -1
  48. data/lib/losant_rest/flow_versions.rb +3 -0
  49. data/lib/losant_rest/flows.rb +6 -0
  50. data/lib/losant_rest/me.rb +0 -41
  51. data/lib/losant_rest/version.rb +1 -1
  52. data/schemas/advancedDeviceQuery.json +110 -0
  53. data/schemas/advancedEventQuery.json +198 -0
  54. data/schemas/advancedFlowByVersionQuery.json +665 -0
  55. data/schemas/advancedFlowQuery.json +665 -0
  56. data/schemas/advancedFlowVersionQuery.json +707 -0
  57. data/schemas/advancedQuery.json +22 -0
  58. data/schemas/application.json +8 -0
  59. data/schemas/applicationApiTokenPost.json +11 -1
  60. data/schemas/applicationApplyTemplatePatch.json +19 -0
  61. data/schemas/applicationCreationByTemplateResult.json +8 -0
  62. data/schemas/applicationPost.json +8 -0
  63. data/schemas/applicationTemplate.json +20 -0
  64. data/schemas/applicationTemplateCategories.json +43 -0
  65. data/schemas/applicationTemplateCategory.json +23 -0
  66. data/schemas/applicationTemplates.json +32 -0
  67. data/schemas/applications.json +8 -0
  68. data/schemas/attributeNamesResponse.json +14 -0
  69. data/schemas/authedUser.json +3 -0
  70. data/schemas/changePassword.json +2 -2
  71. data/schemas/dashboard.json +175 -25
  72. data/schemas/dashboardPatch.json +175 -25
  73. data/schemas/dashboardPost.json +175 -25
  74. data/schemas/dashboards.json +175 -25
  75. data/schemas/dataExport.json +142 -0
  76. data/schemas/dataTableRowsExport.json +22 -0
  77. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  78. data/schemas/deviceClassFilter.json +1 -2
  79. data/schemas/devicesDataRemoved.json +12 -0
  80. data/schemas/devicesDeletePost.json +1034 -0
  81. data/schemas/devicesDeleted.json +12 -0
  82. data/schemas/devicesExportPost.json +1035 -0
  83. data/schemas/devicesPatch.json +1757 -4
  84. data/schemas/devicesRemoveDataPost.json +1056 -0
  85. data/schemas/devicesUpdated.json +18 -0
  86. data/schemas/eventPost.json +22 -0
  87. data/schemas/eventsExport.json +198 -0
  88. data/schemas/experienceDomain.json +1 -1
  89. data/schemas/experienceDomainPatch.json +1 -1
  90. data/schemas/experienceDomainPost.json +1 -1
  91. data/schemas/experienceDomains.json +1 -1
  92. data/schemas/experienceLinkedResources.json +96 -0
  93. data/schemas/experienceVersion.json +10 -1
  94. data/schemas/experienceVersionPatch.json +9 -0
  95. data/schemas/experienceVersions.json +10 -1
  96. data/schemas/flow.json +32 -0
  97. data/schemas/flowErrors.json +87 -0
  98. data/schemas/flowPatch.json +32 -0
  99. data/schemas/flowPost.json +32 -0
  100. data/schemas/flowStats.json +54 -0
  101. data/schemas/flowVersion.json +64 -0
  102. data/schemas/flowVersionPost.json +32 -0
  103. data/schemas/flowVersions.json +64 -0
  104. data/schemas/flows.json +32 -0
  105. data/schemas/flowsImportPost.json +64 -0
  106. data/schemas/flowsImportResult.json +96 -0
  107. data/schemas/githubLogin.json +17 -4
  108. data/schemas/integration.json +3 -0
  109. data/schemas/integrationPatch.json +3 -0
  110. data/schemas/integrationPost.json +3 -0
  111. data/schemas/integrations.json +3 -0
  112. data/schemas/me.json +3 -3
  113. data/schemas/mePatch.json +2 -2
  114. data/schemas/multiDeviceCommand.json +1019 -0
  115. data/schemas/notebook.json +96 -0
  116. data/schemas/notebookExecutionLogs.json +7 -0
  117. data/schemas/notebookPatch.json +96 -0
  118. data/schemas/notebookPost.json +96 -0
  119. data/schemas/notebooks.json +96 -0
  120. data/schemas/org.json +1 -1
  121. data/schemas/orgInviteInfo.json +3 -0
  122. data/schemas/orgInvitePost.json +3 -0
  123. data/schemas/orgInvites.json +3 -0
  124. data/schemas/orgPatch.json +1 -1
  125. data/schemas/orgs.json +1 -1
  126. data/schemas/passwordResetFinish.json +2 -2
  127. data/schemas/samlResponse.json +1 -1
  128. data/schemas/tagKeysResponse.json +14 -0
  129. data/schemas/tagValuesResponse.json +19 -0
  130. data/schemas/templateKeywords.json +14 -0
  131. data/schemas/timeSeriesData.json +12 -2
  132. data/schemas/timeSeriesQuery.json +94 -14
  133. data/schemas/userCredentials.json +15 -3
  134. data/schemas/userPost.json +23 -7
  135. metadata +27 -6
@@ -0,0 +1,1056 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "query": {
6
+ "title": "Advanced Device Query",
7
+ "description": "Schema for advanced device queries",
8
+ "type": "object",
9
+ "properties": {
10
+ "$and": {
11
+ "type": "array",
12
+ "items": {
13
+ "$ref": "#/definitions/advancedDeviceQuery"
14
+ },
15
+ "maxItems": 100
16
+ },
17
+ "$or": {
18
+ "type": "array",
19
+ "items": {
20
+ "$ref": "#/definitions/advancedDeviceQuery"
21
+ },
22
+ "maxItems": 100
23
+ },
24
+ "$nor": {
25
+ "type": "array",
26
+ "items": {
27
+ "$ref": "#/definitions/advancedDeviceQuery"
28
+ },
29
+ "maxItems": 100
30
+ },
31
+ "id": {
32
+ "oneOf": [
33
+ {
34
+ "oneOf": [
35
+ {
36
+ "type": "string",
37
+ "pattern": "^[A-Fa-f\\d]{24}$"
38
+ },
39
+ {
40
+ "type": "null"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "type": "object",
46
+ "properties": {
47
+ "$eq": {
48
+ "oneOf": [
49
+ {
50
+ "type": "string",
51
+ "pattern": "^[A-Fa-f\\d]{24}$"
52
+ },
53
+ {
54
+ "type": "null"
55
+ }
56
+ ]
57
+ },
58
+ "$ne": {
59
+ "oneOf": [
60
+ {
61
+ "type": "string",
62
+ "pattern": "^[A-Fa-f\\d]{24}$"
63
+ },
64
+ {
65
+ "type": "null"
66
+ }
67
+ ]
68
+ },
69
+ "$in": {
70
+ "type": "array",
71
+ "maxItems": 100,
72
+ "items": {
73
+ "type": "string",
74
+ "pattern": "^[A-Fa-f\\d]{24}$"
75
+ }
76
+ },
77
+ "$nin": {
78
+ "type": "array",
79
+ "maxItems": 100,
80
+ "items": {
81
+ "type": "string",
82
+ "pattern": "^[A-Fa-f\\d]{24}$"
83
+ }
84
+ }
85
+ },
86
+ "additionalProperties": false,
87
+ "minProperties": 1,
88
+ "maxProperties": 1
89
+ }
90
+ ]
91
+ },
92
+ "creationDate": {
93
+ "oneOf": [
94
+ {
95
+ "type": [
96
+ "string",
97
+ "number",
98
+ "boolean",
99
+ "null"
100
+ ]
101
+ },
102
+ {
103
+ "type": "object",
104
+ "properties": {
105
+ "$eq": {
106
+ "type": [
107
+ "string",
108
+ "number",
109
+ "boolean",
110
+ "null"
111
+ ]
112
+ },
113
+ "$ne": {
114
+ "type": [
115
+ "string",
116
+ "number",
117
+ "boolean",
118
+ "null"
119
+ ]
120
+ },
121
+ "$gt": {
122
+ "type": [
123
+ "string",
124
+ "number",
125
+ "boolean",
126
+ "null"
127
+ ]
128
+ },
129
+ "$lt": {
130
+ "type": [
131
+ "string",
132
+ "number",
133
+ "boolean",
134
+ "null"
135
+ ]
136
+ },
137
+ "$gte": {
138
+ "type": [
139
+ "string",
140
+ "number",
141
+ "boolean",
142
+ "null"
143
+ ]
144
+ },
145
+ "$lte": {
146
+ "type": [
147
+ "string",
148
+ "number",
149
+ "boolean",
150
+ "null"
151
+ ]
152
+ },
153
+ "$startsWith": {
154
+ "type": "string",
155
+ "minLength": 1
156
+ },
157
+ "$endsWith": {
158
+ "type": "string",
159
+ "minLength": 1
160
+ },
161
+ "$contains": {
162
+ "type": "string",
163
+ "minLength": 1
164
+ },
165
+ "$ci": {
166
+ "type": "boolean"
167
+ },
168
+ "$in": {
169
+ "type": "array",
170
+ "maxItems": 100,
171
+ "items": {
172
+ "type": [
173
+ "string",
174
+ "number",
175
+ "boolean"
176
+ ]
177
+ }
178
+ },
179
+ "$nin": {
180
+ "type": "array",
181
+ "maxItems": 100,
182
+ "items": {
183
+ "type": [
184
+ "string",
185
+ "number",
186
+ "boolean"
187
+ ]
188
+ }
189
+ }
190
+ },
191
+ "additionalProperties": false
192
+ }
193
+ ]
194
+ },
195
+ "lastUpdated": {
196
+ "oneOf": [
197
+ {
198
+ "type": [
199
+ "string",
200
+ "number",
201
+ "boolean",
202
+ "null"
203
+ ]
204
+ },
205
+ {
206
+ "type": "object",
207
+ "properties": {
208
+ "$eq": {
209
+ "type": [
210
+ "string",
211
+ "number",
212
+ "boolean",
213
+ "null"
214
+ ]
215
+ },
216
+ "$ne": {
217
+ "type": [
218
+ "string",
219
+ "number",
220
+ "boolean",
221
+ "null"
222
+ ]
223
+ },
224
+ "$gt": {
225
+ "type": [
226
+ "string",
227
+ "number",
228
+ "boolean",
229
+ "null"
230
+ ]
231
+ },
232
+ "$lt": {
233
+ "type": [
234
+ "string",
235
+ "number",
236
+ "boolean",
237
+ "null"
238
+ ]
239
+ },
240
+ "$gte": {
241
+ "type": [
242
+ "string",
243
+ "number",
244
+ "boolean",
245
+ "null"
246
+ ]
247
+ },
248
+ "$lte": {
249
+ "type": [
250
+ "string",
251
+ "number",
252
+ "boolean",
253
+ "null"
254
+ ]
255
+ },
256
+ "$startsWith": {
257
+ "type": "string",
258
+ "minLength": 1
259
+ },
260
+ "$endsWith": {
261
+ "type": "string",
262
+ "minLength": 1
263
+ },
264
+ "$contains": {
265
+ "type": "string",
266
+ "minLength": 1
267
+ },
268
+ "$ci": {
269
+ "type": "boolean"
270
+ },
271
+ "$in": {
272
+ "type": "array",
273
+ "maxItems": 100,
274
+ "items": {
275
+ "type": [
276
+ "string",
277
+ "number",
278
+ "boolean"
279
+ ]
280
+ }
281
+ },
282
+ "$nin": {
283
+ "type": "array",
284
+ "maxItems": 100,
285
+ "items": {
286
+ "type": [
287
+ "string",
288
+ "number",
289
+ "boolean"
290
+ ]
291
+ }
292
+ }
293
+ },
294
+ "additionalProperties": false
295
+ }
296
+ ]
297
+ },
298
+ "name": {
299
+ "oneOf": [
300
+ {
301
+ "type": [
302
+ "string",
303
+ "number",
304
+ "boolean",
305
+ "null"
306
+ ]
307
+ },
308
+ {
309
+ "type": "object",
310
+ "properties": {
311
+ "$eq": {
312
+ "type": [
313
+ "string",
314
+ "number",
315
+ "boolean",
316
+ "null"
317
+ ]
318
+ },
319
+ "$ne": {
320
+ "type": [
321
+ "string",
322
+ "number",
323
+ "boolean",
324
+ "null"
325
+ ]
326
+ },
327
+ "$gt": {
328
+ "type": [
329
+ "string",
330
+ "number",
331
+ "boolean",
332
+ "null"
333
+ ]
334
+ },
335
+ "$lt": {
336
+ "type": [
337
+ "string",
338
+ "number",
339
+ "boolean",
340
+ "null"
341
+ ]
342
+ },
343
+ "$gte": {
344
+ "type": [
345
+ "string",
346
+ "number",
347
+ "boolean",
348
+ "null"
349
+ ]
350
+ },
351
+ "$lte": {
352
+ "type": [
353
+ "string",
354
+ "number",
355
+ "boolean",
356
+ "null"
357
+ ]
358
+ },
359
+ "$startsWith": {
360
+ "type": "string",
361
+ "minLength": 1
362
+ },
363
+ "$endsWith": {
364
+ "type": "string",
365
+ "minLength": 1
366
+ },
367
+ "$contains": {
368
+ "type": "string",
369
+ "minLength": 1
370
+ },
371
+ "$ci": {
372
+ "type": "boolean"
373
+ },
374
+ "$in": {
375
+ "type": "array",
376
+ "maxItems": 100,
377
+ "items": {
378
+ "type": [
379
+ "string",
380
+ "number",
381
+ "boolean"
382
+ ]
383
+ }
384
+ },
385
+ "$nin": {
386
+ "type": "array",
387
+ "maxItems": 100,
388
+ "items": {
389
+ "type": [
390
+ "string",
391
+ "number",
392
+ "boolean"
393
+ ]
394
+ }
395
+ }
396
+ },
397
+ "additionalProperties": false
398
+ }
399
+ ]
400
+ },
401
+ "deviceClass": {
402
+ "oneOf": [
403
+ {
404
+ "type": [
405
+ "string",
406
+ "number",
407
+ "boolean",
408
+ "null"
409
+ ]
410
+ },
411
+ {
412
+ "type": "object",
413
+ "properties": {
414
+ "$eq": {
415
+ "type": [
416
+ "string",
417
+ "number",
418
+ "boolean",
419
+ "null"
420
+ ]
421
+ },
422
+ "$ne": {
423
+ "type": [
424
+ "string",
425
+ "number",
426
+ "boolean",
427
+ "null"
428
+ ]
429
+ },
430
+ "$gt": {
431
+ "type": [
432
+ "string",
433
+ "number",
434
+ "boolean",
435
+ "null"
436
+ ]
437
+ },
438
+ "$lt": {
439
+ "type": [
440
+ "string",
441
+ "number",
442
+ "boolean",
443
+ "null"
444
+ ]
445
+ },
446
+ "$gte": {
447
+ "type": [
448
+ "string",
449
+ "number",
450
+ "boolean",
451
+ "null"
452
+ ]
453
+ },
454
+ "$lte": {
455
+ "type": [
456
+ "string",
457
+ "number",
458
+ "boolean",
459
+ "null"
460
+ ]
461
+ },
462
+ "$startsWith": {
463
+ "type": "string",
464
+ "minLength": 1
465
+ },
466
+ "$endsWith": {
467
+ "type": "string",
468
+ "minLength": 1
469
+ },
470
+ "$contains": {
471
+ "type": "string",
472
+ "minLength": 1
473
+ },
474
+ "$ci": {
475
+ "type": "boolean"
476
+ },
477
+ "$in": {
478
+ "type": "array",
479
+ "maxItems": 100,
480
+ "items": {
481
+ "type": [
482
+ "string",
483
+ "number",
484
+ "boolean"
485
+ ]
486
+ }
487
+ },
488
+ "$nin": {
489
+ "type": "array",
490
+ "maxItems": 100,
491
+ "items": {
492
+ "type": [
493
+ "string",
494
+ "number",
495
+ "boolean"
496
+ ]
497
+ }
498
+ }
499
+ },
500
+ "additionalProperties": false
501
+ }
502
+ ]
503
+ },
504
+ "gatewayId": {
505
+ "oneOf": [
506
+ {
507
+ "oneOf": [
508
+ {
509
+ "type": "string",
510
+ "pattern": "^[A-Fa-f\\d]{24}$"
511
+ },
512
+ {
513
+ "type": "null"
514
+ }
515
+ ]
516
+ },
517
+ {
518
+ "type": "object",
519
+ "properties": {
520
+ "$eq": {
521
+ "oneOf": [
522
+ {
523
+ "type": "string",
524
+ "pattern": "^[A-Fa-f\\d]{24}$"
525
+ },
526
+ {
527
+ "type": "null"
528
+ }
529
+ ]
530
+ },
531
+ "$ne": {
532
+ "oneOf": [
533
+ {
534
+ "type": "string",
535
+ "pattern": "^[A-Fa-f\\d]{24}$"
536
+ },
537
+ {
538
+ "type": "null"
539
+ }
540
+ ]
541
+ },
542
+ "$in": {
543
+ "type": "array",
544
+ "maxItems": 100,
545
+ "items": {
546
+ "type": "string",
547
+ "pattern": "^[A-Fa-f\\d]{24}$"
548
+ }
549
+ },
550
+ "$nin": {
551
+ "type": "array",
552
+ "maxItems": 100,
553
+ "items": {
554
+ "type": "string",
555
+ "pattern": "^[A-Fa-f\\d]{24}$"
556
+ }
557
+ }
558
+ },
559
+ "additionalProperties": false,
560
+ "minProperties": 1,
561
+ "maxProperties": 1
562
+ }
563
+ ]
564
+ },
565
+ "parentId": {
566
+ "oneOf": [
567
+ {
568
+ "oneOf": [
569
+ {
570
+ "type": "string",
571
+ "pattern": "^[A-Fa-f\\d]{24}$"
572
+ },
573
+ {
574
+ "type": "null"
575
+ }
576
+ ]
577
+ },
578
+ {
579
+ "type": "object",
580
+ "properties": {
581
+ "$eq": {
582
+ "oneOf": [
583
+ {
584
+ "type": "string",
585
+ "pattern": "^[A-Fa-f\\d]{24}$"
586
+ },
587
+ {
588
+ "type": "null"
589
+ }
590
+ ]
591
+ },
592
+ "$ne": {
593
+ "oneOf": [
594
+ {
595
+ "type": "string",
596
+ "pattern": "^[A-Fa-f\\d]{24}$"
597
+ },
598
+ {
599
+ "type": "null"
600
+ }
601
+ ]
602
+ },
603
+ "$in": {
604
+ "type": "array",
605
+ "maxItems": 100,
606
+ "items": {
607
+ "type": "string",
608
+ "pattern": "^[A-Fa-f\\d]{24}$"
609
+ }
610
+ },
611
+ "$nin": {
612
+ "type": "array",
613
+ "maxItems": 100,
614
+ "items": {
615
+ "type": "string",
616
+ "pattern": "^[A-Fa-f\\d]{24}$"
617
+ }
618
+ }
619
+ },
620
+ "additionalProperties": false,
621
+ "minProperties": 1,
622
+ "maxProperties": 1
623
+ }
624
+ ]
625
+ },
626
+ "ancestorId": {
627
+ "oneOf": [
628
+ {
629
+ "oneOf": [
630
+ {
631
+ "type": "string",
632
+ "pattern": "^[A-Fa-f\\d]{24}$"
633
+ },
634
+ {
635
+ "type": "null"
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "type": "object",
641
+ "properties": {
642
+ "$eq": {
643
+ "oneOf": [
644
+ {
645
+ "type": "string",
646
+ "pattern": "^[A-Fa-f\\d]{24}$"
647
+ },
648
+ {
649
+ "type": "null"
650
+ }
651
+ ]
652
+ },
653
+ "$ne": {
654
+ "oneOf": [
655
+ {
656
+ "type": "string",
657
+ "pattern": "^[A-Fa-f\\d]{24}$"
658
+ },
659
+ {
660
+ "type": "null"
661
+ }
662
+ ]
663
+ },
664
+ "$in": {
665
+ "type": "array",
666
+ "maxItems": 100,
667
+ "items": {
668
+ "type": "string",
669
+ "pattern": "^[A-Fa-f\\d]{24}$"
670
+ }
671
+ },
672
+ "$nin": {
673
+ "type": "array",
674
+ "maxItems": 100,
675
+ "items": {
676
+ "type": "string",
677
+ "pattern": "^[A-Fa-f\\d]{24}$"
678
+ }
679
+ }
680
+ },
681
+ "additionalProperties": false,
682
+ "minProperties": 1,
683
+ "maxProperties": 1
684
+ }
685
+ ]
686
+ },
687
+ "attributeName": {
688
+ "oneOf": [
689
+ {
690
+ "type": [
691
+ "string",
692
+ "number",
693
+ "boolean",
694
+ "null"
695
+ ]
696
+ },
697
+ {
698
+ "type": "object",
699
+ "properties": {
700
+ "$eq": {
701
+ "type": [
702
+ "string",
703
+ "number",
704
+ "boolean",
705
+ "null"
706
+ ]
707
+ },
708
+ "$ne": {
709
+ "type": [
710
+ "string",
711
+ "number",
712
+ "boolean",
713
+ "null"
714
+ ]
715
+ },
716
+ "$gt": {
717
+ "type": [
718
+ "string",
719
+ "number",
720
+ "boolean",
721
+ "null"
722
+ ]
723
+ },
724
+ "$lt": {
725
+ "type": [
726
+ "string",
727
+ "number",
728
+ "boolean",
729
+ "null"
730
+ ]
731
+ },
732
+ "$gte": {
733
+ "type": [
734
+ "string",
735
+ "number",
736
+ "boolean",
737
+ "null"
738
+ ]
739
+ },
740
+ "$lte": {
741
+ "type": [
742
+ "string",
743
+ "number",
744
+ "boolean",
745
+ "null"
746
+ ]
747
+ },
748
+ "$startsWith": {
749
+ "type": "string",
750
+ "minLength": 1
751
+ },
752
+ "$endsWith": {
753
+ "type": "string",
754
+ "minLength": 1
755
+ },
756
+ "$contains": {
757
+ "type": "string",
758
+ "minLength": 1
759
+ },
760
+ "$ci": {
761
+ "type": "boolean"
762
+ },
763
+ "$in": {
764
+ "type": "array",
765
+ "maxItems": 100,
766
+ "items": {
767
+ "type": [
768
+ "string",
769
+ "number",
770
+ "boolean"
771
+ ]
772
+ }
773
+ },
774
+ "$nin": {
775
+ "type": "array",
776
+ "maxItems": 100,
777
+ "items": {
778
+ "type": [
779
+ "string",
780
+ "number",
781
+ "boolean"
782
+ ]
783
+ }
784
+ }
785
+ },
786
+ "additionalProperties": false
787
+ }
788
+ ]
789
+ },
790
+ "experienceUserId": {
791
+ "oneOf": [
792
+ {
793
+ "oneOf": [
794
+ {
795
+ "type": "string",
796
+ "pattern": "^[A-Fa-f\\d]{24}$"
797
+ },
798
+ {
799
+ "type": "null"
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "type": "object",
805
+ "properties": {
806
+ "$eq": {
807
+ "oneOf": [
808
+ {
809
+ "type": "string",
810
+ "pattern": "^[A-Fa-f\\d]{24}$"
811
+ },
812
+ {
813
+ "type": "null"
814
+ }
815
+ ]
816
+ },
817
+ "$ne": {
818
+ "oneOf": [
819
+ {
820
+ "type": "string",
821
+ "pattern": "^[A-Fa-f\\d]{24}$"
822
+ },
823
+ {
824
+ "type": "null"
825
+ }
826
+ ]
827
+ },
828
+ "$in": {
829
+ "type": "array",
830
+ "maxItems": 100,
831
+ "items": {
832
+ "type": "string",
833
+ "pattern": "^[A-Fa-f\\d]{24}$"
834
+ }
835
+ },
836
+ "$nin": {
837
+ "type": "array",
838
+ "maxItems": 100,
839
+ "items": {
840
+ "type": "string",
841
+ "pattern": "^[A-Fa-f\\d]{24}$"
842
+ }
843
+ }
844
+ },
845
+ "additionalProperties": false,
846
+ "minProperties": 1,
847
+ "maxProperties": 1
848
+ }
849
+ ]
850
+ },
851
+ "experienceGroupId": {
852
+ "oneOf": [
853
+ {
854
+ "oneOf": [
855
+ {
856
+ "type": "string",
857
+ "pattern": "^[A-Fa-f\\d]{24}$"
858
+ },
859
+ {
860
+ "type": "null"
861
+ }
862
+ ]
863
+ },
864
+ {
865
+ "type": "object",
866
+ "properties": {
867
+ "$eq": {
868
+ "oneOf": [
869
+ {
870
+ "type": "string",
871
+ "pattern": "^[A-Fa-f\\d]{24}$"
872
+ },
873
+ {
874
+ "type": "null"
875
+ }
876
+ ]
877
+ },
878
+ "$ne": {
879
+ "oneOf": [
880
+ {
881
+ "type": "string",
882
+ "pattern": "^[A-Fa-f\\d]{24}$"
883
+ },
884
+ {
885
+ "type": "null"
886
+ }
887
+ ]
888
+ },
889
+ "$in": {
890
+ "type": "array",
891
+ "maxItems": 100,
892
+ "items": {
893
+ "type": "string",
894
+ "pattern": "^[A-Fa-f\\d]{24}$"
895
+ }
896
+ },
897
+ "$nin": {
898
+ "type": "array",
899
+ "maxItems": 100,
900
+ "items": {
901
+ "type": "string",
902
+ "pattern": "^[A-Fa-f\\d]{24}$"
903
+ }
904
+ }
905
+ },
906
+ "additionalProperties": false,
907
+ "minProperties": 1,
908
+ "maxProperties": 1
909
+ }
910
+ ]
911
+ },
912
+ "tags": {
913
+ "oneOf": [
914
+ {
915
+ "oneOf": [
916
+ {
917
+ "type": "object",
918
+ "properties": {
919
+ "$tagKey": {
920
+ "type": "string",
921
+ "maxLength": 255
922
+ },
923
+ "$tagValue": {
924
+ "type": "string",
925
+ "maxLength": 255
926
+ }
927
+ },
928
+ "additionalProperties": false,
929
+ "minProperties": 1
930
+ },
931
+ {
932
+ "type": "object",
933
+ "patternProperties": {
934
+ "^[0-9a-zA-Z_-]{1,255}": {
935
+ "type": "string",
936
+ "maxLength": 255
937
+ }
938
+ },
939
+ "additionalProperties": false
940
+ }
941
+ ]
942
+ },
943
+ {
944
+ "type": "object",
945
+ "properties": {
946
+ "$eq": {
947
+ "oneOf": [
948
+ {
949
+ "type": "object",
950
+ "properties": {
951
+ "$tagKey": {
952
+ "type": "string",
953
+ "maxLength": 255
954
+ },
955
+ "$tagValue": {
956
+ "type": "string",
957
+ "maxLength": 255
958
+ }
959
+ },
960
+ "additionalProperties": false,
961
+ "minProperties": 1
962
+ },
963
+ {
964
+ "type": "object",
965
+ "patternProperties": {
966
+ "^[0-9a-zA-Z_-]{1,255}": {
967
+ "type": "string",
968
+ "maxLength": 255
969
+ }
970
+ },
971
+ "additionalProperties": false
972
+ }
973
+ ]
974
+ }
975
+ },
976
+ "required": [
977
+ "$eq"
978
+ ],
979
+ "additionalProperties": false
980
+ },
981
+ {
982
+ "type": "object",
983
+ "properties": {
984
+ "$ne": {
985
+ "oneOf": [
986
+ {
987
+ "type": "object",
988
+ "properties": {
989
+ "$tagKey": {
990
+ "type": "string",
991
+ "maxLength": 255
992
+ },
993
+ "$tagValue": {
994
+ "type": "string",
995
+ "maxLength": 255
996
+ }
997
+ },
998
+ "additionalProperties": false,
999
+ "minProperties": 1
1000
+ },
1001
+ {
1002
+ "type": "object",
1003
+ "patternProperties": {
1004
+ "^[0-9a-zA-Z_-]{1,255}": {
1005
+ "type": "string",
1006
+ "maxLength": 255
1007
+ }
1008
+ },
1009
+ "additionalProperties": false
1010
+ }
1011
+ ]
1012
+ }
1013
+ },
1014
+ "required": [
1015
+ "$ne"
1016
+ ],
1017
+ "additionalProperties": false
1018
+ }
1019
+ ]
1020
+ }
1021
+ },
1022
+ "additionalProperties": false
1023
+ },
1024
+ "start": {
1025
+ "type": "number"
1026
+ },
1027
+ "end": {
1028
+ "type": "number"
1029
+ },
1030
+ "attributes": {
1031
+ "oneOf": [
1032
+ {
1033
+ "type": "null"
1034
+ },
1035
+ {
1036
+ "type": "array",
1037
+ "maxItems": 100,
1038
+ "items": {
1039
+ "type": "string",
1040
+ "maxLength": 255
1041
+ }
1042
+ }
1043
+ ]
1044
+ },
1045
+ "keepConnectionHistory": {
1046
+ "type": "boolean"
1047
+ },
1048
+ "keepCommandHistory": {
1049
+ "type": "boolean"
1050
+ }
1051
+ },
1052
+ "additionalProperties": false,
1053
+ "required": [
1054
+ "query"
1055
+ ]
1056
+ }