@redocly/config 0.41.1 → 0.41.3

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.
@@ -6085,6 +6085,106 @@ export declare const l10nConfigSchema: {
6085
6085
  readonly additionalProperties: false;
6086
6086
  readonly required: readonly ["defaultLocale"];
6087
6087
  };
6088
+ export declare const accessConfigSchema: {
6089
+ readonly type: "object";
6090
+ readonly properties: {
6091
+ readonly requiresLogin: {
6092
+ readonly type: "boolean";
6093
+ };
6094
+ readonly logoutReturnUrl: {
6095
+ readonly type: "string";
6096
+ readonly pattern: "^https?://.*";
6097
+ };
6098
+ readonly residency: {
6099
+ readonly type: "string";
6100
+ readonly pattern: "^https?://.*";
6101
+ };
6102
+ readonly sso: {
6103
+ readonly oneOf: readonly [{
6104
+ readonly type: "array";
6105
+ readonly items: {
6106
+ readonly type: "string";
6107
+ readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
6108
+ };
6109
+ readonly uniqueItems: true;
6110
+ }, {
6111
+ readonly type: "string";
6112
+ readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
6113
+ }];
6114
+ };
6115
+ readonly rbac: {
6116
+ readonly type: "object";
6117
+ readonly properties: {
6118
+ readonly teamNamePatterns: {
6119
+ readonly type: "array";
6120
+ readonly items: {
6121
+ readonly type: "string";
6122
+ };
6123
+ };
6124
+ readonly teamFolders: {
6125
+ readonly type: "array";
6126
+ readonly items: {
6127
+ readonly type: "string";
6128
+ };
6129
+ };
6130
+ readonly teamFoldersBaseRoles: {
6131
+ readonly type: "object";
6132
+ readonly additionalProperties: {
6133
+ readonly type: "string";
6134
+ };
6135
+ };
6136
+ readonly cms: {
6137
+ readonly type: "object";
6138
+ readonly additionalProperties: {
6139
+ readonly type: "string";
6140
+ };
6141
+ };
6142
+ readonly reunite: {
6143
+ readonly type: "object";
6144
+ readonly additionalProperties: {
6145
+ readonly type: "string";
6146
+ };
6147
+ };
6148
+ readonly features: {
6149
+ readonly type: "object";
6150
+ readonly properties: {
6151
+ readonly aiSearch: {
6152
+ readonly type: "object";
6153
+ readonly additionalProperties: {
6154
+ readonly type: "string";
6155
+ };
6156
+ };
6157
+ };
6158
+ readonly additionalProperties: false;
6159
+ };
6160
+ readonly content: {
6161
+ readonly type: "object";
6162
+ readonly properties: {
6163
+ readonly '**': {
6164
+ readonly type: "object";
6165
+ readonly additionalProperties: {
6166
+ readonly type: "string";
6167
+ };
6168
+ };
6169
+ };
6170
+ readonly additionalProperties: {
6171
+ readonly type: "object";
6172
+ readonly additionalProperties: {
6173
+ readonly type: "string";
6174
+ };
6175
+ };
6176
+ };
6177
+ };
6178
+ readonly additionalProperties: {
6179
+ readonly type: "object";
6180
+ readonly additionalProperties: {
6181
+ readonly type: "string";
6182
+ };
6183
+ };
6184
+ };
6185
+ };
6186
+ readonly additionalProperties: false;
6187
+ };
6088
6188
  export declare const redoclyConfigSchema: {
6089
6189
  readonly type: "object";
6090
6190
  readonly properties: {
@@ -6253,6 +6353,110 @@ export declare const redoclyConfigSchema: {
6253
6353
  readonly type: "string";
6254
6354
  readonly pattern: "^https?://.*";
6255
6355
  };
6356
+ readonly logoutReturnUrl: {
6357
+ readonly type: "string";
6358
+ readonly pattern: "^https?://.*";
6359
+ };
6360
+ readonly access: {
6361
+ readonly type: "object";
6362
+ readonly properties: {
6363
+ readonly requiresLogin: {
6364
+ readonly type: "boolean";
6365
+ };
6366
+ readonly logoutReturnUrl: {
6367
+ readonly type: "string";
6368
+ readonly pattern: "^https?://.*";
6369
+ };
6370
+ readonly residency: {
6371
+ readonly type: "string";
6372
+ readonly pattern: "^https?://.*";
6373
+ };
6374
+ readonly sso: {
6375
+ readonly oneOf: readonly [{
6376
+ readonly type: "array";
6377
+ readonly items: {
6378
+ readonly type: "string";
6379
+ readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
6380
+ };
6381
+ readonly uniqueItems: true;
6382
+ }, {
6383
+ readonly type: "string";
6384
+ readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
6385
+ }];
6386
+ };
6387
+ readonly rbac: {
6388
+ readonly type: "object";
6389
+ readonly properties: {
6390
+ readonly teamNamePatterns: {
6391
+ readonly type: "array";
6392
+ readonly items: {
6393
+ readonly type: "string";
6394
+ };
6395
+ };
6396
+ readonly teamFolders: {
6397
+ readonly type: "array";
6398
+ readonly items: {
6399
+ readonly type: "string";
6400
+ };
6401
+ };
6402
+ readonly teamFoldersBaseRoles: {
6403
+ readonly type: "object";
6404
+ readonly additionalProperties: {
6405
+ readonly type: "string";
6406
+ };
6407
+ };
6408
+ readonly cms: {
6409
+ readonly type: "object";
6410
+ readonly additionalProperties: {
6411
+ readonly type: "string";
6412
+ };
6413
+ };
6414
+ readonly reunite: {
6415
+ readonly type: "object";
6416
+ readonly additionalProperties: {
6417
+ readonly type: "string";
6418
+ };
6419
+ };
6420
+ readonly features: {
6421
+ readonly type: "object";
6422
+ readonly properties: {
6423
+ readonly aiSearch: {
6424
+ readonly type: "object";
6425
+ readonly additionalProperties: {
6426
+ readonly type: "string";
6427
+ };
6428
+ };
6429
+ };
6430
+ readonly additionalProperties: false;
6431
+ };
6432
+ readonly content: {
6433
+ readonly type: "object";
6434
+ readonly properties: {
6435
+ readonly '**': {
6436
+ readonly type: "object";
6437
+ readonly additionalProperties: {
6438
+ readonly type: "string";
6439
+ };
6440
+ };
6441
+ };
6442
+ readonly additionalProperties: {
6443
+ readonly type: "object";
6444
+ readonly additionalProperties: {
6445
+ readonly type: "string";
6446
+ };
6447
+ };
6448
+ };
6449
+ };
6450
+ readonly additionalProperties: {
6451
+ readonly type: "object";
6452
+ readonly additionalProperties: {
6453
+ readonly type: "string";
6454
+ };
6455
+ };
6456
+ };
6457
+ };
6458
+ readonly additionalProperties: false;
6459
+ };
6256
6460
  readonly developerOnboarding: {
6257
6461
  readonly type: "object";
6258
6462
  readonly required: readonly ["adapters"];
@@ -12140,6 +12344,9 @@ export declare const redoclyConfigSchema: {
12140
12344
  readonly name: {
12141
12345
  readonly type: "string";
12142
12346
  };
12347
+ readonly key: {
12348
+ readonly type: "string";
12349
+ };
12143
12350
  readonly description: {
12144
12351
  readonly type: "string";
12145
12352
  };
@@ -12669,7 +12876,7 @@ export declare const redoclyConfigSchema: {
12669
12876
  }];
12670
12877
  };
12671
12878
  };
12672
- readonly required: readonly ["name", "entities", "levels"];
12879
+ readonly required: readonly ["name", "key", "entities", "levels"];
12673
12880
  readonly additionalProperties: false;
12674
12881
  };
