losant_rest 1.17.1 → 1.17.2

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