losant_rest 1.9.2 → 1.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +38445 -24043
- data/docs/application.md +124 -2
- data/docs/applicationTemplates.md +50 -0
- data/docs/auth.md +72 -0
- data/docs/device.md +1 -0
- data/docs/devices.md +92 -3
- data/docs/experienceEndpoints.md +1 -0
- data/docs/file.md +4 -4
- data/docs/flow.md +94 -1
- data/docs/flowVersion.md +96 -1
- data/lib/losant_rest.rb +1 -0
- data/lib/losant_rest/application.rb +93 -2
- data/lib/losant_rest/application_templates.rb +88 -0
- data/lib/losant_rest/auth.rb +84 -0
- data/lib/losant_rest/client.rb +6 -2
- data/lib/losant_rest/device.rb +2 -0
- data/lib/losant_rest/devices.rb +105 -2
- 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/version.rb +2 -2
- data/schemas/advancedDeviceQuery.json +1018 -0
- data/schemas/advancedEventQuery.json +382 -13
- data/schemas/advancedQuery.json +37 -3
- data/schemas/application.json +7 -2
- data/schemas/applicationApiTokenPost.json +8 -1
- data/schemas/applicationCreationByTemplateResult.json +7 -2
- data/schemas/applicationPatch.json +7 -2
- data/schemas/applicationPost.json +11 -2
- data/schemas/applicationReadme.json +29 -0
- data/schemas/applicationReadmePatch.json +11 -0
- data/schemas/applicationTemplate.json +99 -0
- data/schemas/applicationTemplates.json +140 -0
- data/schemas/applications.json +7 -2
- data/schemas/dashboard.json +1168 -144
- data/schemas/dashboardPatch.json +1168 -144
- data/schemas/dashboardPost.json +1168 -144
- data/schemas/dashboards.json +1168 -144
- data/schemas/dataExport.json +11 -0
- data/schemas/dataTableRows.json +3 -0
- data/schemas/dataTableRowsExport.json +37 -3
- data/schemas/device.json +16 -3
- data/schemas/devicePatch.json +16 -3
- data/schemas/devicePost.json +16 -3
- data/schemas/deviceRecipe.json +16 -3
- data/schemas/deviceRecipePatch.json +16 -3
- data/schemas/deviceRecipePost.json +16 -3
- data/schemas/deviceRecipes.json +16 -3
- data/schemas/devices.json +19 -3
- 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 +1773 -7
- data/schemas/devicesRemoveDataPost.json +1056 -0
- data/schemas/devicesUpdated.json +18 -0
- data/schemas/eventPost.json +22 -0
- data/schemas/events.json +1 -816
- data/schemas/eventsExport.json +382 -13
- 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/experienceGroup.json +7 -0
- data/schemas/experienceGroupPatch.json +7 -0
- data/schemas/experienceGroupPost.json +7 -0
- data/schemas/experienceGroups.json +7 -0
- data/schemas/experienceLinkedResources.json +309 -3
- data/schemas/experienceVersion.json +1 -1
- data/schemas/experienceVersions.json +1 -1
- data/schemas/flow.json +103 -1
- data/schemas/flowErrors.json +87 -0
- data/schemas/flowPatch.json +103 -1
- data/schemas/flowPost.json +103 -1
- data/schemas/flowStats.json +54 -0
- data/schemas/flowVersion.json +206 -2
- data/schemas/flowVersionPost.json +103 -1
- data/schemas/flowVersions.json +206 -2
- data/schemas/flows.json +103 -1
- data/schemas/flowsImportPost.json +206 -2
- data/schemas/flowsImportResult.json +309 -3
- data/schemas/githubLogin.json +10 -1
- data/schemas/me.json +3 -0
- data/schemas/multiDeviceCommand.json +1019 -0
- data/schemas/notebook.json +99 -2
- data/schemas/notebookPatch.json +99 -2
- data/schemas/notebookPost.json +99 -2
- data/schemas/notebooks.json +99 -2
- data/schemas/org.json +8 -0
- data/schemas/orgPatch.json +9 -0
- data/schemas/orgs.json +8 -0
- data/schemas/samlResponse.json +21 -0
- data/schemas/ssoRequest.json +20 -0
- data/schemas/timeSeriesData.json +91 -12
- data/schemas/timeSeriesQuery.json +21 -12
- data/schemas/userCredentials.json +10 -1
- data/schemas/userPost.json +10 -1
- metadata +20 -4
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"updated": {
|
6
|
+
"type": "number"
|
7
|
+
},
|
8
|
+
"failed": {
|
9
|
+
"type": "number"
|
10
|
+
},
|
11
|
+
"skipped": {
|
12
|
+
"type": "number"
|
13
|
+
},
|
14
|
+
"logLink": {
|
15
|
+
"type": "string"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
data/schemas/eventPost.json
CHANGED
@@ -43,6 +43,28 @@
|
|
43
43
|
}
|
44
44
|
},
|
45
45
|
"additionalProperties": false
|
46
|
+
},
|
47
|
+
"creationDate": {
|
48
|
+
"oneOf": [
|
49
|
+
{
|
50
|
+
"type": "string"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"type": "number"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"type": "object",
|
57
|
+
"properties": {
|
58
|
+
"$date": {
|
59
|
+
"type": "string"
|
60
|
+
}
|
61
|
+
},
|
62
|
+
"additionalProperties": false,
|
63
|
+
"required": [
|
64
|
+
"$date"
|
65
|
+
]
|
66
|
+
}
|
67
|
+
]
|
46
68
|
}
|
47
69
|
},
|
48
70
|
"required": [
|
data/schemas/events.json
CHANGED
@@ -201,822 +201,7 @@
|
|
201
201
|
"pattern": "^[A-Fa-f\\d]{24}$"
|
202
202
|
},
|
203
203
|
"query": {
|
204
|
-
"
|
205
|
-
"description": "Schema for advanced event queries",
|
206
|
-
"type": "object",
|
207
|
-
"properties": {
|
208
|
-
"$and": {
|
209
|
-
"type": "array",
|
210
|
-
"items": {
|
211
|
-
"$ref": "#/definitions/advancedEventQuery"
|
212
|
-
}
|
213
|
-
},
|
214
|
-
"$or": {
|
215
|
-
"type": "array",
|
216
|
-
"items": {
|
217
|
-
"$ref": "#/definitions/advancedEventQuery"
|
218
|
-
}
|
219
|
-
},
|
220
|
-
"id": {
|
221
|
-
"oneOf": [
|
222
|
-
{
|
223
|
-
"type": [
|
224
|
-
"string",
|
225
|
-
"number",
|
226
|
-
"boolean",
|
227
|
-
"null"
|
228
|
-
]
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"type": "object",
|
232
|
-
"properties": {
|
233
|
-
"$eq": {
|
234
|
-
"type": [
|
235
|
-
"string",
|
236
|
-
"number",
|
237
|
-
"boolean",
|
238
|
-
"null"
|
239
|
-
]
|
240
|
-
},
|
241
|
-
"$ne": {
|
242
|
-
"type": [
|
243
|
-
"string",
|
244
|
-
"number",
|
245
|
-
"boolean",
|
246
|
-
"null"
|
247
|
-
]
|
248
|
-
},
|
249
|
-
"$gt": {
|
250
|
-
"type": [
|
251
|
-
"string",
|
252
|
-
"number",
|
253
|
-
"boolean",
|
254
|
-
"null"
|
255
|
-
]
|
256
|
-
},
|
257
|
-
"$lt": {
|
258
|
-
"type": [
|
259
|
-
"string",
|
260
|
-
"number",
|
261
|
-
"boolean",
|
262
|
-
"null"
|
263
|
-
]
|
264
|
-
},
|
265
|
-
"$gte": {
|
266
|
-
"type": [
|
267
|
-
"string",
|
268
|
-
"number",
|
269
|
-
"boolean",
|
270
|
-
"null"
|
271
|
-
]
|
272
|
-
},
|
273
|
-
"$lte": {
|
274
|
-
"type": [
|
275
|
-
"string",
|
276
|
-
"number",
|
277
|
-
"boolean",
|
278
|
-
"null"
|
279
|
-
]
|
280
|
-
},
|
281
|
-
"$startsWith": {
|
282
|
-
"type": "string",
|
283
|
-
"minLength": 1
|
284
|
-
},
|
285
|
-
"$endsWith": {
|
286
|
-
"type": "string",
|
287
|
-
"minLength": 1
|
288
|
-
},
|
289
|
-
"$contains": {
|
290
|
-
"type": "string",
|
291
|
-
"minLength": 1
|
292
|
-
}
|
293
|
-
},
|
294
|
-
"additionalProperties": false
|
295
|
-
}
|
296
|
-
]
|
297
|
-
},
|
298
|
-
"creationDate": {
|
299
|
-
"oneOf": [
|
300
|
-
{
|
301
|
-
"type": [
|
302
|
-
"string",
|
303
|
-
"number",
|
304
|
-
"boolean",
|
305
|
-
"null"
|
306
|
-
]
|
307
|
-
},
|
308
|
-
{
|
309
|
-
"type": "object",
|
310
|
-
"properties": {
|
311
|
-
"$eq": {
|
312
|
-
"type": [
|
313
|
-
"string",
|
314
|
-
"number",
|
315
|
-
"boolean",
|
316
|
-
"null"
|
317
|
-
]
|
318
|
-
},
|
319
|
-
"$ne": {
|
320
|
-
"type": [
|
321
|
-
"string",
|
322
|
-
"number",
|
323
|
-
"boolean",
|
324
|
-
"null"
|
325
|
-
]
|
326
|
-
},
|
327
|
-
"$gt": {
|
328
|
-
"type": [
|
329
|
-
"string",
|
330
|
-
"number",
|
331
|
-
"boolean",
|
332
|
-
"null"
|
333
|
-
]
|
334
|
-
},
|
335
|
-
"$lt": {
|
336
|
-
"type": [
|
337
|
-
"string",
|
338
|
-
"number",
|
339
|
-
"boolean",
|
340
|
-
"null"
|
341
|
-
]
|
342
|
-
},
|
343
|
-
"$gte": {
|
344
|
-
"type": [
|
345
|
-
"string",
|
346
|
-
"number",
|
347
|
-
"boolean",
|
348
|
-
"null"
|
349
|
-
]
|
350
|
-
},
|
351
|
-
"$lte": {
|
352
|
-
"type": [
|
353
|
-
"string",
|
354
|
-
"number",
|
355
|
-
"boolean",
|
356
|
-
"null"
|
357
|
-
]
|
358
|
-
},
|
359
|
-
"$startsWith": {
|
360
|
-
"type": "string",
|
361
|
-
"minLength": 1
|
362
|
-
},
|
363
|
-
"$endsWith": {
|
364
|
-
"type": "string",
|
365
|
-
"minLength": 1
|
366
|
-
},
|
367
|
-
"$contains": {
|
368
|
-
"type": "string",
|
369
|
-
"minLength": 1
|
370
|
-
}
|
371
|
-
},
|
372
|
-
"additionalProperties": false
|
373
|
-
}
|
374
|
-
]
|
375
|
-
},
|
376
|
-
"lastUpdated": {
|
377
|
-
"oneOf": [
|
378
|
-
{
|
379
|
-
"type": [
|
380
|
-
"string",
|
381
|
-
"number",
|
382
|
-
"boolean",
|
383
|
-
"null"
|
384
|
-
]
|
385
|
-
},
|
386
|
-
{
|
387
|
-
"type": "object",
|
388
|
-
"properties": {
|
389
|
-
"$eq": {
|
390
|
-
"type": [
|
391
|
-
"string",
|
392
|
-
"number",
|
393
|
-
"boolean",
|
394
|
-
"null"
|
395
|
-
]
|
396
|
-
},
|
397
|
-
"$ne": {
|
398
|
-
"type": [
|
399
|
-
"string",
|
400
|
-
"number",
|
401
|
-
"boolean",
|
402
|
-
"null"
|
403
|
-
]
|
404
|
-
},
|
405
|
-
"$gt": {
|
406
|
-
"type": [
|
407
|
-
"string",
|
408
|
-
"number",
|
409
|
-
"boolean",
|
410
|
-
"null"
|
411
|
-
]
|
412
|
-
},
|
413
|
-
"$lt": {
|
414
|
-
"type": [
|
415
|
-
"string",
|
416
|
-
"number",
|
417
|
-
"boolean",
|
418
|
-
"null"
|
419
|
-
]
|
420
|
-
},
|
421
|
-
"$gte": {
|
422
|
-
"type": [
|
423
|
-
"string",
|
424
|
-
"number",
|
425
|
-
"boolean",
|
426
|
-
"null"
|
427
|
-
]
|
428
|
-
},
|
429
|
-
"$lte": {
|
430
|
-
"type": [
|
431
|
-
"string",
|
432
|
-
"number",
|
433
|
-
"boolean",
|
434
|
-
"null"
|
435
|
-
]
|
436
|
-
},
|
437
|
-
"$startsWith": {
|
438
|
-
"type": "string",
|
439
|
-
"minLength": 1
|
440
|
-
},
|
441
|
-
"$endsWith": {
|
442
|
-
"type": "string",
|
443
|
-
"minLength": 1
|
444
|
-
},
|
445
|
-
"$contains": {
|
446
|
-
"type": "string",
|
447
|
-
"minLength": 1
|
448
|
-
}
|
449
|
-
},
|
450
|
-
"additionalProperties": false
|
451
|
-
}
|
452
|
-
]
|
453
|
-
},
|
454
|
-
"sourceId": {
|
455
|
-
"oneOf": [
|
456
|
-
{
|
457
|
-
"type": [
|
458
|
-
"string",
|
459
|
-
"number",
|
460
|
-
"boolean",
|
461
|
-
"null"
|
462
|
-
]
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"type": "object",
|
466
|
-
"properties": {
|
467
|
-
"$eq": {
|
468
|
-
"type": [
|
469
|
-
"string",
|
470
|
-
"number",
|
471
|
-
"boolean",
|
472
|
-
"null"
|
473
|
-
]
|
474
|
-
},
|
475
|
-
"$ne": {
|
476
|
-
"type": [
|
477
|
-
"string",
|
478
|
-
"number",
|
479
|
-
"boolean",
|
480
|
-
"null"
|
481
|
-
]
|
482
|
-
},
|
483
|
-
"$gt": {
|
484
|
-
"type": [
|
485
|
-
"string",
|
486
|
-
"number",
|
487
|
-
"boolean",
|
488
|
-
"null"
|
489
|
-
]
|
490
|
-
},
|
491
|
-
"$lt": {
|
492
|
-
"type": [
|
493
|
-
"string",
|
494
|
-
"number",
|
495
|
-
"boolean",
|
496
|
-
"null"
|
497
|
-
]
|
498
|
-
},
|
499
|
-
"$gte": {
|
500
|
-
"type": [
|
501
|
-
"string",
|
502
|
-
"number",
|
503
|
-
"boolean",
|
504
|
-
"null"
|
505
|
-
]
|
506
|
-
},
|
507
|
-
"$lte": {
|
508
|
-
"type": [
|
509
|
-
"string",
|
510
|
-
"number",
|
511
|
-
"boolean",
|
512
|
-
"null"
|
513
|
-
]
|
514
|
-
},
|
515
|
-
"$startsWith": {
|
516
|
-
"type": "string",
|
517
|
-
"minLength": 1
|
518
|
-
},
|
519
|
-
"$endsWith": {
|
520
|
-
"type": "string",
|
521
|
-
"minLength": 1
|
522
|
-
},
|
523
|
-
"$contains": {
|
524
|
-
"type": "string",
|
525
|
-
"minLength": 1
|
526
|
-
}
|
527
|
-
},
|
528
|
-
"additionalProperties": false
|
529
|
-
}
|
530
|
-
]
|
531
|
-
},
|
532
|
-
"sourceType": {
|
533
|
-
"oneOf": [
|
534
|
-
{
|
535
|
-
"type": [
|
536
|
-
"string",
|
537
|
-
"number",
|
538
|
-
"boolean",
|
539
|
-
"null"
|
540
|
-
]
|
541
|
-
},
|
542
|
-
{
|
543
|
-
"type": "object",
|
544
|
-
"properties": {
|
545
|
-
"$eq": {
|
546
|
-
"type": [
|
547
|
-
"string",
|
548
|
-
"number",
|
549
|
-
"boolean",
|
550
|
-
"null"
|
551
|
-
]
|
552
|
-
},
|
553
|
-
"$ne": {
|
554
|
-
"type": [
|
555
|
-
"string",
|
556
|
-
"number",
|
557
|
-
"boolean",
|
558
|
-
"null"
|
559
|
-
]
|
560
|
-
},
|
561
|
-
"$gt": {
|
562
|
-
"type": [
|
563
|
-
"string",
|
564
|
-
"number",
|
565
|
-
"boolean",
|
566
|
-
"null"
|
567
|
-
]
|
568
|
-
},
|
569
|
-
"$lt": {
|
570
|
-
"type": [
|
571
|
-
"string",
|
572
|
-
"number",
|
573
|
-
"boolean",
|
574
|
-
"null"
|
575
|
-
]
|
576
|
-
},
|
577
|
-
"$gte": {
|
578
|
-
"type": [
|
579
|
-
"string",
|
580
|
-
"number",
|
581
|
-
"boolean",
|
582
|
-
"null"
|
583
|
-
]
|
584
|
-
},
|
585
|
-
"$lte": {
|
586
|
-
"type": [
|
587
|
-
"string",
|
588
|
-
"number",
|
589
|
-
"boolean",
|
590
|
-
"null"
|
591
|
-
]
|
592
|
-
},
|
593
|
-
"$startsWith": {
|
594
|
-
"type": "string",
|
595
|
-
"minLength": 1
|
596
|
-
},
|
597
|
-
"$endsWith": {
|
598
|
-
"type": "string",
|
599
|
-
"minLength": 1
|
600
|
-
},
|
601
|
-
"$contains": {
|
602
|
-
"type": "string",
|
603
|
-
"minLength": 1
|
604
|
-
}
|
605
|
-
},
|
606
|
-
"additionalProperties": false
|
607
|
-
}
|
608
|
-
]
|
609
|
-
},
|
610
|
-
"level": {
|
611
|
-
"oneOf": [
|
612
|
-
{
|
613
|
-
"type": [
|
614
|
-
"string",
|
615
|
-
"number",
|
616
|
-
"boolean",
|
617
|
-
"null"
|
618
|
-
]
|
619
|
-
},
|
620
|
-
{
|
621
|
-
"type": "object",
|
622
|
-
"properties": {
|
623
|
-
"$eq": {
|
624
|
-
"type": [
|
625
|
-
"string",
|
626
|
-
"number",
|
627
|
-
"boolean",
|
628
|
-
"null"
|
629
|
-
]
|
630
|
-
},
|
631
|
-
"$ne": {
|
632
|
-
"type": [
|
633
|
-
"string",
|
634
|
-
"number",
|
635
|
-
"boolean",
|
636
|
-
"null"
|
637
|
-
]
|
638
|
-
},
|
639
|
-
"$gt": {
|
640
|
-
"type": [
|
641
|
-
"string",
|
642
|
-
"number",
|
643
|
-
"boolean",
|
644
|
-
"null"
|
645
|
-
]
|
646
|
-
},
|
647
|
-
"$lt": {
|
648
|
-
"type": [
|
649
|
-
"string",
|
650
|
-
"number",
|
651
|
-
"boolean",
|
652
|
-
"null"
|
653
|
-
]
|
654
|
-
},
|
655
|
-
"$gte": {
|
656
|
-
"type": [
|
657
|
-
"string",
|
658
|
-
"number",
|
659
|
-
"boolean",
|
660
|
-
"null"
|
661
|
-
]
|
662
|
-
},
|
663
|
-
"$lte": {
|
664
|
-
"type": [
|
665
|
-
"string",
|
666
|
-
"number",
|
667
|
-
"boolean",
|
668
|
-
"null"
|
669
|
-
]
|
670
|
-
},
|
671
|
-
"$startsWith": {
|
672
|
-
"type": "string",
|
673
|
-
"minLength": 1
|
674
|
-
},
|
675
|
-
"$endsWith": {
|
676
|
-
"type": "string",
|
677
|
-
"minLength": 1
|
678
|
-
},
|
679
|
-
"$contains": {
|
680
|
-
"type": "string",
|
681
|
-
"minLength": 1
|
682
|
-
}
|
683
|
-
},
|
684
|
-
"additionalProperties": false
|
685
|
-
}
|
686
|
-
]
|
687
|
-
},
|
688
|
-
"state": {
|
689
|
-
"oneOf": [
|
690
|
-
{
|
691
|
-
"type": [
|
692
|
-
"string",
|
693
|
-
"number",
|
694
|
-
"boolean",
|
695
|
-
"null"
|
696
|
-
]
|
697
|
-
},
|
698
|
-
{
|
699
|
-
"type": "object",
|
700
|
-
"properties": {
|
701
|
-
"$eq": {
|
702
|
-
"type": [
|
703
|
-
"string",
|
704
|
-
"number",
|
705
|
-
"boolean",
|
706
|
-
"null"
|
707
|
-
]
|
708
|
-
},
|
709
|
-
"$ne": {
|
710
|
-
"type": [
|
711
|
-
"string",
|
712
|
-
"number",
|
713
|
-
"boolean",
|
714
|
-
"null"
|
715
|
-
]
|
716
|
-
},
|
717
|
-
"$gt": {
|
718
|
-
"type": [
|
719
|
-
"string",
|
720
|
-
"number",
|
721
|
-
"boolean",
|
722
|
-
"null"
|
723
|
-
]
|
724
|
-
},
|
725
|
-
"$lt": {
|
726
|
-
"type": [
|
727
|
-
"string",
|
728
|
-
"number",
|
729
|
-
"boolean",
|
730
|
-
"null"
|
731
|
-
]
|
732
|
-
},
|
733
|
-
"$gte": {
|
734
|
-
"type": [
|
735
|
-
"string",
|
736
|
-
"number",
|
737
|
-
"boolean",
|
738
|
-
"null"
|
739
|
-
]
|
740
|
-
},
|
741
|
-
"$lte": {
|
742
|
-
"type": [
|
743
|
-
"string",
|
744
|
-
"number",
|
745
|
-
"boolean",
|
746
|
-
"null"
|
747
|
-
]
|
748
|
-
},
|
749
|
-
"$startsWith": {
|
750
|
-
"type": "string",
|
751
|
-
"minLength": 1
|
752
|
-
},
|
753
|
-
"$endsWith": {
|
754
|
-
"type": "string",
|
755
|
-
"minLength": 1
|
756
|
-
},
|
757
|
-
"$contains": {
|
758
|
-
"type": "string",
|
759
|
-
"minLength": 1
|
760
|
-
}
|
761
|
-
},
|
762
|
-
"additionalProperties": false
|
763
|
-
}
|
764
|
-
]
|
765
|
-
},
|
766
|
-
"subject": {
|
767
|
-
"oneOf": [
|
768
|
-
{
|
769
|
-
"type": [
|
770
|
-
"string",
|
771
|
-
"number",
|
772
|
-
"boolean",
|
773
|
-
"null"
|
774
|
-
]
|
775
|
-
},
|
776
|
-
{
|
777
|
-
"type": "object",
|
778
|
-
"properties": {
|
779
|
-
"$eq": {
|
780
|
-
"type": [
|
781
|
-
"string",
|
782
|
-
"number",
|
783
|
-
"boolean",
|
784
|
-
"null"
|
785
|
-
]
|
786
|
-
},
|
787
|
-
"$ne": {
|
788
|
-
"type": [
|
789
|
-
"string",
|
790
|
-
"number",
|
791
|
-
"boolean",
|
792
|
-
"null"
|
793
|
-
]
|
794
|
-
},
|
795
|
-
"$gt": {
|
796
|
-
"type": [
|
797
|
-
"string",
|
798
|
-
"number",
|
799
|
-
"boolean",
|
800
|
-
"null"
|
801
|
-
]
|
802
|
-
},
|
803
|
-
"$lt": {
|
804
|
-
"type": [
|
805
|
-
"string",
|
806
|
-
"number",
|
807
|
-
"boolean",
|
808
|
-
"null"
|
809
|
-
]
|
810
|
-
},
|
811
|
-
"$gte": {
|
812
|
-
"type": [
|
813
|
-
"string",
|
814
|
-
"number",
|
815
|
-
"boolean",
|
816
|
-
"null"
|
817
|
-
]
|
818
|
-
},
|
819
|
-
"$lte": {
|
820
|
-
"type": [
|
821
|
-
"string",
|
822
|
-
"number",
|
823
|
-
"boolean",
|
824
|
-
"null"
|
825
|
-
]
|
826
|
-
},
|
827
|
-
"$startsWith": {
|
828
|
-
"type": "string",
|
829
|
-
"minLength": 1
|
830
|
-
},
|
831
|
-
"$endsWith": {
|
832
|
-
"type": "string",
|
833
|
-
"minLength": 1
|
834
|
-
},
|
835
|
-
"$contains": {
|
836
|
-
"type": "string",
|
837
|
-
"minLength": 1
|
838
|
-
}
|
839
|
-
},
|
840
|
-
"additionalProperties": false
|
841
|
-
}
|
842
|
-
]
|
843
|
-
},
|
844
|
-
"deviceId": {
|
845
|
-
"oneOf": [
|
846
|
-
{
|
847
|
-
"type": [
|
848
|
-
"string",
|
849
|
-
"number",
|
850
|
-
"boolean",
|
851
|
-
"null"
|
852
|
-
]
|
853
|
-
},
|
854
|
-
{
|
855
|
-
"type": "object",
|
856
|
-
"properties": {
|
857
|
-
"$eq": {
|
858
|
-
"type": [
|
859
|
-
"string",
|
860
|
-
"number",
|
861
|
-
"boolean",
|
862
|
-
"null"
|
863
|
-
]
|
864
|
-
},
|
865
|
-
"$ne": {
|
866
|
-
"type": [
|
867
|
-
"string",
|
868
|
-
"number",
|
869
|
-
"boolean",
|
870
|
-
"null"
|
871
|
-
]
|
872
|
-
},
|
873
|
-
"$gt": {
|
874
|
-
"type": [
|
875
|
-
"string",
|
876
|
-
"number",
|
877
|
-
"boolean",
|
878
|
-
"null"
|
879
|
-
]
|
880
|
-
},
|
881
|
-
"$lt": {
|
882
|
-
"type": [
|
883
|
-
"string",
|
884
|
-
"number",
|
885
|
-
"boolean",
|
886
|
-
"null"
|
887
|
-
]
|
888
|
-
},
|
889
|
-
"$gte": {
|
890
|
-
"type": [
|
891
|
-
"string",
|
892
|
-
"number",
|
893
|
-
"boolean",
|
894
|
-
"null"
|
895
|
-
]
|
896
|
-
},
|
897
|
-
"$lte": {
|
898
|
-
"type": [
|
899
|
-
"string",
|
900
|
-
"number",
|
901
|
-
"boolean",
|
902
|
-
"null"
|
903
|
-
]
|
904
|
-
},
|
905
|
-
"$startsWith": {
|
906
|
-
"type": "string",
|
907
|
-
"minLength": 1
|
908
|
-
},
|
909
|
-
"$endsWith": {
|
910
|
-
"type": "string",
|
911
|
-
"minLength": 1
|
912
|
-
},
|
913
|
-
"$contains": {
|
914
|
-
"type": "string",
|
915
|
-
"minLength": 1
|
916
|
-
}
|
917
|
-
},
|
918
|
-
"additionalProperties": false
|
919
|
-
}
|
920
|
-
]
|
921
|
-
},
|
922
|
-
"eventTags": {
|
923
|
-
"oneOf": [
|
924
|
-
{
|
925
|
-
"oneOf": [
|
926
|
-
{
|
927
|
-
"type": "object",
|
928
|
-
"properties": {
|
929
|
-
"$tagKey": {
|
930
|
-
"type": "string"
|
931
|
-
},
|
932
|
-
"$tagValue": {
|
933
|
-
"type": "string"
|
934
|
-
}
|
935
|
-
},
|
936
|
-
"additionalProperties": false,
|
937
|
-
"minProperties": 1
|
938
|
-
},
|
939
|
-
{
|
940
|
-
"type": "object",
|
941
|
-
"patternProperties": {
|
942
|
-
"^[0-9a-zA-Z_-]{1,255}": {
|
943
|
-
"type": "string"
|
944
|
-
}
|
945
|
-
},
|
946
|
-
"additionalProperties": false
|
947
|
-
}
|
948
|
-
]
|
949
|
-
},
|
950
|
-
{
|
951
|
-
"type": "object",
|
952
|
-
"properties": {
|
953
|
-
"$eq": {
|
954
|
-
"oneOf": [
|
955
|
-
{
|
956
|
-
"type": "object",
|
957
|
-
"properties": {
|
958
|
-
"$tagKey": {
|
959
|
-
"type": "string"
|
960
|
-
},
|
961
|
-
"$tagValue": {
|
962
|
-
"type": "string"
|
963
|
-
}
|
964
|
-
},
|
965
|
-
"additionalProperties": false,
|
966
|
-
"minProperties": 1
|
967
|
-
},
|
968
|
-
{
|
969
|
-
"type": "object",
|
970
|
-
"patternProperties": {
|
971
|
-
"^[0-9a-zA-Z_-]{1,255}": {
|
972
|
-
"type": "string"
|
973
|
-
}
|
974
|
-
},
|
975
|
-
"additionalProperties": false
|
976
|
-
}
|
977
|
-
]
|
978
|
-
}
|
979
|
-
},
|
980
|
-
"minProperties": 1,
|
981
|
-
"additionalProperties": false
|
982
|
-
},
|
983
|
-
{
|
984
|
-
"type": "object",
|
985
|
-
"properties": {
|
986
|
-
"$ne": {
|
987
|
-
"oneOf": [
|
988
|
-
{
|
989
|
-
"type": "object",
|
990
|
-
"properties": {
|
991
|
-
"$tagKey": {
|
992
|
-
"type": "string"
|
993
|
-
},
|
994
|
-
"$tagValue": {
|
995
|
-
"type": "string"
|
996
|
-
}
|
997
|
-
},
|
998
|
-
"additionalProperties": false,
|
999
|
-
"minProperties": 1
|
1000
|
-
},
|
1001
|
-
{
|
1002
|
-
"type": "object",
|
1003
|
-
"patternProperties": {
|
1004
|
-
"^[0-9a-zA-Z_-]{1,255}": {
|
1005
|
-
"type": "string"
|
1006
|
-
}
|
1007
|
-
},
|
1008
|
-
"additionalProperties": false
|
1009
|
-
}
|
1010
|
-
]
|
1011
|
-
}
|
1012
|
-
},
|
1013
|
-
"minProperties": 1,
|
1014
|
-
"additionalProperties": false
|
1015
|
-
}
|
1016
|
-
]
|
1017
|
-
}
|
1018
|
-
},
|
1019
|
-
"additionalProperties": false
|
204
|
+
"type": "object"
|
1020
205
|
}
|
1021
206
|
}
|
1022
207
|
}
|