losant_rest 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +139101 -66992
  3. data/docs/application.md +6 -6
  4. data/docs/applicationCertificates.md +3 -2
  5. data/docs/applicationDashboard.md +1 -1
  6. data/docs/applications.md +1 -1
  7. data/docs/auth.md +1 -1
  8. data/docs/dashboard.md +1 -1
  9. data/docs/dashboards.md +1 -0
  10. data/docs/dataTableRow.md +1 -1
  11. data/docs/dataTableRows.md +3 -3
  12. data/docs/device.md +1 -1
  13. data/docs/edgeDeployments.md +3 -3
  14. data/docs/embeddedDeployments.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/file.md +4 -4
  17. data/docs/files.md +1 -1
  18. data/docs/flowVersions.md +1 -1
  19. data/docs/instanceApiTokens.md +1 -1
  20. data/docs/instanceMember.md +1 -1
  21. data/docs/instanceOrg.md +1 -1
  22. data/docs/instanceOrgInvite.md +2 -2
  23. data/docs/instanceOrgInvites.md +1 -1
  24. data/docs/instanceOrgMembers.md +2 -1
  25. data/docs/instanceOrgs.md +1 -1
  26. data/docs/me.md +1 -1
  27. data/docs/notebook.md +1 -1
  28. data/docs/org.md +1 -1
  29. data/docs/privateFile.md +4 -4
  30. data/docs/privateFiles.md +1 -1
  31. data/docs/resourceJob.md +2 -2
  32. data/docs/userApiTokens.md +2 -2
  33. data/lib/platform_rest/application.rb +1 -1
  34. data/lib/platform_rest/application_certificates.rb +5 -2
  35. data/lib/platform_rest/application_dashboard.rb +1 -1
  36. data/lib/platform_rest/client.rb +2 -2
  37. data/lib/platform_rest/dashboard.rb +1 -1
  38. data/lib/platform_rest/dashboards.rb +1 -0
  39. data/lib/platform_rest/data_table_row.rb +1 -1
  40. data/lib/platform_rest/data_table_rows.rb +3 -3
  41. data/lib/platform_rest/device.rb +1 -1
  42. data/lib/platform_rest/edge_deployments.rb +3 -3
  43. data/lib/platform_rest/embedded_deployments.rb +3 -3
  44. data/lib/platform_rest/experience.rb +1 -1
  45. data/lib/platform_rest/file.rb +2 -2
  46. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  47. data/lib/platform_rest/instance_member.rb +1 -1
  48. data/lib/platform_rest/instance_org.rb +1 -1
  49. data/lib/platform_rest/instance_org_invite.rb +2 -2
  50. data/lib/platform_rest/instance_org_invites.rb +2 -2
  51. data/lib/platform_rest/instance_org_members.rb +2 -1
  52. data/lib/platform_rest/instance_orgs.rb +1 -1
  53. data/lib/platform_rest/me.rb +1 -1
  54. data/lib/platform_rest/notebook.rb +1 -1
  55. data/lib/platform_rest/org.rb +1 -1
  56. data/lib/platform_rest/private_file.rb +2 -2
  57. data/lib/platform_rest/resource_job.rb +2 -2
  58. data/lib/platform_rest/user_api_tokens.rb +2 -2
  59. data/lib/platform_rest/version.rb +1 -1
  60. data/schemas/advancedApplicationCertQuery.json +1885 -0
  61. data/schemas/advancedApplicationKeyQuery.json +763 -763
  62. data/schemas/apiToken.json +10 -1
  63. data/schemas/apiTokens.json +20 -2
  64. data/schemas/application.json +15 -2
  65. data/schemas/applicationCertificate.json +90 -58
  66. data/schemas/applicationCertificateAuthorities.json +24 -0
  67. data/schemas/applicationCertificateAuthority.json +24 -0
  68. data/schemas/applicationCertificatePatch.json +32 -4
  69. data/schemas/applicationCertificatePost.json +28 -30
  70. data/schemas/applicationCertificates.json +90 -58
  71. data/schemas/applicationCreationByTemplateResult.json +15 -2
  72. data/schemas/applicationDashboardPost.json +179 -128
  73. data/schemas/applicationImportExecutions.json +3 -5
  74. data/schemas/applicationImportResult.json +674 -0
  75. data/schemas/applicationJobLog.json +129 -123
  76. data/schemas/applicationJobLogs.json +129 -123
  77. data/schemas/applicationKey.json +41 -41
  78. data/schemas/applicationKeyPatch.json +4 -4
  79. data/schemas/applicationKeyPost.json +36 -29
  80. data/schemas/applicationKeys.json +41 -41
  81. data/schemas/applicationSearchResult.json +10 -10
  82. data/schemas/applicationTemplates.json +9 -2
  83. data/schemas/applications.json +15 -2
  84. data/schemas/auditLog.json +2 -6
  85. data/schemas/auditLogs.json +2 -6
  86. data/schemas/authedDevice.json +3 -0
  87. data/schemas/credential.json +7 -0
  88. data/schemas/credentialLinkedResources.json +19724 -344
  89. data/schemas/credentialPatch.json +3 -0
  90. data/schemas/credentialPost.json +3 -0
  91. data/schemas/credentials.json +7 -0
  92. data/schemas/dashboard.json +199 -128
  93. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  94. data/schemas/dashboardPatch.json +179 -128
  95. data/schemas/dashboardPost.json +179 -128
  96. data/schemas/dashboardUpdateEventsResult.json +266 -0
  97. data/schemas/dashboards.json +199 -128
  98. data/schemas/dataTable.json +11 -0
  99. data/schemas/dataTableRowPatch.json +16 -0
  100. data/schemas/dataTableRowPost.json +39 -0
  101. data/schemas/dataTableRowPostResult.json +54 -0
  102. data/schemas/dataTables.json +11 -0
  103. data/schemas/device.json +259 -107
  104. data/schemas/deviceConnectionStatus.json +4 -0
  105. data/schemas/deviceLog.json +3 -0
  106. data/schemas/deviceRecipe.json +259 -108
  107. data/schemas/deviceRecipes.json +259 -108
  108. data/schemas/devices.json +287 -116
  109. data/schemas/edgeDeploymentRelease.json +4252 -39
  110. data/schemas/edgeDeployments.json +28 -0
  111. data/schemas/embeddedDeploymentRelease.json +2073 -0
  112. data/schemas/embeddedDeployments.json +25 -0
  113. data/schemas/error.json +14 -0
  114. data/schemas/event.json +4 -1
  115. data/schemas/eventPlusNewCount.json +4 -1
  116. data/schemas/events.json +4 -1
  117. data/schemas/experienceDomains.json +19 -0
  118. data/schemas/experienceEndpoint.json +19 -0
  119. data/schemas/experienceEndpoints.json +24 -0
  120. data/schemas/experienceLinkedResources.json +19728 -313
  121. data/schemas/experienceSlugs.json +19 -0
  122. data/schemas/experienceUsers.json +16 -2
  123. data/schemas/experienceVersions.json +25 -0
  124. data/schemas/experienceView.json +5 -0
  125. data/schemas/experienceViews.json +10 -0
  126. data/schemas/fileUploadPostResponse.json +92 -103
  127. data/schemas/files.json +5 -1
  128. data/schemas/flow.json +211 -46
  129. data/schemas/flowPatch.json +199 -46
  130. data/schemas/flowPost.json +199 -46
  131. data/schemas/flowStorageMetadata.json +2 -2
  132. data/schemas/flowVersion.json +450 -101
  133. data/schemas/flowVersionPost.json +199 -46
  134. data/schemas/flowVersions.json +9903 -113
  135. data/schemas/flows.json +9637 -46
  136. data/schemas/flowsImportPost.json +398 -92
  137. data/schemas/flowsImportResult.json +661 -147
  138. data/schemas/historicalSummaries.json +3 -2
  139. data/schemas/historicalSummary.json +3 -2
  140. data/schemas/instanceAuditLog.json +2 -6
  141. data/schemas/instanceAuditLogs.json +90 -1
  142. data/schemas/instanceCustomNode.json +41 -2
  143. data/schemas/instanceCustomNodePatch.json +59 -6
  144. data/schemas/instanceCustomNodePost.json +59 -6
  145. data/schemas/instanceCustomNodes.json +41 -2
  146. data/schemas/instanceOrg.json +4 -1
  147. data/schemas/instanceOrgInvite.json +102 -0
  148. data/schemas/instanceOrgInviteSent.json +12 -0
  149. data/schemas/instanceOrgInvites.json +145 -0
  150. data/schemas/instanceOrgMember.json +52 -0
  151. data/schemas/instanceOrgMembers.json +105 -1
  152. data/schemas/instanceOrgPost.json +1 -1
  153. data/schemas/instanceOrgs.json +5 -2
  154. data/schemas/instanceSandbox.json +5 -1
  155. data/schemas/instanceSandboxes.json +9 -1
  156. data/schemas/integration.json +38 -39
  157. data/schemas/integrationPatch.json +8 -8
  158. data/schemas/integrationPost.json +8 -8
  159. data/schemas/integrations.json +38 -39
  160. data/schemas/jobEnqueuedResult.json +1 -1
  161. data/schemas/me.json +685 -88
  162. data/schemas/notebook.json +33 -21
  163. data/schemas/notebookExecutionLogs.json +20 -0
  164. data/schemas/notebookMinuteCounts.json +1 -1
  165. data/schemas/notebookPatch.json +29 -21
  166. data/schemas/notebookPost.json +29 -21
  167. data/schemas/notebooks.json +33 -21
  168. data/schemas/notificationRule.json +4 -0
  169. data/schemas/notificationRules.json +8 -0
  170. data/schemas/org.json +14 -1
  171. data/schemas/orgInvites.json +77 -82
  172. data/schemas/orgInvitesUser.json +44 -47
  173. data/schemas/orgs.json +14 -1
  174. data/schemas/paletteResponse.json +372 -364
  175. data/schemas/periodSummaries.json +1 -1
  176. data/schemas/recentItemList.json +226 -27
  177. data/schemas/resourceJob.json +33 -9
  178. data/schemas/resourceJobExecutionLogs.json +34 -20
  179. data/schemas/resourceJobExecutionOptions.json +1 -1
  180. data/schemas/resourceJobPatch.json +9 -9
  181. data/schemas/resourceJobPost.json +9 -9
  182. data/schemas/resourceJobs.json +33 -9
  183. data/schemas/tagValuesResponse.json +1 -2
  184. data/schemas/templateKeywords.json +1 -0
  185. data/schemas/timeSeriesData.json +36 -4
  186. data/schemas/userOauthToken.json +4 -1
  187. data/schemas/userOauthTokenPost.json +1 -1
  188. data/schemas/userOauthTokens.json +4 -1
  189. data/schemas/validateContextError.json +71 -24
  190. data/schemas/validateContextSuccess.json +71 -24
  191. metadata +10 -1
