losant_rest 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +139101 -66992
  3. data/docs/application.md +6 -6
  4. data/docs/applicationCertificates.md +3 -2
  5. data/docs/applicationDashboard.md +1 -1
  6. data/docs/applications.md +1 -1
  7. data/docs/auth.md +1 -1
  8. data/docs/dashboard.md +1 -1
  9. data/docs/dashboards.md +1 -0
  10. data/docs/dataTableRow.md +1 -1
  11. data/docs/dataTableRows.md +3 -3
  12. data/docs/device.md +1 -1
  13. data/docs/edgeDeployments.md +3 -3
  14. data/docs/embeddedDeployments.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/file.md +4 -4
  17. data/docs/files.md +1 -1
  18. data/docs/flowVersions.md +1 -1
  19. data/docs/instanceApiTokens.md +1 -1
  20. data/docs/instanceMember.md +1 -1
  21. data/docs/instanceOrg.md +1 -1
  22. data/docs/instanceOrgInvite.md +2 -2
  23. data/docs/instanceOrgInvites.md +1 -1
  24. data/docs/instanceOrgMembers.md +2 -1
  25. data/docs/instanceOrgs.md +1 -1
  26. data/docs/me.md +1 -1
  27. data/docs/notebook.md +1 -1
  28. data/docs/org.md +1 -1
  29. data/docs/privateFile.md +4 -4
  30. data/docs/privateFiles.md +1 -1
  31. data/docs/resourceJob.md +2 -2
  32. data/docs/userApiTokens.md +2 -2
  33. data/lib/platform_rest/application.rb +1 -1
  34. data/lib/platform_rest/application_certificates.rb +5 -2
  35. data/lib/platform_rest/application_dashboard.rb +1 -1
  36. data/lib/platform_rest/client.rb +2 -2
  37. data/lib/platform_rest/dashboard.rb +1 -1
  38. data/lib/platform_rest/dashboards.rb +1 -0
  39. data/lib/platform_rest/data_table_row.rb +1 -1
  40. data/lib/platform_rest/data_table_rows.rb +3 -3
  41. data/lib/platform_rest/device.rb +1 -1
  42. data/lib/platform_rest/edge_deployments.rb +3 -3
  43. data/lib/platform_rest/embedded_deployments.rb +3 -3
  44. data/lib/platform_rest/experience.rb +1 -1
  45. data/lib/platform_rest/file.rb +2 -2
  46. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  47. data/lib/platform_rest/instance_member.rb +1 -1
  48. data/lib/platform_rest/instance_org.rb +1 -1
  49. data/lib/platform_rest/instance_org_invite.rb +2 -2
  50. data/lib/platform_rest/instance_org_invites.rb +2 -2
  51. data/lib/platform_rest/instance_org_members.rb +2 -1
  52. data/lib/platform_rest/instance_orgs.rb +1 -1
  53. data/lib/platform_rest/me.rb +1 -1
  54. data/lib/platform_rest/notebook.rb +1 -1
  55. data/lib/platform_rest/org.rb +1 -1
  56. data/lib/platform_rest/private_file.rb +2 -2
  57. data/lib/platform_rest/resource_job.rb +2 -2
  58. data/lib/platform_rest/user_api_tokens.rb +2 -2
  59. data/lib/platform_rest/version.rb +1 -1
  60. data/schemas/advancedApplicationCertQuery.json +1885 -0
  61. data/schemas/advancedApplicationKeyQuery.json +763 -763
  62. data/schemas/apiToken.json +10 -1
  63. data/schemas/apiTokens.json +20 -2
  64. data/schemas/application.json +15 -2
  65. data/schemas/applicationCertificate.json +90 -58
  66. data/schemas/applicationCertificateAuthorities.json +24 -0
  67. data/schemas/applicationCertificateAuthority.json +24 -0
  68. data/schemas/applicationCertificatePatch.json +32 -4
  69. data/schemas/applicationCertificatePost.json +28 -30
  70. data/schemas/applicationCertificates.json +90 -58
  71. data/schemas/applicationCreationByTemplateResult.json +15 -2
  72. data/schemas/applicationDashboardPost.json +179 -128
  73. data/schemas/applicationImportExecutions.json +3 -5
  74. data/schemas/applicationImportResult.json +674 -0
  75. data/schemas/applicationJobLog.json +129 -123
  76. data/schemas/applicationJobLogs.json +129 -123
  77. data/schemas/applicationKey.json +41 -41
  78. data/schemas/applicationKeyPatch.json +4 -4
  79. data/schemas/applicationKeyPost.json +36 -29
  80. data/schemas/applicationKeys.json +41 -41
  81. data/schemas/applicationSearchResult.json +10 -10
  82. data/schemas/applicationTemplates.json +9 -2
  83. data/schemas/applications.json +15 -2
  84. data/schemas/auditLog.json +2 -6
  85. data/schemas/auditLogs.json +2 -6
  86. data/schemas/authedDevice.json +3 -0
  87. data/schemas/credential.json +7 -0
  88. data/schemas/credentialLinkedResources.json +19724 -344
  89. data/schemas/credentialPatch.json +3 -0
  90. data/schemas/credentialPost.json +3 -0
  91. data/schemas/credentials.json +7 -0
  92. data/schemas/dashboard.json +199 -128
  93. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  94. data/schemas/dashboardPatch.json +179 -128
  95. data/schemas/dashboardPost.json +179 -128
  96. data/schemas/dashboardUpdateEventsResult.json +266 -0
  97. data/schemas/dashboards.json +199 -128
  98. data/schemas/dataTable.json +11 -0
  99. data/schemas/dataTableRowPatch.json +16 -0
  100. data/schemas/dataTableRowPost.json +39 -0
  101. data/schemas/dataTableRowPostResult.json +54 -0
  102. data/schemas/dataTables.json +11 -0
  103. data/schemas/device.json +259 -107
  104. data/schemas/deviceConnectionStatus.json +4 -0
  105. data/schemas/deviceLog.json +3 -0
  106. data/schemas/deviceRecipe.json +259 -108
  107. data/schemas/deviceRecipes.json +259 -108
  108. data/schemas/devices.json +287 -116
  109. data/schemas/edgeDeploymentRelease.json +4252 -39
  110. data/schemas/edgeDeployments.json +28 -0
  111. data/schemas/embeddedDeploymentRelease.json +2073 -0
  112. data/schemas/embeddedDeployments.json +25 -0
  113. data/schemas/error.json +14 -0
  114. data/schemas/event.json +4 -1
  115. data/schemas/eventPlusNewCount.json +4 -1
  116. data/schemas/events.json +4 -1
  117. data/schemas/experienceDomains.json +19 -0
  118. data/schemas/experienceEndpoint.json +19 -0
  119. data/schemas/experienceEndpoints.json +24 -0
  120. data/schemas/experienceLinkedResources.json +19728 -313
  121. data/schemas/experienceSlugs.json +19 -0
  122. data/schemas/experienceUsers.json +16 -2
  123. data/schemas/experienceVersions.json +25 -0
  124. data/schemas/experienceView.json +5 -0
  125. data/schemas/experienceViews.json +10 -0
  126. data/schemas/fileUploadPostResponse.json +92 -103
  127. data/schemas/files.json +5 -1
  128. data/schemas/flow.json +211 -46
  129. data/schemas/flowPatch.json +199 -46
  130. data/schemas/flowPost.json +199 -46
  131. data/schemas/flowStorageMetadata.json +2 -2
  132. data/schemas/flowVersion.json +450 -101
  133. data/schemas/flowVersionPost.json +199 -46
  134. data/schemas/flowVersions.json +9903 -113
  135. data/schemas/flows.json +9637 -46
  136. data/schemas/flowsImportPost.json +398 -92
  137. data/schemas/flowsImportResult.json +661 -147
  138. data/schemas/historicalSummaries.json +3 -2
  139. data/schemas/historicalSummary.json +3 -2
  140. data/schemas/instanceAuditLog.json +2 -6
  141. data/schemas/instanceAuditLogs.json +90 -1
  142. data/schemas/instanceCustomNode.json +41 -2
  143. data/schemas/instanceCustomNodePatch.json +59 -6
  144. data/schemas/instanceCustomNodePost.json +59 -6
  145. data/schemas/instanceCustomNodes.json +41 -2
  146. data/schemas/instanceOrg.json +4 -1
  147. data/schemas/instanceOrgInvite.json +102 -0
  148. data/schemas/instanceOrgInviteSent.json +12 -0
  149. data/schemas/instanceOrgInvites.json +145 -0
  150. data/schemas/instanceOrgMember.json +52 -0
  151. data/schemas/instanceOrgMembers.json +105 -1
  152. data/schemas/instanceOrgPost.json +1 -1
  153. data/schemas/instanceOrgs.json +5 -2
  154. data/schemas/instanceSandbox.json +5 -1
  155. data/schemas/instanceSandboxes.json +9 -1
  156. data/schemas/integration.json +38 -39
  157. data/schemas/integrationPatch.json +8 -8
  158. data/schemas/integrationPost.json +8 -8
  159. data/schemas/integrations.json +38 -39
  160. data/schemas/jobEnqueuedResult.json +1 -1
  161. data/schemas/me.json +685 -88
  162. data/schemas/notebook.json +33 -21
  163. data/schemas/notebookExecutionLogs.json +20 -0
  164. data/schemas/notebookMinuteCounts.json +1 -1
  165. data/schemas/notebookPatch.json +29 -21
  166. data/schemas/notebookPost.json +29 -21
  167. data/schemas/notebooks.json +33 -21
  168. data/schemas/notificationRule.json +4 -0
  169. data/schemas/notificationRules.json +8 -0
  170. data/schemas/org.json +14 -1
  171. data/schemas/orgInvites.json +77 -82
  172. data/schemas/orgInvitesUser.json +44 -47
  173. data/schemas/orgs.json +14 -1
  174. data/schemas/paletteResponse.json +372 -364
  175. data/schemas/periodSummaries.json +1 -1
  176. data/schemas/recentItemList.json +226 -27
  177. data/schemas/resourceJob.json +33 -9
  178. data/schemas/resourceJobExecutionLogs.json +34 -20
  179. data/schemas/resourceJobExecutionOptions.json +1 -1
  180. data/schemas/resourceJobPatch.json +9 -9
  181. data/schemas/resourceJobPost.json +9 -9
  182. data/schemas/resourceJobs.json +33 -9
  183. data/schemas/tagValuesResponse.json +1 -2
  184. data/schemas/templateKeywords.json +1 -0
  185. data/schemas/timeSeriesData.json +36 -4
  186. data/schemas/userOauthToken.json +4 -1
  187. data/schemas/userOauthTokenPost.json +1 -1
  188. data/schemas/userOauthTokens.json +4 -1
  189. data/schemas/validateContextError.json +71 -24
  190. data/schemas/validateContextSuccess.json +71 -24
  191. metadata +10 -1
