losant_rest 1.17.3 → 1.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +19420 -12740
  3. data/docs/application.md +80 -0
  4. data/docs/applicationDashboard.md +1 -1
  5. data/docs/dashboard.md +1 -0
  6. data/docs/flow.md +1 -1
  7. data/docs/instance.md +80 -0
  8. data/docs/instanceOrg.md +86 -0
  9. data/docs/me.md +76 -0
  10. data/docs/notebook.md +43 -0
  11. data/docs/org.md +80 -0
  12. data/lib/losant_rest/application.rb +96 -0
  13. data/lib/losant_rest/application_dashboard.rb +1 -1
  14. data/lib/losant_rest/client.rb +2 -2
  15. data/lib/losant_rest/dashboard.rb +2 -0
  16. data/lib/losant_rest/flow.rb +1 -1
  17. data/lib/losant_rest/instance.rb +96 -0
  18. data/lib/losant_rest/instance_org.rb +100 -0
  19. data/lib/losant_rest/me.rb +90 -0
  20. data/lib/losant_rest/notebook.rb +50 -0
  21. data/lib/losant_rest/org.rb +96 -0
  22. data/lib/losant_rest/version.rb +1 -1
  23. data/schemas/apiTokenPost.json +11 -0
  24. data/schemas/applicationDashboardPost.json +41 -7
  25. data/schemas/dashboard.json +65 -7
  26. data/schemas/dashboardPatch.json +41 -7
  27. data/schemas/dashboardPost.json +41 -7
  28. data/schemas/dashboards.json +65 -7
  29. data/schemas/dataExport.json +1467 -9
  30. data/schemas/deviceCounts.json +35 -0
  31. data/schemas/edgeDeployment.json +25 -0
  32. data/schemas/edgeDeployments.json +25 -0
  33. data/schemas/experienceLinkedResources.json +279 -0
  34. data/schemas/flow.json +93 -0
  35. data/schemas/flowPatch.json +93 -0
  36. data/schemas/flowPost.json +93 -0
  37. data/schemas/flowVersion.json +186 -0
  38. data/schemas/flowVersionPost.json +93 -0
  39. data/schemas/flowVersions.json +186 -0
  40. data/schemas/flows.json +93 -0
  41. data/schemas/flowsImportPost.json +186 -0
  42. data/schemas/flowsImportResult.json +279 -0
  43. data/schemas/githubLogin.json +11 -0
  44. data/schemas/integration.json +10 -10
  45. data/schemas/integrationPatch.json +10 -10
  46. data/schemas/integrationPost.json +10 -10
  47. data/schemas/integrations.json +10 -10
  48. data/schemas/lastValueQuery.json +1598 -6
  49. data/schemas/notebookMinuteCounts.json +41 -0
  50. data/schemas/samlResponse.json +11 -0
  51. data/schemas/timeSeriesQuery.json +1599 -7
  52. data/schemas/userCredentials.json +11 -0
  53. data/schemas/userPost.json +11 -0
  54. metadata +4 -2
@@ -125,6 +125,14 @@
125
125
  "pattern": "^[0-9a-zA-Z_-]{1,255}$"
126
126
  }
127
127
  },
128
+ "deviceIds": {
129
+ "type": "array",
130
+ "items": {
131
+ "type": "string",
132
+ "pattern": "^[A-Fa-f\\d]{24}$"
133
+ },
134
+ "maxItems": 1000
135
+ },
128
136
  "deviceTags": {
129
137
  "type": "array",
130
138
  "items": {
@@ -144,13 +152,1597 @@
144
152
  },
145
153
  "maxItems": 100
146
154
  },