@@ -1,50 +1,4263 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "flowId": {
6
- "type": "string",
7
- "pattern": "^[A-Fa-f\\d]{24}$"
8
- },
9
- "version": {
10
- "type": [
11
- "string",
12
- "null"
13
- ],
14
- "minLength": 1,
15
- "maxLength": 255
16
- },
17
- "deviceIds": {
18
- "type": "array",
19
- "items": {
20
- "type": "string",
21
- "pattern": "^[A-Fa-f\\d]{24}$"
3
+ "oneOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "deployments": {
8
+ "type": "array",
9
+ "items": {
10
+ "type": "object",
11
+ "properties": {
12
+ "flowId": {
13
+ "type": "string",
14
+ "pattern": "^[A-Fa-f\\d]{24}$"
15
+ },
16
+ "version": {
17
+ "type": [
18
+ "string",
19
+ "null"
20
+ ],
21
+ "minLength": 1,
22
+ "maxLength": 255
23
+ }
24
+ },
25
+ "required": [
26
+ "flowId",
27
+ "version"
28
+ ],
29
+ "additionalProperties": false
30
+ },
31
+ "minItems": 1,
32
+ "maxItems": 25
33
+ },
34
+ "deviceIds": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "string",
38
+ "pattern": "^[A-Fa-f\\d]{24}$"
39
+ },
40
+ "maxItems": 1000
41
+ },
42
+ "deviceTags": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "object",
46
+ "properties": {
47
+ "key": {
48
+ "type": "string",
49
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
50
+ },
51
+ "value": {
52
+ "type": "string",
53
+ "minLength": 1,
54
+ "maxLength": 255
55
+ }
56
+ },
57
+ "additionalProperties": false
58
+ },
59
+ "maxItems": 100
60
+ },
61
+ "deviceQuery": {
62
+ "title": "Advanced Device Query",
63
+ "description": "Schema for advanced device queries",
64
+ "type": "object",
65
+ "properties": {
66
+ "$and": {
67
+ "type": "array",
68
+ "items": {
69
+ "$ref": "#/definitions/advancedDeviceQuery"
70
+ },
71
+ "maxItems": 100
72
+ },
73
+ "$or": {
74
+ "type": "array",
75
+ "items": {
76
+ "$ref": "#/definitions/advancedDeviceQuery"
77
+ },
78
+ "maxItems": 100
79
+ },
80
+ "$nor": {
81
+ "type": "array",
82
+ "items": {
83
+ "$ref": "#/definitions/advancedDeviceQuery"
84
+ },
85
+ "maxItems": 100
86
+ },
87
+ "id": {
88
+ "oneOf": [
89
+ {
90
+ "oneOf": [
91
+ {
92
+ "type": "string",
93
+ "pattern": "^[A-Fa-f\\d]{24}$"
94
+ },
95
+ {
96
+ "type": "null"
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ "type": "object",
102
+ "properties": {
103
+ "$eq": {
104
+ "oneOf": [
105
+ {
106
+ "type": "string",
107
+ "pattern": "^[A-Fa-f\\d]{24}$"
108
+ },
109
+ {
110
+ "type": "null"
111
+ }
112
+ ]
113
+ },
114
+ "$ne": {
115
+ "oneOf": [
116
+ {
117
+ "type": "string",
118
+ "pattern": "^[A-Fa-f\\d]{24}$"
119
+ },
120
+ {
121
+ "type": "null"
122
+ }
123
+ ]
124
+ },
125
+ "$gt": {
126
+ "oneOf": [
127
+ {
128
+ "type": "string",
129
+ "pattern": "^[A-Fa-f\\d]{24}$"
130
+ },
131
+ {
132
+ "type": "null"
133
+ }
134
+ ]
135
+ },
136
+ "$lt": {
137
+ "oneOf": [
138
+ {
139
+ "type": "string",
140
+ "pattern": "^[A-Fa-f\\d]{24}$"
141
+ },
142
+ {
143
+ "type": "null"
144
+ }
145
+ ]
146
+ },
147
+ "$gte": {
148
+ "oneOf": [
149
+ {
150
+ "type": "string",
151
+ "pattern": "^[A-Fa-f\\d]{24}$"
152
+ },
153
+ {
154
+ "type": "null"
155
+ }
156
+ ]
157
+ },
158
+ "$lte": {
159
+ "oneOf": [
160
+ {
161
+ "type": "string",
162
+ "pattern": "^[A-Fa-f\\d]{24}$"
163
+ },
164
+ {
165
+ "type": "null"
166
+ }
167
+ ]
168
+ },
169
+ "$in": {
170
+ "type": "array",
171
+ "maxItems": 100,
172
+ "items": {
173
+ "type": "string",
174
+ "pattern": "^[A-Fa-f\\d]{24}$"
175
+ }
176
+ },
177
+ "$nin": {
178
+ "type": "array",
179
+ "maxItems": 100,
180
+ "items": {
181
+ "type": "string",
182
+ "pattern": "^[A-Fa-f\\d]{24}$"
183
+ }
184
+ }
185
+ },
186
+ "additionalProperties": false,
187
+ "minProperties": 1,
188
+ "maxProperties": 1
189
+ }
190
+ ]
191
+ },
192
+ "creationDate": {
193
+ "oneOf": [
194
+ {
195
+ "type": [
196
+ "string",
197
+ "number",
198
+ "boolean",
199
+ "null"
200
+ ]
201
+ },
202
+ {
203
+ "type": "object",
204
+ "properties": {
205
+ "$eq": {
206
+ "type": [
207
+ "string",
208
+ "number",
209
+ "boolean",
210
+ "null"
211
+ ]
212
+ },
213
+ "$ne": {
214
+ "type": [
215
+ "string",
216
+ "number",
217
+ "boolean",
218
+ "null"
219
+ ]
220
+ },
221
+ "$gt": {
222
+ "type": [
223
+ "string",
224
+ "number",
225
+ "boolean",
226
+ "null"
227
+ ]
228
+ },
229
+ "$lt": {
230
+ "type": [
231
+ "string",
232
+ "number",
233
+ "boolean",
234
+ "null"
235
+ ]
236
+ },
237
+ "$gte": {
238
+ "type": [
239
+ "string",
240
+ "number",
241
+ "boolean",
242
+ "null"
243
+ ]
244
+ },
245
+ "$lte": {
246
+ "type": [
247
+ "string",
248
+ "number",
249
+ "boolean",
250
+ "null"
251
+ ]
252
+ },
253
+ "$startsWith": {
254
+ "type": "string",
255
+ "minLength": 1
256
+ },
257
+ "$endsWith": {
258
+ "type": "string",
259
+ "minLength": 1
260
+ },
261
+ "$contains": {
262
+ "type": "string",
263
+ "minLength": 1
264
+ },
265
+ "$ci": {
266
+ "type": "boolean"
267
+ },
268
+ "$in": {
269
+ "type": "array",
270
+ "maxItems": 100,
271
+ "items": {
272
+ "type": [
273
+ "string",
274
+ "number",
275
+ "boolean"
276
+ ]
277
+ }
278
+ },
279
+ "$nin": {
280
+ "type": "array",
281
+ "maxItems": 100,
282
+ "items": {
283
+ "type": [
284
+ "string",
285
+ "number",
286
+ "boolean"
287
+ ]
288
+ }
289
+ }
290
+ },
291
+ "additionalProperties": false
292
+ }
293
+ ]
294
+ },
295
+ "lastUpdated": {
296
+ "oneOf": [
297
+ {
298
+ "type": [
299
+ "string",
300
+ "number",
301
+ "boolean",
302
+ "null"
303
+ ]
304
+ },
305
+ {
306
+ "type": "object",
307
+ "properties": {
308
+ "$eq": {
309
+ "type": [
310
+ "string",
311
+ "number",
312
+ "boolean",
313
+ "null"
314
+ ]
315
+ },
316
+ "$ne": {
317
+ "type": [
318
+ "string",
319
+ "number",
320
+ "boolean",
321
+ "null"
322
+ ]
323
+ },
324
+ "$gt": {
325
+ "type": [
326
+ "string",
327
+ "number",
328
+ "boolean",
329
+ "null"
330
+ ]
331
+ },
332
+ "$lt": {
333
+ "type": [
334
+ "string",
335
+ "number",
336
+ "boolean",
337
+ "null"
338
+ ]
339
+ },
340
+ "$gte": {
341
+ "type": [
342
+ "string",
343
+ "number",
344
+ "boolean",
345
+ "null"
346
+ ]
347
+ },
348
+ "$lte": {
349
+ "type": [
350
+ "string",
351
+ "number",
352
+ "boolean",
353
+ "null"
354
+ ]
355
+ },
356
+ "$startsWith": {
357
+ "type": "string",
358
+ "minLength": 1
359
+ },
360
+ "$endsWith": {
361
+ "type": "string",
362
+ "minLength": 1
363
+ },
364
+ "$contains": {
365
+ "type": "string",
366
+ "minLength": 1
367
+ },
368
+ "$ci": {
369
+ "type": "boolean"
370
+ },
371
+ "$in": {
372
+ "type": "array",
373
+ "maxItems": 100,
374
+ "items": {
375
+ "type": [
376
+ "string",
377
+ "number",
378
+ "boolean"
379
+ ]
380
+ }
381
+ },
382
+ "$nin": {
383
+ "type": "array",
384
+ "maxItems": 100,
385
+ "items": {
386
+ "type": [
387
+ "string",
388
+ "number",
389
+ "boolean"
390
+ ]
391
+ }
392
+ }
393
+ },
394
+ "additionalProperties": false
395
+ }
396
+ ]
397
+ },
398
+ "deletedAt": {
399
+ "oneOf": [
400
+ {
401
+ "type": [
402
+ "string",
403
+ "number",
404
+ "boolean",
405
+ "null"
406
+ ]
407
+ },
408
+ {
409
+ "type": "object",
410
+ "properties": {
411
+ "$eq": {
412
+ "type": [
413
+ "string",
414
+ "number",
415
+ "boolean",
416
+ "null"
417
+ ]
418
+ },
419
+ "$ne": {
420
+ "type": [
421
+ "string",
422
+ "number",
423
+ "boolean",
424
+ "null"
425
+ ]
426
+ },
427
+ "$gt": {
428
+ "type": [
429
+ "string",
430
+ "number",
431
+ "boolean",
432
+ "null"
433
+ ]
434
+ },
435
+ "$lt": {
436
+ "type": [
437
+ "string",
438
+ "number",
439
+ "boolean",
440
+ "null"
441
+ ]
442
+ },
443
+ "$gte": {
444
+ "type": [
445
+ "string",
446
+ "number",
447
+ "boolean",
448
+ "null"
449
+ ]
450
+ },
451
+ "$lte": {
452
+ "type": [
453
+ "string",
454
+ "number",
455
+ "boolean",
456
+ "null"
457
+ ]
458
+ },
459
+ "$startsWith": {
460
+ "type": "string",
461
+ "minLength": 1
462
+ },
463
+ "$endsWith": {
464
+ "type": "string",
465
+ "minLength": 1
466
+ },
467
+ "$contains": {
468
+ "type": "string",
469
+ "minLength": 1
470
+ },
471
+ "$ci": {
472
+ "type": "boolean"
473
+ },
474
+ "$in": {
475
+ "type": "array",
476
+ "maxItems": 100,
477
+ "items": {
478
+ "type": [
479
+ "string",
480
+ "number",
481
+ "boolean"
482
+ ]
483
+ }
484
+ },
485
+ "$nin": {
486
+ "type": "array",
487
+ "maxItems": 100,
488
+ "items": {
489
+ "type": [
490
+ "string",
491
+ "number",
492
+ "boolean"
493
+ ]
494
+ }
495
+ }
496
+ },
497
+ "additionalProperties": false
498
+ }
499
+ ]
500
+ },
501
+ "name": {
502
+ "oneOf": [
503
+ {
504
+ "type": [
505
+ "string",
506
+ "number",
507
+ "boolean",
508
+ "null"
509
+ ]
510
+ },
511
+ {
512
+ "type": "object",
513
+ "properties": {
514
+ "$eq": {
515
+ "type": [
516
+ "string",
517
+ "number",
518
+ "boolean",
519
+ "null"
520
+ ]
521
+ },
522
+ "$ne": {
523
+ "type": [
524
+ "string",
525
+ "number",
526
+ "boolean",
527
+ "null"
528
+ ]
529
+ },
530
+ "$gt": {
531
+ "type": [
532
+ "string",
533
+ "number",
534
+ "boolean",
535
+ "null"
536
+ ]
537
+ },
538
+ "$lt": {
539
+ "type": [
540
+ "string",
541
+ "number",
542
+ "boolean",
543
+ "null"
544
+ ]
545
+ },
546
+ "$gte": {
547
+ "type": [
548
+ "string",
549
+ "number",
550
+ "boolean",
551
+ "null"
552
+ ]
553
+ },
554
+ "$lte": {
555
+ "type": [
556
+ "string",
557
+ "number",
558
+ "boolean",
559
+ "null"
560
+ ]
561
+ },
562
+ "$startsWith": {
563
+ "type": "string",
564
+ "minLength": 1
565
+ },
566
+ "$endsWith": {
567
+ "type": "string",
568
+ "minLength": 1
569
+ },
570
+ "$contains": {
571
+ "type": "string",
572
+ "minLength": 1
573
+ },
574
+ "$ci": {
575
+ "type": "boolean"
576
+ },
577
+ "$in": {
578
+ "type": "array",
579
+ "maxItems": 100,
580
+ "items": {
581
+ "type": [
582
+ "string",
583
+ "number",
584
+ "boolean"
585
+ ]
586
+ }
587
+ },
588
+ "$nin": {
589
+ "type": "array",
590
+ "maxItems": 100,
591
+ "items": {
592
+ "type": [
593
+ "string",
594
+ "number",
595
+ "boolean"
596
+ ]
597
+ }
598
+ }
599
+ },
600
+ "additionalProperties": false
601
+ }
602
+ ]
603
+ },
604
+ "deviceClass": {
605
+ "oneOf": [
606
+ {
607
+ "type": [
608
+ "string",
609
+ "number",
610
+ "boolean",
611
+ "null"
612
+ ]
613
+ },
614
+ {
615
+ "type": "object",
616
+ "properties": {
617
+ "$eq": {
618
+ "type": [
619
+ "string",
620
+ "number",
621
+ "boolean",
622
+ "null"
623
+ ]
624
+ },
625
+ "$ne": {
626
+ "type": [
627
+ "string",
628
+ "number",
629
+ "boolean",
630
+ "null"
631
+ ]
632
+ },
633
+ "$gt": {
634
+ "type": [
635
+ "string",
636
+ "number",
637
+ "boolean",
638
+ "null"
639
+ ]
640
+ },
641
+ "$lt": {
642
+ "type": [
643
+ "string",
644
+ "number",
645
+ "boolean",
646
+ "null"
647
+ ]
648
+ },
649
+ "$gte": {
650
+ "type": [
651
+ "string",
652
+ "number",
653
+ "boolean",
654
+ "null"
655
+ ]
656
+ },
657
+ "$lte": {
658
+ "type": [
659
+ "string",
660
+ "number",
661
+ "boolean",
662
+ "null"
663
+ ]
664
+ },
665
+ "$startsWith": {
666
+ "type": "string",
667
+ "minLength": 1
668
+ },
669
+ "$endsWith": {
670
+ "type": "string",
671
+ "minLength": 1
672
+ },
673
+ "$contains": {
674
+ "type": "string",
675
+ "minLength": 1
676
+ },
677
+ "$ci": {
678
+ "type": "boolean"
679
+ },
680
+ "$in": {
681
+ "type": "array",
682
+ "maxItems": 100,
683
+ "items": {
684
+ "type": [
685
+ "string",
686
+ "number",
687
+ "boolean"
688
+ ]
689
+ }
690
+ },
691
+ "$nin": {
692
+ "type": "array",
693
+ "maxItems": 100,
694
+ "items": {
695
+ "type": [
696
+ "string",
697
+ "number",
698
+ "boolean"
699
+ ]
700
+ }
701
+ }
702
+ },
703
+ "additionalProperties": false
704
+ }
705
+ ]
706
+ },
707
+ "gatewayId": {
708
+ "oneOf": [
709
+ {
710
+ "oneOf": [
711
+ {
712
+ "type": "string",
713
+ "pattern": "^[A-Fa-f\\d]{24}$"
714
+ },
715
+ {
716
+ "type": "null"
717
+ }
718
+ ]
719
+ },
720
+ {
721
+ "type": "object",
722
+ "properties": {
723
+ "$eq": {
724
+ "oneOf": [
725
+ {
726
+ "type": "string",
727
+ "pattern": "^[A-Fa-f\\d]{24}$"
728
+ },
729
+ {
730
+ "type": "null"
731
+ }
732
+ ]
733
+ },
734
+ "$ne": {
735
+ "oneOf": [
736
+ {
737
+ "type": "string",
738
+ "pattern": "^[A-Fa-f\\d]{24}$"
739
+ },
740
+ {
741
+ "type": "null"
742
+ }
743
+ ]
744
+ },
745
+ "$gt": {
746
+ "oneOf": [
747
+ {
748
+ "type": "string",
749
+ "pattern": "^[A-Fa-f\\d]{24}$"
750
+ },
751
+ {
752
+ "type": "null"
753
+ }
754
+ ]
755
+ },
756
+ "$lt": {
757
+ "oneOf": [
758
+ {
759
+ "type": "string",
760
+ "pattern": "^[A-Fa-f\\d]{24}$"
761
+ },
762
+ {
763
+ "type": "null"
764
+ }
765
+ ]
766
+ },
767
+ "$gte": {
768
+ "oneOf": [
769
+ {
770
+ "type": "string",
771
+ "pattern": "^[A-Fa-f\\d]{24}$"
772
+ },
773
+ {
774
+ "type": "null"
775
+ }
776
+ ]
777
+ },
778
+ "$lte": {
779
+ "oneOf": [
780
+ {
781
+ "type": "string",
782
+ "pattern": "^[A-Fa-f\\d]{24}$"
783
+ },
784
+ {
785
+ "type": "null"
786
+ }
787
+ ]
788
+ },
789
+ "$in": {
790
+ "type": "array",
791
+ "maxItems": 100,
792
+ "items": {
793
+ "type": "string",
794
+ "pattern": "^[A-Fa-f\\d]{24}$"
795
+ }
796
+ },
797
+ "$nin": {
798
+ "type": "array",
799
+ "maxItems": 100,
800
+ "items": {
801
+ "type": "string",
802
+ "pattern": "^[A-Fa-f\\d]{24}$"
803
+ }
804
+ }
805
+ },
806
+ "additionalProperties": false,
807
+ "minProperties": 1,
808
+ "maxProperties": 1
809
+ }
810
+ ]
811
+ },
812
+ "parentId": {
813
+ "oneOf": [
814
+ {
815
+ "oneOf": [
816
+ {
817
+ "type": "string",
818
+ "pattern": "^[A-Fa-f\\d]{24}$"
819
+ },
820
+ {
821
+ "type": "null"
822
+ }
823
+ ]
824
+ },
825
+ {
826
+ "type": "object",
827
+ "properties": {
828
+ "$eq": {
829
+ "oneOf": [
830
+ {
831
+ "type": "string",
832
+ "pattern": "^[A-Fa-f\\d]{24}$"
833
+ },
834
+ {
835
+ "type": "null"
836
+ }
837
+ ]
838
+ },
839
+ "$ne": {
840
+ "oneOf": [
841
+ {
842
+ "type": "string",
843
+ "pattern": "^[A-Fa-f\\d]{24}$"
844
+ },
845
+ {
846
+ "type": "null"
847
+ }
848
+ ]
849
+ },
850
+ "$gt": {
851
+ "oneOf": [
852
+ {
853
+ "type": "string",
854
+ "pattern": "^[A-Fa-f\\d]{24}$"
855
+ },
856
+ {
857
+ "type": "null"
858
+ }
859
+ ]
860
+ },
861
+ "$lt": {
862
+ "oneOf": [
863
+ {
864
+ "type": "string",
865
+ "pattern": "^[A-Fa-f\\d]{24}$"
866
+ },
867
+ {
868
+ "type": "null"
869
+ }
870
+ ]
871
+ },
872
+ "$gte": {
873
+ "oneOf": [
874
+ {
875
+ "type": "string",
876
+ "pattern": "^[A-Fa-f\\d]{24}$"
877
+ },
878
+ {
879
+ "type": "null"
880
+ }
881
+ ]
882
+ },
883
+ "$lte": {
884
+ "oneOf": [
885
+ {
886
+ "type": "string",
887
+ "pattern": "^[A-Fa-f\\d]{24}$"
888
+ },
889
+ {
890
+ "type": "null"
891
+ }
892
+ ]
893
+ },
894
+ "$in": {
895
+ "type": "array",
896
+ "maxItems": 100,
897
+ "items": {
898
+ "type": "string",
899
+ "pattern": "^[A-Fa-f\\d]{24}$"
900
+ }
901
+ },
902
+ "$nin": {
903
+ "type": "array",
904
+ "maxItems": 100,
905
+ "items": {
906
+ "type": "string",
907
+ "pattern": "^[A-Fa-f\\d]{24}$"
908
+ }
909
+ }
910
+ },
911
+ "additionalProperties": false,
912
+ "minProperties": 1,
913
+ "maxProperties": 1
914
+ }
915
+ ]
916
+ },
917
+ "ancestorId": {
918
+ "oneOf": [
919
+ {
920
+ "oneOf": [
921
+ {
922
+ "type": "string",
923
+ "pattern": "^[A-Fa-f\\d]{24}$"
924
+ },
925
+ {
926
+ "type": "null"
927
+ }
928
+ ]
929
+ },
930
+ {
931
+ "type": "object",
932
+ "properties": {
933
+ "$eq": {
934
+ "oneOf": [
935
+ {
936
+ "type": "string",
937
+ "pattern": "^[A-Fa-f\\d]{24}$"
938
+ },
939
+ {
940
+ "type": "null"
941
+ }
942
+ ]
943
+ },
944
+ "$ne": {
945
+ "oneOf": [
946
+ {
947
+ "type": "string",
948
+ "pattern": "^[A-Fa-f\\d]{24}$"
949
+ },
950
+ {
951
+ "type": "null"
952
+ }
953
+ ]
954
+ },
955
+ "$gt": {
956
+ "oneOf": [
957
+ {
958
+ "type": "string",
959
+ "pattern": "^[A-Fa-f\\d]{24}$"
960
+ },
961
+ {
962
+ "type": "null"
963
+ }
964
+ ]
965
+ },
966
+ "$lt": {
967
+ "oneOf": [
968
+ {
969
+ "type": "string",
970
+ "pattern": "^[A-Fa-f\\d]{24}$"
971
+ },
972
+ {
973
+ "type": "null"
974
+ }
975
+ ]
976
+ },
977
+ "$gte": {
978
+ "oneOf": [
979
+ {
980
+ "type": "string",
981
+ "pattern": "^[A-Fa-f\\d]{24}$"
982
+ },
983
+ {
984
+ "type": "null"
985
+ }
986
+ ]
987
+ },
988
+ "$lte": {
989
+ "oneOf": [
990
+ {
991
+ "type": "string",
992
+ "pattern": "^[A-Fa-f\\d]{24}$"
993
+ },
994
+ {
995
+ "type": "null"
996
+ }
997
+ ]
998
+ },
999
+ "$in": {
1000
+ "type": "array",
1001
+ "maxItems": 100,
1002
+ "items": {
1003
+ "type": "string",
1004
+ "pattern": "^[A-Fa-f\\d]{24}$"
1005
+ }
1006
+ },
1007
+ "$nin": {
1008
+ "type": "array",
1009
+ "maxItems": 100,
1010
+ "items": {
1011
+ "type": "string",
1012
+ "pattern": "^[A-Fa-f\\d]{24}$"
1013
+ }
1014
+ }
1015
+ },
1016
+ "additionalProperties": false,
1017
+ "minProperties": 1,
1018
+ "maxProperties": 1
1019
+ }
1020
+ ]
1021
+ },
1022
+ "attributeName": {
1023
+ "oneOf": [
1024
+ {
1025
+ "type": [
1026
+ "string",
1027
+ "number",
1028
+ "boolean",
1029
+ "null"
1030
+ ]
1031
+ },
1032
+ {
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "$eq": {
1036
+ "type": [
1037
+ "string",
1038
+ "number",
1039
+ "boolean",
1040
+ "null"
1041
+ ]
1042
+ },
1043
+ "$ne": {
1044
+ "type": [
1045
+ "string",
1046
+ "number",
1047
+ "boolean",
1048
+ "null"
1049
+ ]
1050
+ },
1051
+ "$gt": {
1052
+ "type": [
1053
+ "string",
1054
+ "number",
1055
+ "boolean",
1056
+ "null"
1057
+ ]
1058
+ },
1059
+ "$lt": {
1060
+ "type": [
1061
+ "string",
1062
+ "number",
1063
+ "boolean",
1064
+ "null"
1065
+ ]
1066
+ },
1067
+ "$gte": {
1068
+ "type": [
1069
+ "string",
1070
+ "number",
1071
+ "boolean",
1072
+ "null"
1073
+ ]
1074
+ },
1075
+ "$lte": {
1076
+ "type": [
1077
+ "string",
1078
+ "number",
1079
+ "boolean",
1080
+ "null"
1081
+ ]
1082
+ },
1083
+ "$startsWith": {
1084
+ "type": "string",
1085
+ "minLength": 1
1086
+ },
1087
+ "$endsWith": {
1088
+ "type": "string",
1089
+ "minLength": 1
1090
+ },
1091
+ "$contains": {
1092
+ "type": "string",
1093
+ "minLength": 1
1094
+ },
1095
+ "$ci": {
1096
+ "type": "boolean"
1097
+ },
1098
+ "$in": {
1099
+ "type": "array",
1100
+ "maxItems": 100,
1101
+ "items": {
1102
+ "type": [
1103
+ "string",
1104
+ "number",
1105
+ "boolean"
1106
+ ]
1107
+ }
1108
+ },
1109
+ "$nin": {
1110
+ "type": "array",
1111
+ "maxItems": 100,
1112
+ "items": {
1113
+ "type": [
1114
+ "string",
1115
+ "number",
1116
+ "boolean"
1117
+ ]
1118
+ }
1119
+ }
1120
+ },
1121
+ "additionalProperties": false
1122
+ }
1123
+ ]
1124
+ },
1125
+ "experienceUserId": {
1126
+ "oneOf": [
1127
+ {
1128
+ "oneOf": [
1129
+ {
1130
+ "type": "string",
1131
+ "pattern": "^[A-Fa-f\\d]{24}$"
1132
+ },
1133
+ {
1134
+ "type": "null"
1135
+ }
1136
+ ]
1137
+ },
1138
+ {
1139
+ "type": "object",
1140
+ "properties": {
1141
+ "$eq": {
1142
+ "oneOf": [
1143
+ {
1144
+ "type": "string",
1145
+ "pattern": "^[A-Fa-f\\d]{24}$"
1146
+ },
1147
+ {
1148
+ "type": "null"
1149
+ }
1150
+ ]
1151
+ },
1152
+ "$ne": {
1153
+ "oneOf": [
1154
+ {
1155
+ "type": "string",
1156
+ "pattern": "^[A-Fa-f\\d]{24}$"
1157
+ },
1158
+ {
1159
+ "type": "null"
1160
+ }
1161
+ ]
1162
+ },
1163
+ "$gt": {
1164
+ "oneOf": [
1165
+ {
1166
+ "type": "string",
1167
+ "pattern": "^[A-Fa-f\\d]{24}$"
1168
+ },
1169
+ {
1170
+ "type": "null"
1171
+ }
1172
+ ]
1173
+ },
1174
+ "$lt": {
1175
+ "oneOf": [
1176
+ {
1177
+ "type": "string",
1178
+ "pattern": "^[A-Fa-f\\d]{24}$"
1179
+ },
1180
+ {
1181
+ "type": "null"
1182
+ }
1183
+ ]
1184
+ },
1185
+ "$gte": {
1186
+ "oneOf": [
1187
+ {
1188
+ "type": "string",
1189
+ "pattern": "^[A-Fa-f\\d]{24}$"
1190
+ },
1191
+ {
1192
+ "type": "null"
1193
+ }
1194
+ ]
1195
+ },
1196
+ "$lte": {
1197
+ "oneOf": [
1198
+ {
1199
+ "type": "string",
1200
+ "pattern": "^[A-Fa-f\\d]{24}$"
1201
+ },
1202
+ {
1203
+ "type": "null"
1204
+ }
1205
+ ]
1206
+ },
1207
+ "$in": {
1208
+ "type": "array",
1209
+ "maxItems": 100,
1210
+ "items": {
1211
+ "type": "string",
1212
+ "pattern": "^[A-Fa-f\\d]{24}$"
1213
+ }
1214
+ },
1215
+ "$nin": {
1216
+ "type": "array",
1217
+ "maxItems": 100,
1218
+ "items": {
1219
+ "type": "string",
1220
+ "pattern": "^[A-Fa-f\\d]{24}$"
1221
+ }
1222
+ }
1223
+ },
1224
+ "additionalProperties": false,
1225
+ "minProperties": 1,
1226
+ "maxProperties": 1
1227
+ }
1228
+ ]
1229
+ },
1230
+ "experienceGroupId": {
1231
+ "oneOf": [
1232
+ {
1233
+ "oneOf": [
1234
+ {
1235
+ "type": "string",
1236
+ "pattern": "^[A-Fa-f\\d]{24}$"
1237
+ },
1238
+ {
1239
+ "type": "null"
1240
+ }
1241
+ ]
1242
+ },
1243
+ {
1244
+ "type": "object",
1245
+ "properties": {
1246
+ "$eq": {
1247
+ "oneOf": [
1248
+ {
1249
+ "type": "string",
1250
+ "pattern": "^[A-Fa-f\\d]{24}$"
1251
+ },
1252
+ {
1253
+ "type": "null"
1254
+ }
1255
+ ]
1256
+ },
1257
+ "$ne": {
1258
+ "oneOf": [
1259
+ {
1260
+ "type": "string",
1261
+ "pattern": "^[A-Fa-f\\d]{24}$"
1262
+ },
1263
+ {
1264
+ "type": "null"
1265
+ }
1266
+ ]
1267
+ },
1268
+ "$gt": {
1269
+ "oneOf": [
1270
+ {
1271
+ "type": "string",
1272
+ "pattern": "^[A-Fa-f\\d]{24}$"
1273
+ },
1274
+ {
1275
+ "type": "null"
1276
+ }
1277
+ ]
1278
+ },
1279
+ "$lt": {
1280
+ "oneOf": [
1281
+ {
1282
+ "type": "string",
1283
+ "pattern": "^[A-Fa-f\\d]{24}$"
1284
+ },
1285
+ {
1286
+ "type": "null"
1287
+ }
1288
+ ]
1289
+ },
1290
+ "$gte": {
1291
+ "oneOf": [
1292
+ {
1293
+ "type": "string",
1294
+ "pattern": "^[A-Fa-f\\d]{24}$"
1295
+ },
1296
+ {
1297
+ "type": "null"
1298
+ }
1299
+ ]
1300
+ },
1301
+ "$lte": {
1302
+ "oneOf": [
1303
+ {
1304
+ "type": "string",
1305
+ "pattern": "^[A-Fa-f\\d]{24}$"
1306
+ },
1307
+ {
1308
+ "type": "null"
1309
+ }
1310
+ ]
1311
+ },
1312
+ "$in": {
1313
+ "type": "array",
1314
+ "maxItems": 100,
1315
+ "items": {
1316
+ "type": "string",
1317
+ "pattern": "^[A-Fa-f\\d]{24}$"
1318
+ }
1319
+ },
1320
+ "$nin": {
1321
+ "type": "array",
1322
+ "maxItems": 100,
1323
+ "items": {
1324
+ "type": "string",
1325
+ "pattern": "^[A-Fa-f\\d]{24}$"
1326
+ }
1327
+ }
1328
+ },
1329
+ "additionalProperties": false,
1330
+ "minProperties": 1,
1331
+ "maxProperties": 1
1332
+ }
1333
+ ]
1334
+ },
1335
+ "tags": {
1336
+ "oneOf": [
1337
+ {
1338
+ "oneOf": [
1339
+ {
1340
+ "type": "null"
1341
+ },
1342
+ {
1343
+ "type": "object",
1344
+ "properties": {
1345
+ "$tagKey": {
1346
+ "oneOf": [
1347
+ {
1348
+ "type": "string",
1349
+ "maxLength": 255
1350
+ },
1351
+ {
1352
+ "type": "null"
1353
+ },
1354
+ {
1355
+ "type": "object",
1356
+ "properties": {
1357
+ "$in": {
1358
+ "type": "array",
1359
+ "maxItems": 100,
1360
+ "items": {
1361
+ "type": "string",
1362
+ "maxLength": 255
1363
+ }
1364
+ }
1365
+ },
1366
+ "required": [
1367
+ "$in"
1368
+ ],
1369
+ "additionalProperties": false
1370
+ },
1371
+ {
1372
+ "type": "object",
1373
+ "properties": {
1374
+ "$nin": {
1375
+ "type": "array",
1376
+ "maxItems": 100,
1377
+ "items": {
1378
+ "type": "string",
1379
+ "maxLength": 255
1380
+ }
1381
+ }
1382
+ },
1383
+ "required": [
1384
+ "$nin"
1385
+ ],
1386
+ "additionalProperties": false
1387
+ }
1388
+ ]
1389
+ },
1390
+ "$tagValue": {
1391
+ "oneOf": [
1392
+ {
1393
+ "type": "string",
1394
+ "maxLength": 255
1395
+ },
1396
+ {
1397
+ "type": "null"
1398
+ },
1399
+ {
1400
+ "type": "object",
1401
+ "properties": {
1402
+ "$in": {
1403
+ "type": "array",
1404
+ "maxItems": 100,
1405
+ "items": {
1406
+ "type": "string",
1407
+ "maxLength": 255
1408
+ }
1409
+ }
1410
+ },
1411
+ "required": [
1412
+ "$in"
1413
+ ],
1414
+ "additionalProperties": false
1415
+ },
1416
+ {
1417
+ "type": "object",
1418
+ "properties": {
1419
+ "$nin": {
1420
+ "type": "array",
1421
+ "maxItems": 100,
1422
+ "items": {
1423
+ "type": "string",
1424
+ "maxLength": 255
1425
+ }
1426
+ }
1427
+ },
1428
+ "required": [
1429
+ "$nin"
1430
+ ],
1431
+ "additionalProperties": false
1432
+ }
1433
+ ]
1434
+ }
1435
+ },
1436
+ "additionalProperties": false,
1437
+ "minProperties": 1
1438
+ },
1439
+ {
1440
+ "type": "object",
1441
+ "patternProperties": {
1442
+ "^[0-9a-zA-Z_-]{1,255}": {
1443
+ "oneOf": [
1444
+ {
1445
+ "type": "string",
1446
+ "maxLength": 255
1447
+ },
1448
+ {
1449
+ "type": "null"
1450
+ },
1451
+ {
1452
+ "type": "object",
1453
+ "properties": {
1454
+ "$in": {
1455
+ "type": "array",
1456
+ "maxItems": 100,
1457
+ "items": {
1458
+ "type": "string",
1459
+ "maxLength": 255
1460
+ }
1461
+ }
1462
+ },
1463
+ "required": [
1464
+ "$in"
1465
+ ],
1466
+ "additionalProperties": false
1467
+ },
1468
+ {
1469
+ "type": "object",
1470
+ "properties": {
1471
+ "$nin": {
1472
+ "type": "array",
1473
+ "maxItems": 100,
1474
+ "items": {
1475
+ "type": "string",
1476
+ "maxLength": 255
1477
+ }
1478
+ }
1479
+ },
1480
+ "required": [
1481
+ "$nin"
1482
+ ],
1483
+ "additionalProperties": false
1484
+ }
1485
+ ]
1486
+ }
1487
+ },
1488
+ "additionalProperties": false
1489
+ }
1490
+ ]
1491
+ },
1492
+ {
1493
+ "type": "object",
1494
+ "properties": {
1495
+ "$eq": {
1496
+ "oneOf": [
1497
+ {
1498
+ "type": "null"
1499
+ },
1500
+ {
1501
+ "type": "object",
1502
+ "properties": {
1503
+ "$tagKey": {
1504
+ "oneOf": [
1505
+ {
1506
+ "type": "string",
1507
+ "maxLength": 255
1508
+ },
1509
+ {
1510
+ "type": "null"
1511
+ },
1512
+ {
1513
+ "type": "object",
1514
+ "properties": {
1515
+ "$in": {
1516
+ "type": "array",
1517
+ "maxItems": 100,
1518
+ "items": {
1519
+ "type": "string",
1520
+ "maxLength": 255
1521
+ }
1522
+ }
1523
+ },
1524
+ "required": [
1525
+ "$in"
1526
+ ],
1527
+ "additionalProperties": false
1528
+ },
1529
+ {
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "$nin": {
1533
+ "type": "array",
1534
+ "maxItems": 100,
1535
+ "items": {
1536
+ "type": "string",
1537
+ "maxLength": 255
1538
+ }
1539
+ }
1540
+ },
1541
+ "required": [
1542
+ "$nin"
1543
+ ],
1544
+ "additionalProperties": false
1545
+ }
1546
+ ]
1547
+ },
1548
+ "$tagValue": {
1549
+ "oneOf": [
1550
+ {
1551
+ "type": "string",
1552
+ "maxLength": 255
1553
+ },
1554
+ {
1555
+ "type": "null"
1556
+ },
1557
+ {
1558
+ "type": "object",
1559
+ "properties": {
1560
+ "$in": {
1561
+ "type": "array",
1562
+ "maxItems": 100,
1563
+ "items": {
1564
+ "type": "string",
1565
+ "maxLength": 255
1566
+ }
1567
+ }
1568
+ },
1569
+ "required": [
1570
+ "$in"
1571
+ ],
1572
+ "additionalProperties": false
1573
+ },
1574
+ {
1575
+ "type": "object",
1576
+ "properties": {
1577
+ "$nin": {
1578
+ "type": "array",
1579
+ "maxItems": 100,
1580
+ "items": {
1581
+ "type": "string",
1582
+ "maxLength": 255
1583
+ }
1584
+ }
1585
+ },
1586
+ "required": [
1587
+ "$nin"
1588
+ ],
1589
+ "additionalProperties": false
1590
+ }
1591
+ ]
1592
+ }
1593
+ },
1594
+ "additionalProperties": false,
1595
+ "minProperties": 1
1596
+ },
1597
+ {
1598
+ "type": "object",
1599
+ "patternProperties": {
1600
+ "^[0-9a-zA-Z_-]{1,255}": {
1601
+ "oneOf": [
1602
+ {
1603
+ "type": "string",
1604
+ "maxLength": 255
1605
+ },
1606
+ {
1607
+ "type": "null"
1608
+ },
1609
+ {
1610
+ "type": "object",
1611
+ "properties": {
1612
+ "$in": {
1613
+ "type": "array",
1614
+ "maxItems": 100,
1615
+ "items": {
1616
+ "type": "string",
1617
+ "maxLength": 255
1618
+ }
1619
+ }
1620
+ },
1621
+ "required": [
1622
+ "$in"
1623
+ ],
1624
+ "additionalProperties": false
1625
+ },
1626
+ {
1627
+ "type": "object",
1628
+ "properties": {
1629
+ "$nin": {
1630
+ "type": "array",
1631
+ "maxItems": 100,
1632
+ "items": {
1633
+ "type": "string",
1634
+ "maxLength": 255
1635
+ }
1636
+ }
1637
+ },
1638
+ "required": [
1639
+ "$nin"
1640
+ ],
1641
+ "additionalProperties": false
1642
+ }
1643
+ ]
1644
+ }
1645
+ },
1646
+ "additionalProperties": false
1647
+ }
1648
+ ]
1649
+ }
1650
+ },
1651
+ "required": [
1652
+ "$eq"
1653
+ ],
1654
+ "additionalProperties": false
1655
+ },
1656
+ {
1657
+ "type": "object",
1658
+ "properties": {
1659
+ "$ne": {
1660
+ "oneOf": [
1661
+ {
1662
+ "type": "null"
1663
+ },
1664
+ {
1665
+ "type": "object",
1666
+ "properties": {
1667
+ "$tagKey": {
1668
+ "oneOf": [
1669
+ {
1670
+ "type": "string",
1671
+ "maxLength": 255
1672
+ },
1673
+ {
1674
+ "type": "null"
1675
+ },
1676
+ {
1677
+ "type": "object",
1678
+ "properties": {
1679
+ "$in": {
1680
+ "type": "array",
1681
+ "maxItems": 100,
1682
+ "items": {
1683
+ "type": "string",
1684
+ "maxLength": 255
1685
+ }
1686
+ }
1687
+ },
1688
+ "required": [
1689
+ "$in"
1690
+ ],
1691
+ "additionalProperties": false
1692
+ },
1693
+ {
1694
+ "type": "object",
1695
+ "properties": {
1696
+ "$nin": {
1697
+ "type": "array",
1698
+ "maxItems": 100,
1699
+ "items": {
1700
+ "type": "string",
1701
+ "maxLength": 255
1702
+ }
1703
+ }
1704
+ },
1705
+ "required": [
1706
+ "$nin"
1707
+ ],
1708
+ "additionalProperties": false
1709
+ }
1710
+ ]
1711
+ },
1712
+ "$tagValue": {
1713
+ "oneOf": [
1714
+ {
1715
+ "type": "string",
1716
+ "maxLength": 255
1717
+ },
1718
+ {
1719
+ "type": "null"
1720
+ },
1721
+ {
1722
+ "type": "object",
1723
+ "properties": {
1724
+ "$in": {
1725
+ "type": "array",
1726
+ "maxItems": 100,
1727
+ "items": {
1728
+ "type": "string",
1729
+ "maxLength": 255
1730
+ }
1731
+ }
1732
+ },
1733
+ "required": [
1734
+ "$in"
1735
+ ],
1736
+ "additionalProperties": false
1737
+ },
1738
+ {
1739
+ "type": "object",
1740
+ "properties": {
1741
+ "$nin": {
1742
+ "type": "array",
1743
+ "maxItems": 100,
1744
+ "items": {
1745
+ "type": "string",
1746
+ "maxLength": 255
1747
+ }
1748
+ }
1749
+ },
1750
+ "required": [
1751
+ "$nin"
1752
+ ],
1753
+ "additionalProperties": false
1754
+ }
1755
+ ]
1756
+ }
1757
+ },
1758
+ "additionalProperties": false,
1759
+ "minProperties": 1
1760
+ },
1761
+ {
1762
+ "type": "object",
1763
+ "patternProperties": {
1764
+ "^[0-9a-zA-Z_-]{1,255}": {
1765
+ "oneOf": [
1766
+ {
1767
+ "type": "string",
1768
+ "maxLength": 255
1769
+ },
1770
+ {
1771
+ "type": "null"
1772
+ },
1773
+ {
1774
+ "type": "object",
1775
+ "properties": {
1776
+ "$in": {
1777
+ "type": "array",
1778
+ "maxItems": 100,
1779
+ "items": {
1780
+ "type": "string",
1781
+ "maxLength": 255
1782
+ }
1783
+ }
1784
+ },
1785
+ "required": [
1786
+ "$in"
1787
+ ],
1788
+ "additionalProperties": false
1789
+ },
1790
+ {
1791
+ "type": "object",
1792
+ "properties": {
1793
+ "$nin": {
1794
+ "type": "array",
1795
+ "maxItems": 100,
1796
+ "items": {
1797
+ "type": "string",
1798
+ "maxLength": 255
1799
+ }
1800
+ }
1801
+ },
1802
+ "required": [
1803
+ "$nin"
1804
+ ],
1805
+ "additionalProperties": false
1806
+ }
1807
+ ]
1808
+ }
1809
+ },
1810
+ "additionalProperties": false
1811
+ }
1812
+ ]
1813
+ }
1814
+ },
1815
+ "required": [
1816
+ "$ne"
1817
+ ],
1818
+ "additionalProperties": false
1819
+ }
1820
+ ]
1821
+ },
1822
+ "disconnectedAt": {
1823
+ "oneOf": [
1824
+ {
1825
+ "type": [
1826
+ "string",
1827
+ "number",
1828
+ "boolean",
1829
+ "null"
1830
+ ]
1831
+ },
1832
+ {
1833
+ "type": "object",
1834
+ "properties": {
1835
+ "$eq": {
1836
+ "type": [
1837
+ "string",
1838
+ "number",
1839
+ "boolean",
1840
+ "null"
1841
+ ]
1842
+ },
1843
+ "$ne": {
1844
+ "type": [
1845
+ "string",
1846
+ "number",
1847
+ "boolean",
1848
+ "null"
1849
+ ]
1850
+ },
1851
+ "$gt": {
1852
+ "type": [
1853
+ "string",
1854
+ "number",
1855
+ "boolean",
1856
+ "null"
1857
+ ]
1858
+ },
1859
+ "$lt": {
1860
+ "type": [
1861
+ "string",
1862
+ "number",
1863
+ "boolean",
1864
+ "null"
1865
+ ]
1866
+ },
1867
+ "$gte": {
1868
+ "type": [
1869
+ "string",
1870
+ "number",
1871
+ "boolean",
1872
+ "null"
1873
+ ]
1874
+ },
1875
+ "$lte": {
1876
+ "type": [
1877
+ "string",
1878
+ "number",
1879
+ "boolean",
1880
+ "null"
1881
+ ]
1882
+ },
1883
+ "$startsWith": {
1884
+ "type": "string",
1885
+ "minLength": 1
1886
+ },
1887
+ "$endsWith": {
1888
+ "type": "string",
1889
+ "minLength": 1
1890
+ },
1891
+ "$contains": {
1892
+ "type": "string",
1893
+ "minLength": 1
1894
+ },
1895
+ "$ci": {
1896
+ "type": "boolean"
1897
+ },
1898
+ "$in": {
1899
+ "type": "array",
1900
+ "maxItems": 100,
1901
+ "items": {
1902
+ "type": [
1903
+ "string",
1904
+ "number",
1905
+ "boolean"
1906
+ ]
1907
+ }
1908
+ },
1909
+ "$nin": {
1910
+ "type": "array",
1911
+ "maxItems": 100,
1912
+ "items": {
1913
+ "type": [
1914
+ "string",
1915
+ "number",
1916
+ "boolean"
1917
+ ]
1918
+ }
1919
+ }
1920
+ },
1921
+ "additionalProperties": false
1922
+ }
1923
+ ]
1924
+ },
1925
+ "connectedAt": {
1926
+ "oneOf": [
1927
+ {
1928
+ "type": [
1929
+ "string",
1930
+ "number",
1931
+ "boolean",
1932
+ "null"
1933
+ ]
1934
+ },
1935
+ {
1936
+ "type": "object",
1937
+ "properties": {
1938
+ "$eq": {
1939
+ "type": [
1940
+ "string",
1941
+ "number",
1942
+ "boolean",
1943
+ "null"
1944
+ ]
1945
+ },
1946
+ "$ne": {
1947
+ "type": [
1948
+ "string",
1949
+ "number",
1950
+ "boolean",
1951
+ "null"
1952
+ ]
1953
+ },
1954
+ "$gt": {
1955
+ "type": [
1956
+ "string",
1957
+ "number",
1958
+ "boolean",
1959
+ "null"
1960
+ ]
1961
+ },
1962
+ "$lt": {
1963
+ "type": [
1964
+ "string",
1965
+ "number",
1966
+ "boolean",
1967
+ "null"
1968
+ ]
1969
+ },
1970
+ "$gte": {
1971
+ "type": [
1972
+ "string",
1973
+ "number",
1974
+ "boolean",
1975
+ "null"
1976
+ ]
1977
+ },
1978
+ "$lte": {
1979
+ "type": [
1980
+ "string",
1981
+ "number",
1982
+ "boolean",
1983
+ "null"
1984
+ ]
1985
+ },
1986
+ "$startsWith": {
1987
+ "type": "string",
1988
+ "minLength": 1
1989
+ },
1990
+ "$endsWith": {
1991
+ "type": "string",
1992
+ "minLength": 1
1993
+ },
1994
+ "$contains": {
1995
+ "type": "string",
1996
+ "minLength": 1
1997
+ },
1998
+ "$ci": {
1999
+ "type": "boolean"
2000
+ },
2001
+ "$in": {
2002
+ "type": "array",
2003
+ "maxItems": 100,
2004
+ "items": {
2005
+ "type": [
2006
+ "string",
2007
+ "number",
2008
+ "boolean"
2009
+ ]
2010
+ }
2011
+ },
2012
+ "$nin": {
2013
+ "type": "array",
2014
+ "maxItems": 100,
2015
+ "items": {
2016
+ "type": [
2017
+ "string",
2018
+ "number",
2019
+ "boolean"
2020
+ ]
2021
+ }
2022
+ }
2023
+ },
2024
+ "additionalProperties": false
2025
+ }
2026
+ ]
2027
+ },
2028
+ "connectionStatus": {
2029
+ "oneOf": [
2030
+ {
2031
+ "type": [
2032
+ "string",
2033
+ "number",
2034
+ "boolean",
2035
+ "null"
2036
+ ]
2037
+ },
2038
+ {
2039
+ "type": "object",
2040
+ "properties": {
2041
+ "$eq": {
2042
+ "type": [
2043
+ "string",
2044
+ "number",
2045
+ "boolean",
2046
+ "null"
2047
+ ]
2048
+ },
2049
+ "$ne": {
2050
+ "type": [
2051
+ "string",
2052
+ "number",
2053
+ "boolean",
2054
+ "null"
2055
+ ]
2056
+ },
2057
+ "$gt": {
2058
+ "type": [
2059
+ "string",
2060
+ "number",
2061
+ "boolean",
2062
+ "null"
2063
+ ]
2064
+ },
2065
+ "$lt": {
2066
+ "type": [
2067
+ "string",
2068
+ "number",
2069
+ "boolean",
2070
+ "null"
2071
+ ]
2072
+ },
2073
+ "$gte": {
2074
+ "type": [
2075
+ "string",
2076
+ "number",
2077
+ "boolean",
2078
+ "null"
2079
+ ]
2080
+ },
2081
+ "$lte": {
2082
+ "type": [
2083
+ "string",
2084
+ "number",
2085
+ "boolean",
2086
+ "null"
2087
+ ]
2088
+ },
2089
+ "$startsWith": {
2090
+ "type": "string",
2091
+ "minLength": 1
2092
+ },
2093
+ "$endsWith": {
2094
+ "type": "string",
2095
+ "minLength": 1
2096
+ },
2097
+ "$contains": {
2098
+ "type": "string",
2099
+ "minLength": 1
2100
+ },
2101
+ "$ci": {
2102
+ "type": "boolean"
2103
+ },
2104
+ "$in": {
2105
+ "type": "array",
2106
+ "maxItems": 100,
2107
+ "items": {
2108
+ "type": [
2109
+ "string",
2110
+ "number",
2111
+ "boolean"
2112
+ ]
2113
+ }
2114
+ },
2115
+ "$nin": {
2116
+ "type": "array",
2117
+ "maxItems": 100,
2118
+ "items": {
2119
+ "type": [
2120
+ "string",
2121
+ "number",
2122
+ "boolean"
2123
+ ]
2124
+ }
2125
+ }
2126
+ },
2127
+ "additionalProperties": false
2128
+ }
2129
+ ]
2130
+ }
2131
+ },
2132
+ "additionalProperties": false
2133
+ }
22
2134
  },
