losant_rest 1.12.0 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/docs/_schemas.md +17509 -8097
  5. data/docs/application.md +6 -6
  6. data/docs/applicationApiTokens.md +1 -1
  7. data/docs/applications.md +1 -1
  8. data/docs/dataTable.md +1 -1
  9. data/docs/dataTableRows.md +1 -1
  10. data/docs/dataTables.md +1 -1
  11. data/docs/device.md +43 -0
  12. data/docs/devices.md +41 -2
  13. data/docs/edgeDeployment.md +49 -0
  14. data/docs/events.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/experienceDomains.md +1 -1
  17. data/docs/experienceGroup.md +2 -0
  18. data/docs/experienceSlugs.md +1 -1
  19. data/docs/experienceVersion.md +3 -3
  20. data/docs/experienceVersions.md +2 -2
  21. data/docs/experienceView.md +4 -4
  22. data/docs/experienceViews.md +2 -2
  23. data/docs/file.md +5 -5
  24. data/docs/files.md +2 -2
  25. data/docs/flow.md +41 -0
  26. data/docs/flowVersions.md +44 -0
  27. data/docs/instance.md +168 -0
  28. data/docs/instanceApiToken.md +133 -0
  29. data/docs/instanceApiTokens.md +91 -0
  30. data/docs/instanceMember.md +133 -0
  31. data/docs/instanceMembers.md +91 -0
  32. data/docs/instanceOrg.md +135 -0
  33. data/docs/instanceOrgInvite.md +139 -0
  34. data/docs/instanceOrgInvites.md +96 -0
  35. data/docs/instanceOrgMember.md +139 -0
  36. data/docs/instanceOrgMembers.md +96 -0
  37. data/docs/instanceOrgs.md +91 -0
  38. data/docs/instances.md +50 -0
  39. data/docs/me.md +1 -1
  40. data/docs/org.md +1 -1
  41. data/docs/userApiToken.md +125 -0
  42. data/docs/userApiTokens.md +87 -0
  43. data/lib/losant_rest/application.rb +7 -7
  44. data/lib/losant_rest/application_api_token.rb +1 -1
  45. data/lib/losant_rest/application_api_tokens.rb +2 -2
  46. data/lib/losant_rest/application_certificate.rb +1 -1
  47. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  48. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  49. data/lib/losant_rest/application_certificates.rb +1 -1
  50. data/lib/losant_rest/application_dashboard.rb +1 -1
  51. data/lib/losant_rest/application_dashboards.rb +1 -1
  52. data/lib/losant_rest/application_key.rb +1 -1
  53. data/lib/losant_rest/application_keys.rb +1 -1
  54. data/lib/losant_rest/application_template.rb +1 -1
  55. data/lib/losant_rest/application_templates.rb +1 -1
  56. data/lib/losant_rest/applications.rb +2 -2
  57. data/lib/losant_rest/audit_log.rb +1 -1
  58. data/lib/losant_rest/audit_logs.rb +1 -1
  59. data/lib/losant_rest/auth.rb +1 -1
  60. data/lib/losant_rest/client.rb +63 -3
  61. data/lib/losant_rest/dashboard.rb +1 -1
  62. data/lib/losant_rest/dashboards.rb +1 -1
  63. data/lib/losant_rest/data.rb +1 -1
  64. data/lib/losant_rest/data_table.rb +2 -2
  65. data/lib/losant_rest/data_table_row.rb +1 -1
  66. data/lib/losant_rest/data_table_rows.rb +2 -2
  67. data/lib/losant_rest/data_tables.rb +2 -2
  68. data/lib/losant_rest/device.rb +51 -1
  69. data/lib/losant_rest/device_recipe.rb +1 -1
  70. data/lib/losant_rest/device_recipes.rb +1 -1
  71. data/lib/losant_rest/devices.rb +49 -3
  72. data/lib/losant_rest/edge_deployment.rb +81 -0
  73. data/lib/losant_rest/edge_deployments.rb +1 -1
  74. data/lib/losant_rest/error.rb +1 -1
  75. data/lib/losant_rest/event.rb +1 -1
  76. data/lib/losant_rest/events.rb +4 -4
  77. data/lib/losant_rest/experience.rb +2 -2
  78. data/lib/losant_rest/experience_domain.rb +1 -1
  79. data/lib/losant_rest/experience_domains.rb +2 -2
  80. data/lib/losant_rest/experience_endpoint.rb +1 -1
  81. data/lib/losant_rest/experience_endpoints.rb +1 -1
  82. data/lib/losant_rest/experience_group.rb +5 -1
  83. data/lib/losant_rest/experience_groups.rb +1 -1
  84. data/lib/losant_rest/experience_slug.rb +1 -1
  85. data/lib/losant_rest/experience_slugs.rb +2 -2
  86. data/lib/losant_rest/experience_user.rb +1 -1
  87. data/lib/losant_rest/experience_users.rb +1 -1
  88. data/lib/losant_rest/experience_version.rb +4 -4
  89. data/lib/losant_rest/experience_versions.rb +3 -3
  90. data/lib/losant_rest/experience_view.rb +5 -5
  91. data/lib/losant_rest/experience_views.rb +3 -3
  92. data/lib/losant_rest/file.rb +5 -5
  93. data/lib/losant_rest/files.rb +3 -3
  94. data/lib/losant_rest/flow.rb +47 -1
  95. data/lib/losant_rest/flow_version.rb +1 -1
  96. data/lib/losant_rest/flow_versions.rb +51 -1
  97. data/lib/losant_rest/flows.rb +1 -1
  98. data/lib/losant_rest/instance.rb +227 -0
  99. data/lib/losant_rest/instance_api_token.rb +176 -0
  100. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  101. data/lib/losant_rest/instance_member.rb +176 -0
  102. data/lib/losant_rest/instance_members.rb +134 -0
  103. data/lib/losant_rest/instance_org.rb +180 -0
  104. data/lib/losant_rest/instance_org_invite.rb +182 -0
  105. data/lib/losant_rest/instance_org_invites.rb +138 -0
  106. data/lib/losant_rest/instance_org_member.rb +182 -0
  107. data/lib/losant_rest/instance_org_members.rb +138 -0
  108. data/lib/losant_rest/instance_orgs.rb +139 -0
  109. data/lib/losant_rest/instances.rb +88 -0
  110. data/lib/losant_rest/integration.rb +1 -1
  111. data/lib/losant_rest/integrations.rb +1 -1
  112. data/lib/losant_rest/me.rb +2 -2
  113. data/lib/losant_rest/notebook.rb +1 -1
  114. data/lib/losant_rest/notebooks.rb +1 -1
  115. data/lib/losant_rest/org.rb +2 -2
  116. data/lib/losant_rest/org_invites.rb +1 -1
  117. data/lib/losant_rest/orgs.rb +1 -1
  118. data/lib/losant_rest/user_api_token.rb +170 -0
  119. data/lib/losant_rest/user_api_tokens.rb +132 -0
  120. data/lib/losant_rest/utils.rb +1 -1
  121. data/lib/losant_rest/version.rb +2 -2
  122. data/lib/losant_rest/webhook.rb +1 -1
  123. data/lib/losant_rest/webhooks.rb +1 -1
  124. data/lib/losant_rest.rb +16 -1
  125. data/schemas/advancedDeviceQuery.json +309 -0
  126. data/schemas/apiToken.json +2 -1
  127. data/schemas/apiTokenPost.json +431 -0
  128. data/schemas/apiTokens.json +4 -2
  129. data/schemas/applicationApiTokenPost.json +1 -0
  130. data/schemas/applicationDashboardPost.json +39 -17
  131. data/schemas/auditLog.json +4 -0
  132. data/schemas/auditLogFilter.json +4 -0
  133. data/schemas/auditLogs.json +4 -0
  134. data/schemas/bulkDeleteResponse.json +12 -0
  135. data/schemas/dashboard.json +39 -17
  136. data/schemas/dashboardPatch.json +39 -17
  137. data/schemas/dashboardPost.json +39 -17
  138. data/schemas/dashboardSendReport.json +4 -0
  139. data/schemas/dashboards.json +39 -17
  140. data/schemas/dataTableRowsDelete.json +1 -1
  141. data/schemas/devicePayloadCounts.json +24 -0
  142. data/schemas/devicesDeletePost.json +309 -0
  143. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  144. data/schemas/devicesExportPost.json +309 -0
  145. data/schemas/devicesPatch.json +309 -0
  146. data/schemas/devicesRemoveDataPost.json +309 -0
  147. data/schemas/edgeDeployment.json +16 -0
  148. data/schemas/edgeDeployments.json +16 -0
  149. data/schemas/eventsDeleted.json +1 -1
  150. data/schemas/experienceGroup.json +6 -0
  151. data/schemas/experienceGroups.json +6 -0
  152. data/schemas/experienceLinkedResources.json +381 -6
  153. data/schemas/filePost.json +8 -2
  154. data/schemas/flow.json +127 -2
  155. data/schemas/flowPatch.json +127 -2
  156. data/schemas/flowPost.json +127 -2
  157. data/schemas/flowStorageMetadata.json +13 -0
  158. data/schemas/flowVersion.json +254 -4
  159. data/schemas/flowVersionPost.json +127 -2
  160. data/schemas/flowVersions.json +254 -4
  161. data/schemas/flowVersionsDeletePost.json +941 -0
  162. data/schemas/flows.json +127 -2
  163. data/schemas/flowsImportPost.json +254 -4
  164. data/schemas/flowsImportResult.json +381 -6
  165. data/schemas/githubLogin.json +64 -11
  166. data/schemas/historicalSummaries.json +43 -0
  167. data/schemas/historicalSummary.json +490 -0
  168. data/schemas/instance.json +60 -0
  169. data/schemas/instanceMember.json +41 -0
  170. data/schemas/instanceMemberPatch.json +17 -0
  171. data/schemas/instanceMemberPost.json +37 -0
  172. data/schemas/instanceMembers.json +77 -0
  173. data/schemas/instanceOrg.json +14 -0
  174. data/schemas/instanceOrgMember.json +45 -0
  175. data/schemas/instanceOrgMemberPatch.json +69 -0
  176. data/schemas/instanceOrgMemberPost.json +161 -0
  177. data/schemas/instanceOrgMembers.json +42 -0
  178. data/schemas/instanceOrgPatch.json +19 -0
  179. data/schemas/instanceOrgPost.json +177 -0
  180. data/schemas/instanceOrgs.json +18 -0
  181. data/schemas/instancePatch.json +67 -0
  182. data/schemas/instanceReportOptionsPost.json +41 -0
  183. data/schemas/me.json +30 -14
  184. data/schemas/multiDeviceCommand.json +309 -0
  185. data/schemas/notebook.json +45 -0
  186. data/schemas/notebookPatch.json +30 -0
  187. data/schemas/notebookPost.json +30 -0
  188. data/schemas/notebooks.json +45 -0
  189. data/schemas/org.json +30 -14
  190. data/schemas/orgInvite.json +90 -0
  191. data/schemas/orgInviteCollection.json +130 -0
  192. data/schemas/orgInvites.json +82 -77
  193. data/schemas/orgPatch.json +0 -9
  194. data/schemas/orgRoleInfo.json +69 -0
  195. data/schemas/orgs.json +30 -14
  196. data/schemas/payloadStats.json +126 -0
  197. data/schemas/userCredentials.json +64 -11
  198. data/schemas/userPost.json +64 -11
  199. data/schemas/validateContextError.json +34 -0
  200. data/schemas/validateContextSuccess.json +34 -0
  201. data/schemas/virtualButtonPress.json +4 -0
  202. metadata +55 -3