147
- "deviceIds": {
148
- "type": "array",
149
- "items": {
150
- "type": "string",
151
- "pattern": "^[A-Fa-f\\d]{24}$"
152
- },
153
- "maxItems": 1000
155
+ "deviceQuery": {
156
+ "title": "Advanced Device Query",
157
+ "description": "Schema for advanced device queries",
158
+ "type": "object",
159
+ "properties": {
160
+ "$and": {
161
+ "type": "array",
162
+ "items": {
163
+ "$ref": "#/definitions/advancedDeviceQuery"
164
+ },
165
+ "maxItems": 100
166
+ },
167
+ "$or": {
168
+ "type": "array",
169
+ "items": {
170
+ "$ref": "#/definitions/advancedDeviceQuery"
171
+ },
172
+ "maxItems": 100
173
+ },
174
+ "$nor": {
175
+ "type": "array",
176
+ "items": {
177
+ "$ref": "#/definitions/advancedDeviceQuery"
178
+ },
179
+ "maxItems": 100
180
+ },
181
+ "id": {
182
+ "oneOf": [
183
+ {
184
+ "oneOf": [
185
+ {
186
+ "type": "string",
187
+ "pattern": "^[A-Fa-f\\d]{24}$"
188
+ },
189
+ {
190
+ "type": "null"
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "type": "object",
196
+ "properties": {
197
+ "$eq": {
198
+ "oneOf": [
199
+ {
200
+ "type": "string",
201
+ "pattern": "^[A-Fa-f\\d]{24}$"
202
+ },
203
+ {
204
+ "type": "null"
205
+ }
206
+ ]
207
+ },
208
+ "$ne": {
209
+ "oneOf": [
210
+ {
211
+ "type": "string",
212
+ "pattern": "^[A-Fa-f\\d]{24}$"
213
+ },
214
+ {
215
+ "type": "null"
216
+ }
217
+ ]
218
+ },
219
+ "$gt": {
220
+ "oneOf": [
221
+ {
222
+ "type": "string",
223
+ "pattern": "^[A-Fa-f\\d]{24}$"
224
+ },
225
+ {
226
+ "type": "null"
227
+ }
228
+ ]
229
+ },
230
+ "$lt": {
231
+ "oneOf": [
232
+ {
233
+ "type": "string",
234
+ "pattern": "^[A-Fa-f\\d]{24}$"
235
+ },
236
+ {
237
+ "type": "null"
238
+ }
239
+ ]
240
+ },
241
+ "$gte": {
242
+ "oneOf": [
243
+ {
244
+ "type": "string",
245
+ "pattern": "^[A-Fa-f\\d]{24}$"
246
+ },
247
+ {
248
+ "type": "null"
249
+ }
250
+ ]
251
+ },
252
+ "$lte": {
253
+ "oneOf": [
254
+ {
255
+ "type": "string",
256
+ "pattern": "^[A-Fa-f\\d]{24}$"
257
+ },
258
+ {
259
+ "type": "null"
260
+ }
261
+ ]
262
+ },
263
+ "$in": {
264
+ "type": "array",
265
+ "maxItems": 100,
266
+ "items": {
267
+ "type": "string",
268
+ "pattern": "^[A-Fa-f\\d]{24}$"
269
+ }
270
+ },
271
+ "$nin": {
272
+ "type": "array",
273
+ "maxItems": 100,
274
+ "items": {
275
+ "type": "string",
276
+ "pattern": "^[A-Fa-f\\d]{24}$"
277
+ }
278
+ }
279
+ },
280
+ "additionalProperties": false,
281
+ "minProperties": 1,
282
+ "maxProperties": 1
283
+ }
284
+ ]
285
+ },
286
+ "creationDate": {
287
+ "oneOf": [
288
+ {
289
+ "type": [
290
+ "string",
291
+ "number",
292
+ "boolean",
293
+ "null"
294
+ ]
295
+ },
296
+ {
297
+ "type": "object",
298
+ "properties": {
299
+ "$eq": {
300
+ "type": [
301
+ "string",
302
+ "number",
303
+ "boolean",
304
+ "null"
305
+ ]
306
+ },
307
+ "$ne": {
308
+ "type": [
309
+ "string",
310
+ "number",
311
+ "boolean",
312
+ "null"
313
+ ]
314
+ },
315
+ "$gt": {
316
+ "type": [
317
+ "string",
318
+ "number",
319
+ "boolean",
320
+ "null"
321
+ ]
322
+ },
323
+ "$lt": {
324
+ "type": [
325
+ "string",
326
+ "number",
327
+ "boolean",
328
+ "null"
329
+ ]
330
+ },
331
+ "$gte": {
332
+ "type": [
333
+ "string",
334
+ "number",
335
+ "boolean",
336
+ "null"
337
+ ]
338
+ },
339
+ "$lte": {
340
+ "type": [
341
+ "string",
342
+ "number",
343
+ "boolean",
344
+ "null"
345
+ ]
346
+ },
347
+ "$startsWith": {
348
+ "type": "string",
349
+ "minLength": 1
350
+ },
351
+ "$endsWith": {
352
+ "type": "string",
353
+ "minLength": 1
354
+ },
355
+ "$contains": {
356
+ "type": "string",
357
+ "minLength": 1
358
+ },
359
+ "$ci": {
360
+ "type": "boolean"
361
+ },
362
+ "$in": {
363
+ "type": "array",
364
+ "maxItems": 100,
365
+ "items": {
366
+ "type": [
367
+ "string",
368
+ "number",
369
+ "boolean"
370
+ ]
371
+ }
372
+ },
373
+ "$nin": {
374
+ "type": "array",
375
+ "maxItems": 100,
376
+ "items": {
377
+ "type": [
378
+ "string",
379
+ "number",
380
+ "boolean"
381
+ ]
382
+ }
383
+ }
384
+ },
385
+ "additionalProperties": false
386
+ }
387
+ ]
388
+ },
389
+ "lastUpdated": {
390
+ "oneOf": [
391
+ {
392
+ "type": [
393
+ "string",
394
+ "number",
395
+ "boolean",
396
+ "null"
397
+ ]
398
+ },
399
+ {
400
+ "type": "object",
401
+ "properties": {
402
+ "$eq": {
403
+ "type": [
404
+ "string",
405
+ "number",
406
+ "boolean",
407
+ "null"
408
+ ]
409
+ },
410
+ "$ne": {
411
+ "type": [
412
+ "string",
413
+ "number",
414
+ "boolean",
415
+ "null"
416
+ ]
417
+ },
418
+ "$gt": {
419
+ "type": [
420
+ "string",
421
+ "number",
422
+ "boolean",
423
+ "null"
424
+ ]
425
+ },
426
+ "$lt": {
427
+ "type": [
428
+ "string",
429
+ "number",
430
+ "boolean",
431
+ "null"
432
+ ]
433
+ },
434
+ "$gte": {
435
+ "type": [
436
+ "string",
437
+ "number",
438
+ "boolean",
439
+ "null"
440
+ ]
441
+ },
442
+ "$lte": {
443
+ "type": [
444
+ "string",
445
+ "number",
446
+ "boolean",
447
+ "null"
448
+ ]
449
+ },
450
+ "$startsWith": {
451
+ "type": "string",
452
+ "minLength": 1
453
+ },
454
+ "$endsWith": {
455
+ "type": "string",
456
+ "minLength": 1
457
+ },
458
+ "$contains": {
459
+ "type": "string",
460
+ "minLength": 1
461
+ },
462
+ "$ci": {
463
+ "type": "boolean"
464
+ },
465
+ "$in": {
466
+ "type": "array",
467
+ "maxItems": 100,
468
+ "items": {
469
+ "type": [
470
+ "string",
471
+ "number",
472
+ "boolean"
473
+ ]
474
+ }
475
+ },
476
+ "$nin": {
477
+ "type": "array",
478
+ "maxItems": 100,
479
+ "items": {
480
+ "type": [
481
+ "string",
482
+ "number",
483
+ "boolean"
484
+ ]
485
+ }
486
+ }
487
+ },
488
+ "additionalProperties": false
489
+ }
490
+ ]
491
+ },
492
+ "name": {
493
+ "oneOf": [
494
+ {
495
+ "type": [
496
+ "string",
497
+ "number",
498
+ "boolean",
499
+ "null"
500
+ ]
501
+ },
502
+ {
503
+ "type": "object",
504
+ "properties": {
505
+ "$eq": {
506
+ "type": [
507
+ "string",
508
+ "number",
509
+ "boolean",
510
+ "null"
511
+ ]
512
+ },
513
+ "$ne": {
514
+ "type": [
515
+ "string",
516
+ "number",
517
+ "boolean",
518
+ "null"
519
+ ]
520
+ },
521
+ "$gt": {
522
+ "type": [
523
+ "string",
524
+ "number",
525
+ "boolean",
526
+ "null"
527
+ ]
528
+ },
529
+ "$lt": {
530
+ "type": [
531
+ "string",
532
+ "number",
533
+ "boolean",
534
+ "null"
535
+ ]
536
+ },
537
+ "$gte": {
538
+ "type": [
539
+ "string",
540
+ "number",
541
+ "boolean",
542
+ "null"
543
+ ]
544
+ },
545
+ "$lte": {
546
+ "type": [
547
+ "string",
548
+ "number",
549
+ "boolean",
550
+ "null"
551
+ ]
552
+ },
553
+ "$startsWith": {
554
+ "type": "string",
555
+ "minLength": 1
556
+ },
557
+ "$endsWith": {
558
+ "type": "string",
559
+ "minLength": 1
560
+ },
561
+ "$contains": {
562
+ "type": "string",
563
+ "minLength": 1
564
+ },
565
+ "$ci": {
566
+ "type": "boolean"
567
+ },
568
+ "$in": {
569
+ "type": "array",
570
+ "maxItems": 100,
571
+ "items": {
572
+ "type": [
573
+ "string",
574
+ "number",
575
+ "boolean"
576
+ ]
577
+ }
578
+ },
579
+ "$nin": {
580
+ "type": "array",
581
+ "maxItems": 100,
582
+ "items": {
583
+ "type": [
584
+ "string",
585
+ "number",
586
+ "boolean"
587
+ ]
588
+ }
589
+ }
590
+ },
591
+ "additionalProperties": false
592
+ }
593
+ ]
594
+ },
595
+ "deviceClass": {
596
+ "oneOf": [
597
+ {
598
+ "type": [
599
+ "string",
600
+ "number",
601
+ "boolean",
602
+ "null"
603
+ ]
604
+ },
605
+ {
606
+ "type": "object",
607
+ "properties": {
608
+ "$eq": {
609
+ "type": [
610
+ "string",
611
+ "number",
612
+ "boolean",
613
+ "null"
614
+ ]
615
+ },
616
+ "$ne": {
617
+ "type": [
618
+ "string",
619
+ "number",
620
+ "boolean",
621
+ "null"
622
+ ]
623
+ },
624
+ "$gt": {
625
+ "type": [
626
+ "string",
627
+ "number",
628
+ "boolean",
629
+ "null"
630
+ ]
631
+ },
632
+ "$lt": {
633
+ "type": [
634
+ "string",
635
+ "number",
636
+ "boolean",
637
+ "null"
638
+ ]
639
+ },
640
+ "$gte": {
641
+ "type": [
642
+ "string",
643
+ "number",
644
+ "boolean",
645
+ "null"
646
+ ]
647
+ },
648
+ "$lte": {
649
+ "type": [
650
+ "string",
651
+ "number",
652
+ "boolean",
653
+ "null"
654
+ ]
655
+ },
656
+ "$startsWith": {
657
+ "type": "string",
658
+ "minLength": 1
659
+ },
660
+ "$endsWith": {
661
+ "type": "string",
662
+ "minLength": 1
663
+ },
664
+ "$contains": {
665
+ "type": "string",
666
+ "minLength": 1
667
+ },
668
+ "$ci": {
669
+ "type": "boolean"
670
+ },
671
+ "$in": {
672
+ "type": "array",
673
+ "maxItems": 100,
674
+ "items": {
675
+ "type": [
676
+ "string",
677
+ "number",
678
+ "boolean"
679
+ ]
680
+ }
681
+ },
682
+ "$nin": {
683
+ "type": "array",
684
+ "maxItems": 100,
685
+ "items": {
686
+ "type": [
687
+ "string",
688
+ "number",
689
+ "boolean"
690
+ ]
691
+ }
692
+ }
693
+ },
694
+ "additionalProperties": false
695
+ }
696
+ ]
697
+ },
698
+ "gatewayId": {
699
+ "oneOf": [
700
+ {
701
+ "oneOf": [
702
+ {
703
+ "type": "string",
704
+ "pattern": "^[A-Fa-f\\d]{24}$"
705
+ },
706
+ {
707
+ "type": "null"
708
+ }
709
+ ]
710
+ },
711
+ {
712
+ "type": "object",
713
+ "properties": {
714
+ "$eq": {
715
+ "oneOf": [
716
+ {
717
+ "type": "string",
718
+ "pattern": "^[A-Fa-f\\d]{24}$"
719
+ },
720
+ {
721
+ "type": "null"
722
+ }
723
+ ]
724
+ },
725
+ "$ne": {
726
+ "oneOf": [
727
+ {
728
+ "type": "string",
729
+ "pattern": "^[A-Fa-f\\d]{24}$"
730
+ },
731
+ {
732
+ "type": "null"
733
+ }
734
+ ]
735
+ },
736
+ "$gt": {
737
+ "oneOf": [
738
+ {
739
+ "type": "string",
740
+ "pattern": "^[A-Fa-f\\d]{24}$"
741
+ },
742
+ {
743
+ "type": "null"
744
+ }
745
+ ]
746
+ },
747
+ "$lt": {
748
+ "oneOf": [
749
+ {
750
+ "type": "string",
751
+ "pattern": "^[A-Fa-f\\d]{24}$"
752
+ },
753
+ {
754
+ "type": "null"
755
+ }
756
+ ]
757
+ },
758
+ "$gte": {
759
+ "oneOf": [
760
+ {
761
+ "type": "string",
762
+ "pattern": "^[A-Fa-f\\d]{24}$"
763
+ },
764
+ {
765
+ "type": "null"
766
+ }
767
+ ]
768
+ },
769
+ "$lte": {
770
+ "oneOf": [
771
+ {
772
+ "type": "string",
773
+ "pattern": "^[A-Fa-f\\d]{24}$"
774
+ },
775
+ {
776
+ "type": "null"
777
+ }
778
+ ]
779
+ },
780
+ "$in": {
781
+ "type": "array",
782
+ "maxItems": 100,
783
+ "items": {
784
+ "type": "string",
785
+ "pattern": "^[A-Fa-f\\d]{24}$"
786
+ }
787
+ },
788
+ "$nin": {
789
+ "type": "array",
790
+ "maxItems": 100,
791
+ "items": {
792
+ "type": "string",
793
+ "pattern": "^[A-Fa-f\\d]{24}$"
794
+ }
795
+ }
796
+ },
797
+ "additionalProperties": false,
798
+ "minProperties": 1,
799
+ "maxProperties": 1
800
+ }
801
+ ]
802
+ },
803
+ "parentId": {
804
+ "oneOf": [
805
+ {
806
+ "oneOf": [
807
+ {
808
+ "type": "string",
809
+ "pattern": "^[A-Fa-f\\d]{24}$"
810
+ },
811
+ {
812
+ "type": "null"
813
+ }
814
+ ]
815
+ },
816
+ {
817
+ "type": "object",
818
+ "properties": {
819
+ "$eq": {
820
+ "oneOf": [
821
+ {
822
+ "type": "string",
823
+ "pattern": "^[A-Fa-f\\d]{24}$"
824
+ },
825
+ {
826
+ "type": "null"
827
+ }
828
+ ]
829
+ },
830
+ "$ne": {
831
+ "oneOf": [
832
+ {
833
+ "type": "string",
834
+ "pattern": "^[A-Fa-f\\d]{24}$"
835
+ },
836
+ {
837
+ "type": "null"
838
+ }
839
+ ]
840
+ },
841
+ "$gt": {
842
+ "oneOf": [
843
+ {
844
+ "type": "string",
845
+ "pattern": "^[A-Fa-f\\d]{24}$"
846
+ },
847
+ {
848
+ "type": "null"
849
+ }
850
+ ]
851
+ },
852
+ "$lt": {
853
+ "oneOf": [
854
+ {
855
+ "type": "string",
856
+ "pattern": "^[A-Fa-f\\d]{24}$"
857
+ },
858
+ {
859
+ "type": "null"
860
+ }
861
+ ]
862
+ },
863
+ "$gte": {
864
+ "oneOf": [
865
+ {
866
+ "type": "string",
867
+ "pattern": "^[A-Fa-f\\d]{24}$"
868
+ },
869
+ {
870
+ "type": "null"
871
+ }
872
+ ]
873
+ },
874
+ "$lte": {
875
+ "oneOf": [
876
+ {
877
+ "type": "string",
878
+ "pattern": "^[A-Fa-f\\d]{24}$"
879
+ },
880
+ {
881
+ "type": "null"
882
+ }
883
+ ]
884
+ },
885
+ "$in": {
886
+ "type": "array",
887
+ "maxItems": 100,
888
+ "items": {
889
+ "type": "string",
890
+ "pattern": "^[A-Fa-f\\d]{24}$"
891
+ }
892
+ },
893
+ "$nin": {
894
+ "type": "array",
895
+ "maxItems": 100,
896
+ "items": {
897
+ "type": "string",
898
+ "pattern": "^[A-Fa-f\\d]{24}$"
899
+ }
900
+ }
901
+ },
902
+ "additionalProperties": false,
903
+ "minProperties": 1,
904
+ "maxProperties": 1
905
+ }
906
+ ]
907
+ },
908
+ "ancestorId": {
909
+ "oneOf": [
910
+ {
911
+ "oneOf": [
912
+ {
913
+ "type": "string",
914
+ "pattern": "^[A-Fa-f\\d]{24}$"
915
+ },
916
+ {
917
+ "type": "null"
918
+ }
919
+ ]
920
+ },
921
+ {
922
+ "type": "object",
923
+ "properties": {
924
+ "$eq": {
925
+ "oneOf": [
926
+ {
927
+ "type": "string",
928
+ "pattern": "^[A-Fa-f\\d]{24}$"
929
+ },
930
+ {
931
+ "type": "null"
932
+ }
933
+ ]
934
+ },
935
+ "$ne": {
936
+ "oneOf": [
937
+ {
938
+ "type": "string",
939
+ "pattern": "^[A-Fa-f\\d]{24}$"
940
+ },
941
+ {
942
+ "type": "null"
943
+ }
944
+ ]
945
+ },
946
+ "$gt": {
947
+ "oneOf": [
948
+ {
949
+ "type": "string",
950
+ "pattern": "^[A-Fa-f\\d]{24}$"
951
+ },
952
+ {
953
+ "type": "null"
954
+ }
955
+ ]
956
+ },
957
+ "$lt": {
958
+ "oneOf": [
959
+ {
960
+ "type": "string",
961
+ "pattern": "^[A-Fa-f\\d]{24}$"
962
+ },
963
+ {
964
+ "type": "null"
965
+ }
966
+ ]
967
+ },
968
+ "$gte": {
969
+ "oneOf": [
970
+ {
971
+ "type": "string",
972
+ "pattern": "^[A-Fa-f\\d]{24}$"
973
+ },
974
+ {
975
+ "type": "null"
976
+ }
977
+ ]
978
+ },
979
+ "$lte": {
980
+ "oneOf": [
981
+ {
982
+ "type": "string",
983
+ "pattern": "^[A-Fa-f\\d]{24}$"
984
+ },
985
+ {
986
+ "type": "null"
987
+ }
988
+ ]
989
+ },
990
+ "$in": {
991
+ "type": "array",
992
+ "maxItems": 100,
993
+ "items": {
994
+ "type": "string",
995
+ "pattern": "^[A-Fa-f\\d]{24}$"
996
+ }
997
+ },
998
+ "$nin": {
999
+ "type": "array",
1000
+ "maxItems": 100,
1001
+ "items": {
1002
+ "type": "string",
1003
+ "pattern": "^[A-Fa-f\\d]{24}$"
1004
+ }
1005
+ }
1006
+ },
1007
+ "additionalProperties": false,
1008
+ "minProperties": 1,
1009
+ "maxProperties": 1
1010
+ }
1011
+ ]
1012
+ },
1013
+ "attributeName": {
1014
+ "oneOf": [
1015
+ {
1016
+ "type": [
1017
+ "string",
1018
+ "number",
1019
+ "boolean",
1020
+ "null"
1021
+ ]
1022
+ },
1023
+ {
1024
+ "type": "object",
1025
+ "properties": {
1026
+ "$eq": {
1027
+ "type": [
1028
+ "string",
1029
+ "number",
1030
+ "boolean",
1031
+ "null"
1032
+ ]
1033
+ },
1034
+ "$ne": {
1035
+ "type": [
1036
+ "string",
1037
+ "number",
1038
+ "boolean",
1039
+ "null"
1040
+ ]
1041
+ },
1042
+ "$gt": {
1043
+ "type": [
1044
+ "string",
1045
+ "number",
1046
+ "boolean",
1047
+ "null"
1048
+ ]
1049
+ },
1050
+ "$lt": {
1051
+ "type": [
1052
+ "string",
1053
+ "number",
1054
+ "boolean",
1055
+ "null"
1056
+ ]
1057
+ },
1058
+ "$gte": {
1059
+ "type": [
1060
+ "string",
1061
+ "number",
1062
+ "boolean",
1063
+ "null"
1064
+ ]
1065
+ },
1066
+ "$lte": {
1067
+ "type": [
1068
+ "string",
1069
+ "number",
1070
+ "boolean",
1071
+ "null"
1072
+ ]
1073
+ },
1074
+ "$startsWith": {
1075
+ "type": "string",
1076
+ "minLength": 1
1077
+ },
1078
+ "$endsWith": {
1079
+ "type": "string",
1080
+ "minLength": 1
1081
+ },
1082
+ "$contains": {
1083
+ "type": "string",
1084
+ "minLength": 1
1085
+ },
1086
+ "$ci": {
1087
+ "type": "boolean"
1088
+ },
1089
+ "$in": {
1090
+ "type": "array",
1091
+ "maxItems": 100,
1092
+ "items": {
1093
+ "type": [
1094
+ "string",
1095
+ "number",
1096
+ "boolean"
1097
+ ]
1098
+ }
1099
+ },
1100
+ "$nin": {
1101
+ "type": "array",
1102
+ "maxItems": 100,
1103
+ "items": {
1104
+ "type": [
1105
+ "string",
1106
+ "number",
1107
+ "boolean"
1108
+ ]
1109
+ }
1110
+ }
1111
+ },
1112
+ "additionalProperties": false
1113
+ }
1114
+ ]
1115
+ },
1116
+ "experienceUserId": {
1117
+ "oneOf": [
1118
+ {
1119
+ "oneOf": [
1120
+ {
1121
+ "type": "string",
1122
+ "pattern": "^[A-Fa-f\\d]{24}$"
1123
+ },
1124
+ {
1125
+ "type": "null"
1126
+ }
1127
+ ]
1128
+ },
1129
+ {
1130
+ "type": "object",
1131
+ "properties": {
1132
+ "$eq": {
1133
+ "oneOf": [
1134
+ {
1135
+ "type": "string",
1136
+ "pattern": "^[A-Fa-f\\d]{24}$"
1137
+ },
1138
+ {
1139
+ "type": "null"
1140
+ }
1141
+ ]
1142
+ },
1143
+ "$ne": {
1144
+ "oneOf": [
1145
+ {
1146
+ "type": "string",
1147
+ "pattern": "^[A-Fa-f\\d]{24}$"
1148
+ },
1149
+ {
1150
+ "type": "null"
1151
+ }
1152
+ ]
1153
+ },
1154
+ "$gt": {
1155
+ "oneOf": [
1156
+ {
1157
+ "type": "string",
1158
+ "pattern": "^[A-Fa-f\\d]{24}$"
1159
+ },
1160
+ {
1161
+ "type": "null"
1162
+ }
1163
+ ]
1164
+ },
1165
+ "$lt": {
1166
+ "oneOf": [
1167
+ {
1168
+ "type": "string",
1169
+ "pattern": "^[A-Fa-f\\d]{24}$"
1170
+ },
1171
+ {
1172
+ "type": "null"
1173
+ }
1174
+ ]
1175
+ },
1176
+ "$gte": {
1177
+ "oneOf": [
1178
+ {
1179
+ "type": "string",
1180
+ "pattern": "^[A-Fa-f\\d]{24}$"
1181
+ },
1182
+ {
1183
+ "type": "null"
1184
+ }
1185
+ ]
1186
+ },
1187
+ "$lte": {
1188
+ "oneOf": [
1189
+ {
1190
+ "type": "string",
1191
+ "pattern": "^[A-Fa-f\\d]{24}$"
1192
+ },
1193
+ {
1194
+ "type": "null"
1195
+ }
1196
+ ]
1197
+ },
1198
+ "$in": {
1199
+ "type": "array",
1200
+ "maxItems": 100,
1201
+ "items": {
1202
+ "type": "string",
1203
+ "pattern": "^[A-Fa-f\\d]{24}$"
1204
+ }
1205
+ },
1206
+ "$nin": {
1207
+ "type": "array",
1208
+ "maxItems": 100,
1209
+ "items": {
1210
+ "type": "string",
1211
+ "pattern": "^[A-Fa-f\\d]{24}$"
1212
+ }
1213
+ }
1214
+ },
1215
+ "additionalProperties": false,
1216
+ "minProperties": 1,
1217
+ "maxProperties": 1
1218
+ }
1219
+ ]
1220
+ },
1221
+ "experienceGroupId": {
1222
+ "oneOf": [
1223
+ {
1224
+ "oneOf": [
1225
+ {
1226
+ "type": "string",
1227
+ "pattern": "^[A-Fa-f\\d]{24}$"
1228
+ },
1229
+ {
1230
+ "type": "null"
1231
+ }
1232
+ ]
1233
+ },
1234
+ {
1235
+ "type": "object",
1236
+ "properties": {
1237
+ "$eq": {
1238
+ "oneOf": [
1239
+ {
1240
+ "type": "string",
1241
+ "pattern": "^[A-Fa-f\\d]{24}$"
1242
+ },
1243
+ {
1244
+ "type": "null"
1245
+ }
1246
+ ]
1247
+ },
1248
+ "$ne": {
1249
+ "oneOf": [
1250
+ {
1251
+ "type": "string",
1252
+ "pattern": "^[A-Fa-f\\d]{24}$"
1253
+ },
1254
+ {
1255
+ "type": "null"
1256
+ }
1257
+ ]
1258
+ },
1259
+ "$gt": {
1260
+ "oneOf": [
1261
+ {
1262
+ "type": "string",
1263
+ "pattern": "^[A-Fa-f\\d]{24}$"
1264
+ },
1265
+ {
1266
+ "type": "null"
1267
+ }
1268
+ ]
1269
+ },
1270
+ "$lt": {
1271
+ "oneOf": [
1272
+ {
1273
+ "type": "string",
1274
+ "pattern": "^[A-Fa-f\\d]{24}$"
1275
+ },
1276
+ {
1277
+ "type": "null"
1278
+ }
1279
+ ]
1280
+ },
1281
+ "$gte": {
1282
+ "oneOf": [
1283
+ {
1284
+ "type": "string",
1285
+ "pattern": "^[A-Fa-f\\d]{24}$"
1286
+ },
1287
+ {
1288
+ "type": "null"
1289
+ }
1290
+ ]
1291
+ },
1292
+ "$lte": {
1293
+ "oneOf": [
1294
+ {
1295
+ "type": "string",
1296
+ "pattern": "^[A-Fa-f\\d]{24}$"
1297
+ },
1298
+ {
1299
+ "type": "null"
1300
+ }
1301
+ ]
1302
+ },
1303
+ "$in": {
1304
+ "type": "array",
1305
+ "maxItems": 100,
1306
+ "items": {
1307
+ "type": "string",
1308
+ "pattern": "^[A-Fa-f\\d]{24}$"
1309
+ }
1310
+ },
1311
+ "$nin": {
1312
+ "type": "array",
1313
+ "maxItems": 100,
1314
+ "items": {
1315
+ "type": "string",
1316
+ "pattern": "^[A-Fa-f\\d]{24}$"
1317
+ }
1318
+ }
1319
+ },
1320
+ "additionalProperties": false,
1321
+ "minProperties": 1,
1322
+ "maxProperties": 1
1323
+ }
1324
+ ]
1325
+ },
1326
+ "tags": {
1327
+ "oneOf": [
1328
+ {
1329
+ "oneOf": [
1330
+ {
1331
+ "type": "object",
1332
+ "properties": {
1333
+ "$tagKey": {
1334
+ "type": "string",
1335
+ "maxLength": 255
1336
+ },
1337
+ "$tagValue": {
1338
+ "type": "string",
1339
+ "maxLength": 255
1340
+ }
1341
+ },
1342
+ "additionalProperties": false,
1343
+ "minProperties": 1
1344
+ },
1345
+ {
1346
+ "type": "object",
1347
+ "patternProperties": {
1348
+ "^[0-9a-zA-Z_-]{1,255}": {
1349
+ "type": "string",
1350
+ "maxLength": 255
1351
+ }
1352
+ },
1353
+ "additionalProperties": false
1354
+ }
1355
+ ]
1356
+ },
1357
+ {
1358
+ "type": "object",
1359
+ "properties": {
1360
+ "$eq": {
1361
+ "oneOf": [
1362
+ {
1363
+ "type": "object",
1364
+ "properties": {
1365
+ "$tagKey": {
1366
+ "type": "string",
1367
+ "maxLength": 255
1368
+ },
1369
+ "$tagValue": {
1370
+ "type": "string",
1371
+ "maxLength": 255
1372
+ }
1373
+ },
1374
+ "additionalProperties": false,
1375
+ "minProperties": 1
1376
+ },
1377
+ {
1378
+ "type": "object",
1379
+ "patternProperties": {
1380
+ "^[0-9a-zA-Z_-]{1,255}": {
1381
+ "type": "string",
1382
+ "maxLength": 255
1383
+ }
1384
+ },
1385
+ "additionalProperties": false
1386
+ }
1387
+ ]
1388
+ }
1389
+ },
1390
+ "required": [
1391
+ "$eq"
1392
+ ],
1393
+ "additionalProperties": false
1394
+ },
1395
+ {
1396
+ "type": "object",
1397
+ "properties": {
1398
+ "$ne": {
1399
+ "oneOf": [
1400
+ {
1401
+ "type": "object",
1402
+ "properties": {
1403
+ "$tagKey": {
1404
+ "type": "string",
1405
+ "maxLength": 255
1406
+ },
1407
+ "$tagValue": {
1408
+ "type": "string",
1409
+ "maxLength": 255
1410
+ }
1411
+ },
1412
+ "additionalProperties": false,
1413
+ "minProperties": 1
1414
+ },
1415
+ {
1416
+ "type": "object",
1417
+ "patternProperties": {
1418
+ "^[0-9a-zA-Z_-]{1,255}": {
1419
+ "type": "string",
1420
+ "maxLength": 255
1421
+ }
1422
+ },
1423
+ "additionalProperties": false
1424
+ }
1425
+ ]
1426
+ }
1427
+ },
1428
+ "required": [
1429
+ "$ne"
1430
+ ],
1431
+ "additionalProperties": false
1432
+ }
1433
+ ]
1434
+ },
1435
+ "disconnectedAt": {
1436
+ "oneOf": [
1437
+ {
1438
+ "type": [
1439
+ "string",
1440
+ "number",
1441
+ "boolean",
1442
+ "null"
1443
+ ]
1444
+ },
1445
+ {
1446
+ "type": "object",
1447
+ "properties": {
1448
+ "$eq": {
1449
+ "type": [
1450
+ "string",
1451
+ "number",
1452
+ "boolean",
1453
+ "null"
1454
+ ]
1455
+ },
1456
+ "$ne": {
1457
+ "type": [
1458
+ "string",
1459
+ "number",
1460
+ "boolean",
1461
+ "null"
1462
+ ]
1463
+ },
1464
+ "$gt": {
1465
+ "type": [
1466
+ "string",
1467
+ "number",
1468
+ "boolean",
1469
+ "null"
1470
+ ]
1471
+ },
1472
+ "$lt": {
1473
+ "type": [
1474
+ "string",
1475
+ "number",
1476
+ "boolean",
1477
+ "null"
1478
+ ]
1479
+ },
1480
+ "$gte": {
1481
+ "type": [
1482
+ "string",
1483
+ "number",
1484
+ "boolean",
1485
+ "null"
1486
+ ]
1487
+ },
1488
+ "$lte": {
1489
+ "type": [
1490
+ "string",
1491
+ "number",
1492
+ "boolean",
1493
+ "null"
1494
+ ]
1495
+ },
1496
+ "$startsWith": {
1497
+ "type": "string",
1498
+ "minLength": 1
1499
+ },
1500
+ "$endsWith": {
1501
+ "type": "string",
1502
+ "minLength": 1
1503
+ },
1504
+ "$contains": {
1505
+ "type": "string",
1506
+ "minLength": 1
1507
+ },
1508
+ "$ci": {
1509
+ "type": "boolean"
1510
+ },
1511
+ "$in": {
1512
+ "type": "array",
1513
+ "maxItems": 100,
1514
+ "items": {
1515
+ "type": [
1516
+ "string",
1517
+ "number",
1518
+ "boolean"
1519
+ ]
1520
+ }
1521
+ },
1522
+ "$nin": {
1523
+ "type": "array",
1524
+ "maxItems": 100,
1525
+ "items": {
1526
+ "type": [
1527
+ "string",
1528
+ "number",
1529
+ "boolean"
1530
+ ]
1531
+ }
1532
+ }
1533
+ },
1534
+ "additionalProperties": false
1535
+ }
1536
+ ]
1537
+ },
1538
+ "connectedAt": {
1539
+ "oneOf": [
1540
+ {
1541
+ "type": [
1542
+ "string",
1543
+ "number",
1544
+ "boolean",
1545
+ "null"
1546
+ ]
1547
+ },
1548
+ {
1549
+ "type": "object",
1550
+ "properties": {
1551
+ "$eq": {
1552
+ "type": [
1553
+ "string",
1554
+ "number",
1555
+ "boolean",
1556
+ "null"
1557
+ ]
1558
+ },
1559
+ "$ne": {
1560
+ "type": [
1561
+ "string",
1562
+ "number",
1563
+ "boolean",
1564
+ "null"
1565
+ ]
1566
+ },
1567
+ "$gt": {
1568
+ "type": [
1569
+ "string",
1570
+ "number",
1571
+ "boolean",
1572
+ "null"
1573
+ ]
1574
+ },
1575
+ "$lt": {
1576
+ "type": [
1577
+ "string",
1578
+ "number",
1579
+ "boolean",
1580
+ "null"
1581
+ ]
1582
+ },
1583
+ "$gte": {
1584
+ "type": [
1585
+ "string",
1586
+ "number",
1587
+ "boolean",
1588
+ "null"
1589
+ ]
1590
+ },
1591
+ "$lte": {
1592
+ "type": [
1593
+ "string",
1594
+ "number",
1595
+ "boolean",
1596
+ "null"
1597
+ ]
1598
+ },
1599
+ "$startsWith": {
1600
+ "type": "string",
1601
+ "minLength": 1
1602
+ },
1603
+ "$endsWith": {
1604
+ "type": "string",
1605
+ "minLength": 1
1606
+ },
1607
+ "$contains": {
1608
+ "type": "string",
1609
+ "minLength": 1
1610
+ },
1611
+ "$ci": {
1612
+ "type": "boolean"
1613
+ },
1614
+ "$in": {
1615
+ "type": "array",
1616
+ "maxItems": 100,
1617
+ "items": {
1618
+ "type": [
1619
+ "string",
1620
+ "number",
1621
+ "boolean"
1622
+ ]
1623
+ }
1624
+ },
1625
+ "$nin": {
1626
+ "type": "array",
1627
+ "maxItems": 100,
1628
+ "items": {
1629
+ "type": [
1630
+ "string",
1631
+ "number",
1632
+ "boolean"
1633
+ ]
1634
+ }
1635
+ }
1636
+ },
1637
+ "additionalProperties": false
1638
+ }
1639
+ ]
1640
+ },
1641
+ "connectionStatus": {
1642
+ "oneOf": [
1643
+ {
1644
+ "type": [
1645
+ "string",
1646
+ "number",
1647
+ "boolean",
1648
+ "null"
1649
+ ]
1650
+ },
1651
+ {
1652
+ "type": "object",
1653
+ "properties": {
1654
+ "$eq": {
1655
+ "type": [
1656
+ "string",
1657
+ "number",
1658
+ "boolean",
1659
+ "null"
1660
+ ]
1661
+ },
1662
+ "$ne": {
1663
+ "type": [
1664
+ "string",
1665
+ "number",
1666
+ "boolean",
1667
+ "null"
1668
+ ]
1669
+ },
1670
+ "$gt": {
1671
+ "type": [
1672
+ "string",
1673
+ "number",
1674
+ "boolean",
1675
+ "null"
1676
+ ]
1677
+ },
1678
+ "$lt": {
1679
+ "type": [
1680
+ "string",
1681
+ "number",
1682
+ "boolean",
1683
+ "null"
1684
+ ]
1685
+ },
1686
+ "$gte": {
1687
+ "type": [
1688
+ "string",
1689
+ "number",
1690
+ "boolean",
1691
+ "null"
1692
+ ]
1693
+ },
1694
+ "$lte": {
1695
+ "type": [
1696
+ "string",
1697
+ "number",
1698
+ "boolean",
1699
+ "null"
1700
+ ]
1701
+ },
1702
+ "$startsWith": {
1703
+ "type": "string",
1704
+ "minLength": 1
1705
+ },
1706
+ "$endsWith": {
1707
+ "type": "string",
1708
+ "minLength": 1
1709
+ },
1710
+ "$contains": {
1711
+ "type": "string",
1712
+ "minLength": 1
1713
+ },
1714
+ "$ci": {
1715
+ "type": "boolean"
1716
+ },
1717
+ "$in": {
1718
+ "type": "array",
1719
+ "maxItems": 100,
1720
+ "items": {
1721
+ "type": [
1722
+ "string",
1723
+ "number",
1724
+ "boolean"
1725
+ ]
1726
+ }
1727
+ },
1728
+ "$nin": {
1729
+ "type": "array",
1730
+ "maxItems": 100,
1731
+ "items": {
1732
+ "type": [
1733
+ "string",
1734
+ "number",
1735
+ "boolean"
1736
+ ]
1737
+ }
1738
+ }
1739
+ },
1740
+ "additionalProperties": false
1741
+ }
1742
+ ]
1743
+ }
1744
+ },
1745
+ "additionalProperties": false
154
1746
  },
155
1747
  "limit": {
156
1748
  "type": "number"