23
- "maxItems": 1000
2135
+ "required": [
2136
+ "deployments"
2137
+ ],
2138
+ "additionalProperties": false
24
2139
  },
25
- "deviceTags": {
26
- "type": "array",
27
- "items": {
28
- "type": "object",
29
- "properties": {
30
- "key": {
2140
+ {
2141
+ "type": "object",
2142
+ "properties": {
2143
+ "flowId": {
2144
+ "type": "string",
2145
+ "pattern": "^[A-Fa-f\\d]{24}$"
2146
+ },
2147
+ "version": {
2148
+ "type": [
2149
+ "string",
2150
+ "null"
2151
+ ],
2152
+ "minLength": 1,
2153
+ "maxLength": 255
2154
+ },
2155
+ "deviceIds": {
2156
+ "type": "array",
2157
+ "items": {
31
2158
  "type": "string",
32
- "pattern": "^[0-9a-zA-Z_-]{1,255}$"
2159
+ "pattern": "^[A-Fa-f\\d]{24}$"
33
2160
  },
34
- "value": {
35
- "type": "string",
36
- "minLength": 1,
37
- "maxLength": 255
38
- }
2161
+ "maxItems": 1000
39
2162
  },
40
- "additionalProperties": false
2163
+ "deviceTags": {
2164
+ "type": "array",
2165
+ "items": {
2166
+ "type": "object",
2167
+ "properties": {
2168
+ "key": {
2169
+ "type": "string",
2170
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
2171
+ },
2172
+ "value": {
2173
+ "type": "string",
2174
+ "minLength": 1,
2175
+ "maxLength": 255
2176
+ }
2177
+ },
2178
+ "additionalProperties": false
2179
+ },
2180
+ "maxItems": 100
2181
+ },
2182
+ "deviceQuery": {
2183
+ "title": "Advanced Device Query",
2184
+ "description": "Schema for advanced device queries",
2185
+ "type": "object",
2186
+ "properties": {
2187
+ "$and": {
2188
+ "type": "array",
2189
+ "items": {
2190
+ "$ref": "#/definitions/advancedDeviceQuery"
2191
+ },
2192
+ "maxItems": 100
2193
+ },
2194
+ "$or": {
2195
+ "type": "array",
2196
+ "items": {
2197
+ "$ref": "#/definitions/advancedDeviceQuery"
2198
+ },
2199
+ "maxItems": 100
2200
+ },
2201
+ "$nor": {
2202
+ "type": "array",
2203
+ "items": {
2204
+ "$ref": "#/definitions/advancedDeviceQuery"
2205
+ },
2206
+ "maxItems": 100
2207
+ },
2208
+ "id": {
2209
+ "oneOf": [
2210
+ {
2211
+ "oneOf": [
2212
+ {
2213
+ "type": "string",
2214
+ "pattern": "^[A-Fa-f\\d]{24}$"
2215
+ },
2216
+ {
2217
+ "type": "null"
2218
+ }
2219
+ ]
2220
+ },
2221
+ {
2222
+ "type": "object",
2223
+ "properties": {
2224
+ "$eq": {
2225
+ "oneOf": [
2226
+ {
2227
+ "type": "string",
2228
+ "pattern": "^[A-Fa-f\\d]{24}$"
2229
+ },
2230
+ {
2231
+ "type": "null"
2232
+ }
2233
+ ]
2234
+ },
2235
+ "$ne": {
2236
+ "oneOf": [
2237
+ {
2238
+ "type": "string",
2239
+ "pattern": "^[A-Fa-f\\d]{24}$"
2240
+ },
2241
+ {
2242
+ "type": "null"
2243
+ }
2244
+ ]
2245
+ },
2246
+ "$gt": {
2247
+ "oneOf": [
2248
+ {
2249
+ "type": "string",
2250
+ "pattern": "^[A-Fa-f\\d]{24}$"
2251
+ },
2252
+ {
2253
+ "type": "null"
2254
+ }
2255
+ ]
2256
+ },
2257
+ "$lt": {
2258
+ "oneOf": [
2259
+ {
2260
+ "type": "string",
2261
+ "pattern": "^[A-Fa-f\\d]{24}$"
2262
+ },
2263
+ {
2264
+ "type": "null"
2265
+ }
2266
+ ]
2267
+ },
2268
+ "$gte": {
2269
+ "oneOf": [
2270
+ {
2271
+ "type": "string",
2272
+ "pattern": "^[A-Fa-f\\d]{24}$"
2273
+ },
2274
+ {
2275
+ "type": "null"
2276
+ }
2277
+ ]
2278
+ },
2279
+ "$lte": {
2280
+ "oneOf": [
2281
+ {
2282
+ "type": "string",
2283
+ "pattern": "^[A-Fa-f\\d]{24}$"
2284
+ },
2285
+ {
2286
+ "type": "null"
2287
+ }
2288
+ ]
2289
+ },
2290
+ "$in": {
2291
+ "type": "array",
2292
+ "maxItems": 100,
2293
+ "items": {
2294
+ "type": "string",
2295
+ "pattern": "^[A-Fa-f\\d]{24}$"
2296
+ }
2297
+ },
2298
+ "$nin": {
2299
+ "type": "array",
2300
+ "maxItems": 100,
2301
+ "items": {
2302
+ "type": "string",
2303
+ "pattern": "^[A-Fa-f\\d]{24}$"
2304
+ }
2305
+ }
2306
+ },
2307
+ "additionalProperties": false,
2308
+ "minProperties": 1,
2309
+ "maxProperties": 1
2310
+ }
2311
+ ]
2312
+ },
2313
+ "creationDate": {
2314
+ "oneOf": [
2315
+ {
2316
+ "type": [
2317
+ "string",
2318
+ "number",
2319
+ "boolean",
2320
+ "null"
2321
+ ]
2322
+ },
2323
+ {
2324
+ "type": "object",
2325
+ "properties": {
2326
+ "$eq": {
2327
+ "type": [
2328
+ "string",
2329
+ "number",
2330
+ "boolean",
2331
+ "null"
2332
+ ]
2333
+ },
2334
+ "$ne": {
2335
+ "type": [
2336
+ "string",
2337
+ "number",
2338
+ "boolean",
2339
+ "null"
2340
+ ]
2341
+ },
2342
+ "$gt": {
2343
+ "type": [
2344
+ "string",
2345
+ "number",
2346
+ "boolean",
2347
+ "null"
2348
+ ]
2349
+ },
2350
+ "$lt": {
2351
+ "type": [
2352
+ "string",
2353
+ "number",
2354
+ "boolean",
2355
+ "null"
2356
+ ]
2357
+ },
2358
+ "$gte": {
2359
+ "type": [
2360
+ "string",
2361
+ "number",
2362
+ "boolean",
2363
+ "null"
2364
+ ]
2365
+ },
2366
+ "$lte": {
2367
+ "type": [
2368
+ "string",
2369
+ "number",
2370
+ "boolean",
2371
+ "null"
2372
+ ]
2373
+ },
2374
+ "$startsWith": {
2375
+ "type": "string",
2376
+ "minLength": 1
2377
+ },
2378
+ "$endsWith": {
2379
+ "type": "string",
2380
+ "minLength": 1
2381
+ },
2382
+ "$contains": {
2383
+ "type": "string",
2384
+ "minLength": 1
2385
+ },
2386
+ "$ci": {
2387
+ "type": "boolean"
2388
+ },
2389
+ "$in": {
2390
+ "type": "array",
2391
+ "maxItems": 100,
2392
+ "items": {
2393
+ "type": [
2394
+ "string",
2395
+ "number",
2396
+ "boolean"
2397
+ ]
2398
+ }
2399
+ },
2400
+ "$nin": {
2401
+ "type": "array",
2402
+ "maxItems": 100,
2403
+ "items": {
2404
+ "type": [
2405
+ "string",
2406
+ "number",
2407
+ "boolean"
2408
+ ]
2409
+ }
2410
+ }
2411
+ },
2412
+ "additionalProperties": false
2413
+ }
2414
+ ]
2415
+ },
2416
+ "lastUpdated": {
2417
+ "oneOf": [
2418
+ {
2419
+ "type": [
2420
+ "string",
2421
+ "number",
2422
+ "boolean",
2423
+ "null"
2424
+ ]
2425
+ },
2426
+ {
2427
+ "type": "object",
2428
+ "properties": {
2429
+ "$eq": {
2430
+ "type": [
2431
+ "string",
2432
+ "number",
2433
+ "boolean",
2434
+ "null"
2435
+ ]
2436
+ },
2437
+ "$ne": {
2438
+ "type": [
2439
+ "string",
2440
+ "number",
2441
+ "boolean",
2442
+ "null"
2443
+ ]
2444
+ },
2445
+ "$gt": {
2446
+ "type": [
2447
+ "string",
2448
+ "number",
2449
+ "boolean",
2450
+ "null"
2451
+ ]
2452
+ },
2453
+ "$lt": {
2454
+ "type": [
2455
+ "string",
2456
+ "number",
2457
+ "boolean",
2458
+ "null"
2459
+ ]
2460
+ },
2461
+ "$gte": {
2462
+ "type": [
2463
+ "string",
2464
+ "number",
2465
+ "boolean",
2466
+ "null"
2467
+ ]
2468
+ },
2469
+ "$lte": {
2470
+ "type": [
2471
+ "string",
2472
+ "number",
2473
+ "boolean",
2474
+ "null"
2475
+ ]
2476
+ },
2477
+ "$startsWith": {
2478
+ "type": "string",
2479
+ "minLength": 1
2480
+ },
2481
+ "$endsWith": {
2482
+ "type": "string",
2483
+ "minLength": 1
2484
+ },
2485
+ "$contains": {
2486
+ "type": "string",
2487
+ "minLength": 1
2488
+ },
2489
+ "$ci": {
2490
+ "type": "boolean"
2491
+ },
2492
+ "$in": {
2493
+ "type": "array",
2494
+ "maxItems": 100,
2495
+ "items": {
2496
+ "type": [
2497
+ "string",
2498
+ "number",
2499
+ "boolean"
2500
+ ]
2501
+ }
2502
+ },
2503
+ "$nin": {
2504
+ "type": "array",
2505
+ "maxItems": 100,
2506
+ "items": {
2507
+ "type": [
2508
+ "string",
2509
+ "number",
2510
+ "boolean"
2511
+ ]
2512
+ }
2513
+ }
2514
+ },
2515
+ "additionalProperties": false
2516
+ }
2517
+ ]
2518
+ },
2519
+ "deletedAt": {
2520
+ "oneOf": [
2521
+ {
2522
+ "type": [
2523
+ "string",
2524
+ "number",
2525
+ "boolean",
2526
+ "null"
2527
+ ]
2528
+ },
2529
+ {
2530
+ "type": "object",
2531
+ "properties": {
2532
+ "$eq": {
2533
+ "type": [
2534
+ "string",
2535
+ "number",
2536
+ "boolean",
2537
+ "null"
2538
+ ]
2539
+ },
2540
+ "$ne": {
2541
+ "type": [
2542
+ "string",
2543
+ "number",
2544
+ "boolean",
2545
+ "null"
2546
+ ]
2547
+ },
2548
+ "$gt": {
2549
+ "type": [
2550
+ "string",
2551
+ "number",
2552
+ "boolean",
2553
+ "null"
2554
+ ]
2555
+ },
2556
+ "$lt": {
2557
+ "type": [
2558
+ "string",
2559
+ "number",
2560
+ "boolean",
2561
+ "null"
2562
+ ]
2563
+ },
2564
+ "$gte": {
2565
+ "type": [
2566
+ "string",
2567
+ "number",
2568
+ "boolean",
2569
+ "null"
2570
+ ]
2571
+ },
2572
+ "$lte": {
2573
+ "type": [
2574
+ "string",
2575
+ "number",
2576
+ "boolean",
2577
+ "null"
2578
+ ]
2579
+ },
2580
+ "$startsWith": {
2581
+ "type": "string",
2582
+ "minLength": 1
2583
+ },
2584
+ "$endsWith": {
2585
+ "type": "string",
2586
+ "minLength": 1
2587
+ },
2588
+ "$contains": {
2589
+ "type": "string",
2590
+ "minLength": 1
2591
+ },
2592
+ "$ci": {
2593
+ "type": "boolean"
2594
+ },
2595
+ "$in": {
2596
+ "type": "array",
2597
+ "maxItems": 100,
2598
+ "items": {
2599
+ "type": [
2600
+ "string",
2601
+ "number",
2602
+ "boolean"
2603
+ ]
2604
+ }
2605
+ },
2606
+ "$nin": {
2607
+ "type": "array",
2608
+ "maxItems": 100,
2609
+ "items": {
2610
+ "type": [
2611
+ "string",
2612
+ "number",
2613
+ "boolean"
2614
+ ]
2615
+ }
2616
+ }
2617
+ },
2618
+ "additionalProperties": false
2619
+ }
2620
+ ]
2621
+ },
2622
+ "name": {
2623
+ "oneOf": [
2624
+ {
2625
+ "type": [
2626
+ "string",
2627
+ "number",
2628
+ "boolean",
2629
+ "null"
2630
+ ]
2631
+ },
2632
+ {
2633
+ "type": "object",
2634
+ "properties": {
2635
+ "$eq": {
2636
+ "type": [
2637
+ "string",
2638
+ "number",
2639
+ "boolean",
2640
+ "null"
2641
+ ]
2642
+ },
2643
+ "$ne": {
2644
+ "type": [
2645
+ "string",
2646
+ "number",
2647
+ "boolean",
2648
+ "null"
2649
+ ]
2650
+ },
2651
+ "$gt": {
2652
+ "type": [
2653
+ "string",
2654
+ "number",
2655
+ "boolean",
2656
+ "null"
2657
+ ]
2658
+ },
2659
+ "$lt": {
2660
+ "type": [
2661
+ "string",
2662
+ "number",
2663
+ "boolean",
2664
+ "null"
2665
+ ]
2666
+ },
2667
+ "$gte": {
2668
+ "type": [
2669
+ "string",
2670
+ "number",
2671
+ "boolean",
2672
+ "null"
2673
+ ]
2674
+ },
2675
+ "$lte": {
2676
+ "type": [
2677
+ "string",
2678
+ "number",
2679
+ "boolean",
2680
+ "null"
2681
+ ]
2682
+ },
2683
+ "$startsWith": {
2684
+ "type": "string",
2685
+ "minLength": 1
2686
+ },
2687
+ "$endsWith": {
2688
+ "type": "string",
2689
+ "minLength": 1
2690
+ },
2691
+ "$contains": {
2692
+ "type": "string",
2693
+ "minLength": 1
2694
+ },
2695
+ "$ci": {
2696
+ "type": "boolean"
2697
+ },
2698
+ "$in": {
2699
+ "type": "array",
2700
+ "maxItems": 100,
2701
+ "items": {
2702
+ "type": [
2703
+ "string",
2704
+ "number",
2705
+ "boolean"
2706
+ ]
2707
+ }
2708
+ },
2709
+ "$nin": {
2710
+ "type": "array",
2711
+ "maxItems": 100,
2712
+ "items": {
2713
+ "type": [
2714
+ "string",
2715
+ "number",
2716
+ "boolean"
2717
+ ]
2718
+ }
2719
+ }
2720
+ },
2721
+ "additionalProperties": false
2722
+ }
2723
+ ]
2724
+ },
2725
+ "deviceClass": {
2726
+ "oneOf": [
2727
+ {
2728
+ "type": [
2729
+ "string",
2730
+ "number",
2731
+ "boolean",
2732
+ "null"
2733
+ ]
2734
+ },
2735
+ {
2736
+ "type": "object",
2737
+ "properties": {
2738
+ "$eq": {
2739
+ "type": [
2740
+ "string",
2741
+ "number",
2742
+ "boolean",
2743
+ "null"
2744
+ ]
2745
+ },
2746
+ "$ne": {
2747
+ "type": [
2748
+ "string",
2749
+ "number",
2750
+ "boolean",
2751
+ "null"
2752
+ ]
2753
+ },
2754
+ "$gt": {
2755
+ "type": [
2756
+ "string",
2757
+ "number",
2758
+ "boolean",
2759
+ "null"
2760
+ ]
2761
+ },
2762
+ "$lt": {
2763
+ "type": [
2764
+ "string",
2765
+ "number",
2766
+ "boolean",
2767
+ "null"
2768
+ ]
2769
+ },
2770
+ "$gte": {
2771
+ "type": [
2772
+ "string",
2773
+ "number",
2774
+ "boolean",
2775
+ "null"
2776
+ ]
2777
+ },
2778
+ "$lte": {
2779
+ "type": [
2780
+ "string",
2781
+ "number",
2782
+ "boolean",
2783
+ "null"
2784
+ ]
2785
+ },
2786
+ "$startsWith": {
2787
+ "type": "string",
2788
+ "minLength": 1
2789
+ },
2790
+ "$endsWith": {
2791
+ "type": "string",
2792
+ "minLength": 1
2793
+ },
2794
+ "$contains": {
2795
+ "type": "string",
2796
+ "minLength": 1
2797
+ },
2798
+ "$ci": {
2799
+ "type": "boolean"
2800
+ },
2801
+ "$in": {
2802
+ "type": "array",
2803
+ "maxItems": 100,
2804
+ "items": {
2805
+ "type": [
2806
+ "string",
2807
+ "number",
2808
+ "boolean"
2809
+ ]
2810
+ }
2811
+ },
2812
+ "$nin": {
2813
+ "type": "array",
2814
+ "maxItems": 100,
2815
+ "items": {
2816
+ "type": [
2817
+ "string",
2818
+ "number",
2819
+ "boolean"
2820
+ ]
2821
+ }
2822
+ }
2823
+ },
2824
+ "additionalProperties": false
2825
+ }
2826
+ ]
2827
+ },
2828
+ "gatewayId": {
2829
+ "oneOf": [
2830
+ {
2831
+ "oneOf": [
2832
+ {
2833
+ "type": "string",
2834
+ "pattern": "^[A-Fa-f\\d]{24}$"
2835
+ },
2836
+ {
2837
+ "type": "null"
2838
+ }
2839
+ ]
2840
+ },
2841
+ {
2842
+ "type": "object",
2843
+ "properties": {
2844
+ "$eq": {
2845
+ "oneOf": [
2846
+ {
2847
+ "type": "string",
2848
+ "pattern": "^[A-Fa-f\\d]{24}$"
2849
+ },
2850
+ {
2851
+ "type": "null"
2852
+ }
2853
+ ]
2854
+ },
2855
+ "$ne": {
2856
+ "oneOf": [
2857
+ {
2858
+ "type": "string",
2859
+ "pattern": "^[A-Fa-f\\d]{24}$"
2860
+ },
2861
+ {
2862
+ "type": "null"
2863
+ }
2864
+ ]
2865
+ },
2866
+ "$gt": {
2867
+ "oneOf": [
2868
+ {
2869
+ "type": "string",
2870
+ "pattern": "^[A-Fa-f\\d]{24}$"
2871
+ },
2872
+ {
2873
+ "type": "null"
2874
+ }
2875
+ ]
2876
+ },
2877
+ "$lt": {
2878
+ "oneOf": [
2879
+ {
2880
+ "type": "string",
2881
+ "pattern": "^[A-Fa-f\\d]{24}$"
2882
+ },
2883
+ {
2884
+ "type": "null"
2885
+ }
2886
+ ]
2887
+ },
2888
+ "$gte": {
2889
+ "oneOf": [
2890
+ {
2891
+ "type": "string",
2892
+ "pattern": "^[A-Fa-f\\d]{24}$"
2893
+ },
2894
+ {
2895
+ "type": "null"
2896
+ }
2897
+ ]
2898
+ },
2899
+ "$lte": {
2900
+ "oneOf": [
2901
+ {
2902
+ "type": "string",
2903
+ "pattern": "^[A-Fa-f\\d]{24}$"
2904
+ },
2905
+ {
2906
+ "type": "null"
2907
+ }
2908
+ ]
2909
+ },
2910
+ "$in": {
2911
+ "type": "array",
2912
+ "maxItems": 100,
2913
+ "items": {
2914
+ "type": "string",
2915
+ "pattern": "^[A-Fa-f\\d]{24}$"
2916
+ }
2917
+ },
2918
+ "$nin": {
2919
+ "type": "array",
2920
+ "maxItems": 100,
2921
+ "items": {
2922
+ "type": "string",
2923
+ "pattern": "^[A-Fa-f\\d]{24}$"
2924
+ }
2925
+ }
2926
+ },
2927
+ "additionalProperties": false,
2928
+ "minProperties": 1,
2929
+ "maxProperties": 1
2930
+ }
2931
+ ]
2932
+ },
2933
+ "parentId": {
2934
+ "oneOf": [
2935
+ {
2936
+ "oneOf": [
2937
+ {
2938
+ "type": "string",
2939
+ "pattern": "^[A-Fa-f\\d]{24}$"
2940
+ },
2941
+ {
2942
+ "type": "null"
2943
+ }
2944
+ ]
2945
+ },
2946
+ {
2947
+ "type": "object",
2948
+ "properties": {
2949
+ "$eq": {
2950
+ "oneOf": [
2951
+ {
2952
+ "type": "string",
2953
+ "pattern": "^[A-Fa-f\\d]{24}$"
2954
+ },
2955
+ {
2956
+ "type": "null"
2957
+ }
2958
+ ]
2959
+ },
2960
+ "$ne": {
2961
+ "oneOf": [
2962
+ {
2963
+ "type": "string",
2964
+ "pattern": "^[A-Fa-f\\d]{24}$"
2965
+ },
2966
+ {
2967
+ "type": "null"
2968
+ }
2969
+ ]
2970
+ },
2971
+ "$gt": {
2972
+ "oneOf": [
2973
+ {
2974
+ "type": "string",
2975
+ "pattern": "^[A-Fa-f\\d]{24}$"
2976
+ },
2977
+ {
2978
+ "type": "null"
2979
+ }
2980
+ ]
2981
+ },
2982
+ "$lt": {
2983
+ "oneOf": [
2984
+ {
2985
+ "type": "string",
2986
+ "pattern": "^[A-Fa-f\\d]{24}$"
2987
+ },
2988
+ {
2989
+ "type": "null"
2990
+ }
2991
+ ]
2992
+ },
2993
+ "$gte": {
2994
+ "oneOf": [
2995
+ {
2996
+ "type": "string",
2997
+ "pattern": "^[A-Fa-f\\d]{24}$"
2998
+ },
2999
+ {
3000
+ "type": "null"
3001
+ }
3002
+ ]
3003
+ },
3004
+ "$lte": {
3005
+ "oneOf": [
3006
+ {
3007
+ "type": "string",
3008
+ "pattern": "^[A-Fa-f\\d]{24}$"
3009
+ },
3010
+ {
3011
+ "type": "null"
3012
+ }
3013
+ ]
3014
+ },
3015
+ "$in": {
3016
+ "type": "array",
3017
+ "maxItems": 100,
3018
+ "items": {
3019
+ "type": "string",
3020
+ "pattern": "^[A-Fa-f\\d]{24}$"
3021
+ }
3022
+ },
3023
+ "$nin": {
3024
+ "type": "array",
3025
+ "maxItems": 100,
3026
+ "items": {
3027
+ "type": "string",
3028
+ "pattern": "^[A-Fa-f\\d]{24}$"
3029
+ }
3030
+ }
3031
+ },
3032
+ "additionalProperties": false,
3033
+ "minProperties": 1,
3034
+ "maxProperties": 1
3035
+ }
3036
+ ]
3037
+ },
3038
+ "ancestorId": {
3039
+ "oneOf": [
3040
+ {
3041
+ "oneOf": [
3042
+ {
3043
+ "type": "string",
3044
+ "pattern": "^[A-Fa-f\\d]{24}$"
3045
+ },
3046
+ {
3047
+ "type": "null"
3048
+ }
3049
+ ]
3050
+ },
3051
+ {
3052
+ "type": "object",
3053
+ "properties": {
3054
+ "$eq": {
3055
+ "oneOf": [
3056
+ {
3057
+ "type": "string",
3058
+ "pattern": "^[A-Fa-f\\d]{24}$"
3059
+ },
3060
+ {
3061
+ "type": "null"
3062
+ }
3063
+ ]
3064
+ },
3065
+ "$ne": {
3066
+ "oneOf": [
3067
+ {
3068
+ "type": "string",
3069
+ "pattern": "^[A-Fa-f\\d]{24}$"
3070
+ },
3071
+ {
3072
+ "type": "null"
3073
+ }
3074
+ ]
3075
+ },
3076
+ "$gt": {
3077
+ "oneOf": [
3078
+ {
3079
+ "type": "string",
3080
+ "pattern": "^[A-Fa-f\\d]{24}$"
3081
+ },
3082
+ {
3083
+ "type": "null"
3084
+ }
3085
+ ]
3086
+ },
3087
+ "$lt": {
3088
+ "oneOf": [
3089
+ {
3090
+ "type": "string",
3091
+ "pattern": "^[A-Fa-f\\d]{24}$"
3092
+ },
3093
+ {
3094
+ "type": "null"
3095
+ }
3096
+ ]
3097
+ },
3098
+ "$gte": {
3099
+ "oneOf": [
3100
+ {
3101
+ "type": "string",
3102
+ "pattern": "^[A-Fa-f\\d]{24}$"
3103
+ },
3104
+ {
3105
+ "type": "null"
3106
+ }
3107
+ ]
3108
+ },
3109
+ "$lte": {
3110
+ "oneOf": [
3111
+ {
3112
+ "type": "string",
3113
+ "pattern": "^[A-Fa-f\\d]{24}$"
3114
+ },
3115
+ {
3116
+ "type": "null"
3117
+ }
3118
+ ]
3119
+ },
3120
+ "$in": {
3121
+ "type": "array",
3122
+ "maxItems": 100,
3123
+ "items": {
3124
+ "type": "string",
3125
+ "pattern": "^[A-Fa-f\\d]{24}$"
3126
+ }
3127
+ },
3128
+ "$nin": {
3129
+ "type": "array",
3130
+ "maxItems": 100,
3131
+ "items": {
3132
+ "type": "string",
3133
+ "pattern": "^[A-Fa-f\\d]{24}$"
3134
+ }
3135
+ }
3136
+ },
3137
+ "additionalProperties": false,
3138
+ "minProperties": 1,
3139
+ "maxProperties": 1
3140
+ }
3141
+ ]
3142
+ },
3143
+ "attributeName": {
3144
+ "oneOf": [
3145
+ {
3146
+ "type": [
3147
+ "string",
3148
+ "number",
3149
+ "boolean",
3150
+ "null"
3151
+ ]
3152
+ },
3153
+ {
3154
+ "type": "object",
3155
+ "properties": {
3156
+ "$eq": {
3157
+ "type": [
3158
+ "string",
3159
+ "number",
3160
+ "boolean",
3161
+ "null"
3162
+ ]
3163
+ },
3164
+ "$ne": {
3165
+ "type": [
3166
+ "string",
3167
+ "number",
3168
+ "boolean",
3169
+ "null"
3170
+ ]
3171
+ },
3172
+ "$gt": {
3173
+ "type": [
3174
+ "string",
3175
+ "number",
3176
+ "boolean",
3177
+ "null"
3178
+ ]
3179
+ },
3180
+ "$lt": {
3181
+ "type": [
3182
+ "string",
3183
+ "number",
3184
+ "boolean",
3185
+ "null"
3186
+ ]
3187
+ },
3188
+ "$gte": {
3189
+ "type": [
3190
+ "string",
3191
+ "number",
3192
+ "boolean",
3193
+ "null"
3194
+ ]
3195
+ },
3196
+ "$lte": {
3197
+ "type": [
3198
+ "string",
3199
+ "number",
3200
+ "boolean",
3201
+ "null"
3202
+ ]
3203
+ },
3204
+ "$startsWith": {
3205
+ "type": "string",
3206
+ "minLength": 1
3207
+ },
3208
+ "$endsWith": {
3209
+ "type": "string",
3210
+ "minLength": 1
3211
+ },
3212
+ "$contains": {
3213
+ "type": "string",
3214
+ "minLength": 1
3215
+ },
3216
+ "$ci": {
3217
+ "type": "boolean"
3218
+ },
3219
+ "$in": {
3220
+ "type": "array",
3221
+ "maxItems": 100,
3222
+ "items": {
3223
+ "type": [
3224
+ "string",
3225
+ "number",
3226
+ "boolean"
3227
+ ]
3228
+ }
3229
+ },
3230
+ "$nin": {
3231
+ "type": "array",
3232
+ "maxItems": 100,
3233
+ "items": {
3234
+ "type": [
3235
+ "string",
3236
+ "number",
3237
+ "boolean"
3238
+ ]
3239
+ }
3240
+ }
3241
+ },
3242
+ "additionalProperties": false
3243
+ }
3244
+ ]
3245
+ },
3246
+ "experienceUserId": {
3247
+ "oneOf": [
3248
+ {
3249
+ "oneOf": [
3250
+ {
3251
+ "type": "string",
3252
+ "pattern": "^[A-Fa-f\\d]{24}$"
3253
+ },
3254
+ {
3255
+ "type": "null"
3256
+ }
3257
+ ]
3258
+ },
3259
+ {
3260
+ "type": "object",
3261
+ "properties": {
3262
+ "$eq": {
3263
+ "oneOf": [
3264
+ {
3265
+ "type": "string",
3266
+ "pattern": "^[A-Fa-f\\d]{24}$"
3267
+ },
3268
+ {
3269
+ "type": "null"
3270
+ }
3271
+ ]
3272
+ },
3273
+ "$ne": {
3274
+ "oneOf": [
3275
+ {
3276
+ "type": "string",
3277
+ "pattern": "^[A-Fa-f\\d]{24}$"
3278
+ },
3279
+ {
3280
+ "type": "null"
3281
+ }
3282
+ ]
3283
+ },
3284
+ "$gt": {
3285
+ "oneOf": [
3286
+ {
3287
+ "type": "string",
3288
+ "pattern": "^[A-Fa-f\\d]{24}$"
3289
+ },
3290
+ {
3291
+ "type": "null"
3292
+ }
3293
+ ]
3294
+ },
3295
+ "$lt": {
3296
+ "oneOf": [
3297
+ {
3298
+ "type": "string",
3299
+ "pattern": "^[A-Fa-f\\d]{24}$"
3300
+ },
3301
+ {
3302
+ "type": "null"
3303
+ }
3304
+ ]
3305
+ },
3306
+ "$gte": {
3307
+ "oneOf": [
3308
+ {
3309
+ "type": "string",
3310
+ "pattern": "^[A-Fa-f\\d]{24}$"
3311
+ },
3312
+ {
3313
+ "type": "null"
3314
+ }
3315
+ ]
3316
+ },
3317
+ "$lte": {
3318
+ "oneOf": [
3319
+ {
3320
+ "type": "string",
3321
+ "pattern": "^[A-Fa-f\\d]{24}$"
3322
+ },
3323
+ {
3324
+ "type": "null"
3325
+ }
3326
+ ]
3327
+ },
3328
+ "$in": {
3329
+ "type": "array",
3330
+ "maxItems": 100,
3331
+ "items": {
3332
+ "type": "string",
3333
+ "pattern": "^[A-Fa-f\\d]{24}$"
3334
+ }
3335
+ },
3336
+ "$nin": {
3337
+ "type": "array",
3338
+ "maxItems": 100,
3339
+ "items": {
3340
+ "type": "string",
3341
+ "pattern": "^[A-Fa-f\\d]{24}$"
3342
+ }
3343
+ }
3344
+ },
3345
+ "additionalProperties": false,
3346
+ "minProperties": 1,
3347
+ "maxProperties": 1
3348
+ }
3349
+ ]
3350
+ },
3351
+ "experienceGroupId": {
3352
+ "oneOf": [
3353
+ {
3354
+ "oneOf": [
3355
+ {
3356
+ "type": "string",
3357
+ "pattern": "^[A-Fa-f\\d]{24}$"
3358
+ },
3359
+ {
3360
+ "type": "null"
3361
+ }
3362
+ ]
3363
+ },
3364
+ {
3365
+ "type": "object",
3366
+ "properties": {
3367
+ "$eq": {
3368
+ "oneOf": [
3369
+ {
3370
+ "type": "string",
3371
+ "pattern": "^[A-Fa-f\\d]{24}$"
3372
+ },
3373
+ {
3374
+ "type": "null"
3375
+ }
3376
+ ]
3377
+ },
3378
+ "$ne": {
3379
+ "oneOf": [
3380
+ {
3381
+ "type": "string",
3382
+ "pattern": "^[A-Fa-f\\d]{24}$"
3383
+ },
3384
+ {
3385
+ "type": "null"
3386
+ }
3387
+ ]
3388
+ },
3389
+ "$gt": {
3390
+ "oneOf": [
3391
+ {
3392
+ "type": "string",
3393
+ "pattern": "^[A-Fa-f\\d]{24}$"
3394
+ },
3395
+ {
3396
+ "type": "null"
3397
+ }
3398
+ ]
3399
+ },
3400
+ "$lt": {
3401
+ "oneOf": [
3402
+ {
3403
+ "type": "string",
3404
+ "pattern": "^[A-Fa-f\\d]{24}$"
3405
+ },
3406
+ {
3407
+ "type": "null"
3408
+ }
3409
+ ]
3410
+ },
3411
+ "$gte": {
3412
+ "oneOf": [
3413
+ {
3414
+ "type": "string",
3415
+ "pattern": "^[A-Fa-f\\d]{24}$"
3416
+ },
3417
+ {
3418
+ "type": "null"
3419
+ }
3420
+ ]
3421
+ },
3422
+ "$lte": {
3423
+ "oneOf": [
3424
+ {
3425
+ "type": "string",
3426
+ "pattern": "^[A-Fa-f\\d]{24}$"
3427
+ },
3428
+ {
3429
+ "type": "null"
3430
+ }
3431
+ ]
3432
+ },
3433
+ "$in": {
3434
+ "type": "array",
3435
+ "maxItems": 100,
3436
+ "items": {
3437
+ "type": "string",
3438
+ "pattern": "^[A-Fa-f\\d]{24}$"
3439
+ }
3440
+ },
3441
+ "$nin": {
3442
+ "type": "array",
3443
+ "maxItems": 100,
3444
+ "items": {
3445
+ "type": "string",
3446
+ "pattern": "^[A-Fa-f\\d]{24}$"
3447
+ }
3448
+ }
3449
+ },
3450
+ "additionalProperties": false,
3451
+ "minProperties": 1,
3452
+ "maxProperties": 1
3453
+ }
3454
+ ]
3455
+ },
3456
+ "tags": {
3457
+ "oneOf": [
3458
+ {
3459
+ "oneOf": [
3460
+ {
3461
+ "type": "null"
3462
+ },
3463
+ {
3464
+ "type": "object",
3465
+ "properties": {
3466
+ "$tagKey": {
3467
+ "oneOf": [
3468
+ {
3469
+ "type": "string",
3470
+ "maxLength": 255
3471
+ },
3472
+ {
3473
+ "type": "null"
3474
+ },
3475
+ {
3476
+ "type": "object",
3477
+ "properties": {
3478
+ "$in": {
3479
+ "type": "array",
3480
+ "maxItems": 100,
3481
+ "items": {
3482
+ "type": "string",
3483
+ "maxLength": 255
3484
+ }
3485
+ }
3486
+ },
3487
+ "required": [
3488
+ "$in"
3489
+ ],
3490
+ "additionalProperties": false
3491
+ },
3492
+ {
3493
+ "type": "object",
3494
+ "properties": {
3495
+ "$nin": {
3496
+ "type": "array",
3497
+ "maxItems": 100,
3498
+ "items": {
3499
+ "type": "string",
3500
+ "maxLength": 255
3501
+ }
3502
+ }
3503
+ },
3504
+ "required": [
3505
+ "$nin"
3506
+ ],
3507
+ "additionalProperties": false
3508
+ }
3509
+ ]
3510
+ },
3511
+ "$tagValue": {
3512
+ "oneOf": [
3513
+ {
3514
+ "type": "string",
3515
+ "maxLength": 255
3516
+ },
3517
+ {
3518
+ "type": "null"
3519
+ },
3520
+ {
3521
+ "type": "object",
3522
+ "properties": {
3523
+ "$in": {
3524
+ "type": "array",
3525
+ "maxItems": 100,
3526
+ "items": {
3527
+ "type": "string",
3528
+ "maxLength": 255
3529
+ }
3530
+ }
3531
+ },
3532
+ "required": [
3533
+ "$in"
3534
+ ],
3535
+ "additionalProperties": false
3536
+ },
3537
+ {
3538
+ "type": "object",
3539
+ "properties": {
3540
+ "$nin": {
3541
+ "type": "array",
3542
+ "maxItems": 100,
3543
+ "items": {
3544
+ "type": "string",
3545
+ "maxLength": 255
3546
+ }
3547
+ }
3548
+ },
3549
+ "required": [
3550
+ "$nin"
3551
+ ],
3552
+ "additionalProperties": false
3553
+ }
3554
+ ]
3555
+ }
3556
+ },
3557
+ "additionalProperties": false,
3558
+ "minProperties": 1
3559
+ },
3560
+ {
3561
+ "type": "object",
3562
+ "patternProperties": {
3563
+ "^[0-9a-zA-Z_-]{1,255}": {
3564
+ "oneOf": [
3565
+ {
3566
+ "type": "string",
3567
+ "maxLength": 255
3568
+ },
3569
+ {
3570
+ "type": "null"
3571
+ },
3572
+ {
3573
+ "type": "object",
3574
+ "properties": {
3575
+ "$in": {
3576
+ "type": "array",
3577
+ "maxItems": 100,
3578
+ "items": {
3579
+ "type": "string",
3580
+ "maxLength": 255
3581
+ }
3582
+ }
3583
+ },
3584
+ "required": [
3585
+ "$in"
3586
+ ],
3587
+ "additionalProperties": false
3588
+ },
3589
+ {
3590
+ "type": "object",
3591
+ "properties": {
3592
+ "$nin": {
3593
+ "type": "array",
3594
+ "maxItems": 100,
3595
+ "items": {
3596
+ "type": "string",
3597
+ "maxLength": 255
3598
+ }
3599
+ }
3600
+ },
3601
+ "required": [
3602
+ "$nin"
3603
+ ],
3604
+ "additionalProperties": false
3605
+ }
3606
+ ]
3607
+ }
3608
+ },
3609
+ "additionalProperties": false
3610
+ }
3611
+ ]
3612
+ },
3613
+ {
3614
+ "type": "object",
3615
+ "properties": {
3616
+ "$eq": {
3617
+ "oneOf": [
3618
+ {
3619
+ "type": "null"
3620
+ },
3621
+ {
3622
+ "type": "object",
3623
+ "properties": {
3624
+ "$tagKey": {
3625
+ "oneOf": [
3626
+ {
3627
+ "type": "string",
3628
+ "maxLength": 255
3629
+ },
3630
+ {
3631
+ "type": "null"
3632
+ },
3633
+ {
3634
+ "type": "object",
3635
+ "properties": {
3636
+ "$in": {
3637
+ "type": "array",
3638
+ "maxItems": 100,
3639
+ "items": {
3640
+ "type": "string",
3641
+ "maxLength": 255
3642
+ }
3643
+ }
3644
+ },
3645
+ "required": [
3646
+ "$in"
3647
+ ],
3648
+ "additionalProperties": false
3649
+ },
3650
+ {
3651
+ "type": "object",
3652
+ "properties": {
3653
+ "$nin": {
3654
+ "type": "array",
3655
+ "maxItems": 100,
3656
+ "items": {
3657
+ "type": "string",
3658
+ "maxLength": 255
3659
+ }
3660
+ }
3661
+ },
3662
+ "required": [
3663
+ "$nin"
3664
+ ],
3665
+ "additionalProperties": false
3666
+ }
3667
+ ]
3668
+ },
3669
+ "$tagValue": {
3670
+ "oneOf": [
3671
+ {
3672
+ "type": "string",
3673
+ "maxLength": 255
3674
+ },
3675
+ {
3676
+ "type": "null"
3677
+ },
3678
+ {
3679
+ "type": "object",
3680
+ "properties": {
3681
+ "$in": {
3682
+ "type": "array",
3683
+ "maxItems": 100,
3684
+ "items": {
3685
+ "type": "string",
3686
+ "maxLength": 255
3687
+ }
3688
+ }
3689
+ },
3690
+ "required": [
3691
+ "$in"
3692
+ ],
3693
+ "additionalProperties": false
3694
+ },
3695
+ {
3696
+ "type": "object",
3697
+ "properties": {
3698
+ "$nin": {
3699
+ "type": "array",
3700
+ "maxItems": 100,
3701
+ "items": {
3702
+ "type": "string",
3703
+ "maxLength": 255
3704
+ }
3705
+ }
3706
+ },
3707
+ "required": [
3708
+ "$nin"
3709
+ ],
3710
+ "additionalProperties": false
3711
+ }
3712
+ ]
3713
+ }
3714
+ },
3715
+ "additionalProperties": false,
3716
+ "minProperties": 1
3717
+ },
3718
+ {
3719
+ "type": "object",
3720
+ "patternProperties": {
3721
+ "^[0-9a-zA-Z_-]{1,255}": {
3722
+ "oneOf": [
3723
+ {
3724
+ "type": "string",
3725
+ "maxLength": 255
3726
+ },
3727
+ {
3728
+ "type": "null"
3729
+ },
3730
+ {
3731
+ "type": "object",
3732
+ "properties": {
3733
+ "$in": {
3734
+ "type": "array",
3735
+ "maxItems": 100,
3736
+ "items": {
3737
+ "type": "string",
3738
+ "maxLength": 255
3739
+ }
3740
+ }
3741
+ },
3742
+ "required": [
3743
+ "$in"
3744
+ ],
3745
+ "additionalProperties": false
3746
+ },
3747
+ {
3748
+ "type": "object",
3749
+ "properties": {
3750
+ "$nin": {
3751
+ "type": "array",
3752
+ "maxItems": 100,
3753
+ "items": {
3754
+ "type": "string",
3755
+ "maxLength": 255
3756
+ }
3757
+ }
3758
+ },
3759
+ "required": [
3760
+ "$nin"
3761
+ ],
3762
+ "additionalProperties": false
3763
+ }
3764
+ ]
3765
+ }
3766
+ },
3767
+ "additionalProperties": false
3768
+ }
3769
+ ]
3770
+ }
3771
+ },
3772
+ "required": [
3773
+ "$eq"
3774
+ ],
3775
+ "additionalProperties": false
3776
+ },
3777
+ {
3778
+ "type": "object",
3779
+ "properties": {
3780
+ "$ne": {
3781
+ "oneOf": [
3782
+ {
3783
+ "type": "null"
3784
+ },
3785
+ {
3786
+ "type": "object",
3787
+ "properties": {
3788
+ "$tagKey": {
3789
+ "oneOf": [
3790
+ {
3791
+ "type": "string",
3792
+ "maxLength": 255
3793
+ },
3794
+ {
3795
+ "type": "null"
3796
+ },
3797
+ {
3798
+ "type": "object",
3799
+ "properties": {
3800
+ "$in": {
3801
+ "type": "array",
3802
+ "maxItems": 100,
3803
+ "items": {
3804
+ "type": "string",
3805
+ "maxLength": 255
3806
+ }
3807
+ }
3808
+ },
3809
+ "required": [
3810
+ "$in"
3811
+ ],
3812
+ "additionalProperties": false
3813
+ },
3814
+ {
3815
+ "type": "object",
3816
+ "properties": {
3817
+ "$nin": {
3818
+ "type": "array",
3819
+ "maxItems": 100,
3820
+ "items": {
3821
+ "type": "string",
3822
+ "maxLength": 255
3823
+ }
3824
+ }
3825
+ },
3826
+ "required": [
3827
+ "$nin"
3828
+ ],
3829
+ "additionalProperties": false
3830
+ }
3831
+ ]
3832
+ },
3833
+ "$tagValue": {
3834
+ "oneOf": [
3835
+ {
3836
+ "type": "string",
3837
+ "maxLength": 255
3838
+ },
3839
+ {
3840
+ "type": "null"
3841
+ },
3842
+ {
3843
+ "type": "object",
3844
+ "properties": {
3845
+ "$in": {
3846
+ "type": "array",
3847
+ "maxItems": 100,
3848
+ "items": {
3849
+ "type": "string",
3850
+ "maxLength": 255
3851
+ }
3852
+ }
3853
+ },
3854
+ "required": [
3855
+ "$in"
3856
+ ],
3857
+ "additionalProperties": false
3858
+ },
3859
+ {
3860
+ "type": "object",
3861
+ "properties": {
3862
+ "$nin": {
3863
+ "type": "array",
3864
+ "maxItems": 100,
3865
+ "items": {
3866
+ "type": "string",
3867
+ "maxLength": 255
3868
+ }
3869
+ }
3870
+ },
3871
+ "required": [
3872
+ "$nin"
3873
+ ],
3874
+ "additionalProperties": false
3875
+ }
3876
+ ]
3877
+ }
3878
+ },
3879
+ "additionalProperties": false,
3880
+ "minProperties": 1
3881
+ },
3882
+ {
3883
+ "type": "object",
3884
+ "patternProperties": {
3885
+ "^[0-9a-zA-Z_-]{1,255}": {
3886
+ "oneOf": [
3887
+ {
3888
+ "type": "string",
3889
+ "maxLength": 255
3890
+ },
3891
+ {
3892
+ "type": "null"
3893
+ },
3894
+ {
3895
+ "type": "object",
3896
+ "properties": {
3897
+ "$in": {
3898
+ "type": "array",
3899
+ "maxItems": 100,
3900
+ "items": {
3901
+ "type": "string",
3902
+ "maxLength": 255
3903
+ }
3904
+ }
3905
+ },
3906
+ "required": [
3907
+ "$in"
3908
+ ],
3909
+ "additionalProperties": false
3910
+ },
3911
+ {
3912
+ "type": "object",
3913
+ "properties": {
3914
+ "$nin": {
3915
+ "type": "array",
3916
+ "maxItems": 100,
3917
+ "items": {
3918
+ "type": "string",
3919
+ "maxLength": 255
3920
+ }
3921
+ }
3922
+ },
3923
+ "required": [
3924
+ "$nin"
3925
+ ],
3926
+ "additionalProperties": false
3927
+ }
3928
+ ]
3929
+ }
3930
+ },
3931
+ "additionalProperties": false
3932
+ }
3933
+ ]
3934
+ }
3935
+ },
3936
+ "required": [
3937
+ "$ne"
3938
+ ],
3939
+ "additionalProperties": false
3940
+ }
3941
+ ]
3942
+ },
3943
+ "disconnectedAt": {
3944
+ "oneOf": [
3945
+ {
3946
+ "type": [
3947
+ "string",
3948
+ "number",
3949
+ "boolean",
3950
+ "null"
3951
+ ]
3952
+ },
3953
+ {
3954
+ "type": "object",
3955
+ "properties": {
3956
+ "$eq": {
3957
+ "type": [
3958
+ "string",
3959
+ "number",
3960
+ "boolean",
3961
+ "null"
3962
+ ]
3963
+ },
3964
+ "$ne": {
3965
+ "type": [
3966
+ "string",
3967
+ "number",
3968
+ "boolean",
3969
+ "null"
3970
+ ]
3971
+ },
3972
+ "$gt": {
3973
+ "type": [
3974
+ "string",
3975
+ "number",
3976
+ "boolean",
3977
+ "null"
3978
+ ]
3979
+ },
3980
+ "$lt": {
3981
+ "type": [
3982
+ "string",
3983
+ "number",
3984
+ "boolean",
3985
+ "null"
3986
+ ]
3987
+ },
3988
+ "$gte": {
3989
+ "type": [
3990
+ "string",
3991
+ "number",
3992
+ "boolean",
3993
+ "null"
3994
+ ]
3995
+ },
3996
+ "$lte": {
3997
+ "type": [
3998
+ "string",
3999
+ "number",
4000
+ "boolean",
4001
+ "null"
4002
+ ]
4003
+ },
4004
+ "$startsWith": {
4005
+ "type": "string",
4006
+ "minLength": 1
4007
+ },
4008
+ "$endsWith": {
4009
+ "type": "string",
4010
+ "minLength": 1
4011
+ },
4012
+ "$contains": {
4013
+ "type": "string",
4014
+ "minLength": 1
4015
+ },
4016
+ "$ci": {
4017
+ "type": "boolean"
4018
+ },
4019
+ "$in": {
4020
+ "type": "array",
4021
+ "maxItems": 100,
4022
+ "items": {
4023
+ "type": [
4024
+ "string",
4025
+ "number",
4026
+ "boolean"
4027
+ ]
4028
+ }
4029
+ },
4030
+ "$nin": {
4031
+ "type": "array",
4032
+ "maxItems": 100,
4033
+ "items": {
4034
+ "type": [
4035
+ "string",
4036
+ "number",
4037
+ "boolean"
4038
+ ]
4039
+ }
4040
+ }
4041
+ },
4042
+ "additionalProperties": false
4043
+ }
4044
+ ]
4045
+ },
4046
+ "connectedAt": {
4047
+ "oneOf": [
4048
+ {
4049
+ "type": [
4050
+ "string",
4051
+ "number",
4052
+ "boolean",
4053
+ "null"
4054
+ ]
4055
+ },
4056
+ {
4057
+ "type": "object",
4058
+ "properties": {
4059
+ "$eq": {
4060
+ "type": [
4061
+ "string",
4062
+ "number",
4063
+ "boolean",
4064
+ "null"
4065
+ ]
4066
+ },
4067
+ "$ne": {
4068
+ "type": [
4069
+ "string",
4070
+ "number",
4071
+ "boolean",
4072
+ "null"
4073
+ ]
4074
+ },
4075
+ "$gt": {
4076
+ "type": [
4077
+ "string",
4078
+ "number",
4079
+ "boolean",
4080
+ "null"
4081
+ ]
4082
+ },
4083
+ "$lt": {
4084
+ "type": [
4085
+ "string",
4086
+ "number",
4087
+ "boolean",
4088
+ "null"
4089
+ ]
4090
+ },
4091
+ "$gte": {
4092
+ "type": [
4093
+ "string",
4094
+ "number",
4095
+ "boolean",
4096
+ "null"
4097
+ ]
4098
+ },
4099
+ "$lte": {
4100
+ "type": [
4101
+ "string",
4102
+ "number",
4103
+ "boolean",
4104
+ "null"
4105
+ ]
4106
+ },
4107
+ "$startsWith": {
4108
+ "type": "string",
4109
+ "minLength": 1
4110
+ },
4111
+ "$endsWith": {
4112
+ "type": "string",
4113
+ "minLength": 1
4114
+ },
4115
+ "$contains": {
4116
+ "type": "string",
4117
+ "minLength": 1
4118
+ },
4119
+ "$ci": {
4120
+ "type": "boolean"
4121
+ },
4122
+ "$in": {
4123
+ "type": "array",
4124
+ "maxItems": 100,
4125
+ "items": {
4126
+ "type": [
4127
+ "string",
4128
+ "number",
4129
+ "boolean"
4130
+ ]
4131
+ }
4132
+ },
4133
+ "$nin": {
4134
+ "type": "array",
4135
+ "maxItems": 100,
4136
+ "items": {
4137
+ "type": [
4138
+ "string",
4139
+ "number",
4140
+ "boolean"
4141
+ ]
4142
+ }
4143
+ }
4144
+ },
4145
+ "additionalProperties": false
4146
+ }
4147
+ ]
4148
+ },
4149
+ "connectionStatus": {
4150
+ "oneOf": [
4151
+ {
4152
+ "type": [
4153
+ "string",
4154
+ "number",
4155
+ "boolean",
4156
+ "null"
4157
+ ]
4158
+ },
4159
+ {
4160
+ "type": "object",
4161
+ "properties": {
4162
+ "$eq": {
4163
+ "type": [
4164
+ "string",
4165
+ "number",
4166
+ "boolean",
4167
+ "null"
4168
+ ]
4169
+ },
4170
+ "$ne": {
4171
+ "type": [
4172
+ "string",
4173
+ "number",
4174
+ "boolean",
4175
+ "null"
4176
+ ]
4177
+ },
4178
+ "$gt": {
4179
+ "type": [
4180
+ "string",
4181
+ "number",
4182
+ "boolean",
4183
+ "null"
4184
+ ]
4185
+ },
4186
+ "$lt": {
4187
+ "type": [
4188
+ "string",
4189
+ "number",
4190
+ "boolean",
4191
+ "null"
4192
+ ]
4193
+ },
4194
+ "$gte": {
4195
+ "type": [
4196
+ "string",
4197
+ "number",
4198
+ "boolean",
4199
+ "null"
4200
+ ]
4201
+ },
4202
+ "$lte": {
4203
+ "type": [
4204
+ "string",
4205
+ "number",
4206
+ "boolean",
4207
+ "null"
4208
+ ]
4209
+ },
4210
+ "$startsWith": {
4211
+ "type": "string",
4212
+ "minLength": 1
4213
+ },
4214
+ "$endsWith": {
4215
+ "type": "string",
4216
+ "minLength": 1
4217
+ },
4218
+ "$contains": {
4219
+ "type": "string",
4220
+ "minLength": 1
4221
+ },
4222
+ "$ci": {
4223
+ "type": "boolean"
4224
+ },
4225
+ "$in": {
4226
+ "type": "array",
4227
+ "maxItems": 100,
4228
+ "items": {
4229
+ "type": [
4230
+ "string",
4231
+ "number",
4232
+ "boolean"
4233
+ ]
4234
+ }
4235
+ },
4236
+ "$nin": {
4237
+ "type": "array",
4238
+ "maxItems": 100,
4239
+ "items": {
4240
+ "type": [
4241
+ "string",
4242
+ "number",
4243
+ "boolean"
4244
+ ]
4245
+ }
4246
+ }
4247
+ },
4248
+ "additionalProperties": false
4249
+ }
4250
+ ]
4251
+ }
4252
+ },
4253
+ "additionalProperties": false
4254
+ }
41
4255
  },
42
- "maxItems": 100
4256
+ "required": [
4257
+ "flowId",
4258
+ "version"
4259
+ ],
4260
+ "additionalProperties": false
43
4261
  }
44
- },
45
- "additionalProperties": false,
46
- "required": [
47
- "flowId",
48
- "version"
49
4262
  ]
50
4263
  }