losant_rest 1.9.1 → 1.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/docs/_schemas.md +41608 -19945
  5. data/docs/application.md +168 -4
  6. data/docs/applicationTemplates.md +50 -0
  7. data/docs/applications.md +46 -0
  8. data/docs/auth.md +72 -0
  9. data/docs/device.md +1 -0
  10. data/docs/devices.md +89 -2
  11. data/docs/experienceEndpoint.md +43 -0
  12. data/docs/experienceEndpoints.md +1 -1
  13. data/docs/experienceView.md +43 -0
  14. data/lib/losant_rest.rb +2 -1
  15. data/lib/losant_rest/application.rb +144 -5
  16. data/lib/losant_rest/application_api_token.rb +1 -1
  17. data/lib/losant_rest/application_api_tokens.rb +1 -1
  18. data/lib/losant_rest/application_certificate.rb +1 -1
  19. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  20. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  21. data/lib/losant_rest/application_certificates.rb +1 -1
  22. data/lib/losant_rest/application_key.rb +1 -1
  23. data/lib/losant_rest/application_keys.rb +1 -1
  24. data/lib/losant_rest/application_templates.rb +88 -0
  25. data/lib/losant_rest/applications.rb +1 -1
  26. data/lib/losant_rest/audit_log.rb +1 -1
  27. data/lib/losant_rest/audit_logs.rb +1 -1
  28. data/lib/losant_rest/auth.rb +85 -1
  29. data/lib/losant_rest/client.rb +7 -3
  30. data/lib/losant_rest/dashboard.rb +1 -1
  31. data/lib/losant_rest/dashboards.rb +1 -1
  32. data/lib/losant_rest/data.rb +1 -1
  33. data/lib/losant_rest/data_table.rb +1 -1
  34. data/lib/losant_rest/data_table_row.rb +1 -1
  35. data/lib/losant_rest/data_table_rows.rb +1 -1
  36. data/lib/losant_rest/data_tables.rb +1 -1
  37. data/lib/losant_rest/device.rb +3 -1
  38. data/lib/losant_rest/device_recipe.rb +1 -1
  39. data/lib/losant_rest/device_recipes.rb +1 -1
  40. data/lib/losant_rest/devices.rb +105 -3
  41. data/lib/losant_rest/edge_deployments.rb +1 -1
  42. data/lib/losant_rest/error.rb +1 -1
  43. data/lib/losant_rest/event.rb +1 -1
  44. data/lib/losant_rest/events.rb +1 -1
  45. data/lib/losant_rest/experience.rb +1 -1
  46. data/lib/losant_rest/experience_domain.rb +1 -1
  47. data/lib/losant_rest/experience_domains.rb +1 -1
  48. data/lib/losant_rest/experience_endpoint.rb +51 -1
  49. data/lib/losant_rest/experience_endpoints.rb +1 -1
  50. data/lib/losant_rest/experience_group.rb +1 -1
  51. data/lib/losant_rest/experience_groups.rb +1 -1
  52. data/lib/losant_rest/experience_slug.rb +1 -1
  53. data/lib/losant_rest/experience_slugs.rb +1 -1
  54. data/lib/losant_rest/experience_user.rb +1 -1
  55. data/lib/losant_rest/experience_users.rb +1 -1
  56. data/lib/losant_rest/experience_version.rb +1 -1
  57. data/lib/losant_rest/experience_versions.rb +1 -1
  58. data/lib/losant_rest/experience_view.rb +51 -1
  59. data/lib/losant_rest/experience_views.rb +1 -1
  60. data/lib/losant_rest/file.rb +1 -1
  61. data/lib/losant_rest/files.rb +1 -1
  62. data/lib/losant_rest/flow.rb +1 -1
  63. data/lib/losant_rest/flow_version.rb +1 -1
  64. data/lib/losant_rest/flow_versions.rb +1 -1
  65. data/lib/losant_rest/flows.rb +1 -1
  66. data/lib/losant_rest/integration.rb +1 -1
  67. data/lib/losant_rest/integrations.rb +1 -1
  68. data/lib/losant_rest/me.rb +1 -1
  69. data/lib/losant_rest/notebook.rb +1 -1
  70. data/lib/losant_rest/notebooks.rb +1 -1
  71. data/lib/losant_rest/org.rb +1 -1
  72. data/lib/losant_rest/org_invites.rb +1 -1
  73. data/lib/losant_rest/orgs.rb +1 -1
  74. data/lib/losant_rest/utils.rb +1 -1
  75. data/lib/losant_rest/version.rb +2 -2
  76. data/lib/losant_rest/webhook.rb +1 -1
  77. data/lib/losant_rest/webhooks.rb +1 -1
  78. data/schemas/advancedDeviceQuery.json +1018 -0
  79. data/schemas/advancedEventQuery.json +382 -13
  80. data/schemas/advancedQuery.json +37 -3
  81. data/schemas/application.json +10 -5
  82. data/schemas/applicationApiTokenPost.json +6 -0
  83. data/schemas/applicationCertificate.json +34 -0
  84. data/schemas/applicationCertificatePatch.json +34 -0
  85. data/schemas/applicationCertificatePost.json +34 -0
  86. data/schemas/applicationCertificates.json +34 -0
  87. data/schemas/{applicationCloneResult.json → applicationCreationByTemplateResult.json} +21 -8
  88. data/schemas/applicationExportPost.json +24 -0
  89. data/schemas/applicationExportResult.json +10 -0
  90. data/schemas/applicationKey.json +34 -0
  91. data/schemas/applicationKeyPatch.json +34 -0
  92. data/schemas/applicationKeyPost.json +34 -0
  93. data/schemas/applicationKeyPostResponse.json +34 -0
  94. data/schemas/applicationKeys.json +34 -0
  95. data/schemas/applicationPatch.json +10 -5
  96. data/schemas/applicationPost.json +14 -5
  97. data/schemas/applicationReadme.json +29 -0
  98. data/schemas/applicationReadmePatch.json +11 -0
  99. data/schemas/applicationTemplate.json +99 -0
  100. data/schemas/applicationTemplates.json +140 -0
  101. data/schemas/applications.json +10 -5
  102. data/schemas/authedDevice.json +34 -0
  103. data/schemas/dashboard.json +1228 -144
  104. data/schemas/dashboardPatch.json +1228 -144
  105. data/schemas/dashboardPost.json +1228 -144
  106. data/schemas/dashboards.json +1228 -144
  107. data/schemas/dataExport.json +11 -0
  108. data/schemas/dataTableRows.json +3 -0
  109. data/schemas/dataTableRowsExport.json +37 -3
  110. data/schemas/device.json +16 -3
  111. data/schemas/devicePatch.json +16 -3
  112. data/schemas/devicePost.json +16 -3
  113. data/schemas/deviceRecipe.json +16 -3
  114. data/schemas/deviceRecipePatch.json +16 -3
  115. data/schemas/deviceRecipePost.json +16 -3
  116. data/schemas/deviceRecipes.json +16 -3
  117. data/schemas/devices.json +19 -3
  118. data/schemas/devicesDataRemoved.json +12 -0
  119. data/schemas/devicesDeletePost.json +1034 -0
  120. data/schemas/devicesDeleted.json +12 -0
  121. data/schemas/devicesExportPost.json +1035 -0
  122. data/schemas/devicesPatch.json +1773 -7
  123. data/schemas/devicesRemoveDataPost.json +1056 -0
  124. data/schemas/devicesUpdated.json +18 -0
  125. data/schemas/events.json +1 -816
  126. data/schemas/eventsExport.json +382 -13
  127. data/schemas/experienceGroup.json +7 -0
  128. data/schemas/experienceGroupPatch.json +7 -0
  129. data/schemas/experienceGroupPost.json +7 -0
  130. data/schemas/experienceGroups.json +7 -0
  131. data/schemas/experienceLinkedResources.json +6659 -0
  132. data/schemas/flow.json +103 -1
  133. data/schemas/flowPatch.json +103 -1
  134. data/schemas/flowPost.json +103 -1
  135. data/schemas/flowVersion.json +206 -2
  136. data/schemas/flowVersionPost.json +103 -1
  137. data/schemas/flowVersions.json +206 -2
  138. data/schemas/flows.json +103 -1
  139. data/schemas/flowsImportPost.json +206 -2
  140. data/schemas/flowsImportResult.json +309 -3
  141. data/schemas/githubLogin.json +9 -0
  142. data/schemas/integration.json +4 -4
  143. data/schemas/integrationPatch.json +4 -4
  144. data/schemas/integrationPost.json +4 -4
  145. data/schemas/integrations.json +4 -4
  146. data/schemas/{applicationCloneEnqueued.json → jobEnqueuedResult.json} +0 -0
  147. data/schemas/me.json +3 -0
  148. data/schemas/multiDeviceCommand.json +1019 -0
  149. data/schemas/notebook.json +207 -35
  150. data/schemas/notebookDataExportOptions.json +4 -0
  151. data/schemas/notebookExecutionLogs.json +4 -0
  152. data/schemas/notebookExecutionOptions.json +4 -0
  153. data/schemas/notebookPatch.json +207 -35
  154. data/schemas/notebookPost.json +207 -35
  155. data/schemas/notebooks.json +207 -35
  156. data/schemas/org.json +8 -0
  157. data/schemas/orgPatch.json +9 -0
  158. data/schemas/orgs.json +8 -0
  159. data/schemas/samlResponse.json +21 -0
  160. data/schemas/ssoRequest.json +20 -0
  161. data/schemas/timeSeriesData.json +91 -12
  162. data/schemas/timeSeriesQuery.json +21 -12
  163. data/schemas/userCredentials.json +9 -0
  164. data/schemas/userPost.json +9 -0
  165. data/schemas/{validationCloneErrors.json → validationErrors.json} +9 -2
  166. metadata +24 -7
@@ -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
+ }
@@ -201,822 +201,7 @@
201
201
  "pattern": "^[A-Fa-f\\d]{24}$"
202
202
  },
203
203
  "query": {
204
- "title": "Advanced Event Query",
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
  }