losant_rest 1.13.1 → 1.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +10817 -3660
  3. data/docs/application.md +1 -1
  4. data/docs/device.md +43 -0
  5. data/docs/devices.md +39 -0
  6. data/docs/edgeDeployment.md +49 -0
  7. data/docs/embeddedDeployment.md +49 -0
  8. data/docs/embeddedDeployments.md +215 -0
  9. data/docs/flow.md +3 -3
  10. data/docs/flows.md +2 -2
  11. data/docs/instance.md +4 -2
  12. data/docs/instanceOrg.md +2 -0
  13. data/docs/instanceOrgInvite.md +139 -0
  14. data/docs/instanceOrgInvites.md +96 -0
  15. data/docs/instanceOrgMembers.md +2 -2
  16. data/docs/instanceOrgs.md +1 -1
  17. data/docs/me.md +1 -1
  18. data/docs/org.md +1 -1
  19. data/lib/losant_rest/client.rb +22 -2
  20. data/lib/losant_rest/device.rb +50 -0
  21. data/lib/losant_rest/devices.rb +46 -0
  22. data/lib/losant_rest/edge_deployment.rb +81 -0
  23. data/lib/losant_rest/embedded_deployment.rb +81 -0
  24. data/lib/losant_rest/embedded_deployments.rb +280 -0
  25. data/lib/losant_rest/flow.rb +3 -3
  26. data/lib/losant_rest/flows.rb +2 -2
  27. data/lib/losant_rest/instance.rb +1 -0
  28. data/lib/losant_rest/instance_org.rb +4 -0
  29. data/lib/losant_rest/instance_org_invite.rb +182 -0
  30. data/lib/losant_rest/instance_org_invites.rb +138 -0
  31. data/lib/losant_rest/instance_org_members.rb +2 -2
  32. data/lib/losant_rest/instance_orgs.rb +2 -2
  33. data/lib/losant_rest/version.rb +1 -1
  34. data/lib/losant_rest.rb +5 -0
  35. data/schemas/apiTokenPost.json +19 -0
  36. data/schemas/application.json +32 -32
  37. data/schemas/applicationCreationByTemplateResult.json +32 -32
  38. data/schemas/applicationDashboardPost.json +8 -5
  39. data/schemas/applicationPatch.json +13 -13
  40. data/schemas/applicationPost.json +13 -13
  41. data/schemas/applicationTemplate.json +16 -16
  42. data/schemas/applicationTemplates.json +16 -16
  43. data/schemas/applications.json +32 -32
  44. data/schemas/authedDevice.json +2 -1
  45. data/schemas/dashboard.json +8 -5
  46. data/schemas/dashboardPatch.json +8 -5
  47. data/schemas/dashboardPost.json +8 -5
  48. data/schemas/dashboardSendReport.json +6 -6
  49. data/schemas/dashboards.json +8 -5
  50. data/schemas/dataTableRowsDelete.json +1 -1
  51. data/schemas/device.json +2 -1
  52. data/schemas/deviceClassFilter.json +4 -2
  53. data/schemas/devicePatch.json +2 -1
  54. data/schemas/devicePayloadCounts.json +24 -0
  55. data/schemas/devicePost.json +2 -1
  56. data/schemas/deviceRecipe.json +2 -1
  57. data/schemas/deviceRecipePatch.json +2 -1
  58. data/schemas/deviceRecipePost.json +2 -1
  59. data/schemas/deviceRecipes.json +2 -1
  60. data/schemas/devices.json +4 -2
  61. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  62. data/schemas/devicesPatch.json +4 -2
  63. data/schemas/edgeDeployment.json +20 -0
  64. data/schemas/edgeDeployments.json +20 -0
  65. data/schemas/embeddedDeployment.json +179 -0
  66. data/schemas/embeddedDeploymentExport.json +44 -0
  67. data/schemas/embeddedDeploymentRelease.json +58 -0
  68. data/schemas/embeddedDeploymentRemove.json +25 -0
  69. data/schemas/embeddedDeploymentReplace.json +29 -0
  70. data/schemas/embeddedDeployments.json +212 -0
  71. data/schemas/eventsDeleted.json +1 -1
  72. data/schemas/eventsExport.json +4 -0
  73. data/schemas/experienceEndpoint.json +6 -8
  74. data/schemas/experienceEndpointPatch.json +6 -8
  75. data/schemas/experienceEndpointPost.json +6 -8
  76. data/schemas/experienceEndpoints.json +6 -8
  77. data/schemas/experienceLinkedResources.json +790 -85
  78. data/schemas/flow.json +252 -16
  79. data/schemas/flowPatch.json +251 -16
  80. data/schemas/flowPost.json +252 -16
  81. data/schemas/flowVersion.json +503 -33
  82. data/schemas/flowVersionPost.json +251 -16
  83. data/schemas/flowVersions.json +503 -33
  84. data/schemas/flows.json +253 -16
  85. data/schemas/flowsImportPost.json +503 -32
  86. data/schemas/flowsImportResult.json +785 -79
  87. data/schemas/githubLogin.json +19 -0
  88. data/schemas/historicalSummary.json +147 -102
  89. data/schemas/instance.json +92 -79
  90. data/schemas/instanceMember.json +10 -0
  91. data/schemas/instanceMemberPost.json +18 -3
  92. data/schemas/instanceMembers.json +14 -0
  93. data/schemas/instanceOrg.json +87 -74
  94. data/schemas/instanceOrgMember.json +14 -0
  95. data/schemas/instanceOrgMembers.json +8 -0
  96. data/schemas/instanceOrgPatch.json +64 -26
  97. data/schemas/instanceOrgPost.json +65 -27
  98. data/schemas/instanceOrgs.json +91 -74
  99. data/schemas/instancePatch.json +2 -2
  100. data/schemas/me.json +134 -105
  101. data/schemas/notebook.json +32 -1
  102. data/schemas/notebookExecutionLogs.json +2 -1
  103. data/schemas/notebookPatch.json +32 -1
  104. data/schemas/notebookPost.json +32 -1
  105. data/schemas/notebooks.json +32 -1
  106. data/schemas/org.json +145 -110
  107. data/schemas/orgInvite.json +90 -0
  108. data/schemas/orgInviteCollection.json +130 -0
  109. data/schemas/orgInvites.json +82 -77
  110. data/schemas/orgRoleInfo.json +69 -0
  111. data/schemas/orgs.json +145 -110
  112. data/schemas/payloadStats.json +28 -12
  113. data/schemas/userCredentials.json +19 -0
  114. data/schemas/userPost.json +19 -0
  115. data/schemas/virtualButtonPress.json +4 -0
  116. metadata +27 -6
