losant_rest 1.10.1 → 1.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/_schemas.md +26941 -15658
- data/docs/application.md +42 -0
- data/docs/applicationApiTokens.md +2 -2
- data/docs/applicationCertificateAuthorities.md +1 -1
- data/docs/applicationCertificates.md +1 -1
- data/docs/applicationKeys.md +1 -1
- data/docs/applicationTemplate.md +46 -0
- data/docs/applicationTemplates.md +77 -2
- data/docs/applications.md +1 -1
- data/docs/auditLogs.md +1 -1
- data/docs/dashboards.md +1 -1
- data/docs/dataTables.md +1 -1
- data/docs/device.md +6 -3
- data/docs/deviceRecipes.md +1 -1
- data/docs/devices.md +217 -5
- data/docs/edgeDeployments.md +1 -1
- data/docs/events.md +1 -1
- data/docs/experienceEndpoints.md +1 -0
- data/docs/experienceGroups.md +1 -1
- data/docs/experienceUsers.md +1 -1
- data/docs/experienceVersions.md +1 -1
- data/docs/experienceViews.md +1 -1
- data/docs/file.md +4 -4
- data/docs/files.md +1 -1
- data/docs/flow.md +94 -1
- data/docs/flowVersion.md +96 -1
- data/docs/flowVersions.md +2 -1
- data/docs/flows.md +4 -2
- data/docs/integrations.md +1 -1
- data/docs/me.md +0 -36
- data/docs/notebooks.md +1 -1
- data/docs/orgs.md +1 -1
- data/docs/webhooks.md +1 -1
- data/lib/losant_rest.rb +1 -0
- data/lib/losant_rest/application.rb +48 -0
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/application_template.rb +79 -0
- data/lib/losant_rest/application_templates.rb +89 -1
- data/lib/losant_rest/client.rb +6 -2
- data/lib/losant_rest/device.rb +9 -3
- data/lib/losant_rest/devices.rb +255 -3
- data/lib/losant_rest/experience_endpoints.rb +2 -0
- data/lib/losant_rest/file.rb +3 -3
- data/lib/losant_rest/flow.rb +115 -1
- data/lib/losant_rest/flow_version.rb +115 -1
- data/lib/losant_rest/flow_versions.rb +3 -0
- data/lib/losant_rest/flows.rb +6 -0
- data/lib/losant_rest/me.rb +0 -41
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/advancedDeviceQuery.json +110 -0
- data/schemas/advancedEventQuery.json +198 -0
- data/schemas/advancedFlowByVersionQuery.json +665 -0
- data/schemas/advancedFlowQuery.json +665 -0
- data/schemas/advancedFlowVersionQuery.json +707 -0
- data/schemas/advancedQuery.json +22 -0
- data/schemas/application.json +8 -0
- data/schemas/applicationApiTokenPost.json +11 -1
- data/schemas/applicationApplyTemplatePatch.json +19 -0
- data/schemas/applicationCreationByTemplateResult.json +8 -0
- data/schemas/applicationPost.json +8 -0
- data/schemas/applicationTemplate.json +20 -0
- data/schemas/applicationTemplateCategories.json +43 -0
- data/schemas/applicationTemplateCategory.json +23 -0
- data/schemas/applicationTemplates.json +32 -0
- data/schemas/applications.json +8 -0
- data/schemas/attributeNamesResponse.json +14 -0
- data/schemas/authedUser.json +3 -0
- data/schemas/changePassword.json +2 -2
- data/schemas/dashboard.json +175 -25
- data/schemas/dashboardPatch.json +175 -25
- data/schemas/dashboardPost.json +175 -25
- data/schemas/dashboards.json +175 -25
- data/schemas/dataExport.json +142 -0
- data/schemas/dataTableRowsExport.json +22 -0
- data/schemas/deviceAttributeDataTypeFilter.json +29 -0
- data/schemas/deviceClassFilter.json +1 -2
- data/schemas/devicesDataRemoved.json +12 -0
- data/schemas/devicesDeletePost.json +1034 -0
- data/schemas/devicesDeleted.json +12 -0
- data/schemas/devicesExportPost.json +1035 -0
- data/schemas/devicesPatch.json +1757 -4
- data/schemas/devicesRemoveDataPost.json +1056 -0
- data/schemas/devicesUpdated.json +18 -0
- data/schemas/eventPost.json +22 -0
- data/schemas/eventsExport.json +198 -0
- data/schemas/experienceDomain.json +1 -1
- data/schemas/experienceDomainPatch.json +1 -1
- data/schemas/experienceDomainPost.json +1 -1
- data/schemas/experienceDomains.json +1 -1
- data/schemas/experienceLinkedResources.json +96 -0
- data/schemas/experienceVersion.json +10 -1
- data/schemas/experienceVersionPatch.json +9 -0
- data/schemas/experienceVersions.json +10 -1
- data/schemas/flow.json +32 -0
- data/schemas/flowErrors.json +87 -0
- data/schemas/flowPatch.json +32 -0
- data/schemas/flowPost.json +32 -0
- data/schemas/flowStats.json +54 -0
- data/schemas/flowVersion.json +64 -0
- data/schemas/flowVersionPost.json +32 -0
- data/schemas/flowVersions.json +64 -0
- data/schemas/flows.json +32 -0
- data/schemas/flowsImportPost.json +64 -0
- data/schemas/flowsImportResult.json +96 -0
- data/schemas/githubLogin.json +17 -4
- data/schemas/integration.json +3 -0
- data/schemas/integrationPatch.json +3 -0
- data/schemas/integrationPost.json +3 -0
- data/schemas/integrations.json +3 -0
- data/schemas/me.json +3 -3
- data/schemas/mePatch.json +2 -2
- data/schemas/multiDeviceCommand.json +1019 -0
- data/schemas/notebook.json +96 -0
- data/schemas/notebookExecutionLogs.json +7 -0
- data/schemas/notebookPatch.json +96 -0
- data/schemas/notebookPost.json +96 -0
- data/schemas/notebooks.json +96 -0
- data/schemas/org.json +1 -1
- data/schemas/orgInviteInfo.json +3 -0
- data/schemas/orgInvitePost.json +3 -0
- data/schemas/orgInvites.json +3 -0
- data/schemas/orgPatch.json +1 -1
- data/schemas/orgs.json +1 -1
- data/schemas/passwordResetFinish.json +2 -2
- data/schemas/samlResponse.json +1 -1
- data/schemas/tagKeysResponse.json +14 -0
- data/schemas/tagValuesResponse.json +19 -0
- data/schemas/templateKeywords.json +14 -0
- data/schemas/timeSeriesData.json +12 -2
- data/schemas/timeSeriesQuery.json +94 -14
- data/schemas/userCredentials.json +15 -3
- data/schemas/userPost.json +23 -7
- metadata +27 -6
@@ -0,0 +1,665 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"$and": {
|
6
|
+
"type": "array",
|
7
|
+
"items": {
|
8
|
+
"$ref": "#/definitions/advancedFlowQuery"
|
9
|
+
},
|
10
|
+
"maxItems": 100
|
11
|
+
},
|
12
|
+
"$or": {
|
13
|
+
"type": "array",
|
14
|
+
"items": {
|
15
|
+
"$ref": "#/definitions/advancedFlowQuery"
|
16
|
+
},
|
17
|
+
"maxItems": 100
|
18
|
+
},
|
19
|
+
"$nor": {
|
20
|
+
"type": "array",
|
21
|
+
"items": {
|
22
|
+
"$ref": "#/definitions/advancedFlowQuery"
|
23
|
+
},
|
24
|
+
"maxItems": 100
|
25
|
+
},
|
26
|
+
"name": {
|
27
|
+
"oneOf": [
|
28
|
+
{
|
29
|
+
"type": [
|
30
|
+
"string",
|
31
|
+
"number",
|
32
|
+
"boolean",
|
33
|
+
"null"
|
34
|
+
]
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"type": "object",
|
38
|
+
"properties": {
|
39
|
+
"$eq": {
|
40
|
+
"type": [
|
41
|
+
"string",
|
42
|
+
"number",
|
43
|
+
"boolean",
|
44
|
+
"null"
|
45
|
+
]
|
46
|
+
},
|
47
|
+
"$ne": {
|
48
|
+
"type": [
|
49
|
+
"string",
|
50
|
+
"number",
|
51
|
+
"boolean",
|
52
|
+
"null"
|
53
|
+
]
|
54
|
+
},
|
55
|
+
"$gt": {
|
56
|
+
"type": [
|
57
|
+
"string",
|
58
|
+
"number",
|
59
|
+
"boolean",
|
60
|
+
"null"
|
61
|
+
]
|
62
|
+
},
|
63
|
+
"$lt": {
|
64
|
+
"type": [
|
65
|
+
"string",
|
66
|
+
"number",
|
67
|
+
"boolean",
|
68
|
+
"null"
|
69
|
+
]
|
70
|
+
},
|
71
|
+
"$gte": {
|
72
|
+
"type": [
|
73
|
+
"string",
|
74
|
+
"number",
|
75
|
+
"boolean",
|
76
|
+
"null"
|
77
|
+
]
|
78
|
+
},
|
79
|
+
"$lte": {
|
80
|
+
"type": [
|
81
|
+
"string",
|
82
|
+
"number",
|
83
|
+
"boolean",
|
84
|
+
"null"
|
85
|
+
]
|
86
|
+
},
|
87
|
+
"$startsWith": {
|
88
|
+
"type": "string",
|
89
|
+
"minLength": 1
|
90
|
+
},
|
91
|
+
"$endsWith": {
|
92
|
+
"type": "string",
|
93
|
+
"minLength": 1
|
94
|
+
},
|
95
|
+
"$contains": {
|
96
|
+
"type": "string",
|
97
|
+
"minLength": 1
|
98
|
+
},
|
99
|
+
"$ci": {
|
100
|
+
"type": "boolean"
|
101
|
+
},
|
102
|
+
"$in": {
|
103
|
+
"type": "array",
|
104
|
+
"maxItems": 100,
|
105
|
+
"items": {
|
106
|
+
"type": [
|
107
|
+
"string",
|
108
|
+
"number",
|
109
|
+
"boolean"
|
110
|
+
]
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"$nin": {
|
114
|
+
"type": "array",
|
115
|
+
"maxItems": 100,
|
116
|
+
"items": {
|
117
|
+
"type": [
|
118
|
+
"string",
|
119
|
+
"number",
|
120
|
+
"boolean"
|
121
|
+
]
|
122
|
+
}
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"additionalProperties": false
|
126
|
+
}
|
127
|
+
]
|
128
|
+
},
|
129
|
+
"id": {
|
130
|
+
"oneOf": [
|
131
|
+
{
|
132
|
+
"oneOf": [
|
133
|
+
{
|
134
|
+
"type": "string",
|
135
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"type": "null"
|
139
|
+
}
|
140
|
+
]
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"type": "object",
|
144
|
+
"properties": {
|
145
|
+
"$eq": {
|
146
|
+
"oneOf": [
|
147
|
+
{
|
148
|
+
"type": "string",
|
149
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"type": "null"
|
153
|
+
}
|
154
|
+
]
|
155
|
+
},
|
156
|
+
"$ne": {
|
157
|
+
"oneOf": [
|
158
|
+
{
|
159
|
+
"type": "string",
|
160
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"type": "null"
|
164
|
+
}
|
165
|
+
]
|
166
|
+
},
|
167
|
+
"$in": {
|
168
|
+
"type": "array",
|
169
|
+
"maxItems": 100,
|
170
|
+
"items": {
|
171
|
+
"type": "string",
|
172
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
173
|
+
}
|
174
|
+
},
|
175
|
+
"$nin": {
|
176
|
+
"type": "array",
|
177
|
+
"maxItems": 100,
|
178
|
+
"items": {
|
179
|
+
"type": "string",
|
180
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
181
|
+
}
|
182
|
+
}
|
183
|
+
},
|
184
|
+
"additionalProperties": false,
|
185
|
+
"minProperties": 1,
|
186
|
+
"maxProperties": 1
|
187
|
+
}
|
188
|
+
]
|
189
|
+
},
|
190
|
+
"creationDate": {
|
191
|
+
"oneOf": [
|
192
|
+
{
|
193
|
+
"type": [
|
194
|
+
"string",
|
195
|
+
"number",
|
196
|
+
"boolean",
|
197
|
+
"null"
|
198
|
+
]
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"type": "object",
|
202
|
+
"properties": {
|
203
|
+
"$eq": {
|
204
|
+
"type": [
|
205
|
+
"string",
|
206
|
+
"number",
|
207
|
+
"boolean",
|
208
|
+
"null"
|
209
|
+
]
|
210
|
+
},
|
211
|
+
"$ne": {
|
212
|
+
"type": [
|
213
|
+
"string",
|
214
|
+
"number",
|
215
|
+
"boolean",
|
216
|
+
"null"
|
217
|
+
]
|
218
|
+
},
|
219
|
+
"$gt": {
|
220
|
+
"type": [
|
221
|
+
"string",
|
222
|
+
"number",
|
223
|
+
"boolean",
|
224
|
+
"null"
|
225
|
+
]
|
226
|
+
},
|
227
|
+
"$lt": {
|
228
|
+
"type": [
|
229
|
+
"string",
|
230
|
+
"number",
|
231
|
+
"boolean",
|
232
|
+
"null"
|
233
|
+
]
|
234
|
+
},
|
235
|
+
"$gte": {
|
236
|
+
"type": [
|
237
|
+
"string",
|
238
|
+
"number",
|
239
|
+
"boolean",
|
240
|
+
"null"
|
241
|
+
]
|
242
|
+
},
|
243
|
+
"$lte": {
|
244
|
+
"type": [
|
245
|
+
"string",
|
246
|
+
"number",
|
247
|
+
"boolean",
|
248
|
+
"null"
|
249
|
+
]
|
250
|
+
},
|
251
|
+
"$startsWith": {
|
252
|
+
"type": "string",
|
253
|
+
"minLength": 1
|
254
|
+
},
|
255
|
+
"$endsWith": {
|
256
|
+
"type": "string",
|
257
|
+
"minLength": 1
|
258
|
+
},
|
259
|
+
"$contains": {
|
260
|
+
"type": "string",
|
261
|
+
"minLength": 1
|
262
|
+
},
|
263
|
+
"$ci": {
|
264
|
+
"type": "boolean"
|
265
|
+
},
|
266
|
+
"$in": {
|
267
|
+
"type": "array",
|
268
|
+
"maxItems": 100,
|
269
|
+
"items": {
|
270
|
+
"type": [
|
271
|
+
"string",
|
272
|
+
"number",
|
273
|
+
"boolean"
|
274
|
+
]
|
275
|
+
}
|
276
|
+
},
|
277
|
+
"$nin": {
|
278
|
+
"type": "array",
|
279
|
+
"maxItems": 100,
|
280
|
+
"items": {
|
281
|
+
"type": [
|
282
|
+
"string",
|
283
|
+
"number",
|
284
|
+
"boolean"
|
285
|
+
]
|
286
|
+
}
|
287
|
+
}
|
288
|
+
},
|
289
|
+
"additionalProperties": false
|
290
|
+
}
|
291
|
+
]
|
292
|
+
},
|
293
|
+
"lastUpdated": {
|
294
|
+
"oneOf": [
|
295
|
+
{
|
296
|
+
"type": [
|
297
|
+
"string",
|
298
|
+
"number",
|
299
|
+
"boolean",
|
300
|
+
"null"
|
301
|
+
]
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"type": "object",
|
305
|
+
"properties": {
|
306
|
+
"$eq": {
|
307
|
+
"type": [
|
308
|
+
"string",
|
309
|
+
"number",
|
310
|
+
"boolean",
|
311
|
+
"null"
|
312
|
+
]
|
313
|
+
},
|
314
|
+
"$ne": {
|
315
|
+
"type": [
|
316
|
+
"string",
|
317
|
+
"number",
|
318
|
+
"boolean",
|
319
|
+
"null"
|
320
|
+
]
|
321
|
+
},
|
322
|
+
"$gt": {
|
323
|
+
"type": [
|
324
|
+
"string",
|
325
|
+
"number",
|
326
|
+
"boolean",
|
327
|
+
"null"
|
328
|
+
]
|
329
|
+
},
|
330
|
+
"$lt": {
|
331
|
+
"type": [
|
332
|
+
"string",
|
333
|
+
"number",
|
334
|
+
"boolean",
|
335
|
+
"null"
|
336
|
+
]
|
337
|
+
},
|
338
|
+
"$gte": {
|
339
|
+
"type": [
|
340
|
+
"string",
|
341
|
+
"number",
|
342
|
+
"boolean",
|
343
|
+
"null"
|
344
|
+
]
|
345
|
+
},
|
346
|
+
"$lte": {
|
347
|
+
"type": [
|
348
|
+
"string",
|
349
|
+
"number",
|
350
|
+
"boolean",
|
351
|
+
"null"
|
352
|
+
]
|
353
|
+
},
|
354
|
+
"$startsWith": {
|
355
|
+
"type": "string",
|
356
|
+
"minLength": 1
|
357
|
+
},
|
358
|
+
"$endsWith": {
|
359
|
+
"type": "string",
|
360
|
+
"minLength": 1
|
361
|
+
},
|
362
|
+
"$contains": {
|
363
|
+
"type": "string",
|
364
|
+
"minLength": 1
|
365
|
+
},
|
366
|
+
"$ci": {
|
367
|
+
"type": "boolean"
|
368
|
+
},
|
369
|
+
"$in": {
|
370
|
+
"type": "array",
|
371
|
+
"maxItems": 100,
|
372
|
+
"items": {
|
373
|
+
"type": [
|
374
|
+
"string",
|
375
|
+
"number",
|
376
|
+
"boolean"
|
377
|
+
]
|
378
|
+
}
|
379
|
+
},
|
380
|
+
"$nin": {
|
381
|
+
"type": "array",
|
382
|
+
"maxItems": 100,
|
383
|
+
"items": {
|
384
|
+
"type": [
|
385
|
+
"string",
|
386
|
+
"number",
|
387
|
+
"boolean"
|
388
|
+
]
|
389
|
+
}
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"additionalProperties": false
|
393
|
+
}
|
394
|
+
]
|
395
|
+
},
|
396
|
+
"flowClass": {
|
397
|
+
"oneOf": [
|
398
|
+
{
|
399
|
+
"type": [
|
400
|
+
"string",
|
401
|
+
"number",
|
402
|
+
"boolean",
|
403
|
+
"null"
|
404
|
+
]
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"type": "object",
|
408
|
+
"properties": {
|
409
|
+
"$eq": {
|
410
|
+
"type": [
|
411
|
+
"string",
|
412
|
+
"number",
|
413
|
+
"boolean",
|
414
|
+
"null"
|
415
|
+
]
|
416
|
+
},
|
417
|
+
"$ne": {
|
418
|
+
"type": [
|
419
|
+
"string",
|
420
|
+
"number",
|
421
|
+
"boolean",
|
422
|
+
"null"
|
423
|
+
]
|
424
|
+
},
|
425
|
+
"$gt": {
|
426
|
+
"type": [
|
427
|
+
"string",
|
428
|
+
"number",
|
429
|
+
"boolean",
|
430
|
+
"null"
|
431
|
+
]
|
432
|
+
},
|
433
|
+
"$lt": {
|
434
|
+
"type": [
|
435
|
+
"string",
|
436
|
+
"number",
|
437
|
+
"boolean",
|
438
|
+
"null"
|
439
|
+
]
|
440
|
+
},
|
441
|
+
"$gte": {
|
442
|
+
"type": [
|
443
|
+
"string",
|
444
|
+
"number",
|
445
|
+
"boolean",
|
446
|
+
"null"
|
447
|
+
]
|
448
|
+
},
|
449
|
+
"$lte": {
|
450
|
+
"type": [
|
451
|
+
"string",
|
452
|
+
"number",
|
453
|
+
"boolean",
|
454
|
+
"null"
|
455
|
+
]
|
456
|
+
},
|
457
|
+
"$startsWith": {
|
458
|
+
"type": "string",
|
459
|
+
"minLength": 1
|
460
|
+
},
|
461
|
+
"$endsWith": {
|
462
|
+
"type": "string",
|
463
|
+
"minLength": 1
|
464
|
+
},
|
465
|
+
"$contains": {
|
466
|
+
"type": "string",
|
467
|
+
"minLength": 1
|
468
|
+
},
|
469
|
+
"$ci": {
|
470
|
+
"type": "boolean"
|
471
|
+
},
|
472
|
+
"$in": {
|
473
|
+
"type": "array",
|
474
|
+
"maxItems": 100,
|
475
|
+
"items": {
|
476
|
+
"type": [
|
477
|
+
"string",
|
478
|
+
"number",
|
479
|
+
"boolean"
|
480
|
+
]
|
481
|
+
}
|
482
|
+
},
|
483
|
+
"$nin": {
|
484
|
+
"type": "array",
|
485
|
+
"maxItems": 100,
|
486
|
+
"items": {
|
487
|
+
"type": [
|
488
|
+
"string",
|
489
|
+
"number",
|
490
|
+
"boolean"
|
491
|
+
]
|
492
|
+
}
|
493
|
+
}
|
494
|
+
},
|
495
|
+
"additionalProperties": false
|
496
|
+
}
|
497
|
+
]
|
498
|
+
},
|
499
|
+
"enabled": {
|
500
|
+
"oneOf": [
|
501
|
+
{
|
502
|
+
"type": [
|
503
|
+
"string",
|
504
|
+
"number",
|
505
|
+
"boolean",
|
506
|
+
"null"
|
507
|
+
]
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"type": "object",
|
511
|
+
"properties": {
|
512
|
+
"$eq": {
|
513
|
+
"type": [
|
514
|
+
"string",
|
515
|
+
"number",
|
516
|
+
"boolean",
|
517
|
+
"null"
|
518
|
+
]
|
519
|
+
},
|
520
|
+
"$ne": {
|
521
|
+
"type": [
|
522
|
+
"string",
|
523
|
+
"number",
|
524
|
+
"boolean",
|
525
|
+
"null"
|
526
|
+
]
|
527
|
+
},
|
528
|
+
"$gt": {
|
529
|
+
"type": [
|
530
|
+
"string",
|
531
|
+
"number",
|
532
|
+
"boolean",
|
533
|
+
"null"
|
534
|
+
]
|
535
|
+
},
|
536
|
+
"$lt": {
|
537
|
+
"type": [
|
538
|
+
"string",
|
539
|
+
"number",
|
540
|
+
"boolean",
|
541
|
+
"null"
|
542
|
+
]
|
543
|
+
},
|
544
|
+
"$gte": {
|
545
|
+
"type": [
|
546
|
+
"string",
|
547
|
+
"number",
|
548
|
+
"boolean",
|
549
|
+
"null"
|
550
|
+
]
|
551
|
+
},
|
552
|
+
"$lte": {
|
553
|
+
"type": [
|
554
|
+
"string",
|
555
|
+
"number",
|
556
|
+
"boolean",
|
557
|
+
"null"
|
558
|
+
]
|
559
|
+
},
|
560
|
+
"$startsWith": {
|
561
|
+
"type": "string",
|
562
|
+
"minLength": 1
|
563
|
+
},
|
564
|
+
"$endsWith": {
|
565
|
+
"type": "string",
|
566
|
+
"minLength": 1
|
567
|
+
},
|
568
|
+
"$contains": {
|
569
|
+
"type": "string",
|
570
|
+
"minLength": 1
|
571
|
+
},
|
572
|
+
"$ci": {
|
573
|
+
"type": "boolean"
|
574
|
+
},
|
575
|
+
"$in": {
|
576
|
+
"type": "array",
|
577
|
+
"maxItems": 100,
|
578
|
+
"items": {
|
579
|
+
"type": [
|
580
|
+
"string",
|
581
|
+
"number",
|
582
|
+
"boolean"
|
583
|
+
]
|
584
|
+
}
|
585
|
+
},
|
586
|
+
"$nin": {
|
587
|
+
"type": "array",
|
588
|
+
"maxItems": 100,
|
589
|
+
"items": {
|
590
|
+
"type": [
|
591
|
+
"string",
|
592
|
+
"number",
|
593
|
+
"boolean"
|
594
|
+
]
|
595
|
+
}
|
596
|
+
}
|
597
|
+
},
|
598
|
+
"additionalProperties": false
|
599
|
+
}
|
600
|
+
]
|
601
|
+
},
|
602
|
+
"defaultVersion": {
|
603
|
+
"oneOf": [
|
604
|
+
{
|
605
|
+
"oneOf": [
|
606
|
+
{
|
607
|
+
"type": "string",
|
608
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"type": "null"
|
612
|
+
}
|
613
|
+
]
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"type": "object",
|
617
|
+
"properties": {
|
618
|
+
"$eq": {
|
619
|
+
"oneOf": [
|
620
|
+
{
|
621
|
+
"type": "string",
|
622
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"type": "null"
|
626
|
+
}
|
627
|
+
]
|
628
|
+
},
|
629
|
+
"$ne": {
|
630
|
+
"oneOf": [
|
631
|
+
{
|
632
|
+
"type": "string",
|
633
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
634
|
+
},
|
635
|
+
{
|
636
|
+
"type": "null"
|
637
|
+
}
|
638
|
+
]
|
639
|
+
},
|
640
|
+
"$in": {
|
641
|
+
"type": "array",
|
642
|
+
"maxItems": 100,
|
643
|
+
"items": {
|
644
|
+
"type": "string",
|
645
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
646
|
+
}
|
647
|
+
},
|
648
|
+
"$nin": {
|
649
|
+
"type": "array",
|
650
|
+
"maxItems": 100,
|
651
|
+
"items": {
|
652
|
+
"type": "string",
|
653
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
654
|
+
}
|
655
|
+
}
|
656
|
+
},
|
657
|
+
"additionalProperties": false,
|
658
|
+
"minProperties": 1,
|
659
|
+
"maxProperties": 1
|
660
|
+
}
|
661
|
+
]
|
662
|
+
}
|
663
|
+
},
|
664
|
+
"additionalProperties": false
|
665
|
+
}
|