@redocly/config 0.43.0 → 0.44.0

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 (51) hide show
  1. package/lib/common.d.ts +241 -22
  2. package/lib/common.js +50 -37
  3. package/lib/constants/config.d.ts +12 -0
  4. package/lib/constants/config.js +17 -0
  5. package/lib/constants/entities.d.ts +45 -0
  6. package/lib/constants/entities.js +58 -0
  7. package/lib/constants/enum.d.ts +1 -0
  8. package/lib/constants/enum.js +6 -0
  9. package/lib/constants/shared.d.ts +15 -0
  10. package/lib/constants/shared.js +22 -0
  11. package/lib/default-theme-config-schema.d.ts +866 -723
  12. package/lib/default-theme-config-schema.js +1 -1
  13. package/lib/entities-catalog-entity-file-schema.js +22 -22
  14. package/lib/ex-theme-config-schemas.d.ts +96 -26
  15. package/lib/ex-theme-config-schemas.js +23 -2
  16. package/lib/index.d.ts +3 -1
  17. package/lib/index.js +13 -10
  18. package/lib/product-override-schema.d.ts +73 -20
  19. package/lib/root-config-schema.d.ts +2823 -1567
  20. package/lib/root-config-schema.js +18 -11
  21. package/lib/scorecards-config-schema.d.ts +6 -0
  22. package/lib/scorecards-config-schema.js +2 -4
  23. package/lib/types/portal-shared-types.d.ts +1 -1
  24. package/lib-esm/common.d.ts +241 -22
  25. package/lib-esm/common.js +29 -16
  26. package/lib-esm/constants/config.d.ts +12 -0
  27. package/lib-esm/constants/config.js +14 -0
  28. package/lib-esm/constants/entities.d.ts +45 -0
  29. package/lib-esm/constants/entities.js +55 -0
  30. package/lib-esm/constants/enum.d.ts +1 -0
  31. package/lib-esm/constants/enum.js +2 -0
  32. package/lib-esm/constants/shared.d.ts +15 -0
  33. package/lib-esm/constants/shared.js +19 -0
  34. package/lib-esm/default-theme-config-schema.d.ts +866 -723
  35. package/lib-esm/default-theme-config-schema.js +1 -1
  36. package/lib-esm/entities-catalog-entity-file-schema.js +21 -21
  37. package/lib-esm/ex-theme-config-schemas.d.ts +96 -26
  38. package/lib-esm/ex-theme-config-schemas.js +24 -3
  39. package/lib-esm/index.d.ts +3 -1
  40. package/lib-esm/index.js +3 -1
  41. package/lib-esm/product-override-schema.d.ts +73 -20
  42. package/lib-esm/root-config-schema.d.ts +2823 -1567
  43. package/lib-esm/root-config-schema.js +14 -7
  44. package/lib-esm/scorecards-config-schema.d.ts +6 -0
  45. package/lib-esm/scorecards-config-schema.js +2 -4
  46. package/lib-esm/types/portal-shared-types.d.ts +1 -1
  47. package/package.json +2 -2
  48. package/lib/constants.d.ts +0 -38
  49. package/lib/constants.js +0 -73
  50. package/lib-esm/constants.d.ts +0 -38
  51. package/lib-esm/constants.js +0 -70
