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