losant_rest 1.10.1 → 1.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/_schemas.md +26941 -15658
  4. data/docs/application.md +42 -0
  5. data/docs/applicationApiTokens.md +2 -2
  6. data/docs/applicationCertificateAuthorities.md +1 -1
  7. data/docs/applicationCertificates.md +1 -1
  8. data/docs/applicationKeys.md +1 -1
  9. data/docs/applicationTemplate.md +46 -0
  10. data/docs/applicationTemplates.md +77 -2
  11. data/docs/applications.md +1 -1
  12. data/docs/auditLogs.md +1 -1
  13. data/docs/dashboards.md +1 -1
  14. data/docs/dataTables.md +1 -1
  15. data/docs/device.md +6 -3
  16. data/docs/deviceRecipes.md +1 -1
  17. data/docs/devices.md +217 -5
  18. data/docs/edgeDeployments.md +1 -1
  19. data/docs/events.md +1 -1
  20. data/docs/experienceEndpoints.md +1 -0
  21. data/docs/experienceGroups.md +1 -1
  22. data/docs/experienceUsers.md +1 -1
  23. data/docs/experienceVersions.md +1 -1
  24. data/docs/experienceViews.md +1 -1
  25. data/docs/file.md +4 -4
  26. data/docs/files.md +1 -1
  27. data/docs/flow.md +94 -1
  28. data/docs/flowVersion.md +96 -1
  29. data/docs/flowVersions.md +2 -1
  30. data/docs/flows.md +4 -2
  31. data/docs/integrations.md +1 -1
  32. data/docs/me.md +0 -36
  33. data/docs/notebooks.md +1 -1
  34. data/docs/orgs.md +1 -1
  35. data/docs/webhooks.md +1 -1
  36. data/lib/losant_rest.rb +1 -0
  37. data/lib/losant_rest/application.rb +48 -0
  38. data/lib/losant_rest/application_api_tokens.rb +1 -1
  39. data/lib/losant_rest/application_template.rb +79 -0
  40. data/lib/losant_rest/application_templates.rb +89 -1
  41. data/lib/losant_rest/client.rb +6 -2
  42. data/lib/losant_rest/device.rb +9 -3
  43. data/lib/losant_rest/devices.rb +255 -3
  44. data/lib/losant_rest/experience_endpoints.rb +2 -0
  45. data/lib/losant_rest/file.rb +3 -3
  46. data/lib/losant_rest/flow.rb +115 -1
  47. data/lib/losant_rest/flow_version.rb +115 -1
  48. data/lib/losant_rest/flow_versions.rb +3 -0
  49. data/lib/losant_rest/flows.rb +6 -0
  50. data/lib/losant_rest/me.rb +0 -41
  51. data/lib/losant_rest/version.rb +1 -1
  52. data/schemas/advancedDeviceQuery.json +110 -0
  53. data/schemas/advancedEventQuery.json +198 -0
  54. data/schemas/advancedFlowByVersionQuery.json +665 -0
  55. data/schemas/advancedFlowQuery.json +665 -0
  56. data/schemas/advancedFlowVersionQuery.json +707 -0
  57. data/schemas/advancedQuery.json +22 -0
  58. data/schemas/application.json +8 -0
  59. data/schemas/applicationApiTokenPost.json +11 -1
  60. data/schemas/applicationApplyTemplatePatch.json +19 -0
  61. data/schemas/applicationCreationByTemplateResult.json +8 -0
  62. data/schemas/applicationPost.json +8 -0
  63. data/schemas/applicationTemplate.json +20 -0
  64. data/schemas/applicationTemplateCategories.json +43 -0
  65. data/schemas/applicationTemplateCategory.json +23 -0
  66. data/schemas/applicationTemplates.json +32 -0
  67. data/schemas/applications.json +8 -0
  68. data/schemas/attributeNamesResponse.json +14 -0
  69. data/schemas/authedUser.json +3 -0
  70. data/schemas/changePassword.json +2 -2
  71. data/schemas/dashboard.json +175 -25
  72. data/schemas/dashboardPatch.json +175 -25
  73. data/schemas/dashboardPost.json +175 -25
  74. data/schemas/dashboards.json +175 -25
  75. data/schemas/dataExport.json +142 -0
  76. data/schemas/dataTableRowsExport.json +22 -0
  77. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  78. data/schemas/deviceClassFilter.json +1 -2
  79. data/schemas/devicesDataRemoved.json +12 -0
  80. data/schemas/devicesDeletePost.json +1034 -0
  81. data/schemas/devicesDeleted.json +12 -0
  82. data/schemas/devicesExportPost.json +1035 -0
  83. data/schemas/devicesPatch.json +1757 -4
  84. data/schemas/devicesRemoveDataPost.json +1056 -0
  85. data/schemas/devicesUpdated.json +18 -0
  86. data/schemas/eventPost.json +22 -0
  87. data/schemas/eventsExport.json +198 -0
  88. data/schemas/experienceDomain.json +1 -1
  89. data/schemas/experienceDomainPatch.json +1 -1
  90. data/schemas/experienceDomainPost.json +1 -1
  91. data/schemas/experienceDomains.json +1 -1
  92. data/schemas/experienceLinkedResources.json +96 -0
  93. data/schemas/experienceVersion.json +10 -1
  94. data/schemas/experienceVersionPatch.json +9 -0
  95. data/schemas/experienceVersions.json +10 -1
  96. data/schemas/flow.json +32 -0
  97. data/schemas/flowErrors.json +87 -0
  98. data/schemas/flowPatch.json +32 -0
  99. data/schemas/flowPost.json +32 -0
  100. data/schemas/flowStats.json +54 -0
  101. data/schemas/flowVersion.json +64 -0
  102. data/schemas/flowVersionPost.json +32 -0
  103. data/schemas/flowVersions.json +64 -0
  104. data/schemas/flows.json +32 -0
  105. data/schemas/flowsImportPost.json +64 -0
  106. data/schemas/flowsImportResult.json +96 -0
  107. data/schemas/githubLogin.json +17 -4
  108. data/schemas/integration.json +3 -0
  109. data/schemas/integrationPatch.json +3 -0
  110. data/schemas/integrationPost.json +3 -0
  111. data/schemas/integrations.json +3 -0
  112. data/schemas/me.json +3 -3
  113. data/schemas/mePatch.json +2 -2
  114. data/schemas/multiDeviceCommand.json +1019 -0
  115. data/schemas/notebook.json +96 -0
  116. data/schemas/notebookExecutionLogs.json +7 -0
  117. data/schemas/notebookPatch.json +96 -0
  118. data/schemas/notebookPost.json +96 -0
  119. data/schemas/notebooks.json +96 -0
  120. data/schemas/org.json +1 -1
  121. data/schemas/orgInviteInfo.json +3 -0
  122. data/schemas/orgInvitePost.json +3 -0
  123. data/schemas/orgInvites.json +3 -0
  124. data/schemas/orgPatch.json +1 -1
  125. data/schemas/orgs.json +1 -1
  126. data/schemas/passwordResetFinish.json +2 -2
  127. data/schemas/samlResponse.json +1 -1
  128. data/schemas/tagKeysResponse.json +14 -0
  129. data/schemas/tagValuesResponse.json +19 -0
  130. data/schemas/templateKeywords.json +14 -0
  131. data/schemas/timeSeriesData.json +12 -2
  132. data/schemas/timeSeriesQuery.json +94 -14
  133. data/schemas/userCredentials.json +15 -3
  134. data/schemas/userPost.json +23 -7
  135. metadata +27 -6
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "removed": {
6
+ "type": "number"
7
+ },
8
+ "failed": {
9
+ "type": "number"
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,1035 @@
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
+ },
1031
+ "additionalProperties": false
1032
+ }
1033
+ },
1034
+ "additionalProperties": false
1035
+ }