@@ -5341,6 +5341,9 @@ export declare const themeConfigSchema: {
5341
5341
  * @deprecated Should use `scorecardClassic` instead
5342
5342
  */
5343
5343
  readonly scorecard: {
5344
+ readonly nodeTypeName: "ScorecardClassic";
5345
+ readonly description: "Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.";
5346
+ readonly documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic";
5344
5347
  readonly type: "object";
5345
5348
  readonly additionalProperties: true;
5346
5349
  readonly required: readonly [];
@@ -5350,6 +5353,9 @@ export declare const themeConfigSchema: {
5350
5353
  readonly default: false;
5351
5354
  };
5352
5355
  readonly teamMetadataProperty: {
5356
+ readonly nodeTypeName: "ScorecardClassicTeamMetadataProperty";
5357
+ readonly description: "Provide custom team label and team metadata property.";
5358
+ readonly documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object";
5353
5359
  readonly type: "object";
5354
5360
  readonly properties: {
5355
5361
  readonly property: {
@@ -5364,92 +5370,126 @@ export declare const themeConfigSchema: {
5364
5370
  };
5365
5371
  };
5366
5372
  readonly levels: {
5373
+ readonly nodeTypeName: "ScorecardClassicLevelList";
5374
+ readonly description: "List of levels to score against.";
5367
5375
  readonly type: "array";
5368
5376
  readonly items: {
5377
+ readonly nodeTypeName: "ScorecardClassicLevel";
5378
+ readonly documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#level-object";
5369
5379
  readonly type: "object";
5370
5380
  readonly required: readonly ["name"];
5371
5381
  readonly properties: {
5372
- readonly decorators: {
5382
+ readonly extends: {
5383
+ readonly nodeTypeName: undefined;
5384
+ readonly type: "array";
5385
+ readonly items: {
5386
+ readonly type: "string";
5387
+ };
5388
+ readonly description: "Use extends to inherit rules and their configurations from other rulesets.";
5389
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends";
5390
+ };
5391
+ readonly preprocessors: {
5392
+ readonly nodeTypeName: undefined;
5373
5393
  readonly type: "object";
5374
5394
  readonly additionalProperties: true;
5375
5395
  };
5376
- readonly oas2Decorators: {
5396
+ readonly oas2Preprocessors: {
5397
+ readonly nodeTypeName: undefined;
5377
5398
  readonly type: "object";
5378
5399
  readonly additionalProperties: true;
5379
5400
  };
5380
- readonly oas3_0Decorators: {
5401
+ readonly oas3_0Preprocessors: {
5402
+ readonly nodeTypeName: undefined;
5381
5403
  readonly type: "object";
5382
5404
  readonly additionalProperties: true;
5383
5405
  };
5384
- readonly oas3_1Decorators: {
5406
+ readonly oas3_1Preprocessors: {
5407
+ readonly nodeTypeName: undefined;
5385
5408
  readonly type: "object";
5386
5409
  readonly additionalProperties: true;
5387
5410
  };
5388
- readonly oas3_2Decorators: {
5411
+ readonly oas3_2Preprocessors: {
5412
+ readonly nodeTypeName: undefined;
5389
5413
  readonly type: "object";
5390
5414
  readonly additionalProperties: true;
5391
5415
  };
5392
- readonly async2Decorators: {
5416
+ readonly async2Preprocessors: {
5417
+ readonly nodeTypeName: undefined;
5393
5418
  readonly type: "object";
5394
5419
  readonly additionalProperties: true;
5395
5420
  };
5396
- readonly async3Decorators: {
5421
+ readonly async3Preprocessors: {
5422
+ readonly nodeTypeName: undefined;
5397
5423
  readonly type: "object";
5398
5424
  readonly additionalProperties: true;
5399
5425
  };
5400
- readonly arazzo1Decorators: {
5426
+ readonly arazzo1Preprocessors: {
5427
+ readonly nodeTypeName: undefined;
5401
5428
  readonly type: "object";
5402
5429
  readonly additionalProperties: true;
5403
5430
  };
5404
- readonly overlay1Decorators: {
5431
+ readonly overlay1Preprocessors: {
5432
+ readonly nodeTypeName: undefined;
5405
5433
  readonly type: "object";
5406
5434
  readonly additionalProperties: true;
5407
5435
  };
5408
- readonly openrpc1Decorators: {
5436
+ readonly openrpc1Preprocessors: {
5437
+ readonly nodeTypeName: undefined;
5409
5438
  readonly type: "object";
5410
5439
  readonly additionalProperties: true;
5411
5440
  };
5412
- readonly preprocessors: {
5441
+ readonly decorators: {
5442
+ readonly nodeTypeName: undefined;
5413
5443
  readonly type: "object";
5414
5444
  readonly additionalProperties: true;
5415
5445
  };
5416
- readonly oas2Preprocessors: {
5446
+ readonly oas2Decorators: {
5447
+ readonly nodeTypeName: undefined;
5417
5448
  readonly type: "object";
5418
5449
  readonly additionalProperties: true;
5419
5450
  };
5420
- readonly oas3_0Preprocessors: {
5451
+ readonly oas3_0Decorators: {
5452
+ readonly nodeTypeName: undefined;
5421
5453
  readonly type: "object";
5422
5454
  readonly additionalProperties: true;
5423
5455
  };
5424
- readonly oas3_1Preprocessors: {
5456
+ readonly oas3_1Decorators: {
5457
+ readonly nodeTypeName: undefined;
5425
5458
  readonly type: "object";
5426
5459
  readonly additionalProperties: true;
5427
5460
  };
5428
- readonly oas3_2Preprocessors: {
5461
+ readonly oas3_2Decorators: {
5462
+ readonly nodeTypeName: undefined;
5429
5463
  readonly type: "object";
5430
5464
  readonly additionalProperties: true;
5431
5465
  };
5432
- readonly async2Preprocessors: {
5466
+ readonly async2Decorators: {
5467
+ readonly nodeTypeName: undefined;
5433
5468
  readonly type: "object";
5434
5469
  readonly additionalProperties: true;
5435
5470
  };
5436
- readonly async3Preprocessors: {
5471
+ readonly async3Decorators: {
5472
+ readonly nodeTypeName: undefined;
5437
5473
  readonly type: "object";
5438
5474
  readonly additionalProperties: true;
5439
5475
  };
5440
- readonly arazzo1Preprocessors: {
5476
+ readonly arazzo1Decorators: {
5477
+ readonly nodeTypeName: undefined;
5441
5478
  readonly type: "object";
5442
5479
  readonly additionalProperties: true;
5443
5480
  };
5444
- readonly overlay1Preprocessors: {
5481
+ readonly overlay1Decorators: {
5482
+ readonly nodeTypeName: undefined;
5445
5483
  readonly type: "object";
5446
5484
  readonly additionalProperties: true;
5447
5485
  };
5448
- readonly openrpc1Preprocessors: {
5486
+ readonly openrpc1Decorators: {
5487
+ readonly nodeTypeName: undefined;
5449
5488
  readonly type: "object";
5450
5489
  readonly additionalProperties: true;
5451
5490
  };
5452
5491
  readonly rules: {
5492
+ readonly nodeTypeName: undefined;
5453
5493
  readonly type: "object";
5454
5494
  readonly additionalProperties: {
5455
5495
  readonly oneOf: readonly [{
@@ -5458,8 +5498,11 @@ export declare const themeConfigSchema: {
5458
5498
  readonly type: "object";
5459
5499
  }];
5460
5500
  };
5501
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5502
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5461
5503
  };
5462
5504
  readonly oas2Rules: {
5505
+ readonly nodeTypeName: undefined;
5463
5506
  readonly type: "object";
5464
5507
  readonly additionalProperties: {
5465
5508
  readonly oneOf: readonly [{
@@ -5468,8 +5511,11 @@ export declare const themeConfigSchema: {
5468
5511
  readonly type: "object";
5469
5512
  }];
5470
5513
  };
5514
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5515
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5471
5516
  };
5472
5517
  readonly oas3_0Rules: {
5518
+ readonly nodeTypeName: undefined;
5473
5519
  readonly type: "object";
5474
5520
  readonly additionalProperties: {
5475
5521
  readonly oneOf: readonly [{
@@ -5478,8 +5524,11 @@ export declare const themeConfigSchema: {
5478
5524
  readonly type: "object";
5479
5525
  }];
5480
5526
  };
5527
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5528
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5481
5529
  };
5482
5530
  readonly oas3_1Rules: {
5531
+ readonly nodeTypeName: undefined;
5483
5532
  readonly type: "object";
5484
5533
  readonly additionalProperties: {
5485
5534
  readonly oneOf: readonly [{
@@ -5488,8 +5537,11 @@ export declare const themeConfigSchema: {
5488
5537
  readonly type: "object";
5489
5538
  }];
5490
5539
  };
5540
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5541
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5491
5542
  };
5492
5543
  readonly oas3_2Rules: {
5544
+ readonly nodeTypeName: undefined;
5493
5545
  readonly type: "object";
5494
5546
  readonly additionalProperties: {
5495
5547
  readonly oneOf: readonly [{
@@ -5498,8 +5550,11 @@ export declare const themeConfigSchema: {
5498
5550
  readonly type: "object";
5499
5551
  }];
5500
5552
  };
5553
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5554
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5501
5555
  };
5502
5556
  readonly async2Rules: {
5557
+ readonly nodeTypeName: undefined;
5503
5558
  readonly type: "object";
5504
5559
  readonly additionalProperties: {
5505
5560
  readonly oneOf: readonly [{
@@ -5508,8 +5563,11 @@ export declare const themeConfigSchema: {
5508
5563
  readonly type: "object";
5509
5564
  }];
5510
5565
  };
5566
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5567
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5511
5568
  };
5512
5569
  readonly async3Rules: {
5570
+ readonly nodeTypeName: undefined;
5513
5571
  readonly type: "object";
5514
5572
  readonly additionalProperties: {
5515
5573
  readonly oneOf: readonly [{
@@ -5518,8 +5576,11 @@ export declare const themeConfigSchema: {
5518
5576
  readonly type: "object";
5519
5577
  }];
5520
5578
  };
5579
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5580
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5521
5581
  };
5522
5582
  readonly arazzo1Rules: {
5583
+ readonly nodeTypeName: undefined;
5523
5584
  readonly type: "object";
5524
5585
  readonly additionalProperties: {
5525
5586
  readonly oneOf: readonly [{
@@ -5528,8 +5589,11 @@ export declare const themeConfigSchema: {
5528
5589
  readonly type: "object";
5529
5590
  }];
5530
5591
  };
5592
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5593
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5531
5594
  };
5532
5595
  readonly overlay1Rules: {
5596
+ readonly nodeTypeName: undefined;
5533
5597
  readonly type: "object";
5534
5598
  readonly additionalProperties: {
5535
5599
  readonly oneOf: readonly [{
@@ -5538,8 +5602,11 @@ export declare const themeConfigSchema: {
5538
5602
  readonly type: "object";
5539
5603
  }];
5540
5604
  };
5605
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5606
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5541
5607
  };
5542
5608
  readonly openrpc1Rules: {
5609
+ readonly nodeTypeName: undefined;
5543
5610
  readonly type: "object";
5544
5611
  readonly additionalProperties: {
5545
5612
  readonly oneOf: readonly [{
@@ -5548,6 +5615,8 @@ export declare const themeConfigSchema: {
5548
5615
  readonly type: "object";
5549
5616
  }];
5550
5617
  };
5618
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5619
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5551
5620
  };
5552
5621
  readonly name: {
5553
5622
  readonly type: "string";
@@ -5555,19 +5624,16 @@ export declare const themeConfigSchema: {
5555
5624
  readonly color: {
5556
5625
  readonly type: "string";
5557
5626
  };
5558
- readonly extends: {
5559
- readonly type: "array";
5560
- readonly items: {
5561
- readonly type: "string";
5562
- };
5563
- };
5564
5627
  };
5565
5628
  readonly additionalProperties: false;
5566
5629
  };
5567
5630
  };
5568
5631
  readonly targets: {
5632
+ readonly nodeTypeName: "ScorecardClassicTargetList";
5633
+ readonly description: "Provide custom `minimumLevel` for specific targets.";
5569
5634
  readonly type: "array";
5570
5635
  readonly items: {
5636
+ readonly nodeTypeName: "ScorecardClassicTarget";
5571
5637
  readonly type: "object";
5572
5638
  readonly required: readonly ["where"];
5573
5639
  readonly properties: {
@@ -5579,10 +5645,14 @@ export declare const themeConfigSchema: {
5579
5645
  readonly additionalProperties: true;
5580
5646
  };
5581
5647
  readonly where: {
5648
+ readonly nodeTypeName: "ScorecardClassicTargetWhere";
5649
+ readonly description: "Specify which API descriptions to apply the `minimumLevel` to based on the metadata.";
5650
+ readonly documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#where-object";
5582
5651
  readonly type: "object";
5583
5652
  readonly required: readonly ["metadata"];
5584
5653
  readonly properties: {
5585
5654
  readonly metadata: {
5655
+ readonly nodeTypeName: "ScorecardClassicTargetWhereMetadata";
5586
5656
  readonly type: "object";
5587
5657
  readonly additionalProperties: {
5588
5658
  readonly type: "string";
@@ -5607,708 +5677,156 @@ export declare const themeConfigSchema: {
5607
5677
  };
5608
5678
  };
5609
5679
  };
5610
- readonly scorecards: {
5611
- readonly type: "array";
5612
- readonly items: {
5613
- readonly type: "object";
5614
- readonly properties: {
5615
- readonly name: {
5616
- readonly type: "string";
5617
- };
5618
- readonly key: {
5619
- readonly type: "string";
5620
- };
5621
- readonly description: {
5622
- readonly type: "string";
5680
+ readonly scorecardClassic: {
5681
+ readonly nodeTypeName: "ScorecardClassic";
5682
+ readonly description: "Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.";
5683
+ readonly documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic";
5684
+ readonly type: "object";
5685
+ readonly additionalProperties: true;
5686
+ readonly required: readonly [];
5687
+ readonly properties: {
5688
+ readonly ignoreNonCompliant: {
5689
+ readonly type: "boolean";
5690
+ readonly default: false;
5691
+ };
5692
+ readonly teamMetadataProperty: {
5693
+ readonly nodeTypeName: "ScorecardClassicTeamMetadataProperty";
5694
+ readonly description: "Provide custom team label and team metadata property.";
5695
+ readonly documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object";
5696
+ readonly type: "object";
5697
+ readonly properties: {
5698
+ readonly property: {
5699
+ readonly type: "string";
5700
+ };
5701
+ readonly label: {
5702
+ readonly type: "string";
5703
+ };
5704
+ readonly default: {
5705
+ readonly type: "string";
5706
+ };
5623
5707
  };
5624
- readonly entities: {
5625
- readonly oneOf: readonly [{
5626
- readonly type: "array";
5627
- readonly items: {
5628
- readonly oneOf: readonly [{
5629
- readonly type: "object";
5630
- readonly properties: {
5631
- readonly field: {
5632
- readonly type: "string";
5633
- };
5634
- readonly operator: {
5635
- readonly type: "string";
5636
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5637
- };
5638
- readonly value: {
5639
- readonly oneOf: readonly [{
5640
- readonly type: "boolean";
5641
- }, {
5642
- readonly type: "string";
5643
- }, {
5644
- readonly type: "number";
5645
- }];
5646
- };
5647
- readonly modifier: {
5648
- readonly type: "string";
5649
- readonly enum: readonly ["not"];
5650
- };
5651
- readonly match: {
5652
- readonly type: "array";
5653
- readonly items: {
5654
- readonly type: "object";
5655
- readonly properties: {
5656
- readonly field: {
5657
- readonly type: "string";
5658
- };
5659
- readonly operator: {
5660
- readonly type: "string";
5661
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5662
- };
5663
- readonly value: {
5664
- readonly oneOf: readonly [{
5665
- readonly type: "boolean";
5666
- }, {
5667
- readonly type: "string";
5668
- }, {
5669
- readonly type: "number";
5670
- }];
5671
- };
5672
- readonly modifier: {
5673
- readonly type: "string";
5674
- readonly enum: readonly ["not"];
5675
- };
5676
- };
5677
- };
5678
- };
5679
- };
5680
- }, {
5681
- readonly type: "object";
5682
- readonly properties: {
5683
- readonly operator: {
5684
- readonly type: "string";
5685
- readonly enum: readonly ["and", "or"];
5686
- };
5687
- readonly conditions: {
5688
- readonly type: "array";
5689
- readonly items: {
5690
- readonly oneOf: readonly [{
5691
- readonly type: "object";
5692
- readonly properties: {
5693
- readonly field: {
5694
- readonly type: "string";
5695
- };
5696
- readonly operator: {
5697
- readonly type: "string";
5698
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5699
- };
5700
- readonly value: {
5701
- readonly oneOf: readonly [{
5702
- readonly type: "boolean";
5703
- }, {
5704
- readonly type: "string";
5705
- }, {
5706
- readonly type: "number";
5707
- }];
5708
- };
5709
- readonly modifier: {
5710
- readonly type: "string";
5711
- readonly enum: readonly ["not"];
5712
- };
5713
- readonly match: {
5714
- readonly type: "array";
5715
- readonly items: {
5716
- readonly type: "object";
5717
- readonly properties: {
5718
- readonly field: {
5719
- readonly type: "string";
5720
- };
5721
- readonly operator: {
5722
- readonly type: "string";
5723
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5724
- };
5725
- readonly value: {
5726
- readonly oneOf: readonly [{
5727
- readonly type: "boolean";
5728
- }, {
5729
- readonly type: "string";
5730
- }, {
5731
- readonly type: "number";
5732
- }];
5733
- };
5734
- readonly modifier: {
5735
- readonly type: "string";
5736
- readonly enum: readonly ["not"];
5737
- };
5738
- };
5739
- };
5740
- };
5741
- };
5742
- }, {
5743
- readonly type: "object";
5744
- readonly properties: {
5745
- readonly operator: {
5746
- readonly type: "string";
5747
- readonly enum: readonly ["and", "or"];
5748
- };
5749
- readonly conditions: {
5750
- readonly type: "array";
5751
- readonly items: {
5752
- readonly type: "object";
5753
- readonly properties: {
5754
- readonly field: {
5755
- readonly type: "string";
5756
- };
5757
- readonly operator: {
5758
- readonly type: "string";
5759
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5760
- };
5761
- readonly value: {
5762
- readonly oneOf: readonly [{
5763
- readonly type: "boolean";
5764
- }, {
5765
- readonly type: "string";
5766
- }, {
5767
- readonly type: "number";
5768
- }];
5769
- };
5770
- readonly modifier: {
5771
- readonly type: "string";
5772
- readonly enum: readonly ["not"];
5773
- };
5774
- readonly match: {
5775
- readonly type: "array";
5776
- readonly items: {
5777
- readonly type: "object";
5778
- readonly properties: {
5779
- readonly field: {
5780
- readonly type: "string";
5781
- };
5782
- readonly operator: {
5783
- readonly type: "string";
5784
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5785
- };
5786
- readonly value: {
5787
- readonly oneOf: readonly [{
5788
- readonly type: "boolean";
5789
- }, {
5790
- readonly type: "string";
5791
- }, {
5792
- readonly type: "number";
5793
- }];
5794
- };
5795
- readonly modifier: {
5796
- readonly type: "string";
5797
- readonly enum: readonly ["not"];
5798
- };
5799
- };
5800
- };
5801
- };
5802
- };
5803
- };
5804
- };
5805
- };
5806
- readonly required: readonly ["operator", "conditions"];
5807
- readonly additionalProperties: false;
5808
- }];
5809
- };
5810
- };
5811
- };
5812
- readonly required: readonly ["operator", "conditions"];
5813
- readonly additionalProperties: false;
5814
- }];
5815
- };
5816
- }, {
5817
- readonly type: "object";
5818
- readonly properties: {
5819
- readonly operator: {
5708
+ };
5709
+ readonly levels: {
5710
+ readonly nodeTypeName: "ScorecardClassicLevelList";
5711
+ readonly description: "List of levels to score against.";
5712
+ readonly type: "array";
5713
+ readonly items: {
5714
+ readonly nodeTypeName: "ScorecardClassicLevel";
5715
+ readonly documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#level-object";
5716
+ readonly type: "object";
5717
+ readonly required: readonly ["name"];
5718
+ readonly properties: {
5719
+ readonly extends: {
5720
+ readonly nodeTypeName: undefined;
5721
+ readonly type: "array";
5722
+ readonly items: {
5820
5723
  readonly type: "string";
5821
- readonly enum: readonly ["and", "or"];
5822
- };
5823
- readonly conditions: {
5824
- readonly type: "array";
5825
- readonly items: {
5826
- readonly oneOf: readonly [{
5827
- readonly type: "object";
5828
- readonly properties: {
5829
- readonly field: {
5830
- readonly type: "string";
5831
- };
5832
- readonly operator: {
5833
- readonly type: "string";
5834
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5835
- };
5836
- readonly value: {
5837
- readonly oneOf: readonly [{
5838
- readonly type: "boolean";
5839
- }, {
5840
- readonly type: "string";
5841
- }, {
5842
- readonly type: "number";
5843
- }];
5844
- };
5845
- readonly modifier: {
5846
- readonly type: "string";
5847
- readonly enum: readonly ["not"];
5848
- };
5849
- readonly match: {
5850
- readonly type: "array";
5851
- readonly items: {
5852
- readonly type: "object";
5853
- readonly properties: {
5854
- readonly field: {
5855
- readonly type: "string";
5856
- };
5857
- readonly operator: {
5858
- readonly type: "string";
5859
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5860
- };
5861
- readonly value: {
5862
- readonly oneOf: readonly [{
5863
- readonly type: "boolean";
5864
- }, {
5865
- readonly type: "string";
5866
- }, {
5867
- readonly type: "number";
5868
- }];
5869
- };
5870
- readonly modifier: {
5871
- readonly type: "string";
5872
- readonly enum: readonly ["not"];
5873
- };
5874
- };
5875
- };
5876
- };
5877
- };
5878
- }, {
5879
- readonly type: "object";
5880
- readonly properties: {
5881
- readonly operator: {
5882
- readonly type: "string";
5883
- readonly enum: readonly ["and", "or"];
5884
- };
5885
- readonly conditions: {
5886
- readonly type: "array";
5887
- readonly items: {
5888
- readonly oneOf: readonly [{
5889
- readonly type: "object";
5890
- readonly properties: {
5891
- readonly field: {
5892
- readonly type: "string";
5893
- };
5894
- readonly operator: {
5895
- readonly type: "string";
5896
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5897
- };
5898
- readonly value: {
5899
- readonly oneOf: readonly [{
5900
- readonly type: "boolean";
5901
- }, {
5902
- readonly type: "string";
5903
- }, {
5904
- readonly type: "number";
5905
- }];
5906
- };
5907
- readonly modifier: {
5908
- readonly type: "string";
5909
- readonly enum: readonly ["not"];
5910
- };
5911
- readonly match: {
5912
- readonly type: "array";
5913
- readonly items: {
5914
- readonly type: "object";
5915
- readonly properties: {
5916
- readonly field: {
5917
- readonly type: "string";
5918
- };
5919
- readonly operator: {
5920
- readonly type: "string";
5921
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5922
- };
5923
- readonly value: {
5924
- readonly oneOf: readonly [{
5925
- readonly type: "boolean";
5926
- }, {
5927
- readonly type: "string";
5928
- }, {
5929
- readonly type: "number";
5930
- }];
5931
- };
5932
- readonly modifier: {
5933
- readonly type: "string";
5934
- readonly enum: readonly ["not"];
5935
- };
5936
- };
5937
- };
5938
- };
5939
- };
5940
- }, {
5941
- readonly type: "object";
5942
- readonly properties: {
5943
- readonly operator: {
5944
- readonly type: "string";
5945
- readonly enum: readonly ["and", "or"];
5946
- };
5947
- readonly conditions: {
5948
- readonly type: "array";
5949
- readonly items: {
5950
- readonly type: "object";
5951
- readonly properties: {
5952
- readonly field: {
5953
- readonly type: "string";
5954
- };
5955
- readonly operator: {
5956
- readonly type: "string";
5957
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5958
- };
5959
- readonly value: {
5960
- readonly oneOf: readonly [{
5961
- readonly type: "boolean";
5962
- }, {
5963
- readonly type: "string";
5964
- }, {
5965
- readonly type: "number";
5966
- }];
5967
- };
5968
- readonly modifier: {
5969
- readonly type: "string";
5970
- readonly enum: readonly ["not"];
5971
- };
5972
- readonly match: {
5973
- readonly type: "array";
5974
- readonly items: {
5975
- readonly type: "object";
5976
- readonly properties: {
5977
- readonly field: {
5978
- readonly type: "string";
5979
- };
5980
- readonly operator: {
5981
- readonly type: "string";
5982
- readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
5983
- };
5984
- readonly value: {
5985
- readonly oneOf: readonly [{
5986
- readonly type: "boolean";
5987
- }, {
5988
- readonly type: "string";
5989
- }, {
5990
- readonly type: "number";
5991
- }];
5992
- };
5993
- readonly modifier: {
5994
- readonly type: "string";
5995
- readonly enum: readonly ["not"];
5996
- };
5997
- };
5998
- };
5999
- };
6000
- };
6001
- };
6002
- };
6003
- };
6004
- readonly required: readonly ["operator", "conditions"];
6005
- readonly additionalProperties: false;
6006
- }];
6007
- };
6008
- };
6009
- };
6010
- readonly required: readonly ["operator", "conditions"];
6011
- readonly additionalProperties: false;
6012
- }];
6013
- };
6014
5724
  };
5725
+ readonly description: "Use extends to inherit rules and their configurations from other rulesets.";
5726
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends";
6015
5727
  };
6016
- readonly required: readonly ["operator", "conditions"];
6017
- readonly additionalProperties: false;
6018
- }];
6019
- };
6020
- readonly levels: {
6021
- readonly type: "array";
6022
- readonly items: {
6023
- readonly type: "object";
6024
- readonly properties: {
6025
- readonly name: {
6026
- readonly type: "string";
6027
- };
6028
- readonly extends: {
6029
- readonly type: "array";
6030
- readonly items: {
6031
- readonly type: "string";
6032
- };
6033
- };
6034
- readonly rules: {
6035
- readonly type: "object";
6036
- readonly additionalProperties: {
6037
- readonly oneOf: readonly [{
6038
- readonly type: "string";
6039
- }, {
6040
- readonly type: "object";
6041
- readonly properties: {
6042
- readonly severity: {
6043
- readonly type: "string";
6044
- readonly enum: readonly ["error", "warn", "off"];
6045
- };
6046
- readonly weight: {
6047
- readonly type: "number";
6048
- readonly default: 1;
6049
- };
6050
- };
6051
- readonly additionalProperties: true;
6052
- }, {
6053
- readonly type: "object";
6054
- readonly properties: {
6055
- readonly title: {
6056
- readonly type: "string";
6057
- };
6058
- readonly subject: {
6059
- readonly type: "object";
6060
- readonly properties: {
6061
- readonly type: {
6062
- readonly type: "string";
6063
- readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
6064
- };
6065
- readonly property: {
6066
- readonly type: "string";
6067
- };
6068
- };
6069
- readonly required: readonly ["type", "property"];
6070
- readonly additionalProperties: false;
6071
- };
6072
- readonly severity: {
6073
- readonly type: "string";
6074
- readonly enum: readonly ["error", "warn", "off"];
6075
- };
6076
- readonly message: {
6077
- readonly type: "string";
6078
- };
6079
- readonly assertions: {
6080
- readonly type: "object";
6081
- readonly properties: {
6082
- readonly defined: {
6083
- readonly type: "boolean";
6084
- };
6085
- readonly nonEmpty: {
6086
- readonly type: "boolean";
6087
- };
6088
- readonly eq: {};
6089
- readonly gt: {
6090
- readonly type: "number";
6091
- };
6092
- readonly gte: {
6093
- readonly type: "number";
6094
- };
6095
- readonly lt: {
6096
- readonly type: "number";
6097
- };
6098
- readonly lte: {
6099
- readonly type: "number";
6100
- };
6101
- readonly const: {};
6102
- };
6103
- readonly additionalProperties: false;
6104
- };
6105
- readonly where: {
6106
- readonly type: "array";
6107
- readonly items: {
6108
- readonly type: "object";
6109
- readonly properties: {
6110
- readonly subject: {
6111
- readonly type: "object";
6112
- readonly properties: {
6113
- readonly type: {
6114
- readonly type: "string";
6115
- readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
6116
- };
6117
- readonly property: {
6118
- readonly type: "string";
6119
- };
6120
- };
6121
- readonly required: readonly ["type", "property"];
6122
- readonly additionalProperties: false;
6123
- };
6124
- readonly assertions: {
6125
- readonly type: "object";
6126
- readonly properties: {
6127
- readonly defined: {
6128
- readonly type: "boolean";
6129
- };
6130
- readonly nonEmpty: {
6131
- readonly type: "boolean";
6132
- };
6133
- readonly eq: {};
6134
- readonly gt: {
6135
- readonly type: "number";
6136
- };
6137
- readonly gte: {
6138
- readonly type: "number";
6139
- };
6140
- readonly lt: {
6141
- readonly type: "number";
6142
- };
6143
- readonly lte: {
6144
- readonly type: "number";
6145
- };
6146
- readonly const: {};
6147
- };
6148
- readonly additionalProperties: false;
6149
- };
6150
- };
6151
- readonly required: readonly ["subject", "assertions"];
6152
- readonly additionalProperties: false;
6153
- };
6154
- };
6155
- readonly weight: {
6156
- readonly type: "number";
6157
- readonly default: 1;
6158
- };
6159
- };
6160
- readonly required: readonly ["subject", "assertions"];
6161
- readonly additionalProperties: false;
6162
- }];
6163
- };
6164
- };
6165
- };
6166
- readonly required: readonly ["name"];
6167
- readonly additionalProperties: false;
6168
- };
6169
- readonly minItems: 1;
6170
- };
6171
- readonly trigger: {
6172
- readonly oneOf: readonly [{
6173
- readonly type: "object";
6174
- readonly properties: {
6175
- readonly event: {
6176
- readonly type: "string";
6177
- readonly enum: readonly ["runtime", "manual"];
6178
- };
6179
- };
6180
- readonly required: readonly ["event"];
6181
- readonly additionalProperties: false;
6182
- }, {
6183
- readonly type: "array";
6184
- readonly items: {
6185
- readonly type: "object";
6186
- readonly properties: {
6187
- readonly event: {
6188
- readonly type: "string";
6189
- readonly enum: readonly ["runtime", "manual"];
6190
- };
6191
- };
6192
- readonly required: readonly ["event"];
6193
- readonly additionalProperties: false;
6194
- };
6195
- }];
6196
- };
6197
- };
6198
- readonly required: readonly ["name", "key", "entities", "levels"];
6199
- readonly additionalProperties: false;
6200
- };
6201
- };
6202
- readonly scorecardClassic: {
6203
- readonly type: "object";
6204
- readonly additionalProperties: true;
6205
- readonly required: readonly [];
6206
- readonly properties: {
6207
- readonly ignoreNonCompliant: {
6208
- readonly type: "boolean";
6209
- readonly default: false;
6210
- };
6211
- readonly teamMetadataProperty: {
6212
- readonly type: "object";
6213
- readonly properties: {
6214
- readonly property: {
6215
- readonly type: "string";
6216
- };
6217
- readonly label: {
6218
- readonly type: "string";
6219
- };
6220
- readonly default: {
6221
- readonly type: "string";
6222
- };
6223
- };
6224
- };
6225
- readonly levels: {
6226
- readonly type: "array";
6227
- readonly items: {
6228
- readonly type: "object";
6229
- readonly required: readonly ["name"];
6230
- readonly properties: {
6231
- readonly decorators: {
5728
+ readonly preprocessors: {
5729
+ readonly nodeTypeName: undefined;
6232
5730
  readonly type: "object";
6233
5731
  readonly additionalProperties: true;
6234
5732
  };
6235
- readonly oas2Decorators: {
5733
+ readonly oas2Preprocessors: {
5734
+ readonly nodeTypeName: undefined;
6236
5735
  readonly type: "object";
6237
5736
  readonly additionalProperties: true;
6238
5737
  };
6239
- readonly oas3_0Decorators: {
5738
+ readonly oas3_0Preprocessors: {
5739
+ readonly nodeTypeName: undefined;
6240
5740
  readonly type: "object";
6241
5741
  readonly additionalProperties: true;
6242
5742
  };
6243
- readonly oas3_1Decorators: {
5743
+ readonly oas3_1Preprocessors: {
5744
+ readonly nodeTypeName: undefined;
6244
5745
  readonly type: "object";
6245
5746
  readonly additionalProperties: true;
6246
5747
  };
6247
- readonly oas3_2Decorators: {
5748
+ readonly oas3_2Preprocessors: {
5749
+ readonly nodeTypeName: undefined;
6248
5750
  readonly type: "object";
6249
5751
  readonly additionalProperties: true;
6250
5752
  };
6251
- readonly async2Decorators: {
5753
+ readonly async2Preprocessors: {
5754
+ readonly nodeTypeName: undefined;
6252
5755
  readonly type: "object";
6253
5756
  readonly additionalProperties: true;
6254
5757
  };
6255
- readonly async3Decorators: {
5758
+ readonly async3Preprocessors: {
5759
+ readonly nodeTypeName: undefined;
6256
5760
  readonly type: "object";
6257
5761
  readonly additionalProperties: true;
6258
5762
  };
6259
- readonly arazzo1Decorators: {
5763
+ readonly arazzo1Preprocessors: {
5764
+ readonly nodeTypeName: undefined;
6260
5765
  readonly type: "object";
6261
5766
  readonly additionalProperties: true;
6262
5767
  };
6263
- readonly overlay1Decorators: {
5768
+ readonly overlay1Preprocessors: {
5769
+ readonly nodeTypeName: undefined;
6264
5770
  readonly type: "object";
6265
5771
  readonly additionalProperties: true;
6266
5772
  };
6267
- readonly openrpc1Decorators: {
5773
+ readonly openrpc1Preprocessors: {
5774
+ readonly nodeTypeName: undefined;
6268
5775
  readonly type: "object";
6269
5776
  readonly additionalProperties: true;
6270
5777
  };
6271
- readonly preprocessors: {
5778
+ readonly decorators: {
5779
+ readonly nodeTypeName: undefined;
6272
5780
  readonly type: "object";
6273
5781
  readonly additionalProperties: true;
6274
5782
  };
6275
- readonly oas2Preprocessors: {
5783
+ readonly oas2Decorators: {
5784
+ readonly nodeTypeName: undefined;
6276
5785
  readonly type: "object";
6277
5786
  readonly additionalProperties: true;
6278
5787
  };
6279
- readonly oas3_0Preprocessors: {
5788
+ readonly oas3_0Decorators: {
5789
+ readonly nodeTypeName: undefined;
6280
5790
  readonly type: "object";
6281
5791
  readonly additionalProperties: true;
6282
5792
  };
6283
- readonly oas3_1Preprocessors: {
5793
+ readonly oas3_1Decorators: {
5794
+ readonly nodeTypeName: undefined;
6284
5795
  readonly type: "object";
6285
5796
  readonly additionalProperties: true;
6286
5797
  };
6287
- readonly oas3_2Preprocessors: {
5798
+ readonly oas3_2Decorators: {
5799
+ readonly nodeTypeName: undefined;
6288
5800
  readonly type: "object";
6289
5801
  readonly additionalProperties: true;
6290
5802
  };
6291
- readonly async2Preprocessors: {
5803
+ readonly async2Decorators: {
5804
+ readonly nodeTypeName: undefined;
6292
5805
  readonly type: "object";
6293
5806
  readonly additionalProperties: true;
6294
5807
  };
6295
- readonly async3Preprocessors: {
5808
+ readonly async3Decorators: {
5809
+ readonly nodeTypeName: undefined;
6296
5810
  readonly type: "object";
6297
5811
  readonly additionalProperties: true;
6298
5812
  };
6299
- readonly arazzo1Preprocessors: {
5813
+ readonly arazzo1Decorators: {
5814
+ readonly nodeTypeName: undefined;
6300
5815
  readonly type: "object";
6301
5816
  readonly additionalProperties: true;
6302
5817
  };
6303
- readonly overlay1Preprocessors: {
5818
+ readonly overlay1Decorators: {
5819
+ readonly nodeTypeName: undefined;
6304
5820
  readonly type: "object";
6305
5821
  readonly additionalProperties: true;
6306
5822
  };
6307
- readonly openrpc1Preprocessors: {
5823
+ readonly openrpc1Decorators: {
5824
+ readonly nodeTypeName: undefined;
6308
5825
  readonly type: "object";
6309
5826
  readonly additionalProperties: true;
6310
5827
  };
6311
5828
  readonly rules: {
5829
+ readonly nodeTypeName: undefined;
6312
5830
  readonly type: "object";
6313
5831
  readonly additionalProperties: {
6314
5832
  readonly oneOf: readonly [{
@@ -6317,8 +5835,11 @@ export declare const themeConfigSchema: {
6317
5835
  readonly type: "object";
6318
5836
  }];
6319
5837
  };
5838
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5839
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
6320
5840
  };
6321
5841
  readonly oas2Rules: {
5842
+ readonly nodeTypeName: undefined;
6322
5843
  readonly type: "object";
6323
5844
  readonly additionalProperties: {
6324
5845
  readonly oneOf: readonly [{
@@ -6327,8 +5848,11 @@ export declare const themeConfigSchema: {
6327
5848
  readonly type: "object";
6328
5849
  }];
6329
5850
  };
5851
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5852
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
6330
5853
  };
6331
5854
  readonly oas3_0Rules: {
5855
+ readonly nodeTypeName: undefined;
6332
5856
  readonly type: "object";
6333
5857
  readonly additionalProperties: {
6334
5858
  readonly oneOf: readonly [{
@@ -6337,8 +5861,11 @@ export declare const themeConfigSchema: {
6337
5861
  readonly type: "object";
6338
5862
  }];
6339
5863
  };
5864
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5865
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
6340
5866
  };
6341
5867
  readonly oas3_1Rules: {
5868
+ readonly nodeTypeName: undefined;
6342
5869
  readonly type: "object";
6343
5870
  readonly additionalProperties: {
6344
5871
  readonly oneOf: readonly [{
@@ -6347,8 +5874,11 @@ export declare const themeConfigSchema: {
6347
5874
  readonly type: "object";
6348
5875
  }];
6349
5876
  };
5877
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5878
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
6350
5879
  };
6351
5880
  readonly oas3_2Rules: {
5881
+ readonly nodeTypeName: undefined;
6352
5882
  readonly type: "object";
6353
5883
  readonly additionalProperties: {
6354
5884
  readonly oneOf: readonly [{
@@ -6357,8 +5887,11 @@ export declare const themeConfigSchema: {
6357
5887
  readonly type: "object";
6358
5888
  }];
6359
5889
  };
5890
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5891
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
6360
5892
  };
6361
5893
  readonly async2Rules: {
5894
+ readonly nodeTypeName: undefined;
6362
5895
  readonly type: "object";
6363
5896
  readonly additionalProperties: {
6364
5897
  readonly oneOf: readonly [{
@@ -6367,8 +5900,11 @@ export declare const themeConfigSchema: {
6367
5900
  readonly type: "object";
6368
5901
  }];
6369
5902
  };
5903
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5904
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
6370
5905
  };
6371
5906
  readonly async3Rules: {
5907
+ readonly nodeTypeName: undefined;
6372
5908
  readonly type: "object";
6373
5909
  readonly additionalProperties: {
6374
5910
  readonly oneOf: readonly [{
@@ -6377,8 +5913,37 @@ export declare const themeConfigSchema: {
6377
5913
  readonly type: "object";
6378
5914
  }];
6379
5915
  };
5916
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5917
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
6380
5918
  };
6381
5919
  readonly arazzo1Rules: {
5920
+ readonly nodeTypeName: undefined;
5921
+ readonly type: "object";
5922
+ readonly additionalProperties: {
5923
+ readonly oneOf: readonly [{
5924
+ readonly type: "string";
5925
+ }, {
5926
+ readonly type: "object";
5927
+ }];
5928
+ };
5929
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5930
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5931
+ };
5932
+ readonly overlay1Rules: {
5933
+ readonly nodeTypeName: undefined;
5934
+ readonly type: "object";
5935
+ readonly additionalProperties: {
5936
+ readonly oneOf: readonly [{
5937
+ readonly type: "string";
5938
+ }, {
5939
+ readonly type: "object";
5940
+ }];
5941
+ };
5942
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5943
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5944
+ };
5945
+ readonly openrpc1Rules: {
5946
+ readonly nodeTypeName: undefined;
6382
5947
  readonly type: "object";
6383
5948
  readonly additionalProperties: {
6384
5949
  readonly oneOf: readonly [{
@@ -6387,83 +5952,661 @@ export declare const themeConfigSchema: {
6387
5952
  readonly type: "object";
6388
5953
  }];
6389
5954
  };
5955
+ readonly description: "The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.";
5956
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules";
5957
+ };
5958
+ readonly name: {
5959
+ readonly type: "string";
5960
+ };
5961
+ readonly color: {
5962
+ readonly type: "string";
5963
+ };
5964
+ };
5965
+ readonly additionalProperties: false;
5966
+ };
5967
+ };
5968
+ readonly targets: {
5969
+ readonly nodeTypeName: "ScorecardClassicTargetList";
5970
+ readonly description: "Provide custom `minimumLevel` for specific targets.";
5971
+ readonly type: "array";
5972
+ readonly items: {
5973
+ readonly nodeTypeName: "ScorecardClassicTarget";
5974
+ readonly type: "object";
5975
+ readonly required: readonly ["where"];
5976
+ readonly properties: {
5977
+ readonly minimumLevel: {
5978
+ readonly type: "string";
5979
+ };
5980
+ readonly rules: {
5981
+ readonly type: "object";
5982
+ readonly additionalProperties: true;
5983
+ };
5984
+ readonly where: {
5985
+ readonly nodeTypeName: "ScorecardClassicTargetWhere";
5986
+ readonly description: "Specify which API descriptions to apply the `minimumLevel` to based on the metadata.";
5987
+ readonly documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#where-object";
5988
+ readonly type: "object";
5989
+ readonly required: readonly ["metadata"];
5990
+ readonly properties: {
5991
+ readonly metadata: {
5992
+ readonly nodeTypeName: "ScorecardClassicTargetWhereMetadata";
5993
+ readonly type: "object";
5994
+ readonly additionalProperties: {
5995
+ readonly type: "string";
5996
+ };
5997
+ };
5998
+ };
5999
+ readonly additionalProperties: false;
6000
+ };
6001
+ };
6002
+ readonly additionalProperties: false;
6003
+ };
6004
+ };
6005
+ readonly ignore: {
6006
+ readonly type: "array";
6007
+ readonly items: {
6008
+ readonly type: "string";
6009
+ };
6010
+ };
6011
+ readonly fromProjectUrl: {
6012
+ readonly type: "string";
6013
+ readonly format: "uri";
6014
+ };
6015
+ };
6016
+ };
6017
+ readonly scorecards: {
6018
+ readonly type: "array";
6019
+ readonly items: {
6020
+ readonly type: "object";
6021
+ readonly properties: {
6022
+ readonly name: {
6023
+ readonly type: "string";
6024
+ };
6025
+ readonly key: {
6026
+ readonly type: "string";
6027
+ };
6028
+ readonly description: {
6029
+ readonly type: "string";
6030
+ };
6031
+ readonly entities: {
6032
+ readonly oneOf: readonly [{
6033
+ readonly type: "array";
6034
+ readonly items: {
6035
+ readonly oneOf: readonly [{
6036
+ readonly type: "object";
6037
+ readonly properties: {
6038
+ readonly field: {
6039
+ readonly type: "string";
6040
+ };
6041
+ readonly operator: {
6042
+ readonly type: "string";
6043
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6044
+ };
6045
+ readonly value: {
6046
+ readonly oneOf: readonly [{
6047
+ readonly type: "boolean";
6048
+ }, {
6049
+ readonly type: "string";
6050
+ }, {
6051
+ readonly type: "number";
6052
+ }];
6053
+ };
6054
+ readonly modifier: {
6055
+ readonly type: "string";
6056
+ readonly enum: readonly ["not"];
6057
+ };
6058
+ readonly match: {
6059
+ readonly type: "array";
6060
+ readonly items: {
6061
+ readonly type: "object";
6062
+ readonly properties: {
6063
+ readonly field: {
6064
+ readonly type: "string";
6065
+ };
6066
+ readonly operator: {
6067
+ readonly type: "string";
6068
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6069
+ };
6070
+ readonly value: {
6071
+ readonly oneOf: readonly [{
6072
+ readonly type: "boolean";
6073
+ }, {
6074
+ readonly type: "string";
6075
+ }, {
6076
+ readonly type: "number";
6077
+ }];
6078
+ };
6079
+ readonly modifier: {
6080
+ readonly type: "string";
6081
+ readonly enum: readonly ["not"];
6082
+ };
6083
+ };
6084
+ };
6085
+ };
6086
+ };
6087
+ }, {
6088
+ readonly type: "object";
6089
+ readonly properties: {
6090
+ readonly operator: {
6091
+ readonly type: "string";
6092
+ readonly enum: readonly ["and", "or"];
6093
+ };
6094
+ readonly conditions: {
6095
+ readonly type: "array";
6096
+ readonly items: {
6097
+ readonly oneOf: readonly [{
6098
+ readonly type: "object";
6099
+ readonly properties: {
6100
+ readonly field: {
6101
+ readonly type: "string";
6102
+ };
6103
+ readonly operator: {
6104
+ readonly type: "string";
6105
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6106
+ };
6107
+ readonly value: {
6108
+ readonly oneOf: readonly [{
6109
+ readonly type: "boolean";
6110
+ }, {
6111
+ readonly type: "string";
6112
+ }, {
6113
+ readonly type: "number";
6114
+ }];
6115
+ };
6116
+ readonly modifier: {
6117
+ readonly type: "string";
6118
+ readonly enum: readonly ["not"];
6119
+ };
6120
+ readonly match: {
6121
+ readonly type: "array";
6122
+ readonly items: {
6123
+ readonly type: "object";
6124
+ readonly properties: {
6125
+ readonly field: {
6126
+ readonly type: "string";
6127
+ };
6128
+ readonly operator: {
6129
+ readonly type: "string";
6130
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6131
+ };
6132
+ readonly value: {
6133
+ readonly oneOf: readonly [{
6134
+ readonly type: "boolean";
6135
+ }, {
6136
+ readonly type: "string";
6137
+ }, {
6138
+ readonly type: "number";
6139
+ }];
6140
+ };
6141
+ readonly modifier: {
6142
+ readonly type: "string";
6143
+ readonly enum: readonly ["not"];
6144
+ };
6145
+ };
6146
+ };
6147
+ };
6148
+ };
6149
+ }, {
6150
+ readonly type: "object";
6151
+ readonly properties: {
6152
+ readonly operator: {
6153
+ readonly type: "string";
6154
+ readonly enum: readonly ["and", "or"];
6155
+ };
6156
+ readonly conditions: {
6157
+ readonly type: "array";
6158
+ readonly items: {
6159
+ readonly type: "object";
6160
+ readonly properties: {
6161
+ readonly field: {
6162
+ readonly type: "string";
6163
+ };
6164
+ readonly operator: {
6165
+ readonly type: "string";
6166
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6167
+ };
6168
+ readonly value: {
6169
+ readonly oneOf: readonly [{
6170
+ readonly type: "boolean";
6171
+ }, {
6172
+ readonly type: "string";
6173
+ }, {
6174
+ readonly type: "number";
6175
+ }];
6176
+ };
6177
+ readonly modifier: {
6178
+ readonly type: "string";
6179
+ readonly enum: readonly ["not"];
6180
+ };
6181
+ readonly match: {
6182
+ readonly type: "array";
6183
+ readonly items: {
6184
+ readonly type: "object";
6185
+ readonly properties: {
6186
+ readonly field: {
6187
+ readonly type: "string";
6188
+ };
6189
+ readonly operator: {
6190
+ readonly type: "string";
6191
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6192
+ };
6193
+ readonly value: {
6194
+ readonly oneOf: readonly [{
6195
+ readonly type: "boolean";
6196
+ }, {
6197
+ readonly type: "string";
6198
+ }, {
6199
+ readonly type: "number";
6200
+ }];
6201
+ };
6202
+ readonly modifier: {
6203
+ readonly type: "string";
6204
+ readonly enum: readonly ["not"];
6205
+ };
6206
+ };
6207
+ };
6208
+ };
6209
+ };
6210
+ };
6211
+ };
6212
+ };
6213
+ readonly required: readonly ["operator", "conditions"];
6214
+ readonly additionalProperties: false;
6215
+ }];
6216
+ };
6217
+ };
6218
+ };
6219
+ readonly required: readonly ["operator", "conditions"];
6220
+ readonly additionalProperties: false;
6221
+ }];
6222
+ };
6223
+ }, {
6224
+ readonly type: "object";
6225
+ readonly properties: {
6226
+ readonly operator: {
6227
+ readonly type: "string";
6228
+ readonly enum: readonly ["and", "or"];
6229
+ };
6230
+ readonly conditions: {
6231
+ readonly type: "array";
6232
+ readonly items: {
6233
+ readonly oneOf: readonly [{
6234
+ readonly type: "object";
6235
+ readonly properties: {
6236
+ readonly field: {
6237
+ readonly type: "string";
6238
+ };
6239
+ readonly operator: {
6240
+ readonly type: "string";
6241
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6242
+ };
6243
+ readonly value: {
6244
+ readonly oneOf: readonly [{
6245
+ readonly type: "boolean";
6246
+ }, {
6247
+ readonly type: "string";
6248
+ }, {
6249
+ readonly type: "number";
6250
+ }];
6251
+ };
6252
+ readonly modifier: {
6253
+ readonly type: "string";
6254
+ readonly enum: readonly ["not"];
6255
+ };
6256
+ readonly match: {
6257
+ readonly type: "array";
6258
+ readonly items: {
6259
+ readonly type: "object";
6260
+ readonly properties: {
6261
+ readonly field: {
6262
+ readonly type: "string";
6263
+ };
6264
+ readonly operator: {
6265
+ readonly type: "string";
6266
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6267
+ };
6268
+ readonly value: {
6269
+ readonly oneOf: readonly [{
6270
+ readonly type: "boolean";
6271
+ }, {
6272
+ readonly type: "string";
6273
+ }, {
6274
+ readonly type: "number";
6275
+ }];
6276
+ };
6277
+ readonly modifier: {
6278
+ readonly type: "string";
6279
+ readonly enum: readonly ["not"];
6280
+ };
6281
+ };
6282
+ };
6283
+ };
6284
+ };
6285
+ }, {
6286
+ readonly type: "object";
6287
+ readonly properties: {
6288
+ readonly operator: {
6289
+ readonly type: "string";
6290
+ readonly enum: readonly ["and", "or"];
6291
+ };
6292
+ readonly conditions: {
6293
+ readonly type: "array";
6294
+ readonly items: {
6295
+ readonly oneOf: readonly [{
6296
+ readonly type: "object";
6297
+ readonly properties: {
6298
+ readonly field: {
6299
+ readonly type: "string";
6300
+ };
6301
+ readonly operator: {
6302
+ readonly type: "string";
6303
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6304
+ };
6305
+ readonly value: {
6306
+ readonly oneOf: readonly [{
6307
+ readonly type: "boolean";
6308
+ }, {
6309
+ readonly type: "string";
6310
+ }, {
6311
+ readonly type: "number";
6312
+ }];
6313
+ };
6314
+ readonly modifier: {
6315
+ readonly type: "string";
6316
+ readonly enum: readonly ["not"];
6317
+ };
6318
+ readonly match: {
6319
+ readonly type: "array";
6320
+ readonly items: {
6321
+ readonly type: "object";
6322
+ readonly properties: {
6323
+ readonly field: {
6324
+ readonly type: "string";
6325
+ };
6326
+ readonly operator: {
6327
+ readonly type: "string";
6328
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6329
+ };
6330
+ readonly value: {
6331
+ readonly oneOf: readonly [{
6332
+ readonly type: "boolean";
6333
+ }, {
6334
+ readonly type: "string";
6335
+ }, {
6336
+ readonly type: "number";
6337
+ }];
6338
+ };
6339
+ readonly modifier: {
6340
+ readonly type: "string";
6341
+ readonly enum: readonly ["not"];
6342
+ };
6343
+ };
6344
+ };
6345
+ };
6346
+ };
6347
+ }, {
6348
+ readonly type: "object";
6349
+ readonly properties: {
6350
+ readonly operator: {
6351
+ readonly type: "string";
6352
+ readonly enum: readonly ["and", "or"];
6353
+ };
6354
+ readonly conditions: {
6355
+ readonly type: "array";
6356
+ readonly items: {
6357
+ readonly type: "object";
6358
+ readonly properties: {
6359
+ readonly field: {
6360
+ readonly type: "string";
6361
+ };
6362
+ readonly operator: {
6363
+ readonly type: "string";
6364
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6365
+ };
6366
+ readonly value: {
6367
+ readonly oneOf: readonly [{
6368
+ readonly type: "boolean";
6369
+ }, {
6370
+ readonly type: "string";
6371
+ }, {
6372
+ readonly type: "number";
6373
+ }];
6374
+ };
6375
+ readonly modifier: {
6376
+ readonly type: "string";
6377
+ readonly enum: readonly ["not"];
6378
+ };
6379
+ readonly match: {
6380
+ readonly type: "array";
6381
+ readonly items: {
6382
+ readonly type: "object";
6383
+ readonly properties: {
6384
+ readonly field: {
6385
+ readonly type: "string";
6386
+ };
6387
+ readonly operator: {
6388
+ readonly type: "string";
6389
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"];
6390
+ };
6391
+ readonly value: {
6392
+ readonly oneOf: readonly [{
6393
+ readonly type: "boolean";
6394
+ }, {
6395
+ readonly type: "string";
6396
+ }, {
6397
+ readonly type: "number";
6398
+ }];
6399
+ };
6400
+ readonly modifier: {
6401
+ readonly type: "string";
6402
+ readonly enum: readonly ["not"];
6403
+ };
6404
+ };
6405
+ };
6406
+ };
6407
+ };
6408
+ };
6409
+ };
6410
+ };
6411
+ readonly required: readonly ["operator", "conditions"];
6412
+ readonly additionalProperties: false;
6413
+ }];
6414
+ };
6415
+ };
6416
+ };
6417
+ readonly required: readonly ["operator", "conditions"];
6418
+ readonly additionalProperties: false;
6419
+ }];
6420
+ };
6421
+ };
6390
6422
  };
6391
- readonly overlay1Rules: {
6392
- readonly type: "object";
6393
- readonly additionalProperties: {
6394
- readonly oneOf: readonly [{
6395
- readonly type: "string";
6396
- }, {
6397
- readonly type: "object";
6398
- }];
6423
+ readonly required: readonly ["operator", "conditions"];
6424
+ readonly additionalProperties: false;
6425
+ }];
6426
+ };
6427
+ readonly levels: {
6428
+ readonly type: "array";
6429
+ readonly items: {
6430
+ readonly type: "object";
6431
+ readonly properties: {
6432
+ readonly name: {
6433
+ readonly type: "string";
6399
6434
  };
6400
- };
6401
- readonly openrpc1Rules: {
6402
- readonly type: "object";
6403
- readonly additionalProperties: {
6404
- readonly oneOf: readonly [{
6435
+ readonly extends: {
6436
+ readonly nodeTypeName: undefined;
6437
+ readonly type: "array";
6438
+ readonly items: {
6405
6439
  readonly type: "string";
6406
- }, {
6407
- readonly type: "object";
6408
- }];
6440
+ };
6441
+ readonly description: "Use extends to inherit rules and their configurations from other rulesets.";
6442
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends";
6409
6443
  };
6410
- };
6411
- readonly name: {
6412
- readonly type: "string";
6413
- };
6414
- readonly color: {
6415
- readonly type: "string";
6416
- };
6417
- readonly extends: {
6418
- readonly type: "array";
6419
- readonly items: {
6420
- readonly type: "string";
6444
+ readonly rules: {
6445
+ readonly type: "object";
6446
+ readonly additionalProperties: {
6447
+ readonly oneOf: readonly [{
6448
+ readonly type: "string";
6449
+ }, {
6450
+ readonly type: "object";
6451
+ readonly properties: {
6452
+ readonly severity: {
6453
+ readonly type: "string";
6454
+ readonly enum: readonly ["error", "warn", "off"];
6455
+ };
6456
+ readonly weight: {
6457
+ readonly type: "number";
6458
+ readonly default: 1;
6459
+ };
6460
+ };
6461
+ readonly additionalProperties: true;
6462
+ }, {
6463
+ readonly type: "object";
6464
+ readonly properties: {
6465
+ readonly title: {
6466
+ readonly type: "string";
6467
+ };
6468
+ readonly subject: {
6469
+ readonly type: "object";
6470
+ readonly properties: {
6471
+ readonly type: {
6472
+ readonly type: "string";
6473
+ readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
6474
+ };
6475
+ readonly property: {
6476
+ readonly type: "string";
6477
+ };
6478
+ };
6479
+ readonly required: readonly ["type", "property"];
6480
+ readonly additionalProperties: false;
6481
+ };
6482
+ readonly severity: {
6483
+ readonly type: "string";
6484
+ readonly enum: readonly ["error", "warn", "off"];
6485
+ };
6486
+ readonly message: {
6487
+ readonly type: "string";
6488
+ };
6489
+ readonly assertions: {
6490
+ readonly type: "object";
6491
+ readonly properties: {
6492
+ readonly defined: {
6493
+ readonly type: "boolean";
6494
+ };
6495
+ readonly nonEmpty: {
6496
+ readonly type: "boolean";
6497
+ };
6498
+ readonly eq: {};
6499
+ readonly gt: {
6500
+ readonly type: "number";
6501
+ };
6502
+ readonly gte: {
6503
+ readonly type: "number";
6504
+ };
6505
+ readonly lt: {
6506
+ readonly type: "number";
6507
+ };
6508
+ readonly lte: {
6509
+ readonly type: "number";
6510
+ };
6511
+ readonly const: {};
6512
+ };
6513
+ readonly additionalProperties: false;
6514
+ };
6515
+ readonly where: {
6516
+ readonly type: "array";
6517
+ readonly items: {
6518
+ readonly type: "object";
6519
+ readonly properties: {
6520
+ readonly subject: {
6521
+ readonly type: "object";
6522
+ readonly properties: {
6523
+ readonly type: {
6524
+ readonly type: "string";
6525
+ readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
6526
+ };
6527
+ readonly property: {
6528
+ readonly type: "string";
6529
+ };
6530
+ };
6531
+ readonly required: readonly ["type", "property"];
6532
+ readonly additionalProperties: false;
6533
+ };
6534
+ readonly assertions: {
6535
+ readonly type: "object";
6536
+ readonly properties: {
6537
+ readonly defined: {
6538
+ readonly type: "boolean";
6539
+ };
6540
+ readonly nonEmpty: {
6541
+ readonly type: "boolean";
6542
+ };
6543
+ readonly eq: {};
6544
+ readonly gt: {
6545
+ readonly type: "number";
6546
+ };
6547
+ readonly gte: {
6548
+ readonly type: "number";
6549
+ };
6550
+ readonly lt: {
6551
+ readonly type: "number";
6552
+ };
6553
+ readonly lte: {
6554
+ readonly type: "number";
6555
+ };
6556
+ readonly const: {};
6557
+ };
6558
+ readonly additionalProperties: false;
6559
+ };
6560
+ };
6561
+ readonly required: readonly ["subject", "assertions"];
6562
+ readonly additionalProperties: false;
6563
+ };
6564
+ };
6565
+ readonly weight: {
6566
+ readonly type: "number";
6567
+ readonly default: 1;
6568
+ };
6569
+ };
6570
+ readonly required: readonly ["subject", "assertions"];
6571
+ readonly additionalProperties: false;
6572
+ }];
6573
+ };
6421
6574
  };
6422
6575
  };
6576
+ readonly required: readonly ["name"];
6577
+ readonly additionalProperties: false;
6423
6578
  };
6424
- readonly additionalProperties: false;
6579
+ readonly minItems: 1;
6425
6580
  };
6426
- };
6427
- readonly targets: {
6428
- readonly type: "array";
6429
- readonly items: {
6430
- readonly type: "object";
6431
- readonly required: readonly ["where"];
6432
- readonly properties: {
6433
- readonly minimumLevel: {
6434
- readonly type: "string";
6435
- };
6436
- readonly rules: {
6437
- readonly type: "object";
6438
- readonly additionalProperties: true;
6581
+ readonly trigger: {
6582
+ readonly oneOf: readonly [{
6583
+ readonly type: "object";
6584
+ readonly properties: {
6585
+ readonly event: {
6586
+ readonly type: "string";
6587
+ readonly enum: readonly ["runtime", "manual"];
6588
+ };
6439
6589
  };
6440
- readonly where: {
6590
+ readonly required: readonly ["event"];
6591
+ readonly additionalProperties: false;
6592
+ }, {
6593
+ readonly type: "array";
6594
+ readonly items: {
6441
6595
  readonly type: "object";
6442
- readonly required: readonly ["metadata"];
6443
6596
  readonly properties: {
6444
- readonly metadata: {
6445
- readonly type: "object";
6446
- readonly additionalProperties: {
6447
- readonly type: "string";
6448
- };
6597
+ readonly event: {
6598
+ readonly type: "string";
6599
+ readonly enum: readonly ["runtime", "manual"];
6449
6600
  };
6450
6601
  };
6602
+ readonly required: readonly ["event"];
6451
6603
  readonly additionalProperties: false;
6452
6604
  };
6453
- };
6454
- readonly additionalProperties: false;
6455
- };
6456
- };
6457
- readonly ignore: {
6458
- readonly type: "array";
6459
- readonly items: {
6460
- readonly type: "string";
6605
+ }];
6461
6606
  };
6462
6607
  };
6463
- readonly fromProjectUrl: {
6464
- readonly type: "string";
6465
- readonly format: "uri";
6466
- };
6608
+ readonly required: readonly ["name", "key", "entities", "levels"];
6609
+ readonly additionalProperties: false;
6467
6610
  };
6468
6611
  };
6469
6612
  };