@@ -0,0 +1,1350 @@
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
+ "callbackUrl": {
11
+ "type": "string",
12
+ "maxLength": 1024
13
+ },
14
+ "query": {
15
+ "title": "Advanced Device Query",
16
+ "description": "Schema for advanced device queries",
17
+ "type": "object",
18
+ "properties": {
19
+ "$and": {
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "#/definitions/advancedDeviceQuery"
23
+ },
24
+ "maxItems": 100
25
+ },
26
+ "$or": {
27
+ "type": "array",
28
+ "items": {
29
+ "$ref": "#/definitions/advancedDeviceQuery"
30
+ },
31
+ "maxItems": 100
32
+ },
33
+ "$nor": {
34
+ "type": "array",
35
+ "items": {
36
+ "$ref": "#/definitions/advancedDeviceQuery"
37
+ },
38
+ "maxItems": 100
39
+ },
40
+ "id": {
41
+ "oneOf": [
42
+ {
43
+ "oneOf": [
44
+ {
45
+ "type": "string",
46
+ "pattern": "^[A-Fa-f\\d]{24}$"
47
+ },
48
+ {
49
+ "type": "null"
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "type": "object",
55
+ "properties": {
56
+ "$eq": {
57
+ "oneOf": [
58
+ {
59
+ "type": "string",
60
+ "pattern": "^[A-Fa-f\\d]{24}$"
61
+ },
62
+ {
63
+ "type": "null"
64
+ }
65
+ ]
66
+ },
67
+ "$ne": {
68
+ "oneOf": [
69
+ {
70
+ "type": "string",
71
+ "pattern": "^[A-Fa-f\\d]{24}$"
72
+ },
73
+ {
74
+ "type": "null"
75
+ }
76
+ ]
77
+ },
78
+ "$in": {
79
+ "type": "array",
80
+ "maxItems": 100,
81
+ "items": {
82
+ "type": "string",
83
+ "pattern": "^[A-Fa-f\\d]{24}$"
84
+ }
85
+ },
86
+ "$nin": {
87
+ "type": "array",
88
+ "maxItems": 100,
89
+ "items": {
90
+ "type": "string",
91
+ "pattern": "^[A-Fa-f\\d]{24}$"
92
+ }
93
+ }
94
+ },
95
+ "additionalProperties": false,
96
+ "minProperties": 1,
97
+ "maxProperties": 1
98
+ }
99
+ ]
100
+ },
101
+ "creationDate": {
102
+ "oneOf": [
103
+ {
104
+ "type": [
105
+ "string",
106
+ "number",
107
+ "boolean",
108
+ "null"
109
+ ]
110
+ },
111
+ {
112
+ "type": "object",
113
+ "properties": {
114
+ "$eq": {
115
+ "type": [
116
+ "string",
117
+ "number",
118
+ "boolean",
119
+ "null"
120
+ ]
121
+ },
122
+ "$ne": {
123
+ "type": [
124
+ "string",
125
+ "number",
126
+ "boolean",
127
+ "null"
128
+ ]
129
+ },
130
+ "$gt": {
131
+ "type": [
132
+ "string",
133
+ "number",
134
+ "boolean",
135
+ "null"
136
+ ]
137
+ },
138
+ "$lt": {
139
+ "type": [
140
+ "string",
141
+ "number",
142
+ "boolean",
143
+ "null"
144
+ ]
145
+ },
146
+ "$gte": {
147
+ "type": [
148
+ "string",
149
+ "number",
150
+ "boolean",
151
+ "null"
152
+ ]
153
+ },
154
+ "$lte": {
155
+ "type": [
156
+ "string",
157
+ "number",
158
+ "boolean",
159
+ "null"
160
+ ]
161
+ },
162
+ "$startsWith": {
163
+ "type": "string",
164
+ "minLength": 1
165
+ },
166
+ "$endsWith": {
167
+ "type": "string",
168
+ "minLength": 1
169
+ },
170
+ "$contains": {
171
+ "type": "string",
172
+ "minLength": 1
173
+ },
174
+ "$ci": {
175
+ "type": "boolean"
176
+ },
177
+ "$in": {
178
+ "type": "array",
179
+ "maxItems": 100,
180
+ "items": {
181
+ "type": [
182
+ "string",
183
+ "number",
184
+ "boolean"
185
+ ]
186
+ }
187
+ },
188
+ "$nin": {
189
+ "type": "array",
190
+ "maxItems": 100,
191
+ "items": {
192
+ "type": [
193
+ "string",
194
+ "number",
195
+ "boolean"
196
+ ]
197
+ }
198
+ }
199
+ },
200
+ "additionalProperties": false
201
+ }
202
+ ]
203
+ },
204
+ "lastUpdated": {
205
+ "oneOf": [
206
+ {
207
+ "type": [
208
+ "string",
209
+ "number",
210
+ "boolean",
211
+ "null"
212
+ ]
213
+ },
214
+ {
215
+ "type": "object",
216
+ "properties": {
217
+ "$eq": {
218
+ "type": [
219
+ "string",
220
+ "number",
221
+ "boolean",
222
+ "null"
223
+ ]
224
+ },
225
+ "$ne": {
226
+ "type": [
227
+ "string",
228
+ "number",
229
+ "boolean",
230
+ "null"
231
+ ]
232
+ },
233
+ "$gt": {
234
+ "type": [
235
+ "string",
236
+ "number",
237
+ "boolean",
238
+ "null"
239
+ ]
240
+ },
241
+ "$lt": {
242
+ "type": [
243
+ "string",
244
+ "number",
245
+ "boolean",
246
+ "null"
247
+ ]
248
+ },
249
+ "$gte": {
250
+ "type": [
251
+ "string",
252
+ "number",
253
+ "boolean",
254
+ "null"
255
+ ]
256
+ },
257
+ "$lte": {
258
+ "type": [
259
+ "string",
260
+ "number",
261
+ "boolean",
262
+ "null"
263
+ ]
264
+ },
265
+ "$startsWith": {
266
+ "type": "string",
267
+ "minLength": 1
268
+ },
269
+ "$endsWith": {
270
+ "type": "string",
271
+ "minLength": 1
272
+ },
273
+ "$contains": {
274
+ "type": "string",
275
+ "minLength": 1
276
+ },
277
+ "$ci": {
278
+ "type": "boolean"
279
+ },
280
+ "$in": {
281
+ "type": "array",
282
+ "maxItems": 100,
283
+ "items": {
284
+ "type": [
285
+ "string",
286
+ "number",
287
+ "boolean"
288
+ ]
289
+ }
290
+ },
291
+ "$nin": {
292
+ "type": "array",
293
+ "maxItems": 100,
294
+ "items": {
295
+ "type": [
296
+ "string",
297
+ "number",
298
+ "boolean"
299
+ ]
300
+ }
301
+ }
302
+ },
303
+ "additionalProperties": false
304
+ }
305
+ ]
306
+ },
307
+ "name": {
308
+ "oneOf": [
309
+ {
310
+ "type": [
311
+ "string",
312
+ "number",
313
+ "boolean",
314
+ "null"
315
+ ]
316
+ },
317
+ {
318
+ "type": "object",
319
+ "properties": {
320
+ "$eq": {
321
+ "type": [
322
+ "string",
323
+ "number",
324
+ "boolean",
325
+ "null"
326
+ ]
327
+ },
328
+ "$ne": {
329
+ "type": [
330
+ "string",
331
+ "number",
332
+ "boolean",
333
+ "null"
334
+ ]
335
+ },
336
+ "$gt": {
337
+ "type": [
338
+ "string",
339
+ "number",
340
+ "boolean",
341
+ "null"
342
+ ]
343
+ },
344
+ "$lt": {
345
+ "type": [
346
+ "string",
347
+ "number",
348
+ "boolean",
349
+ "null"
350
+ ]
351
+ },
352
+ "$gte": {
353
+ "type": [
354
+ "string",
355
+ "number",
356
+ "boolean",
357
+ "null"
358
+ ]
359
+ },
360
+ "$lte": {
361
+ "type": [
362
+ "string",
363
+ "number",
364
+ "boolean",
365
+ "null"
366
+ ]
367
+ },
368
+ "$startsWith": {
369
+ "type": "string",
370
+ "minLength": 1
371
+ },
372
+ "$endsWith": {
373
+ "type": "string",
374
+ "minLength": 1
375
+ },
376
+ "$contains": {
377
+ "type": "string",
378
+ "minLength": 1
379
+ },
380
+ "$ci": {
381
+ "type": "boolean"
382
+ },
383
+ "$in": {
384
+ "type": "array",
385
+ "maxItems": 100,
386
+ "items": {
387
+ "type": [
388
+ "string",
389
+ "number",
390
+ "boolean"
391
+ ]
392
+ }
393
+ },
394
+ "$nin": {
395
+ "type": "array",
396
+ "maxItems": 100,
397
+ "items": {
398
+ "type": [
399
+ "string",
400
+ "number",
401
+ "boolean"
402
+ ]
403
+ }
404
+ }
405
+ },
406
+ "additionalProperties": false
407
+ }
408
+ ]
409
+ },
410
+ "deviceClass": {
411
+ "oneOf": [
412
+ {
413
+ "type": [
414
+ "string",
415
+ "number",
416
+ "boolean",
417
+ "null"
418
+ ]
419
+ },
420
+ {
421
+ "type": "object",
422
+ "properties": {
423
+ "$eq": {
424
+ "type": [
425
+ "string",
426
+ "number",
427
+ "boolean",
428
+ "null"
429
+ ]
430
+ },
431
+ "$ne": {
432
+ "type": [
433
+ "string",
434
+ "number",
435
+ "boolean",
436
+ "null"
437
+ ]
438
+ },
439
+ "$gt": {
440
+ "type": [
441
+ "string",
442
+ "number",
443
+ "boolean",
444
+ "null"
445
+ ]
446
+ },
447
+ "$lt": {
448
+ "type": [
449
+ "string",
450
+ "number",
451
+ "boolean",
452
+ "null"
453
+ ]
454
+ },
455
+ "$gte": {
456
+ "type": [
457
+ "string",
458
+ "number",
459
+ "boolean",
460
+ "null"
461
+ ]
462
+ },
463
+ "$lte": {
464
+ "type": [
465
+ "string",
466
+ "number",
467
+ "boolean",
468
+ "null"
469
+ ]
470
+ },
471
+ "$startsWith": {
472
+ "type": "string",
473
+ "minLength": 1
474
+ },
475
+ "$endsWith": {
476
+ "type": "string",
477
+ "minLength": 1
478
+ },
479
+ "$contains": {
480
+ "type": "string",
481
+ "minLength": 1
482
+ },
483
+ "$ci": {
484
+ "type": "boolean"
485
+ },
486
+ "$in": {
487
+ "type": "array",
488
+ "maxItems": 100,
489
+ "items": {
490
+ "type": [
491
+ "string",
492
+ "number",
493
+ "boolean"
494
+ ]
495
+ }
496
+ },
497
+ "$nin": {
498
+ "type": "array",
499
+ "maxItems": 100,
500
+ "items": {
501
+ "type": [
502
+ "string",
503
+ "number",
504
+ "boolean"
505
+ ]
506
+ }
507
+ }
508
+ },
509
+ "additionalProperties": false
510
+ }
511
+ ]
512
+ },
513
+ "gatewayId": {
514
+ "oneOf": [
515
+ {
516
+ "oneOf": [
517
+ {
518
+ "type": "string",
519
+ "pattern": "^[A-Fa-f\\d]{24}$"
520
+ },
521
+ {
522
+ "type": "null"
523
+ }
524
+ ]
525
+ },
526
+ {
527
+ "type": "object",
528
+ "properties": {
529
+ "$eq": {
530
+ "oneOf": [
531
+ {
532
+ "type": "string",
533
+ "pattern": "^[A-Fa-f\\d]{24}$"
534
+ },
535
+ {
536
+ "type": "null"
537
+ }
538
+ ]
539
+ },
540
+ "$ne": {
541
+ "oneOf": [
542
+ {
543
+ "type": "string",
544
+ "pattern": "^[A-Fa-f\\d]{24}$"
545
+ },
546
+ {
547
+ "type": "null"
548
+ }
549
+ ]
550
+ },
551
+ "$in": {
552
+ "type": "array",
553
+ "maxItems": 100,
554
+ "items": {
555
+ "type": "string",
556
+ "pattern": "^[A-Fa-f\\d]{24}$"
557
+ }
558
+ },
559
+ "$nin": {
560
+ "type": "array",
561
+ "maxItems": 100,
562
+ "items": {
563
+ "type": "string",
564
+ "pattern": "^[A-Fa-f\\d]{24}$"
565
+ }
566
+ }
567
+ },
568
+ "additionalProperties": false,
569
+ "minProperties": 1,
570
+ "maxProperties": 1
571
+ }
572
+ ]
573
+ },
574
+ "parentId": {
575
+ "oneOf": [
576
+ {
577
+ "oneOf": [
578
+ {
579
+ "type": "string",
580
+ "pattern": "^[A-Fa-f\\d]{24}$"
581
+ },
582
+ {
583
+ "type": "null"
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "type": "object",
589
+ "properties": {
590
+ "$eq": {
591
+ "oneOf": [
592
+ {
593
+ "type": "string",
594
+ "pattern": "^[A-Fa-f\\d]{24}$"
595
+ },
596
+ {
597
+ "type": "null"
598
+ }
599
+ ]
600
+ },
601
+ "$ne": {
602
+ "oneOf": [
603
+ {
604
+ "type": "string",
605
+ "pattern": "^[A-Fa-f\\d]{24}$"
606
+ },
607
+ {
608
+ "type": "null"
609
+ }
610
+ ]
611
+ },
612
+ "$in": {
613
+ "type": "array",
614
+ "maxItems": 100,
615
+ "items": {
616
+ "type": "string",
617
+ "pattern": "^[A-Fa-f\\d]{24}$"
618
+ }
619
+ },
620
+ "$nin": {
621
+ "type": "array",
622
+ "maxItems": 100,
623
+ "items": {
624
+ "type": "string",
625
+ "pattern": "^[A-Fa-f\\d]{24}$"
626
+ }
627
+ }
628
+ },
629
+ "additionalProperties": false,
630
+ "minProperties": 1,
631
+ "maxProperties": 1
632
+ }
633
+ ]
634
+ },
635
+ "ancestorId": {
636
+ "oneOf": [
637
+ {
638
+ "oneOf": [
639
+ {
640
+ "type": "string",
641
+ "pattern": "^[A-Fa-f\\d]{24}$"
642
+ },
643
+ {
644
+ "type": "null"
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ "type": "object",
650
+ "properties": {
651
+ "$eq": {
652
+ "oneOf": [
653
+ {
654
+ "type": "string",
655
+ "pattern": "^[A-Fa-f\\d]{24}$"
656
+ },
657
+ {
658
+ "type": "null"
659
+ }
660
+ ]
661
+ },
662
+ "$ne": {
663
+ "oneOf": [
664
+ {
665
+ "type": "string",
666
+ "pattern": "^[A-Fa-f\\d]{24}$"
667
+ },
668
+ {
669
+ "type": "null"
670
+ }
671
+ ]
672
+ },
673
+ "$in": {
674
+ "type": "array",
675
+ "maxItems": 100,
676
+ "items": {
677
+ "type": "string",
678
+ "pattern": "^[A-Fa-f\\d]{24}$"
679
+ }
680
+ },
681
+ "$nin": {
682
+ "type": "array",
683
+ "maxItems": 100,
684
+ "items": {
685
+ "type": "string",
686
+ "pattern": "^[A-Fa-f\\d]{24}$"
687
+ }
688
+ }
689
+ },
690
+ "additionalProperties": false,
691
+ "minProperties": 1,
692
+ "maxProperties": 1
693
+ }
694
+ ]
695
+ },
696
+ "attributeName": {
697
+ "oneOf": [
698
+ {
699
+ "type": [
700
+ "string",
701
+ "number",
702
+ "boolean",
703
+ "null"
704
+ ]
705
+ },
706
+ {
707
+ "type": "object",
708
+ "properties": {
709
+ "$eq": {
710
+ "type": [
711
+ "string",
712
+ "number",
713
+ "boolean",
714
+ "null"
715
+ ]
716
+ },
717
+ "$ne": {
718
+ "type": [
719
+ "string",
720
+ "number",
721
+ "boolean",
722
+ "null"
723
+ ]
724
+ },
725
+ "$gt": {
726
+ "type": [
727
+ "string",
728
+ "number",
729
+ "boolean",
730
+ "null"
731
+ ]
732
+ },
733
+ "$lt": {
734
+ "type": [
735
+ "string",
736
+ "number",
737
+ "boolean",
738
+ "null"
739
+ ]
740
+ },
741
+ "$gte": {
742
+ "type": [
743
+ "string",
744
+ "number",
745
+ "boolean",
746
+ "null"
747
+ ]
748
+ },
749
+ "$lte": {
750
+ "type": [
751
+ "string",
752
+ "number",
753
+ "boolean",
754
+ "null"
755
+ ]
756
+ },
757
+ "$startsWith": {
758
+ "type": "string",
759
+ "minLength": 1
760
+ },
761
+ "$endsWith": {
762
+ "type": "string",
763
+ "minLength": 1
764
+ },
765
+ "$contains": {
766
+ "type": "string",
767
+ "minLength": 1
768
+ },
769
+ "$ci": {
770
+ "type": "boolean"
771
+ },
772
+ "$in": {
773
+ "type": "array",
774
+ "maxItems": 100,
775
+ "items": {
776
+ "type": [
777
+ "string",
778
+ "number",
779
+ "boolean"
780
+ ]
781
+ }
782
+ },
783
+ "$nin": {
784
+ "type": "array",
785
+ "maxItems": 100,
786
+ "items": {
787
+ "type": [
788
+ "string",
789
+ "number",
790
+ "boolean"
791
+ ]
792
+ }
793
+ }
794
+ },
795
+ "additionalProperties": false
796
+ }
797
+ ]
798
+ },
799
+ "experienceUserId": {
800
+ "oneOf": [
801
+ {
802
+ "oneOf": [
803
+ {
804
+ "type": "string",
805
+ "pattern": "^[A-Fa-f\\d]{24}$"
806
+ },
807
+ {
808
+ "type": "null"
809
+ }
810
+ ]
811
+ },
812
+ {
813
+ "type": "object",
814
+ "properties": {
815
+ "$eq": {
816
+ "oneOf": [
817
+ {
818
+ "type": "string",
819
+ "pattern": "^[A-Fa-f\\d]{24}$"
820
+ },
821
+ {
822
+ "type": "null"
823
+ }
824
+ ]
825
+ },
826
+ "$ne": {
827
+ "oneOf": [
828
+ {
829
+ "type": "string",
830
+ "pattern": "^[A-Fa-f\\d]{24}$"
831
+ },
832
+ {
833
+ "type": "null"
834
+ }
835
+ ]
836
+ },
837
+ "$in": {
838
+ "type": "array",
839
+ "maxItems": 100,
840
+ "items": {
841
+ "type": "string",
842
+ "pattern": "^[A-Fa-f\\d]{24}$"
843
+ }
844
+ },
845
+ "$nin": {
846
+ "type": "array",
847
+ "maxItems": 100,
848
+ "items": {
849
+ "type": "string",
850
+ "pattern": "^[A-Fa-f\\d]{24}$"
851
+ }
852
+ }
853
+ },
854
+ "additionalProperties": false,
855
+ "minProperties": 1,
856
+ "maxProperties": 1
857
+ }
858
+ ]
859
+ },
860
+ "experienceGroupId": {
861
+ "oneOf": [
862
+ {
863
+ "oneOf": [
864
+ {
865
+ "type": "string",
866
+ "pattern": "^[A-Fa-f\\d]{24}$"
867
+ },
868
+ {
869
+ "type": "null"
870
+ }
871
+ ]
872
+ },
873
+ {
874
+ "type": "object",
875
+ "properties": {
876
+ "$eq": {
877
+ "oneOf": [
878
+ {
879
+ "type": "string",
880
+ "pattern": "^[A-Fa-f\\d]{24}$"
881
+ },
882
+ {
883
+ "type": "null"
884
+ }
885
+ ]
886
+ },
887
+ "$ne": {
888
+ "oneOf": [
889
+ {
890
+ "type": "string",
891
+ "pattern": "^[A-Fa-f\\d]{24}$"
892
+ },
893
+ {
894
+ "type": "null"
895
+ }
896
+ ]
897
+ },
898
+ "$in": {
899
+ "type": "array",
900
+ "maxItems": 100,
901
+ "items": {
902
+ "type": "string",
903
+ "pattern": "^[A-Fa-f\\d]{24}$"
904
+ }
905
+ },
906
+ "$nin": {
907
+ "type": "array",
908
+ "maxItems": 100,
909
+ "items": {
910
+ "type": "string",
911
+ "pattern": "^[A-Fa-f\\d]{24}$"
912
+ }
913
+ }
914
+ },
915
+ "additionalProperties": false,
916
+ "minProperties": 1,
917
+ "maxProperties": 1
918
+ }
919
+ ]
920
+ },
921
+ "tags": {
922
+ "oneOf": [
923
+ {
924
+ "oneOf": [
925
+ {
926
+ "type": "object",
927
+ "properties": {
928
+ "$tagKey": {
929
+ "type": "string",
930
+ "maxLength": 255
931
+ },
932
+ "$tagValue": {
933
+ "type": "string",
934
+ "maxLength": 255
935
+ }
936
+ },
937
+ "additionalProperties": false,
938
+ "minProperties": 1
939
+ },
940
+ {
941
+ "type": "object",
942
+ "patternProperties": {
943
+ "^[0-9a-zA-Z_-]{1,255}": {
944
+ "type": "string",
945
+ "maxLength": 255
946
+ }
947
+ },
948
+ "additionalProperties": false
949
+ }
950
+ ]
951
+ },
952
+ {
953
+ "type": "object",
954
+ "properties": {
955
+ "$eq": {
956
+ "oneOf": [
957
+ {
958
+ "type": "object",
959
+ "properties": {
960
+ "$tagKey": {
961
+ "type": "string",
962
+ "maxLength": 255
963
+ },
964
+ "$tagValue": {
965
+ "type": "string",
966
+ "maxLength": 255
967
+ }
968
+ },
969
+ "additionalProperties": false,
970
+ "minProperties": 1
971
+ },
972
+ {
973
+ "type": "object",
974
+ "patternProperties": {
975
+ "^[0-9a-zA-Z_-]{1,255}": {
976
+ "type": "string",
977
+ "maxLength": 255
978
+ }
979
+ },
980
+ "additionalProperties": false
981
+ }
982
+ ]
983
+ }
984
+ },
985
+ "required": [
986
+ "$eq"
987
+ ],
988
+ "additionalProperties": false
989
+ },
990
+ {
991
+ "type": "object",
992
+ "properties": {
993
+ "$ne": {
994
+ "oneOf": [
995
+ {
996
+ "type": "object",
997
+ "properties": {
998
+ "$tagKey": {
999
+ "type": "string",
1000
+ "maxLength": 255
1001
+ },
1002
+ "$tagValue": {
1003
+ "type": "string",
1004
+ "maxLength": 255
1005
+ }
1006
+ },
1007
+ "additionalProperties": false,
1008
+ "minProperties": 1
1009
+ },
1010
+ {
1011
+ "type": "object",
1012
+ "patternProperties": {
1013
+ "^[0-9a-zA-Z_-]{1,255}": {
1014
+ "type": "string",
1015
+ "maxLength": 255
1016
+ }
1017
+ },
1018
+ "additionalProperties": false
1019
+ }
1020
+ ]
1021
+ }
1022
+ },
1023
+ "required": [
1024
+ "$ne"
1025
+ ],
1026
+ "additionalProperties": false
1027
+ }
1028
+ ]
1029
+ },
1030
+ "disconnectedAt": {
1031
+ "oneOf": [
1032
+ {
1033
+ "type": [
1034
+ "string",
1035
+ "number",
1036
+ "boolean",
1037
+ "null"
1038
+ ]
1039
+ },
1040
+ {
1041
+ "type": "object",
1042
+ "properties": {
1043
+ "$eq": {
1044
+ "type": [
1045
+ "string",
1046
+ "number",
1047
+ "boolean",
1048
+ "null"
1049
+ ]
1050
+ },
1051
+ "$ne": {
1052
+ "type": [
1053
+ "string",
1054
+ "number",
1055
+ "boolean",
1056
+ "null"
1057
+ ]
1058
+ },
1059
+ "$gt": {
1060
+ "type": [
1061
+ "string",
1062
+ "number",
1063
+ "boolean",
1064
+ "null"
1065
+ ]
1066
+ },
1067
+ "$lt": {
1068
+ "type": [
1069
+ "string",
1070
+ "number",
1071
+ "boolean",
1072
+ "null"
1073
+ ]
1074
+ },
1075
+ "$gte": {
1076
+ "type": [
1077
+ "string",
1078
+ "number",
1079
+ "boolean",
1080
+ "null"
1081
+ ]
1082
+ },
1083
+ "$lte": {
1084
+ "type": [
1085
+ "string",
1086
+ "number",
1087
+ "boolean",
1088
+ "null"
1089
+ ]
1090
+ },
1091
+ "$startsWith": {
1092
+ "type": "string",
1093
+ "minLength": 1
1094
+ },
1095
+ "$endsWith": {
1096
+ "type": "string",
1097
+ "minLength": 1
1098
+ },
1099
+ "$contains": {
1100
+ "type": "string",
1101
+ "minLength": 1
1102
+ },
1103
+ "$ci": {
1104
+ "type": "boolean"
1105
+ },
1106
+ "$in": {
1107
+ "type": "array",
1108
+ "maxItems": 100,
1109
+ "items": {
1110
+ "type": [
1111
+ "string",
1112
+ "number",
1113
+ "boolean"
1114
+ ]
1115
+ }
1116
+ },
1117
+ "$nin": {
1118
+ "type": "array",
1119
+ "maxItems": 100,
1120
+ "items": {
1121
+ "type": [
1122
+ "string",
1123
+ "number",
1124
+ "boolean"
1125
+ ]
1126
+ }
1127
+ }
1128
+ },
1129
+ "additionalProperties": false
1130
+ }
1131
+ ]
1132
+ },
1133
+ "connectedAt": {
1134
+ "oneOf": [
1135
+ {
1136
+ "type": [
1137
+ "string",
1138
+ "number",
1139
+ "boolean",
1140
+ "null"
1141
+ ]
1142
+ },
1143
+ {
1144
+ "type": "object",
1145
+ "properties": {
1146
+ "$eq": {
1147
+ "type": [
1148
+ "string",
1149
+ "number",
1150
+ "boolean",
1151
+ "null"
1152
+ ]
1153
+ },
1154
+ "$ne": {
1155
+ "type": [
1156
+ "string",
1157
+ "number",
1158
+ "boolean",
1159
+ "null"
1160
+ ]
1161
+ },
1162
+ "$gt": {
1163
+ "type": [
1164
+ "string",
1165
+ "number",
1166
+ "boolean",
1167
+ "null"
1168
+ ]
1169
+ },
1170
+ "$lt": {
1171
+ "type": [
1172
+ "string",
1173
+ "number",
1174
+ "boolean",
1175
+ "null"
1176
+ ]
1177
+ },
1178
+ "$gte": {
1179
+ "type": [
1180
+ "string",
1181
+ "number",
1182
+ "boolean",
1183
+ "null"
1184
+ ]
1185
+ },
1186
+ "$lte": {
1187
+ "type": [
1188
+ "string",
1189
+ "number",
1190
+ "boolean",
1191
+ "null"
1192
+ ]
1193
+ },
1194
+ "$startsWith": {
1195
+ "type": "string",
1196
+ "minLength": 1
1197
+ },
1198
+ "$endsWith": {
1199
+ "type": "string",
1200
+ "minLength": 1
1201
+ },
1202
+ "$contains": {
1203
+ "type": "string",
1204
+ "minLength": 1
1205
+ },
1206
+ "$ci": {
1207
+ "type": "boolean"
1208
+ },
1209
+ "$in": {
1210
+ "type": "array",
1211
+ "maxItems": 100,
1212
+ "items": {
1213
+ "type": [
1214
+ "string",
1215
+ "number",
1216
+ "boolean"
1217
+ ]
1218
+ }
1219
+ },
1220
+ "$nin": {
1221
+ "type": "array",
1222
+ "maxItems": 100,
1223
+ "items": {
1224
+ "type": [
1225
+ "string",
1226
+ "number",
1227
+ "boolean"
1228
+ ]
1229
+ }
1230
+ }
1231
+ },
1232
+ "additionalProperties": false
1233
+ }
1234
+ ]
1235
+ },
1236
+ "connectionStatus": {
1237
+ "oneOf": [
1238
+ {
1239
+ "type": [
1240
+ "string",
1241
+ "number",
1242
+ "boolean",
1243
+ "null"
1244
+ ]
1245
+ },
1246
+ {
1247
+ "type": "object",
1248
+ "properties": {
1249
+ "$eq": {
1250
+ "type": [
1251
+ "string",
1252
+ "number",
1253
+ "boolean",
1254
+ "null"
1255
+ ]
1256
+ },
1257
+ "$ne": {
1258
+ "type": [
1259
+ "string",
1260
+ "number",
1261
+ "boolean",
1262
+ "null"
1263
+ ]
1264
+ },
1265
+ "$gt": {
1266
+ "type": [
1267
+ "string",
1268
+ "number",
1269
+ "boolean",
1270
+ "null"
1271
+ ]
1272
+ },
1273
+ "$lt": {
1274
+ "type": [
1275
+ "string",
1276
+ "number",
1277
+ "boolean",
1278
+ "null"
1279
+ ]
1280
+ },
1281
+ "$gte": {
1282
+ "type": [
1283
+ "string",
1284
+ "number",
1285
+ "boolean",
1286
+ "null"
1287
+ ]
1288
+ },
1289
+ "$lte": {
1290
+ "type": [
1291
+ "string",
1292
+ "number",
1293
+ "boolean",
1294
+ "null"
1295
+ ]
1296
+ },
1297
+ "$startsWith": {
1298
+ "type": "string",
1299
+ "minLength": 1
1300
+ },
1301
+ "$endsWith": {
1302
+ "type": "string",
1303
+ "minLength": 1
1304
+ },
1305
+ "$contains": {
1306
+ "type": "string",
1307
+ "minLength": 1
1308
+ },
1309
+ "$ci": {
1310
+ "type": "boolean"
1311
+ },
1312
+ "$in": {
1313
+ "type": "array",
1314
+ "maxItems": 100,
1315
+ "items": {
1316
+ "type": [
1317
+ "string",
1318
+ "number",
1319
+ "boolean"
1320
+ ]
1321
+ }
1322
+ },
1323
+ "$nin": {
1324
+ "type": "array",
1325
+ "maxItems": 100,
1326
+ "items": {
1327
+ "type": [
1328
+ "string",
1329
+ "number",
1330
+ "boolean"
1331
+ ]
1332
+ }
1333
+ }
1334
+ },
1335
+ "additionalProperties": false
1336
+ }
1337
+ ]
1338
+ }
1339
+ },
1340
+ "additionalProperties": false
1341
+ },
1342
+ "start": {
1343
+ "type": "number"
1344
+ },
1345
+ "end": {
1346
+ "type": "number"
1347
+ }
1348
+ },
1349
+ "additionalProperties": false
1350
+ }