@@ -0,0 +1,1350 @@
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
+ "disconnectedAt": {
1031
+ "oneOf": [
1032
+ {
1033
+ "type": [
1034
+ "string",
1035
+ "number",
1036
+ "boolean",
1037
+ "null"
1038
+ ]
1039
+ },
1040
+ {
1041
+ "type": "object",
1042
+ "properties": {
1043
+ "$eq": {
1044
+ "type": [
1045
+ "string",
1046
+ "number",
1047
+ "boolean",
1048
+ "null"
1049
+ ]
1050
+ },
1051
+ "$ne": {
1052
+ "type": [
1053
+ "string",
1054
+ "number",
1055
+ "boolean",
1056
+ "null"
1057
+ ]
1058
+ },
1059
+ "$gt": {
1060
+ "type": [
1061
+ "string",
1062
+ "number",
1063
+ "boolean",
1064
+ "null"
1065
+ ]
1066
+ },
1067
+ "$lt": {
1068
+ "type": [
1069
+ "string",
1070
+ "number",
1071
+ "boolean",
1072
+ "null"
1073
+ ]
1074
+ },
1075
+ "$gte": {
1076
+ "type": [
1077
+ "string",
1078
+ "number",
1079
+ "boolean",
1080
+ "null"
1081
+ ]
1082
+ },
1083
+ "$lte": {
1084
+ "type": [
1085
+ "string",
1086
+ "number",
1087
+ "boolean",
1088
+ "null"
1089
+ ]
1090
+ },
1091
+ "$startsWith": {
1092
+ "type": "string",
1093
+ "minLength": 1
1094
+ },
1095
+ "$endsWith": {
1096
+ "type": "string",
1097
+ "minLength": 1
1098
+ },
1099
+ "$contains": {
1100
+ "type": "string",
1101
+ "minLength": 1
1102
+ },
1103
+ "$ci": {
1104
+ "type": "boolean"
1105
+ },
1106
+ "$in": {
1107
+ "type": "array",
1108
+ "maxItems": 100,
1109
+ "items": {
1110
+ "type": [
1111
+ "string",
1112
+ "number",
1113
+ "boolean"
1114
+ ]
1115
+ }
1116
+ },
1117
+ "$nin": {
1118
+ "type": "array",
1119
+ "maxItems": 100,
1120
+ "items": {
1121
+ "type": [
1122
+ "string",
1123
+ "number",
1124
+ "boolean"
1125
+ ]
1126
+ }
1127
+ }
1128
+ },
1129
+ "additionalProperties": false
1130
+ }
1131
+ ]
1132
+ },
1133
+ "connectedAt": {
1134
+ "oneOf": [
1135
+ {
1136
+ "type": [
1137
+ "string",
1138
+ "number",
1139
+ "boolean",
1140
+ "null"
1141
+ ]
1142
+ },
1143
+ {
1144
+ "type": "object",
1145
+ "properties": {
1146
+ "$eq": {
1147
+ "type": [
1148
+ "string",
1149
+ "number",
1150
+ "boolean",
1151
+ "null"
1152
+ ]
1153
+ },
1154
+ "$ne": {
1155
+ "type": [
1156
+ "string",
1157
+ "number",
1158
+ "boolean",
1159
+ "null"
1160
+ ]
1161
+ },
1162
+ "$gt": {
1163
+ "type": [
1164
+ "string",
1165
+ "number",
1166
+ "boolean",
1167
+ "null"
1168
+ ]
1169
+ },
1170
+ "$lt": {
1171
+ "type": [
1172
+ "string",
1173
+ "number",
1174
+ "boolean",
1175
+ "null"
1176
+ ]
1177
+ },
1178
+ "$gte": {
1179
+ "type": [
1180
+ "string",
1181
+ "number",
1182
+ "boolean",
1183
+ "null"
1184
+ ]
1185
+ },
1186
+ "$lte": {
1187
+ "type": [
1188
+ "string",
1189
+ "number",
1190
+ "boolean",
1191
+ "null"
1192
+ ]
1193
+ },
1194
+ "$startsWith": {
1195
+ "type": "string",
1196
+ "minLength": 1
1197
+ },
1198
+ "$endsWith": {
1199
+ "type": "string",
1200
+ "minLength": 1
1201
+ },
1202
+ "$contains": {
1203
+ "type": "string",
1204
+ "minLength": 1
1205
+ },
1206
+ "$ci": {
1207
+ "type": "boolean"
1208
+ },
1209
+ "$in": {
1210
+ "type": "array",
1211
+ "maxItems": 100,
1212
+ "items": {
1213
+ "type": [
1214
+ "string",
1215
+ "number",
1216
+ "boolean"
1217
+ ]
1218
+ }
1219
+ },
1220
+ "$nin": {
1221
+ "type": "array",
1222
+ "maxItems": 100,
1223
+ "items": {
1224
+ "type": [
1225
+ "string",
1226
+ "number",
1227
+ "boolean"
1228
+ ]
1229
+ }
1230
+ }
1231
+ },
1232
+ "additionalProperties": false
1233
+ }
1234
+ ]
1235
+ },
1236
+ "connectionStatus": {
1237
+ "oneOf": [
1238
+ {
1239
+ "type": [
1240
+ "string",
1241
+ "number",
1242
+ "boolean",
1243
+ "null"
1244
+ ]
1245
+ },
1246
+ {
1247
+ "type": "object",
1248
+ "properties": {
1249
+ "$eq": {
1250
+ "type": [
1251
+ "string",
1252
+ "number",
1253
+ "boolean",
1254
+ "null"
1255
+ ]
1256
+ },
1257
+ "$ne": {
1258
+ "type": [
1259
+ "string",
1260
+ "number",
1261
+ "boolean",
1262
+ "null"
1263
+ ]
1264
+ },
1265
+ "$gt": {
1266
+ "type": [
1267
+ "string",
1268
+ "number",
1269
+ "boolean",
1270
+ "null"
1271
+ ]
1272
+ },
1273
+ "$lt": {
1274
+ "type": [
1275
+ "string",
1276
+ "number",
1277
+ "boolean",
1278
+ "null"
1279
+ ]
1280
+ },
1281
+ "$gte": {
1282
+ "type": [
1283
+ "string",
1284
+ "number",
1285
+ "boolean",
1286
+ "null"
1287
+ ]
1288
+ },
1289
+ "$lte": {
1290
+ "type": [
1291
+ "string",
1292
+ "number",
1293
+ "boolean",
1294
+ "null"
1295
+ ]
1296
+ },
1297
+ "$startsWith": {
1298
+ "type": "string",
1299
+ "minLength": 1
1300
+ },
1301
+ "$endsWith": {
1302
+ "type": "string",
1303
+ "minLength": 1
1304
+ },
1305
+ "$contains": {
1306
+ "type": "string",
1307
+ "minLength": 1
1308
+ },
1309
+ "$ci": {
1310
+ "type": "boolean"
1311
+ },
1312
+ "$in": {
1313
+ "type": "array",
1314
+ "maxItems": 100,
1315
+ "items": {
1316
+ "type": [
1317
+ "string",
1318
+ "number",
1319
+ "boolean"
1320
+ ]
1321
+ }
1322
+ },
1323
+ "$nin": {
1324
+ "type": "array",
1325
+ "maxItems": 100,
1326
+ "items": {
1327
+ "type": [
1328
+ "string",
1329
+ "number",
1330
+ "boolean"
1331
+ ]
1332
+ }
1333
+ }
1334
+ },
1335
+ "additionalProperties": false
1336
+ }
1337
+ ]
1338
+ }
1339
+ },
1340
+ "additionalProperties": false
1341
+ },
1342
+ "start": {
1343
+ "type": "number"
1344
+ },
1345
+ "end": {
1346
+ "type": "number"
1347
+ }
1348
+ },
1349
+ "additionalProperties": false
1350
+ }