losant_rest 1.10.1 → 1.10.2

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