12675
12882
  };
@@ -18669,6 +18876,9 @@ export declare const redoclyConfigSchema: {
18669
18876
  readonly name: {
18670
18877
  readonly type: "string";
18671
18878
  };
18879
+ readonly key: {
18880
+ readonly type: "string";
18881
+ };
18672
18882
  readonly description: {
18673
18883
  readonly type: "string";
18674
18884
  };
@@ -19198,7 +19408,7 @@ export declare const redoclyConfigSchema: {
19198
19408
  }];
19199
19409
  };
19200
19410
  };
19201
- readonly required: readonly ["name", "entities", "levels"];
19411
+ readonly required: readonly ["name", "key", "entities", "levels"];
19202
19412
  readonly additionalProperties: false;
19203
19413
  };
19204
19414
  };
@@ -28872,6 +29082,9 @@ export declare const rootRedoclyConfigSchema: {
28872
29082
  description: {
28873
29083
  type: "string";
28874
29084
  };
29085
+ key: {
29086
+ type: "string";
29087
+ };
28875
29088
  entities: {
28876
29089
  oneOf: ({
28877
29090
  items: {
@@ -28967,7 +29180,7 @@ export declare const rootRedoclyConfigSchema: {
28967
29180
  };
28968
29181
  additionalProperties: false;
28969
29182
  type: "object";
28970
- required: ("name" | "entities" | "levels")[];
29183
+ required: ("name" | "key" | "entities" | "levels")[];
28971
29184
  };
28972
29185
  type: "array";
28973
29186
  };
@@ -31689,6 +31902,110 @@ export declare const rootRedoclyConfigSchema: {
31689
31902
  type: "string";
31690
31903
  pattern: "^https?://.*";
31691
31904
  };
31905
+ logoutReturnUrl: {
31906
+ type: "string";
31907
+ pattern: "^https?://.*";
31908
+ };
31909
+ access: {
31910
+ properties: {
31911
+ sso: {
31912
+ oneOf: ({
31913
+ items: {
31914
+ enum: ("REDOCLY" | "CORPORATE" | "GUEST")[];
31915
+ type: "string";
31916
+ };
31917
+ type: "array";
31918
+ uniqueItems: true;
31919
+ } | {
31920
+ enum: ("REDOCLY" | "CORPORATE" | "GUEST")[];
31921
+ type: "string";
31922
+ })[];
31923
+ };
31924
+ residency: {
31925
+ type: "string";
31926
+ pattern: "^https?://.*";
31927
+ };
31928
+ logoutReturnUrl: {
31929
+ type: "string";
31930
+ pattern: "^https?://.*";
31931
+ };
31932
+ rbac: {
31933
+ properties: {
31934
+ content: {
31935
+ properties: {
31936
+ "**": {
31937
+ additionalProperties: {
31938
+ type: "string";
31939
+ };
31940
+ type: "object";
31941
+ };
31942
+ };
31943
+ additionalProperties: {
31944
+ additionalProperties: {
31945
+ type: "string";
31946
+ };
31947
+ type: "object";
31948
+ };
31949
+ type: "object";
31950
+ };
31951
+ reunite: {
31952
+ additionalProperties: {
31953
+ type: "string";
31954
+ };
31955
+ type: "object";
31956
+ };
31957
+ teamNamePatterns: {
31958
+ items: {
31959
+ type: "string";
31960
+ };
31961
+ type: "array";
31962
+ };
31963
+ teamFolders: {
31964
+ items: {
31965
+ type: "string";
31966
+ };
31967
+ type: "array";
31968
+ };
31969
+ teamFoldersBaseRoles: {
31970
+ additionalProperties: {
31971
+ type: "string";
31972
+ };
31973
+ type: "object";
31974
+ };
31975
+ cms: {
31976
+ additionalProperties: {
31977
+ type: "string";
31978
+ };
31979
+ type: "object";
31980
+ };
31981
+ features: {
31982
+ properties: {
31983
+ aiSearch: {
31984
+ additionalProperties: {
31985
+ type: "string";
31986
+ };
31987
+ type: "object";
31988
+ };
31989
+ };
31990
+ additionalProperties: false;
31991
+ type: "object";
31992
+ };
31993
+ };
31994
+ additionalProperties: {
31995
+ additionalProperties: {
31996
+ type: "string";
31997
+ };
31998
+ type: "object";
31999
+ };
32000
+ type: "object";
32001
+ };
32002
+ requiresLogin: {
32003
+ type: "boolean";
32004
+ };
32005
+ };
32006
+ additionalProperties: false;
32007
+ type: "object";
32008
+ };
31692
32009
  developerOnboarding: {
31693
32010
  properties: {
31694
32011
  adapters: {
@@ -34781,6 +35098,9 @@ export declare const rootRedoclyConfigSchema: {
34781
35098
  description: {
34782
35099
  type: "string";
34783
35100
  };
35101
+ key: {
35102
+ type: "string";
35103
+ };
34784
35104
  entities: {
34785
35105
  oneOf: ({
34786
35106
  items: {
@@ -34941,7 +35261,7 @@ export declare const rootRedoclyConfigSchema: {
34941
35261
  };
34942
35262
  additionalProperties: false;
34943
35263
  type: "object";
34944
- required: ("name" | "entities" | "levels")[];
35264
+ required: ("name" | "key" | "entities" | "levels")[];
34945
35265
  };
34946
35266
  type: "array";
34947
35267
  };
@@ -37764,6 +38084,110 @@ export declare const rootRedoclyConfigSchema: {
37764
38084
  readonly type: "string";
37765
38085
  readonly pattern: "^https?://.*";
37766
38086
  };
38087
+ readonly logoutReturnUrl: {
38088
+ readonly type: "string";
38089
+ readonly pattern: "^https?://.*";
38090
+ };
38091
+ readonly access: {
38092
+ readonly type: "object";
38093
+ readonly properties: {
38094
+ readonly requiresLogin: {
38095
+ readonly type: "boolean";
38096
+ };
38097
+ readonly logoutReturnUrl: {
38098
+ readonly type: "string";
38099
+ readonly pattern: "^https?://.*";
38100
+ };
38101
+ readonly residency: {
38102
+ readonly type: "string";
38103
+ readonly pattern: "^https?://.*";
38104
+ };
38105
+ readonly sso: {
38106
+ readonly oneOf: readonly [{
38107
+ readonly type: "array";
38108
+ readonly items: {
38109
+ readonly type: "string";
38110
+ readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
38111
+ };
38112
+ readonly uniqueItems: true;
38113
+ }, {
38114
+ readonly type: "string";
38115
+ readonly enum: readonly ["REDOCLY", "CORPORATE", "GUEST"];
38116
+ }];
38117
+ };
38118
+ readonly rbac: {
38119
+ readonly type: "object";
38120
+ readonly properties: {
38121
+ readonly teamNamePatterns: {
38122
+ readonly type: "array";
38123
+ readonly items: {
38124
+ readonly type: "string";
38125
+ };
38126
+ };
38127
+ readonly teamFolders: {
38128
+ readonly type: "array";
38129
+ readonly items: {
38130
+ readonly type: "string";
38131
+ };
38132
+ };
38133
+ readonly teamFoldersBaseRoles: {
38134
+ readonly type: "object";
38135
+ readonly additionalProperties: {
38136
+ readonly type: "string";
38137
+ };
38138
+ };
38139
+ readonly cms: {
38140
+ readonly type: "object";
38141
+ readonly additionalProperties: {
38142
+ readonly type: "string";
38143
+ };
38144
+ };
38145
+ readonly reunite: {
38146
+ readonly type: "object";
38147
+ readonly additionalProperties: {
38148
+ readonly type: "string";
38149
+ };
38150
+ };
38151
+ readonly features: {
38152
+ readonly type: "object";
38153
+ readonly properties: {
38154
+ readonly aiSearch: {
38155
+ readonly type: "object";
38156
+ readonly additionalProperties: {
38157
+ readonly type: "string";
38158
+ };
38159
+ };
38160
+ };
38161
+ readonly additionalProperties: false;
38162
+ };
38163
+ readonly content: {
38164
+ readonly type: "object";
38165
+ readonly properties: {
38166
+ readonly '**': {
38167
+ readonly type: "object";
38168
+ readonly additionalProperties: {
38169
+ readonly type: "string";
38170
+ };
38171
+ };
38172
+ };
38173
+ readonly additionalProperties: {
38174
+ readonly type: "object";
38175
+ readonly additionalProperties: {
38176
+ readonly type: "string";
38177
+ };
38178
+ };
38179
+ };
38180
+ };
38181
+ readonly additionalProperties: {
38182
+ readonly type: "object";
38183
+ readonly additionalProperties: {
38184
+ readonly type: "string";
38185
+ };
38186
+ };
38187
+ };
38188
+ };
38189
+ readonly additionalProperties: false;
38190
+ };
37767
38191
  readonly developerOnboarding: {
37768
38192
  readonly type: "object";
37769
38193
  readonly required: readonly ["adapters"];
@@ -43651,6 +44075,9 @@ export declare const rootRedoclyConfigSchema: {
43651
44075
  readonly name: {
43652
44076
  readonly type: "string";
43653
44077
  };
44078
+ readonly key: {
44079
+ readonly type: "string";
44080
+ };
43654
44081
  readonly description: {
43655
44082
  readonly type: "string";
43656
44083
  };
@@ -44180,7 +44607,7 @@ export declare const rootRedoclyConfigSchema: {
44180
44607
  }];
44181
44608
  };
44182
44609
  };
44183
- readonly required: readonly ["name", "entities", "levels"];
44610
+ readonly required: readonly ["name", "key", "entities", "levels"];
44184
44611
  readonly additionalProperties: false;
44185
44612
  };
44186
44613
  };
@@ -50180,6 +50607,9 @@ export declare const rootRedoclyConfigSchema: {
50180
50607
  readonly name: {
50181
50608
  readonly type: "string";
50182
50609
  };
50610
+ readonly key: {
50611
+ readonly type: "string";
50612
+ };
50183
50613
  readonly description: {
50184
50614
  readonly type: "string";
50185
50615
  };
@@ -50709,7 +51139,7 @@ export declare const rootRedoclyConfigSchema: {
50709
51139
  }];
50710
51140
  };
50711
51141
  };
50712
- readonly required: readonly ["name", "entities", "levels"];
51142
+ readonly required: readonly ["name", "key", "entities", "levels"];
50713
51143
  readonly additionalProperties: false;
50714
51144
  };
50715
51145
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rootRedoclyConfigSchema = exports.redoclyConfigSchema = exports.l10nConfigSchema = exports.devOnboardingAdapterConfigSchema = exports.apigeeEdgeAdapterConfigSchema = exports.apigeeXAdapterConfigSchema = exports.apigeeAdapterAuthServiceAccountSchema = exports.apigeeAdapterAuthOauth2Schema = exports.graviteeAdapterConfigSchema = exports.graviteeAdapterAuthIdpSchema = exports.graviteeAdapterAuthStaticSchema = exports.rbacConfigSchema = exports.rbacScopeItemsSchema = exports.apiFunctionsConfigSchema = exports.seoConfigSchema = exports.apiConfigSchema = exports.bannersConfigSchema = exports.bannerConfigSchema = exports.bannerColorSchema = exports.redirectsConfigSchema = exports.redirectConfigSchema = exports.ssoConfigSchema = exports.ssoDirectConfigSchema = exports.authProviderConfigSchema = exports.saml2ProviderConfigSchema = exports.oidcProviderConfigSchema = exports.oidcIssuerMetadataSchema = void 0;
3
+ exports.rootRedoclyConfigSchema = exports.redoclyConfigSchema = exports.accessConfigSchema = exports.l10nConfigSchema = exports.devOnboardingAdapterConfigSchema = exports.apigeeEdgeAdapterConfigSchema = exports.apigeeXAdapterConfigSchema = exports.apigeeAdapterAuthServiceAccountSchema = exports.apigeeAdapterAuthOauth2Schema = exports.graviteeAdapterConfigSchema = exports.graviteeAdapterAuthIdpSchema = exports.graviteeAdapterAuthStaticSchema = exports.rbacConfigSchema = exports.rbacScopeItemsSchema = exports.apiFunctionsConfigSchema = exports.seoConfigSchema = exports.apiConfigSchema = exports.bannersConfigSchema = exports.bannerConfigSchema = exports.bannerColorSchema = exports.redirectsConfigSchema = exports.redirectConfigSchema = exports.ssoConfigSchema = exports.ssoDirectConfigSchema = exports.authProviderConfigSchema = exports.saml2ProviderConfigSchema = exports.oidcProviderConfigSchema = exports.oidcIssuerMetadataSchema = void 0;
4
4
  const constants_1 = require("./constants");
5
5
  const default_theme_config_schema_1 = require("./default-theme-config-schema");
6
6
  const feedback_config_schema_1 = require("./feedback-config-schema");
@@ -86,6 +86,9 @@ exports.ssoConfigSchema = {
86
86
  },
87
87
  ],
88
88
  };
89
+ const requiresLoginSchema = { type: 'boolean' };
90
+ const logoutReturnUrlSchema = { type: 'string', pattern: '^https?://.*' };
91
+ const residencySchema = { type: 'string', pattern: '^https?://.*' };
89
92
  exports.redirectConfigSchema = {
90
93
  type: 'object',
91
94
  properties: {
@@ -428,6 +431,17 @@ const mcpConfigSchema = {
428
431
  },
429
432
  },
430
433
  };
434
+ exports.accessConfigSchema = {
435
+ type: 'object',
436
+ properties: {
437
+ requiresLogin: requiresLoginSchema,
438
+ logoutReturnUrl: logoutReturnUrlSchema,
439
+ residency: residencySchema,
440
+ sso: exports.ssoConfigSchema,
441
+ rbac: exports.rbacConfigSchema,
442
+ },
443
+ additionalProperties: false,
444
+ };
431
445
  exports.redoclyConfigSchema = {
432
446
  type: 'object',
433
447
  properties: Object.assign(Object.assign(Object.assign(Object.assign({
@@ -437,7 +451,7 @@ exports.redoclyConfigSchema = {
437
451
  imports: {
438
452
  type: 'array',
439
453
  items: { type: 'string' },
440
- }, licenseKey: { type: 'string' }, redirects: exports.redirectsConfigSchema, seo: exports.seoConfigSchema, rbac: exports.rbacConfigSchema, apiFunctions: exports.apiFunctionsConfigSchema, requiresLogin: { type: 'boolean' }, responseHeaders: {
454
+ }, licenseKey: { type: 'string' }, redirects: exports.redirectsConfigSchema, seo: exports.seoConfigSchema, rbac: exports.rbacConfigSchema, apiFunctions: exports.apiFunctionsConfigSchema, requiresLogin: requiresLoginSchema, responseHeaders: {
441
455
  type: 'object',
442
456
  additionalProperties: {
443
457
  type: 'array',
@@ -455,7 +469,7 @@ exports.redoclyConfigSchema = {
455
469
  }, apis: {
456
470
  type: 'object',
457
471
  additionalProperties: exports.apiConfigSchema,
458
- }, extends: { type: 'array', items: { type: 'string' } } }, common_1.ruleSchemas), common_1.decoratorsSchemas), common_1.preprocessorSchemas), { ssoDirect: exports.ssoDirectConfigSchema, sso: exports.ssoConfigSchema, residency: { type: 'string', pattern: '^https?://.*' }, developerOnboarding: devOnboardingConfigSchema, removeAttribution: { type: 'boolean' }, i18n: exports.l10nConfigSchema, l10n: exports.l10nConfigSchema, metadata: metadataConfigSchema, metadataGlobs: metadataGlobsConfigSchema, ignore: { type: 'array', items: { type: 'string' } },
472
+ }, extends: { type: 'array', items: { type: 'string' } } }, common_1.ruleSchemas), common_1.decoratorsSchemas), common_1.preprocessorSchemas), { ssoDirect: exports.ssoDirectConfigSchema, sso: exports.ssoConfigSchema, residency: residencySchema, logoutReturnUrl: logoutReturnUrlSchema, access: exports.accessConfigSchema, developerOnboarding: devOnboardingConfigSchema, removeAttribution: { type: 'boolean' }, i18n: exports.l10nConfigSchema, l10n: exports.l10nConfigSchema, metadata: metadataConfigSchema, metadataGlobs: metadataGlobsConfigSchema, ignore: { type: 'array', items: { type: 'string' } },
459
473
  /**
460
474
  * @deprecated properties moved to the root of the config
461
475
  */
@@ -4,6 +4,9 @@ export declare const scorecardSchema: {
4
4
  readonly name: {
5
5
  readonly type: "string";
6
6
  };
7
+ readonly key: {
8
+ readonly type: "string";
9
+ };
7
10
  readonly description: {
8
11
  readonly type: "string";
9
12
  };
@@ -533,7 +536,7 @@ export declare const scorecardSchema: {
533
536
  }];
534
537
  };
535
538
  };
536
- readonly required: readonly ["name", "entities", "levels"];
539
+ readonly required: readonly ["name", "key", "entities", "levels"];
537
540
  readonly additionalProperties: false;
538
541
  };
