losant_rest 1.19.4 → 1.19.7

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