@@ -128,7 +128,7 @@
128
128
  }
129
129
  ]
130
130
  },
131
- "creationDate": {
131
+ "name": {
132
132
  "oneOf": [
133
133
  {
134
134
  "type": [
@@ -231,7 +231,7 @@
231
231
  }
232
232
  ]
233
233
  },
234
- "lastUpdated": {
234
+ "creationDate": {
235
235
  "oneOf": [
236
236
  {
237
237
  "type": [
@@ -334,7 +334,7 @@
334
334
  }
335
335
  ]
336
336
  },
337
- "status": {
337
+ "lastUpdated": {
338
338
  "oneOf": [
339
339
  {
340
340
  "type": [
@@ -437,618 +437,232 @@
437
437
  }
438
438
  ]
439
439
  },
440
- "deviceIds": {
440
+ "status": {
441
441
  "oneOf": [
442
442
  {
443
- "oneOf": [
444
- {
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": {
445
502
  "type": "string",
446
- "pattern": "^[A-Fa-f\\d]{24}$"
503
+ "minLength": 1
447
504
  },
448
- {
449
- "type": "null"
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
+ }
450
537
  }
538
+ },
539
+ "additionalProperties": false
540
+ }
541
+ ]
542
+ },
543
+ "filterType": {
544
+ "oneOf": [
545
+ {
546
+ "type": [
547
+ "string",
548
+ "number",
549
+ "boolean",
550
+ "null"
451
551
  ]
452
552
  },
453
553
  {
454
554
  "type": "object",
455
555
  "properties": {
456
556
  "$eq": {
457
- "oneOf": [
458
- {
459
- "type": "string",
460
- "pattern": "^[A-Fa-f\\d]{24}$"
461
- },
462
- {
463
- "type": "null"
464
- }
557
+ "type": [
558
+ "string",
559
+ "number",
560
+ "boolean",
561
+ "null"
465
562
  ]
466
563
  },
467
564
  "$ne": {
468
- "oneOf": [
469
- {
470
- "type": "string",
471
- "pattern": "^[A-Fa-f\\d]{24}$"
472
- },
473
- {
474
- "type": "null"
475
- }
565
+ "type": [
566
+ "string",
567
+ "number",
568
+ "boolean",
569
+ "null"
476
570
  ]
477
571
  },
478
572
  "$gt": {
479
- "oneOf": [
480
- {
481
- "type": "string",
482
- "pattern": "^[A-Fa-f\\d]{24}$"
483
- },
484
- {
485
- "type": "null"
486
- }
573
+ "type": [
574
+ "string",
575
+ "number",
576
+ "boolean",
577
+ "null"
487
578
  ]
488
579
  },
489
580
  "$lt": {
490
- "oneOf": [
491
- {
492
- "type": "string",
493
- "pattern": "^[A-Fa-f\\d]{24}$"
494
- },
495
- {
496
- "type": "null"
497
- }
581
+ "type": [
582
+ "string",
583
+ "number",
584
+ "boolean",
585
+ "null"
498
586
  ]
499
587
  },
500
588
  "$gte": {
501
- "oneOf": [
502
- {
503
- "type": "string",
504
- "pattern": "^[A-Fa-f\\d]{24}$"
505
- },
506
- {
507
- "type": "null"
508
- }
589
+ "type": [
590
+ "string",
591
+ "number",
592
+ "boolean",
593
+ "null"
509
594
  ]
510
595
  },
511
596
  "$lte": {
512
- "oneOf": [
513
- {
514
- "type": "string",
515
- "pattern": "^[A-Fa-f\\d]{24}$"
516
- },
517
- {
518
- "type": "null"
519
- }
597
+ "type": [
598
+ "string",
599
+ "number",
600
+ "boolean",
601
+ "null"
520
602
  ]
521
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
+ },
522
619
  "$in": {
523
620
  "type": "array",
524
621
  "maxItems": 100,
525
622
  "items": {
526
- "type": "string",
527
- "pattern": "^[A-Fa-f\\d]{24}$"
623
+ "type": [
624
+ "string",
625
+ "number",
626
+ "boolean"
627
+ ]
528
628
  }
529
629
  },
530
630
  "$nin": {
531
631
  "type": "array",
532
632
  "maxItems": 100,
533
633
  "items": {
534
- "type": "string",
535
- "pattern": "^[A-Fa-f\\d]{24}$"
634
+ "type": [
635
+ "string",
636
+ "number",
637
+ "boolean"
638
+ ]
536
639
  }
537
640
  }
538
641
  },
539
- "additionalProperties": false,
540
- "minProperties": 1,
541
- "maxProperties": 1
642
+ "additionalProperties": false
542
643
  }
543
644
  ]
544
645
  },
545
- "deviceTags": {
646
+ "pubTopics": {
546
647
  "oneOf": [
547
648
  {
548
- "oneOf": [
549
- {
550
- "type": "null"
551
- },
552
- {
553
- "type": "object",
554
- "properties": {
555
- "$tagKey": {
556
- "oneOf": [
557
- {
558
- "type": "string",
559
- "maxLength": 255
560
- },
561
- {
562
- "type": "null"
563
- },
564
- {
565
- "type": "object",
566
- "properties": {
567
- "$in": {
568
- "type": "array",
569
- "maxItems": 100,
570
- "items": {
571
- "type": "string",
572
- "maxLength": 255
573
- }
574
- }
575
- },
576
- "required": [
577
- "$in"
578
- ],
579
- "additionalProperties": false
580
- },
581
- {
582
- "type": "object",
583
- "properties": {
584
- "$nin": {
585
- "type": "array",
586
- "maxItems": 100,
587
- "items": {
588
- "type": "string",
589
- "maxLength": 255
590
- }
591
- }
592
- },
593
- "required": [
594
- "$nin"
595
- ],
596
- "additionalProperties": false
597
- }
598
- ]
599
- },
600
- "$tagValue": {
601
- "oneOf": [
602
- {
603
- "type": "string",
604
- "maxLength": 255
605
- },
606
- {
607
- "type": "null"
608
- },
609
- {
610
- "type": "object",
611
- "properties": {
612
- "$in": {
613
- "type": "array",
614
- "maxItems": 100,
615
- "items": {
616
- "type": "string",
617
- "maxLength": 255
618
- }
619
- }
620
- },
621
- "required": [
622
- "$in"
623
- ],
624
- "additionalProperties": false
625
- },
626
- {
627
- "type": "object",
628
- "properties": {
629
- "$nin": {
630
- "type": "array",
631
- "maxItems": 100,
632
- "items": {
633
- "type": "string",
634
- "maxLength": 255
635
- }
636
- }
637
- },
638
- "required": [
639
- "$nin"
640
- ],
641
- "additionalProperties": false
642
- }
643
- ]
644
- }
645
- },
646
- "additionalProperties": false,
647
- "minProperties": 1
648
- },
649
- {
650
- "type": "object",
651
- "patternProperties": {
652
- "^[0-9a-zA-Z_-]{1,255}": {
653
- "oneOf": [
654
- {
655
- "type": "string",
656
- "maxLength": 255
657
- },
658
- {
659
- "type": "null"
660
- },
661
- {
662
- "type": "object",
663
- "properties": {
664
- "$in": {
665
- "type": "array",
666
- "maxItems": 100,
667
- "items": {
668
- "type": "string",
669
- "maxLength": 255
670
- }
671
- }
672
- },
673
- "required": [
674
- "$in"
675
- ],
676
- "additionalProperties": false
677
- },
678
- {
679
- "type": "object",
680
- "properties": {
681
- "$nin": {
682
- "type": "array",
683
- "maxItems": 100,
684
- "items": {
685
- "type": "string",
686
- "maxLength": 255
687
- }
688
- }
689
- },
690
- "required": [
691
- "$nin"
692
- ],
693
- "additionalProperties": false
694
- }
695
- ]
696
- }
697
- },
698
- "additionalProperties": false
699
- }
700
- ]
701
- },
702
- {
703
- "type": "object",
704
- "properties": {
705
- "$eq": {
706
- "oneOf": [
707
- {
708
- "type": "null"
709
- },
710
- {
711
- "type": "object",
712
- "properties": {
713
- "$tagKey": {
714
- "oneOf": [
715
- {
716
- "type": "string",
717
- "maxLength": 255
718
- },
719
- {
720
- "type": "null"
721
- },
722
- {
723
- "type": "object",
724
- "properties": {
725
- "$in": {
726
- "type": "array",
727
- "maxItems": 100,
728
- "items": {
729
- "type": "string",
730
- "maxLength": 255
731
- }
732
- }
733
- },
734
- "required": [
735
- "$in"
736
- ],
737
- "additionalProperties": false
738
- },
739
- {
740
- "type": "object",
741
- "properties": {
742
- "$nin": {
743
- "type": "array",
744
- "maxItems": 100,
745
- "items": {
746
- "type": "string",
747
- "maxLength": 255
748
- }
749
- }
750
- },
751
- "required": [
752
- "$nin"
753
- ],
754
- "additionalProperties": false
755
- }
756
- ]
757
- },
758
- "$tagValue": {
759
- "oneOf": [
760
- {
761
- "type": "string",
762
- "maxLength": 255
763
- },
764
- {
765
- "type": "null"
766
- },
767
- {
768
- "type": "object",
769
- "properties": {
770
- "$in": {
771
- "type": "array",
772
- "maxItems": 100,
773
- "items": {
774
- "type": "string",
775
- "maxLength": 255
776
- }
777
- }
778
- },
779
- "required": [
780
- "$in"
781
- ],
782
- "additionalProperties": false
783
- },
784
- {
785
- "type": "object",
786
- "properties": {
787
- "$nin": {
788
- "type": "array",
789
- "maxItems": 100,
790
- "items": {
791
- "type": "string",
792
- "maxLength": 255
793
- }
794
- }
795
- },
796
- "required": [
797
- "$nin"
798
- ],
799
- "additionalProperties": false
800
- }
801
- ]
802
- }
803
- },
804
- "additionalProperties": false,
805
- "minProperties": 1
806
- },
807
- {
808
- "type": "object",
809
- "patternProperties": {
810
- "^[0-9a-zA-Z_-]{1,255}": {
811
- "oneOf": [
812
- {
813
- "type": "string",
814
- "maxLength": 255
815
- },
816
- {
817
- "type": "null"
818
- },
819
- {
820
- "type": "object",
821
- "properties": {
822
- "$in": {
823
- "type": "array",
824
- "maxItems": 100,
825
- "items": {
826
- "type": "string",
827
- "maxLength": 255
828
- }
829
- }
830
- },
831
- "required": [
832
- "$in"
833
- ],
834
- "additionalProperties": false
835
- },
836
- {
837
- "type": "object",
838
- "properties": {
839
- "$nin": {
840
- "type": "array",
841
- "maxItems": 100,
842
- "items": {
843
- "type": "string",
844
- "maxLength": 255
845
- }
846
- }
847
- },
848
- "required": [
849
- "$nin"
850
- ],
851
- "additionalProperties": false
852
- }
853
- ]
854
- }
855
- },
856
- "additionalProperties": false
857
- }
858
- ]
859
- }
860
- },
861
- "required": [
862
- "$eq"
863
- ],
864
- "additionalProperties": false
865
- },
866
- {
867
- "type": "object",
868
- "properties": {
869
- "$ne": {
870
- "oneOf": [
871
- {
872
- "type": "null"
873
- },
874
- {
875
- "type": "object",
876
- "properties": {
877
- "$tagKey": {
878
- "oneOf": [
879
- {
880
- "type": "string",
881
- "maxLength": 255
882
- },
883
- {
884
- "type": "null"
885
- },
886
- {
887
- "type": "object",
888
- "properties": {
889
- "$in": {
890
- "type": "array",
891
- "maxItems": 100,
892
- "items": {
893
- "type": "string",
894
- "maxLength": 255
895
- }
896
- }
897
- },
898
- "required": [
899
- "$in"
900
- ],
901
- "additionalProperties": false
902
- },
903
- {
904
- "type": "object",
905
- "properties": {
906
- "$nin": {
907
- "type": "array",
908
- "maxItems": 100,
909
- "items": {
910
- "type": "string",
911
- "maxLength": 255
912
- }
913
- }
914
- },
915
- "required": [
916
- "$nin"
917
- ],
918
- "additionalProperties": false
919
- }
920
- ]
921
- },
922
- "$tagValue": {
923
- "oneOf": [
924
- {
925
- "type": "string",
926
- "maxLength": 255
927
- },
928
- {
929
- "type": "null"
930
- },
931
- {
932
- "type": "object",
933
- "properties": {
934
- "$in": {
935
- "type": "array",
936
- "maxItems": 100,
937
- "items": {
938
- "type": "string",
939
- "maxLength": 255
940
- }
941
- }
942
- },
943
- "required": [
944
- "$in"
945
- ],
946
- "additionalProperties": false
947
- },
948
- {
949
- "type": "object",
950
- "properties": {
951
- "$nin": {
952
- "type": "array",
953
- "maxItems": 100,
954
- "items": {
955
- "type": "string",
956
- "maxLength": 255
957
- }
958
- }
959
- },
960
- "required": [
961
- "$nin"
962
- ],
963
- "additionalProperties": false
964
- }
965
- ]
966
- }
967
- },
968
- "additionalProperties": false,
969
- "minProperties": 1
970
- },
971
- {
972
- "type": "object",
973
- "patternProperties": {
974
- "^[0-9a-zA-Z_-]{1,255}": {
975
- "oneOf": [
976
- {
977
- "type": "string",
978
- "maxLength": 255
979
- },
980
- {
981
- "type": "null"
982
- },
983
- {
984
- "type": "object",
985
- "properties": {
986
- "$in": {
987
- "type": "array",
988
- "maxItems": 100,
989
- "items": {
990
- "type": "string",
991
- "maxLength": 255
992
- }
993
- }
994
- },
995
- "required": [
996
- "$in"
997
- ],
998
- "additionalProperties": false
999
- },
1000
- {
1001
- "type": "object",
1002
- "properties": {
1003
- "$nin": {
1004
- "type": "array",
1005
- "maxItems": 100,
1006
- "items": {
1007
- "type": "string",
1008
- "maxLength": 255
1009
- }
1010
- }
1011
- },
1012
- "required": [
1013
- "$nin"
1014
- ],
1015
- "additionalProperties": false
1016
- }
1017
- ]
1018
- }
1019
- },
1020
- "additionalProperties": false
1021
- }
1022
- ]
1023
- }
1024
- },
1025
- "required": [
1026
- "$ne"
1027
- ],
1028
- "additionalProperties": false
1029
- }
1030
- ]
1031
- },
1032
- "key": {
1033
- "oneOf": [
1034
- {
1035
- "type": [
1036
- "string",
1037
- "number",
1038
- "boolean",
1039
- "null"
1040
- ]
1041
- },
1042
- {
1043
- "type": "object",
1044
- "properties": {
1045
- "$eq": {
1046
- "type": [
1047
- "string",
1048
- "number",
1049
- "boolean",
1050
- "null"
1051
- ]
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
+ ]
1052
666
  },
1053
667
  "$ne": {
1054
668
  "type": [
@@ -1132,7 +746,7 @@
1132
746
  }
1133
747
  ]
1134
748
  },
1135
- "name": {
749
+ "subTopics": {
1136
750
  "oneOf": [
1137
751
  {
1138
752
  "type": [
@@ -1235,7 +849,7 @@
1235
849
  }
1236
850
  ]
1237
851
  },
1238
- "description": {
852
+ "addressFilterType": {
1239
853
  "oneOf": [
1240
854
  {
1241
855
  "type": [
@@ -1338,7 +952,7 @@
1338
952
  }
1339
953
  ]
1340
954
  },
1341
- "filterType": {
955
+ "addresses": {
1342
956
  "oneOf": [
1343
957
  {
1344
958
  "type": [
@@ -1436,218 +1050,604 @@
1436
1050
  ]
1437
1051
  }
1438
1052
  }
1439
- },
1440
- "additionalProperties": false
1441
- }
1442
- ]
1443
- },
1444
- "pubTopics": {
1445
- "oneOf": [
1446
- {
1447
- "type": [
1448
- "string",
1449
- "number",
1450
- "boolean",
1451
- "null"
1053
+ },
1054
+ "additionalProperties": false
1055
+ }
1056
+ ]
1057
+ },
1058
+ "deviceIds": {
1059
+ "oneOf": [
1060
+ {
1061
+ "oneOf": [
1062
+ {
1063
+ "type": "string",
1064
+ "pattern": "^[A-Fa-f\\d]{24}$"
1065
+ },
1066
+ {
1067
+ "type": "null"
1068
+ }
1069
+ ]
1070
+ },
1071
+ {
1072
+ "type": "object",
1073
+ "properties": {
1074
+ "$eq": {
1075
+ "oneOf": [
1076
+ {
1077
+ "type": "string",
1078
+ "pattern": "^[A-Fa-f\\d]{24}$"
1079
+ },
1080
+ {
1081
+ "type": "null"
1082
+ }
1083
+ ]
1084
+ },
1085
+ "$ne": {
1086
+ "oneOf": [
1087
+ {
1088
+ "type": "string",
1089
+ "pattern": "^[A-Fa-f\\d]{24}$"
1090
+ },
1091
+ {
1092
+ "type": "null"
1093
+ }
1094
+ ]
1095
+ },
1096
+ "$gt": {
1097
+ "oneOf": [
1098
+ {
1099
+ "type": "string",
1100
+ "pattern": "^[A-Fa-f\\d]{24}$"
1101
+ },
1102
+ {
1103
+ "type": "null"
1104
+ }
1105
+ ]
1106
+ },
1107
+ "$lt": {
1108
+ "oneOf": [
1109
+ {
1110
+ "type": "string",
1111
+ "pattern": "^[A-Fa-f\\d]{24}$"
1112
+ },
1113
+ {
1114
+ "type": "null"
1115
+ }
1116
+ ]
1117
+ },
1118
+ "$gte": {
1119
+ "oneOf": [
1120
+ {
1121
+ "type": "string",
1122
+ "pattern": "^[A-Fa-f\\d]{24}$"
1123
+ },
1124
+ {
1125
+ "type": "null"
1126
+ }
1127
+ ]
1128
+ },
1129
+ "$lte": {
1130
+ "oneOf": [
1131
+ {
1132
+ "type": "string",
1133
+ "pattern": "^[A-Fa-f\\d]{24}$"
1134
+ },
1135
+ {
1136
+ "type": "null"
1137
+ }
1138
+ ]
1139
+ },
1140
+ "$in": {
1141
+ "type": "array",
1142
+ "maxItems": 100,
1143
+ "items": {
1144
+ "type": "string",
1145
+ "pattern": "^[A-Fa-f\\d]{24}$"
1146
+ }
1147
+ },
1148
+ "$nin": {
1149
+ "type": "array",
1150
+ "maxItems": 100,
1151
+ "items": {
1152
+ "type": "string",
1153
+ "pattern": "^[A-Fa-f\\d]{24}$"
1154
+ }
1155
+ }
1156
+ },
1157
+ "additionalProperties": false,
1158
+ "minProperties": 1,
1159
+ "maxProperties": 1
1160
+ }
1161
+ ]
1162
+ },
1163
+ "deviceTags": {
1164
+ "oneOf": [
1165
+ {
1166
+ "oneOf": [
1167
+ {
1168
+ "type": "null"
1169
+ },
1170
+ {
1171
+ "type": "object",
1172
+ "properties": {
1173
+ "$tagKey": {
1174
+ "oneOf": [
1175
+ {
1176
+ "type": "string",
1177
+ "maxLength": 255
1178
+ },
1179
+ {
1180
+ "type": "null"
1181
+ },
1182
+ {
1183
+ "type": "object",
1184
+ "properties": {
1185
+ "$in": {
1186
+ "type": "array",
1187
+ "maxItems": 100,
1188
+ "items": {
1189
+ "type": "string",
1190
+ "maxLength": 255
1191
+ }
1192
+ }
1193
+ },
1194
+ "required": [
1195
+ "$in"
1196
+ ],
1197
+ "additionalProperties": false
1198
+ },
1199
+ {
1200
+ "type": "object",
1201
+ "properties": {
1202
+ "$nin": {
1203
+ "type": "array",
1204
+ "maxItems": 100,
1205
+ "items": {
1206
+ "type": "string",
1207
+ "maxLength": 255
1208
+ }
1209
+ }
1210
+ },
1211
+ "required": [
1212
+ "$nin"
1213
+ ],
1214
+ "additionalProperties": false
1215
+ }
1216
+ ]
1217
+ },
1218
+ "$tagValue": {
1219
+ "oneOf": [
1220
+ {
1221
+ "type": "string",
1222
+ "maxLength": 255
1223
+ },
1224
+ {
1225
+ "type": "null"
1226
+ },
1227
+ {
1228
+ "type": "object",
1229
+ "properties": {
1230
+ "$in": {
1231
+ "type": "array",
1232
+ "maxItems": 100,
1233
+ "items": {
1234
+ "type": "string",
1235
+ "maxLength": 255
1236
+ }
1237
+ }
1238
+ },
1239
+ "required": [
1240
+ "$in"
1241
+ ],
1242
+ "additionalProperties": false
1243
+ },
1244
+ {
1245
+ "type": "object",
1246
+ "properties": {
1247
+ "$nin": {
1248
+ "type": "array",
1249
+ "maxItems": 100,
1250
+ "items": {
1251
+ "type": "string",
1252
+ "maxLength": 255
1253
+ }
1254
+ }
1255
+ },
1256
+ "required": [
1257
+ "$nin"
1258
+ ],
1259
+ "additionalProperties": false
1260
+ }
1261
+ ]
1262
+ }
1263
+ },
1264
+ "additionalProperties": false,
1265
+ "minProperties": 1
1266
+ },
1267
+ {
1268
+ "type": "object",
1269
+ "patternProperties": {
1270
+ "^[0-9a-zA-Z_-]{1,255}": {
1271
+ "oneOf": [
1272
+ {
1273
+ "type": "string",
1274
+ "maxLength": 255
1275
+ },
1276
+ {
1277
+ "type": "null"
1278
+ },
1279
+ {
1280
+ "type": "object",
1281
+ "properties": {
1282
+ "$in": {
1283
+ "type": "array",
1284
+ "maxItems": 100,
1285
+ "items": {
1286
+ "type": "string",
1287
+ "maxLength": 255
1288
+ }
1289
+ }
1290
+ },
1291
+ "required": [
1292
+ "$in"
1293
+ ],
1294
+ "additionalProperties": false
1295
+ },
1296
+ {
1297
+ "type": "object",
1298
+ "properties": {
1299
+ "$nin": {
1300
+ "type": "array",
1301
+ "maxItems": 100,
1302
+ "items": {
1303
+ "type": "string",
1304
+ "maxLength": 255
1305
+ }
1306
+ }
1307
+ },
1308
+ "required": [
1309
+ "$nin"
1310
+ ],
1311
+ "additionalProperties": false
1312
+ }
1313
+ ]
1314
+ }
1315
+ },
1316
+ "additionalProperties": false
1317
+ }
1452
1318
  ]
1453
1319
  },
1454
1320
  {
1455
1321
  "type": "object",
1456
1322
  "properties": {
1457
1323
  "$eq": {
1458
- "type": [
1459
- "string",
1460
- "number",
1461
- "boolean",
1462
- "null"
1463
- ]
1464
- },
1465
- "$ne": {
1466
- "type": [
1467
- "string",
1468
- "number",
1469
- "boolean",
1470
- "null"
1471
- ]
1472
- },
1473
- "$gt": {
1474
- "type": [
1475
- "string",
1476
- "number",
1477
- "boolean",
1478
- "null"
1479
- ]
1480
- },
1481
- "$lt": {
1482
- "type": [
1483
- "string",
1484
- "number",
1485
- "boolean",
1486
- "null"
1487
- ]
1488
- },
1489
- "$gte": {
1490
- "type": [
1491
- "string",
1492
- "number",
1493
- "boolean",
1494
- "null"
1495
- ]
1496
- },
1497
- "$lte": {
1498
- "type": [
1499
- "string",
1500
- "number",
1501
- "boolean",
1502
- "null"
1324
+ "oneOf": [
1325
+ {
1326
+ "type": "null"
1327
+ },
1328
+ {
1329
+ "type": "object",
1330
+ "properties": {
1331
+ "$tagKey": {
1332
+ "oneOf": [
1333
+ {
1334
+ "type": "string",
1335
+ "maxLength": 255
1336
+ },
1337
+ {
1338
+ "type": "null"
1339
+ },
1340
+ {
1341
+ "type": "object",
1342
+ "properties": {
1343
+ "$in": {
1344
+ "type": "array",
1345
+ "maxItems": 100,
1346
+ "items": {
1347
+ "type": "string",
1348
+ "maxLength": 255
1349
+ }
1350
+ }
1351
+ },
1352
+ "required": [
1353
+ "$in"
1354
+ ],
1355
+ "additionalProperties": false
1356
+ },
1357
+ {
1358
+ "type": "object",
1359
+ "properties": {
1360
+ "$nin": {
1361
+ "type": "array",
1362
+ "maxItems": 100,
1363
+ "items": {
1364
+ "type": "string",
1365
+ "maxLength": 255
1366
+ }
1367
+ }
1368
+ },
1369
+ "required": [
1370
+ "$nin"
1371
+ ],
1372
+ "additionalProperties": false
1373
+ }
1374
+ ]
1375
+ },
1376
+ "$tagValue": {
1377
+ "oneOf": [
1378
+ {
1379
+ "type": "string",
1380
+ "maxLength": 255
1381
+ },
1382
+ {
1383
+ "type": "null"
1384
+ },
1385
+ {
1386
+ "type": "object",
1387
+ "properties": {
1388
+ "$in": {
1389
+ "type": "array",
1390
+ "maxItems": 100,
1391
+ "items": {
1392
+ "type": "string",
1393
+ "maxLength": 255
1394
+ }
1395
+ }
1396
+ },
1397
+ "required": [
1398
+ "$in"
1399
+ ],
1400
+ "additionalProperties": false
1401
+ },
1402
+ {
1403
+ "type": "object",
1404
+ "properties": {
1405
+ "$nin": {
1406
+ "type": "array",
1407
+ "maxItems": 100,
1408
+ "items": {
1409
+ "type": "string",
1410
+ "maxLength": 255
1411
+ }
1412
+ }
1413
+ },
1414
+ "required": [
1415
+ "$nin"
1416
+ ],
1417
+ "additionalProperties": false
1418
+ }
1419
+ ]
1420
+ }
1421
+ },
1422
+ "additionalProperties": false,
1423
+ "minProperties": 1
1424
+ },
1425
+ {
1426
+ "type": "object",
1427
+ "patternProperties": {
1428
+ "^[0-9a-zA-Z_-]{1,255}": {
1429
+ "oneOf": [
1430
+ {
1431
+ "type": "string",
1432
+ "maxLength": 255
1433
+ },
1434
+ {
1435
+ "type": "null"
1436
+ },
1437
+ {
1438
+ "type": "object",
1439
+ "properties": {
1440
+ "$in": {
1441
+ "type": "array",
1442
+ "maxItems": 100,
1443
+ "items": {
1444
+ "type": "string",
1445
+ "maxLength": 255
1446
+ }
1447
+ }
1448
+ },
1449
+ "required": [
1450
+ "$in"
1451
+ ],
1452
+ "additionalProperties": false
1453
+ },
1454
+ {
1455
+ "type": "object",
1456
+ "properties": {
1457
+ "$nin": {
1458
+ "type": "array",
1459
+ "maxItems": 100,
1460
+ "items": {
1461
+ "type": "string",
1462
+ "maxLength": 255
1463
+ }
1464
+ }
1465
+ },
1466
+ "required": [
1467
+ "$nin"
1468
+ ],
1469
+ "additionalProperties": false
1470
+ }
1471
+ ]
1472
+ }
1473
+ },
1474
+ "additionalProperties": false
1475
+ }
1503
1476
  ]
1504
- },
1505
- "$startsWith": {
1506
- "type": "string",
1507
- "minLength": 1
1508
- },
1509
- "$endsWith": {
1510
- "type": "string",
1511
- "minLength": 1
1512
- },
1513
- "$contains": {
1514
- "type": "string",
1515
- "minLength": 1
1516
- },
1517
- "$ci": {
1518
- "type": "boolean"
1519
- },
1520
- "$in": {
1521
- "type": "array",
1522
- "maxItems": 100,
1523
- "items": {
1524
- "type": [
1525
- "string",
1526
- "number",
1527
- "boolean"
1528
- ]
1529
- }
1530
- },
1531
- "$nin": {
1532
- "type": "array",
1533
- "maxItems": 100,
1534
- "items": {
1535
- "type": [
1536
- "string",
1537
- "number",
1538
- "boolean"
1539
- ]
1540
- }
1541
1477
  }
1542
1478
  },
1479
+ "required": [
1480
+ "$eq"
1481
+ ],
1543
1482
  "additionalProperties": false
1544
- }
1545
- ]
1546
- },
1547
- "subTopics": {
1548
- "oneOf": [
1549
- {
1550
- "type": [
1551
- "string",
1552
- "number",
1553
- "boolean",
1554
- "null"
1555
- ]
1556
1483
  },
1557
1484
  {
1558
1485
  "type": "object",
1559
1486
  "properties": {
1560
- "$eq": {
1561
- "type": [
1562
- "string",
1563
- "number",
1564
- "boolean",
1565
- "null"
1566
- ]
1567
- },
1568
1487
  "$ne": {
1569
- "type": [
1570
- "string",
1571
- "number",
1572
- "boolean",
1573
- "null"
1574
- ]
1575
- },
1576
- "$gt": {
1577
- "type": [
1578
- "string",
1579
- "number",
1580
- "boolean",
1581
- "null"
1582
- ]
1583
- },
1584
- "$lt": {
1585
- "type": [
1586
- "string",
1587
- "number",
1588
- "boolean",
1589
- "null"
1590
- ]
1591
- },
1592
- "$gte": {
1593
- "type": [
1594
- "string",
1595
- "number",
1596
- "boolean",
1597
- "null"
1598
- ]
1599
- },
1600
- "$lte": {
1601
- "type": [
1602
- "string",
1603
- "number",
1604
- "boolean",
1605
- "null"
1488
+ "oneOf": [
1489
+ {
1490
+ "type": "null"
1491
+ },
1492
+ {
1493
+ "type": "object",
1494
+ "properties": {
1495
+ "$tagKey": {
1496
+ "oneOf": [
1497
+ {
1498
+ "type": "string",
1499
+ "maxLength": 255
1500
+ },
1501
+ {
1502
+ "type": "null"
1503
+ },
1504
+ {
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "$in": {
1508
+ "type": "array",
1509
+ "maxItems": 100,
1510
+ "items": {
1511
+ "type": "string",
1512
+ "maxLength": 255
1513
+ }
1514
+ }
1515
+ },
1516
+ "required": [
1517
+ "$in"
1518
+ ],
1519
+ "additionalProperties": false
1520
+ },
1521
+ {
1522
+ "type": "object",
1523
+ "properties": {
1524
+ "$nin": {
1525
+ "type": "array",
1526
+ "maxItems": 100,
1527
+ "items": {
1528
+ "type": "string",
1529
+ "maxLength": 255
1530
+ }
1531
+ }
1532
+ },
1533
+ "required": [
1534
+ "$nin"
1535
+ ],
1536
+ "additionalProperties": false
1537
+ }
1538
+ ]
1539
+ },
1540
+ "$tagValue": {
1541
+ "oneOf": [
1542
+ {
1543
+ "type": "string",
1544
+ "maxLength": 255
1545
+ },
1546
+ {
1547
+ "type": "null"
1548
+ },
1549
+ {
1550
+ "type": "object",
1551
+ "properties": {
1552
+ "$in": {
1553
+ "type": "array",
1554
+ "maxItems": 100,
1555
+ "items": {
1556
+ "type": "string",
1557
+ "maxLength": 255
1558
+ }
1559
+ }
1560
+ },
1561
+ "required": [
1562
+ "$in"
1563
+ ],
1564
+ "additionalProperties": false
1565
+ },
1566
+ {
1567
+ "type": "object",
1568
+ "properties": {
1569
+ "$nin": {
1570
+ "type": "array",
1571
+ "maxItems": 100,
1572
+ "items": {
1573
+ "type": "string",
1574
+ "maxLength": 255
1575
+ }
1576
+ }
1577
+ },
1578
+ "required": [
1579
+ "$nin"
1580
+ ],
1581
+ "additionalProperties": false
1582
+ }
1583
+ ]
1584
+ }
1585
+ },
1586
+ "additionalProperties": false,
1587
+ "minProperties": 1
1588
+ },
1589
+ {
1590
+ "type": "object",
1591
+ "patternProperties": {
1592
+ "^[0-9a-zA-Z_-]{1,255}": {
1593
+ "oneOf": [
1594
+ {
1595
+ "type": "string",
1596
+ "maxLength": 255
1597
+ },
1598
+ {
1599
+ "type": "null"
1600
+ },
1601
+ {
1602
+ "type": "object",
1603
+ "properties": {
1604
+ "$in": {
1605
+ "type": "array",
1606
+ "maxItems": 100,
1607
+ "items": {
1608
+ "type": "string",
1609
+ "maxLength": 255
1610
+ }
1611
+ }
1612
+ },
1613
+ "required": [
1614
+ "$in"
1615
+ ],
1616
+ "additionalProperties": false
1617
+ },
1618
+ {
1619
+ "type": "object",
1620
+ "properties": {
1621
+ "$nin": {
1622
+ "type": "array",
1623
+ "maxItems": 100,
1624
+ "items": {
1625
+ "type": "string",
1626
+ "maxLength": 255
1627
+ }
1628
+ }
1629
+ },
1630
+ "required": [
1631
+ "$nin"
1632
+ ],
1633
+ "additionalProperties": false
1634
+ }
1635
+ ]
1636
+ }
1637
+ },
1638
+ "additionalProperties": false
1639
+ }
1606
1640
  ]
1607
- },
1608
- "$startsWith": {
1609
- "type": "string",
1610
- "minLength": 1
1611
- },
1612
- "$endsWith": {
1613
- "type": "string",
1614
- "minLength": 1
1615
- },
1616
- "$contains": {
1617
- "type": "string",
1618
- "minLength": 1
1619
- },
1620
- "$ci": {
1621
- "type": "boolean"
1622
- },
1623
- "$in": {
1624
- "type": "array",
1625
- "maxItems": 100,
1626
- "items": {
1627
- "type": [
1628
- "string",
1629
- "number",
1630
- "boolean"
1631
- ]
1632
- }
1633
- },
1634
- "$nin": {
1635
- "type": "array",
1636
- "maxItems": 100,
1637
- "items": {
1638
- "type": [
1639
- "string",
1640
- "number",
1641
- "boolean"
1642
- ]
1643
- }
1644
1641
  }
1645
1642
  },
1643
+ "required": [
1644
+ "$ne"
1645
+ ],
1646
1646
  "additionalProperties": false
1647
1647
  }
1648
1648
  ]
1649
1649
  },
1650
- "addressFilterType": {
1650
+ "key": {
1651
1651
  "oneOf": [
1652
1652
  {
1653
1653
  "type": [
@@ -1750,7 +1750,7 @@
1750
1750
  }
1751
1751
  ]
1752
1752
  },
1753
- "addresses": {
1753
+ "description": {
1754
1754
  "oneOf": [
1755
1755
  {
1756
1756
  "type": [