539
542
  export declare const scorecardsConfigSchema: {
@@ -544,6 +547,9 @@ export declare const scorecardsConfigSchema: {
544
547
  readonly name: {
545
548
  readonly type: "string";
546
549
  };
550
+ readonly key: {
551
+ readonly type: "string";
552
+ };
547
553
  readonly description: {
548
554
  readonly type: "string";
549
555
  };
@@ -1073,7 +1079,7 @@ export declare const scorecardsConfigSchema: {
1073
1079
  }];
1074
1080
  };
1075
1081
  };
1076
- readonly required: readonly ["name", "entities", "levels"];
1082
+ readonly required: readonly ["name", "key", "entities", "levels"];
1077
1083
  readonly additionalProperties: false;
1078
1084
  };
1079
1085
  };
@@ -208,6 +208,7 @@ exports.scorecardSchema = {
208
208
  type: 'object',
209
209
  properties: {
210
210
  name: { type: 'string' },
211
+ key: { type: 'string' },
211
212
  description: { type: 'string' },
212
213
  entities: {
213
214
  oneOf: [
@@ -230,7 +231,7 @@ exports.scorecardSchema = {
230
231
  },
231
232
  trigger: triggerSchema,
232
233
  },
233
- required: ['name', 'entities', 'levels'],
234
+ required: ['name', 'key', 'entities', 'levels'],
234
235
  additionalProperties: false,
235
236
  };
236
237
  exports.scorecardsConfigSchema = {
@@ -54,7 +54,7 @@ export type EntityLinkFileSchema = FromSchema<typeof entityLinkFileSchema>;
54
54
  export type EntityRelationFileSchema = FromSchema<typeof entityRelationFileSchema>;
55
55
  export type EntityBaseFileSchema = {
56
56
  version?: string | null;
57
- revision?: string | null;
57
+ revision?: string;
58
58
  key: string;
59
59
  title: string;
60
60
  summary?: string | null;