@redocly/cli 2.38.0 → 2.39.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.
@@ -924,8 +924,8 @@ var require_scan = __commonJS({
924
924
  let prevIndex;
925
925
  for (let idx = 0; idx < slashes.length; idx++) {
926
926
  const n2 = prevIndex ? prevIndex + 1 : start;
927
- const i2 = slashes[idx];
928
- const value = input.slice(n2, i2);
927
+ const i = slashes[idx];
928
+ const value = input.slice(n2, i);
929
929
  if (opts.tokens) {
930
930
  if (idx === 0 && start !== 0) {
931
931
  tokens[idx].isPrefix = true;
@@ -939,7 +939,7 @@ var require_scan = __commonJS({
939
939
  if (idx !== 0 || value !== "") {
940
940
  parts.push(value);
941
941
  }
942
- prevIndex = i2;
942
+ prevIndex = i;
943
943
  }
944
944
  if (prevIndex && prevIndex + 1 < input.length) {
945
945
  const value = input.slice(prevIndex + 1);
@@ -1067,9 +1067,9 @@ var require_parse = __commonJS({
1067
1067
  };
1068
1068
  var hasRepeatedCharPrefixOverlap = (branches) => {
1069
1069
  const values = branches.map(normalizeSimpleBranch).filter(Boolean);
1070
- for (let i2 = 0; i2 < values.length; i2++) {
1071
- for (let j2 = i2 + 1; j2 < values.length; j2++) {
1072
- const a2 = values[i2];
1070
+ for (let i = 0; i < values.length; i++) {
1071
+ for (let j2 = i + 1; j2 < values.length; j2++) {
1072
+ const a2 = values[i];
1073
1073
  const b2 = values[j2];
1074
1074
  const char = a2[0];
1075
1075
  if (!char || a2 !== char.repeat(a2.length) || b2 !== char.repeat(b2.length)) {
@@ -1090,8 +1090,8 @@ var require_parse = __commonJS({
1090
1090
  let paren = 0;
1091
1091
  let quote = 0;
1092
1092
  let escaped = false;
1093
- for (let i2 = 1; i2 < pattern.length; i2++) {
1094
- const ch = pattern[i2];
1093
+ for (let i = 1; i < pattern.length; i++) {
1094
+ const ch = pattern[i];
1095
1095
  if (escaped === true) {
1096
1096
  escaped = false;
1097
1097
  continue;
@@ -1125,13 +1125,13 @@ var require_parse = __commonJS({
1125
1125
  if (ch === ")") {
1126
1126
  paren--;
1127
1127
  if (paren === 0) {
1128
- if (requireEnd === true && i2 !== pattern.length - 1) {
1128
+ if (requireEnd === true && i !== pattern.length - 1) {
1129
1129
  return;
1130
1130
  }
1131
1131
  return {
1132
1132
  type: pattern[0],
1133
- body: pattern.slice(2, i2),
1134
- end: i2
1133
+ body: pattern.slice(2, i),
1134
+ end: i
1135
1135
  };
1136
1136
  }
1137
1137
  }
@@ -1343,10 +1343,10 @@ var require_parse = __commonJS({
1343
1343
  open.type = "text";
1344
1344
  open.value = literal;
1345
1345
  open.output = safeOutput || utils.escapeRegex(literal);
1346
- for (let i2 = token.tokensIndex + 1; i2 < tokens.length; i2++) {
1347
- tokens[i2].value = "";
1348
- tokens[i2].output = "";
1349
- delete tokens[i2].suffix;
1346
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
1347
+ tokens[i].value = "";
1348
+ tokens[i].output = "";
1349
+ delete tokens[i].suffix;
1350
1350
  }
1351
1351
  state.output = token.output + open.output;
1352
1352
  state.backtrack = true;
@@ -1377,10 +1377,10 @@ var require_parse = __commonJS({
1377
1377
  };
1378
1378
  if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) {
1379
1379
  let backslashes = false;
1380
- let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars, first, rest, index) => {
1380
+ let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m2, esc, chars, first, rest, index) => {
1381
1381
  if (first === "\\") {
1382
1382
  backslashes = true;
1383
- return m;
1383
+ return m2;
1384
1384
  }
1385
1385
  if (first === "?") {
1386
1386
  if (esc) {
@@ -1400,14 +1400,14 @@ var require_parse = __commonJS({
1400
1400
  }
1401
1401
  return star;
1402
1402
  }
1403
- return esc ? m : `\\${m}`;
1403
+ return esc ? m2 : `\\${m2}`;
1404
1404
  });
1405
1405
  if (backslashes === true) {
1406
1406
  if (opts.unescape === true) {
1407
1407
  output = output.replace(/\\/g, "");
1408
1408
  } else {
1409
- output = output.replace(/\\+/g, (m) => {
1410
- return m.length % 2 === 0 ? "\\\\" : m ? "\\" : "";
1409
+ output = output.replace(/\\+/g, (m2) => {
1410
+ return m2.length % 2 === 0 ? "\\\\" : m2 ? "\\" : "";
1411
1411
  });
1412
1412
  }
1413
1413
  }
@@ -1589,13 +1589,13 @@ var require_parse = __commonJS({
1589
1589
  if (brace.dots === true) {
1590
1590
  const arr = tokens.slice();
1591
1591
  const range = [];
1592
- for (let i2 = arr.length - 1; i2 >= 0; i2--) {
1592
+ for (let i = arr.length - 1; i >= 0; i--) {
1593
1593
  tokens.pop();
1594
- if (arr[i2].type === "brace") {
1594
+ if (arr[i].type === "brace") {
1595
1595
  break;
1596
1596
  }
1597
- if (arr[i2].type !== "dots") {
1598
- range.unshift(arr[i2].value);
1597
+ if (arr[i].type !== "dots") {
1598
+ range.unshift(arr[i].value);
1599
1599
  }
1600
1600
  }
1601
1601
  output = expandRange(range, opts);
@@ -2172,10 +2172,10 @@ var require_code = __commonJS({
2172
2172
  exports.nil = new _Code("");
2173
2173
  function _4(strs, ...args) {
2174
2174
  const code = [strs[0]];
2175
- let i2 = 0;
2176
- while (i2 < args.length) {
2177
- addCodeArg(code, args[i2]);
2178
- code.push(strs[++i2]);
2175
+ let i = 0;
2176
+ while (i < args.length) {
2177
+ addCodeArg(code, args[i]);
2178
+ code.push(strs[++i]);
2179
2179
  }
2180
2180
  return new _Code(code);
2181
2181
  }
@@ -2183,11 +2183,11 @@ var require_code = __commonJS({
2183
2183
  var plus = new _Code("+");
2184
2184
  function str(strs, ...args) {
2185
2185
  const expr = [safeStringify(strs[0])];
2186
- let i2 = 0;
2187
- while (i2 < args.length) {
2186
+ let i = 0;
2187
+ while (i < args.length) {
2188
2188
  expr.push(plus);
2189
- addCodeArg(expr, args[i2]);
2190
- expr.push(plus, safeStringify(strs[++i2]));
2189
+ addCodeArg(expr, args[i]);
2190
+ expr.push(plus, safeStringify(strs[++i]));
2191
2191
  }
2192
2192
  optimize(expr);
2193
2193
  return new _Code(expr);
@@ -2203,17 +2203,17 @@ var require_code = __commonJS({
2203
2203
  }
2204
2204
  exports.addCodeArg = addCodeArg;
2205
2205
  function optimize(expr) {
2206
- let i2 = 1;
2207
- while (i2 < expr.length - 1) {
2208
- if (expr[i2] === plus) {
2209
- const res = mergeExprItems(expr[i2 - 1], expr[i2 + 1]);
2206
+ let i = 1;
2207
+ while (i < expr.length - 1) {
2208
+ if (expr[i] === plus) {
2209
+ const res = mergeExprItems(expr[i - 1], expr[i + 1]);
2210
2210
  if (res !== void 0) {
2211
- expr.splice(i2 - 1, 3, res);
2211
+ expr.splice(i - 1, 3, res);
2212
2212
  continue;
2213
2213
  }
2214
- expr[i2++] = "+";
2214
+ expr[i++] = "+";
2215
2215
  }
2216
- i2++;
2216
+ i++;
2217
2217
  }
2218
2218
  }
2219
2219
  function mergeExprItems(a2, b2) {
@@ -2593,27 +2593,27 @@ var require_codegen = __commonJS({
2593
2593
  }
2594
2594
  optimizeNodes() {
2595
2595
  const { nodes } = this;
2596
- let i2 = nodes.length;
2597
- while (i2--) {
2598
- const n2 = nodes[i2].optimizeNodes();
2596
+ let i = nodes.length;
2597
+ while (i--) {
2598
+ const n2 = nodes[i].optimizeNodes();
2599
2599
  if (Array.isArray(n2))
2600
- nodes.splice(i2, 1, ...n2);
2600
+ nodes.splice(i, 1, ...n2);
2601
2601
  else if (n2)
2602
- nodes[i2] = n2;
2602
+ nodes[i] = n2;
2603
2603
  else
2604
- nodes.splice(i2, 1);
2604
+ nodes.splice(i, 1);
2605
2605
  }
2606
2606
  return nodes.length > 0 ? this : void 0;
2607
2607
  }
2608
2608
  optimizeNames(names, constants) {
2609
2609
  const { nodes } = this;
2610
- let i2 = nodes.length;
2611
- while (i2--) {
2612
- const n2 = nodes[i2];
2610
+ let i = nodes.length;
2611
+ while (i--) {
2612
+ const n2 = nodes[i];
2613
2613
  if (n2.optimizeNames(names, constants))
2614
2614
  continue;
2615
2615
  subtractNames(names, n2.names);
2616
- nodes.splice(i2, 1);
2616
+ nodes.splice(i, 1);
2617
2617
  }
2618
2618
  return nodes.length > 0 ? this : void 0;
2619
2619
  }
@@ -2940,8 +2940,8 @@ var require_codegen = __commonJS({
2940
2940
  const name = this._scope.toName(nameOrPrefix);
2941
2941
  if (this.opts.es5) {
2942
2942
  const arr = iterable instanceof code_1.Name ? iterable : this.var("_arr", iterable);
2943
- return this.forRange("_i", 0, (0, code_1._)`${arr}.length`, (i2) => {
2944
- this.var(name, (0, code_1._)`${arr}[${i2}]`);
2943
+ return this.forRange("_i", 0, (0, code_1._)`${arr}.length`, (i) => {
2944
+ this.var(name, (0, code_1._)`${arr}[${i}]`);
2945
2945
  forBody(name);
2946
2946
  });
2947
2947
  }
@@ -3119,10 +3119,10 @@ var require_codegen = __commonJS({
3119
3119
  }
3120
3120
  exports.and = and;
3121
3121
  var orCode = mappend(exports.operators.OR);
3122
- function or2(...args) {
3122
+ function or(...args) {
3123
3123
  return args.reduce(orCode);
3124
3124
  }
3125
- exports.or = or2;
3125
+ exports.or = or;
3126
3126
  function mappend(op) {
3127
3127
  return (x2, y2) => x2 === code_1.nil ? y2 : y2 === code_1.nil ? x2 : (0, code_1._)`${par(x2)} ${op} ${par(y2)}`;
3128
3128
  }
@@ -3215,12 +3215,12 @@ var require_util = __commonJS({
3215
3215
  return str.replace(/~1/g, "/").replace(/~0/g, "~");
3216
3216
  }
3217
3217
  exports.unescapeJsonPointer = unescapeJsonPointer;
3218
- function eachItem(xs2, f) {
3219
- if (Array.isArray(xs2)) {
3220
- for (const x2 of xs2)
3218
+ function eachItem(xs, f) {
3219
+ if (Array.isArray(xs)) {
3220
+ for (const x2 of xs)
3221
3221
  f(x2);
3222
3222
  } else {
3223
- f(xs2);
3223
+ f(xs);
3224
3224
  }
3225
3225
  }
3226
3226
  exports.eachItem = eachItem;
@@ -3385,8 +3385,8 @@ var require_errors = __commonJS({
3385
3385
  if (errsCount === void 0)
3386
3386
  throw new Error("ajv implementation error");
3387
3387
  const err = gen.name("err");
3388
- gen.forRange("i", errsCount, names_1.default.errors, (i2) => {
3389
- gen.const(err, (0, codegen_1._)`${names_1.default.vErrors}[${i2}]`);
3388
+ gen.forRange("i", errsCount, names_1.default.errors, (i) => {
3389
+ gen.const(err, (0, codegen_1._)`${names_1.default.vErrors}[${i}]`);
3390
3390
  gen.if((0, codegen_1._)`${err}.instancePath === undefined`, () => gen.assign((0, codegen_1._)`${err}.instancePath`, (0, codegen_1.strConcat)(names_1.default.instancePath, it2.errorPath)));
3391
3391
  gen.assign((0, codegen_1._)`${err}.schemaPath`, (0, codegen_1.str)`${it2.errSchemaPath}/${keyword}`);
3392
3392
  if (it2.opts.verbose) {
@@ -3766,7 +3766,7 @@ var require_defaults = __commonJS({
3766
3766
  assignDefault(it2, key, properties[key].default);
3767
3767
  }
3768
3768
  } else if (ty === "array" && Array.isArray(items)) {
3769
- items.forEach((sch, i2) => assignDefault(it2, i2, sch.default));
3769
+ items.forEach((sch, i) => assignDefault(it2, i, sch.default));
3770
3770
  }
3771
3771
  }
3772
3772
  exports.assignDefaults = assignDefaults;
@@ -3920,10 +3920,10 @@ var require_code2 = __commonJS({
3920
3920
  return valid;
3921
3921
  function validateItems(notValid) {
3922
3922
  const len = gen.const("len", (0, codegen_1._)`${data}.length`);
3923
- gen.forRange("i", 0, len, (i2) => {
3923
+ gen.forRange("i", 0, len, (i) => {
3924
3924
  cxt.subschema({
3925
3925
  keyword,
3926
- dataProp: i2,
3926
+ dataProp: i,
3927
3927
  dataPropType: util_1.Type.Num
3928
3928
  }, valid);
3929
3929
  gen.if((0, codegen_1.not)(valid), notValid);
@@ -3942,10 +3942,10 @@ var require_code2 = __commonJS({
3942
3942
  return;
3943
3943
  const valid = gen.let("valid", false);
3944
3944
  const schValid = gen.name("_valid");
3945
- gen.block(() => schema.forEach((_sch, i2) => {
3945
+ gen.block(() => schema.forEach((_sch, i) => {
3946
3946
  const schCxt = cxt.subschema({
3947
3947
  keyword,
3948
- schemaProp: i2,
3948
+ schemaProp: i,
3949
3949
  compositeRule: true
3950
3950
  }, schValid);
3951
3951
  gen.assign(valid, (0, codegen_1._)`${valid} || ${schValid}`);
@@ -4168,12 +4168,12 @@ var require_fast_deep_equal = __commonJS({
4168
4168
  if (a2 === b2) return true;
4169
4169
  if (a2 && b2 && typeof a2 == "object" && typeof b2 == "object") {
4170
4170
  if (a2.constructor !== b2.constructor) return false;
4171
- var length, i2, keys;
4171
+ var length, i, keys;
4172
4172
  if (Array.isArray(a2)) {
4173
4173
  length = a2.length;
4174
4174
  if (length != b2.length) return false;
4175
- for (i2 = length; i2-- !== 0; )
4176
- if (!equal(a2[i2], b2[i2])) return false;
4175
+ for (i = length; i-- !== 0; )
4176
+ if (!equal(a2[i], b2[i])) return false;
4177
4177
  return true;
4178
4178
  }
4179
4179
  if (a2.constructor === RegExp) return a2.source === b2.source && a2.flags === b2.flags;
@@ -4182,10 +4182,10 @@ var require_fast_deep_equal = __commonJS({
4182
4182
  keys = Object.keys(a2);
4183
4183
  length = keys.length;
4184
4184
  if (length !== Object.keys(b2).length) return false;
4185
- for (i2 = length; i2-- !== 0; )
4186
- if (!Object.prototype.hasOwnProperty.call(b2, keys[i2])) return false;
4187
- for (i2 = length; i2-- !== 0; ) {
4188
- var key = keys[i2];
4185
+ for (i = length; i-- !== 0; )
4186
+ if (!Object.prototype.hasOwnProperty.call(b2, keys[i])) return false;
4187
+ for (i = length; i-- !== 0; ) {
4188
+ var key = keys[i];
4189
4189
  if (!equal(a2[key], b2[key])) return false;
4190
4190
  }
4191
4191
  return true;
@@ -4262,8 +4262,8 @@ var require_json_schema_traverse = __commonJS({
4262
4262
  var sch = schema[key];
4263
4263
  if (Array.isArray(sch)) {
4264
4264
  if (key in traverse.arrayKeywords) {
4265
- for (var i2 = 0; i2 < sch.length; i2++)
4266
- _traverse(opts, pre, post, sch[i2], jsonPtr + "/" + key + "/" + i2, rootSchema, jsonPtr, key, schema, i2);
4265
+ for (var i = 0; i < sch.length; i++)
4266
+ _traverse(opts, pre, post, sch[i], jsonPtr + "/" + key + "/" + i, rootSchema, jsonPtr, key, schema, i);
4267
4267
  }
4268
4268
  } else if (key in traverse.propsKeywords) {
4269
4269
  if (sch && typeof sch == "object") {
@@ -5253,24 +5253,24 @@ var require_utils2 = __commonJS({
5253
5253
  function stringArrayToHexStripped(input) {
5254
5254
  let acc = "";
5255
5255
  let code = 0;
5256
- let i2 = 0;
5257
- for (i2 = 0; i2 < input.length; i2++) {
5258
- code = input[i2].charCodeAt(0);
5256
+ let i = 0;
5257
+ for (i = 0; i < input.length; i++) {
5258
+ code = input[i].charCodeAt(0);
5259
5259
  if (code === 48) {
5260
5260
  continue;
5261
5261
  }
5262
5262
  if (!(code >= 48 && code <= 57 || code >= 65 && code <= 70 || code >= 97 && code <= 102)) {
5263
5263
  return "";
5264
5264
  }
5265
- acc += input[i2];
5265
+ acc += input[i];
5266
5266
  break;
5267
5267
  }
5268
- for (i2 += 1; i2 < input.length; i2++) {
5269
- code = input[i2].charCodeAt(0);
5268
+ for (i += 1; i < input.length; i++) {
5269
+ code = input[i].charCodeAt(0);
5270
5270
  if (!(code >= 48 && code <= 57 || code >= 65 && code <= 70 || code >= 97 && code <= 102)) {
5271
5271
  return "";
5272
5272
  }
5273
- acc += input[i2];
5273
+ acc += input[i];
5274
5274
  }
5275
5275
  return acc;
5276
5276
  }
@@ -5300,8 +5300,8 @@ var require_utils2 = __commonJS({
5300
5300
  let endipv6Encountered = false;
5301
5301
  let endIpv6 = false;
5302
5302
  let consume = consumeHextets;
5303
- for (let i2 = 0; i2 < input.length; i2++) {
5304
- const cursor = input[i2];
5303
+ for (let i = 0; i < input.length; i++) {
5304
+ const cursor = input[i];
5305
5305
  if (cursor === "[" || cursor === "]") {
5306
5306
  continue;
5307
5307
  }
@@ -5316,7 +5316,7 @@ var require_utils2 = __commonJS({
5316
5316
  output.error = true;
5317
5317
  break;
5318
5318
  }
5319
- if (i2 > 0 && input[i2 - 1] === ":") {
5319
+ if (i > 0 && input[i - 1] === ":") {
5320
5320
  endipv6Encountered = true;
5321
5321
  }
5322
5322
  address.push(":");
@@ -5362,8 +5362,8 @@ var require_utils2 = __commonJS({
5362
5362
  }
5363
5363
  function findToken(str, token) {
5364
5364
  let ind = 0;
5365
- for (let i2 = 0; i2 < str.length; i2++) {
5366
- if (str[i2] === token) ind++;
5365
+ for (let i = 0; i < str.length; i++) {
5366
+ if (str[i] === token) ind++;
5367
5367
  }
5368
5368
  return ind;
5369
5369
  }
@@ -5455,9 +5455,9 @@ var require_utils2 = __commonJS({
5455
5455
  return input;
5456
5456
  }
5457
5457
  let output = "";
5458
- for (let i2 = 0; i2 < input.length; i2++) {
5459
- if (input[i2] === "%" && i2 + 2 < input.length) {
5460
- const hex = input.slice(i2 + 1, i2 + 3);
5458
+ for (let i = 0; i < input.length; i++) {
5459
+ if (input[i] === "%" && i + 2 < input.length) {
5460
+ const hex = input.slice(i + 1, i + 3);
5461
5461
  if (isHexPair(hex)) {
5462
5462
  const normalizedHex = hex.toUpperCase();
5463
5463
  const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
@@ -5466,19 +5466,19 @@ var require_utils2 = __commonJS({
5466
5466
  } else {
5467
5467
  output += "%" + normalizedHex;
5468
5468
  }
5469
- i2 += 2;
5469
+ i += 2;
5470
5470
  continue;
5471
5471
  }
5472
5472
  }
5473
- output += input[i2];
5473
+ output += input[i];
5474
5474
  }
5475
5475
  return output;
5476
5476
  }
5477
5477
  function normalizePathEncoding(input) {
5478
5478
  let output = "";
5479
- for (let i2 = 0; i2 < input.length; i2++) {
5480
- if (input[i2] === "%" && i2 + 2 < input.length) {
5481
- const hex = input.slice(i2 + 1, i2 + 3);
5479
+ for (let i = 0; i < input.length; i++) {
5480
+ if (input[i] === "%" && i + 2 < input.length) {
5481
+ const hex = input.slice(i + 1, i + 3);
5482
5482
  if (isHexPair(hex)) {
5483
5483
  const normalizedHex = hex.toUpperCase();
5484
5484
  const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
@@ -5487,30 +5487,30 @@ var require_utils2 = __commonJS({
5487
5487
  } else {
5488
5488
  output += "%" + normalizedHex;
5489
5489
  }
5490
- i2 += 2;
5490
+ i += 2;
5491
5491
  continue;
5492
5492
  }
5493
5493
  }
5494
- if (isPathCharacter(input[i2])) {
5495
- output += input[i2];
5494
+ if (isPathCharacter(input[i])) {
5495
+ output += input[i];
5496
5496
  } else {
5497
- output += escape(input[i2]);
5497
+ output += escape(input[i]);
5498
5498
  }
5499
5499
  }
5500
5500
  return output;
5501
5501
  }
5502
5502
  function escapePreservingEscapes(input) {
5503
5503
  let output = "";
5504
- for (let i2 = 0; i2 < input.length; i2++) {
5505
- if (input[i2] === "%" && i2 + 2 < input.length) {
5506
- const hex = input.slice(i2 + 1, i2 + 3);
5504
+ for (let i = 0; i < input.length; i++) {
5505
+ if (input[i] === "%" && i + 2 < input.length) {
5506
+ const hex = input.slice(i + 1, i + 3);
5507
5507
  if (isHexPair(hex)) {
5508
5508
  output += "%" + hex.toUpperCase();
5509
- i2 += 2;
5509
+ i += 2;
5510
5510
  continue;
5511
5511
  }
5512
5512
  }
5513
- output += escape(input[i2]);
5513
+ output += escape(input[i]);
5514
5514
  }
5515
5515
  return output;
5516
5516
  }
@@ -6147,31 +6147,31 @@ var require_core = __commonJS({
6147
6147
  unicode: '"minLength"/"maxLength" account for unicode characters by default.'
6148
6148
  };
6149
6149
  var MAX_EXPRESSION = 200;
6150
- function requiredOptions(o) {
6151
- var _a, _b, _c, _d, _e2, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r2, _s, _t2, _u, _v, _w, _x, _y, _z, _0;
6152
- const s2 = o.strict;
6153
- const _optz = (_a = o.code) === null || _a === void 0 ? void 0 : _a.optimize;
6150
+ function requiredOptions(o2) {
6151
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _j, _k, _l, _m, _o2, _p, _q, _r, _s, _t2, _u, _v, _w, _x, _y, _z, _0;
6152
+ const s2 = o2.strict;
6153
+ const _optz = (_a = o2.code) === null || _a === void 0 ? void 0 : _a.optimize;
6154
6154
  const optimize = _optz === true || _optz === void 0 ? 1 : _optz || 0;
6155
- const regExp = (_c = (_b = o.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;
6156
- const uriResolver = (_d = o.uriResolver) !== null && _d !== void 0 ? _d : uri_1.default;
6155
+ const regExp = (_c = (_b = o2.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;
6156
+ const uriResolver = (_d = o2.uriResolver) !== null && _d !== void 0 ? _d : uri_1.default;
6157
6157
  return {
6158
- strictSchema: (_f = (_e2 = o.strictSchema) !== null && _e2 !== void 0 ? _e2 : s2) !== null && _f !== void 0 ? _f : true,
6159
- strictNumbers: (_h = (_g = o.strictNumbers) !== null && _g !== void 0 ? _g : s2) !== null && _h !== void 0 ? _h : true,
6160
- strictTypes: (_k = (_j = o.strictTypes) !== null && _j !== void 0 ? _j : s2) !== null && _k !== void 0 ? _k : "log",
6161
- strictTuples: (_m = (_l = o.strictTuples) !== null && _l !== void 0 ? _l : s2) !== null && _m !== void 0 ? _m : "log",
6162
- strictRequired: (_p = (_o = o.strictRequired) !== null && _o !== void 0 ? _o : s2) !== null && _p !== void 0 ? _p : false,
6163
- code: o.code ? { ...o.code, optimize, regExp } : { optimize, regExp },
6164
- loopRequired: (_q = o.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
6165
- loopEnum: (_r2 = o.loopEnum) !== null && _r2 !== void 0 ? _r2 : MAX_EXPRESSION,
6166
- meta: (_s = o.meta) !== null && _s !== void 0 ? _s : true,
6167
- messages: (_t2 = o.messages) !== null && _t2 !== void 0 ? _t2 : true,
6168
- inlineRefs: (_u = o.inlineRefs) !== null && _u !== void 0 ? _u : true,
6169
- schemaId: (_v = o.schemaId) !== null && _v !== void 0 ? _v : "$id",
6170
- addUsedSchema: (_w = o.addUsedSchema) !== null && _w !== void 0 ? _w : true,
6171
- validateSchema: (_x = o.validateSchema) !== null && _x !== void 0 ? _x : true,
6172
- validateFormats: (_y = o.validateFormats) !== null && _y !== void 0 ? _y : true,
6173
- unicodeRegExp: (_z = o.unicodeRegExp) !== null && _z !== void 0 ? _z : true,
6174
- int32range: (_0 = o.int32range) !== null && _0 !== void 0 ? _0 : true,
6158
+ strictSchema: (_f = (_e2 = o2.strictSchema) !== null && _e2 !== void 0 ? _e2 : s2) !== null && _f !== void 0 ? _f : true,
6159
+ strictNumbers: (_h = (_g = o2.strictNumbers) !== null && _g !== void 0 ? _g : s2) !== null && _h !== void 0 ? _h : true,
6160
+ strictTypes: (_k = (_j = o2.strictTypes) !== null && _j !== void 0 ? _j : s2) !== null && _k !== void 0 ? _k : "log",
6161
+ strictTuples: (_m = (_l = o2.strictTuples) !== null && _l !== void 0 ? _l : s2) !== null && _m !== void 0 ? _m : "log",
6162
+ strictRequired: (_p = (_o2 = o2.strictRequired) !== null && _o2 !== void 0 ? _o2 : s2) !== null && _p !== void 0 ? _p : false,
6163
+ code: o2.code ? { ...o2.code, optimize, regExp } : { optimize, regExp },
6164
+ loopRequired: (_q = o2.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
6165
+ loopEnum: (_r = o2.loopEnum) !== null && _r !== void 0 ? _r : MAX_EXPRESSION,
6166
+ meta: (_s = o2.meta) !== null && _s !== void 0 ? _s : true,
6167
+ messages: (_t2 = o2.messages) !== null && _t2 !== void 0 ? _t2 : true,
6168
+ inlineRefs: (_u = o2.inlineRefs) !== null && _u !== void 0 ? _u : true,
6169
+ schemaId: (_v = o2.schemaId) !== null && _v !== void 0 ? _v : "$id",
6170
+ addUsedSchema: (_w = o2.addUsedSchema) !== null && _w !== void 0 ? _w : true,
6171
+ validateSchema: (_x = o2.validateSchema) !== null && _x !== void 0 ? _x : true,
6172
+ validateFormats: (_y = o2.validateFormats) !== null && _y !== void 0 ? _y : true,
6173
+ unicodeRegExp: (_z = o2.unicodeRegExp) !== null && _z !== void 0 ? _z : true,
6174
+ int32range: (_0 = o2.int32range) !== null && _0 !== void 0 ? _0 : true,
6175
6175
  uriResolver
6176
6176
  };
6177
6177
  }
@@ -6451,9 +6451,9 @@ var require_core = __commonJS({
6451
6451
  delete RULES.keywords[keyword];
6452
6452
  delete RULES.all[keyword];
6453
6453
  for (const group of RULES.rules) {
6454
- const i2 = group.rules.findIndex((rule) => rule.keyword === keyword);
6455
- if (i2 >= 0)
6456
- group.rules.splice(i2, 1);
6454
+ const i = group.rules.findIndex((rule) => rule.keyword === keyword);
6455
+ if (i >= 0)
6456
+ group.rules.splice(i, 1);
6457
6457
  }
6458
6458
  return this;
6459
6459
  }
@@ -6661,9 +6661,9 @@ var require_core = __commonJS({
6661
6661
  (_a = definition.implements) === null || _a === void 0 ? void 0 : _a.forEach((kwd) => this.addKeyword(kwd));
6662
6662
  }
6663
6663
  function addBeforeRule(ruleGroup, rule, before) {
6664
- const i2 = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before);
6665
- if (i2 >= 0) {
6666
- ruleGroup.rules.splice(i2, 0, rule);
6664
+ const i = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before);
6665
+ if (i >= 0) {
6666
+ ruleGroup.rules.splice(i, 0, rule);
6667
6667
  } else {
6668
6668
  ruleGroup.rules.push(rule);
6669
6669
  this.logger.warn(`rule ${before} is not defined`);
@@ -7227,8 +7227,8 @@ var require_uniqueItems = __commonJS({
7227
7227
  var util_1 = require_util();
7228
7228
  var equal_1 = require_equal();
7229
7229
  var error = {
7230
- message: ({ params: { i: i2, j: j2 } }) => (0, codegen_1.str)`must NOT have duplicate items (items ## ${j2} and ${i2} are identical)`,
7231
- params: ({ params: { i: i2, j: j2 } }) => (0, codegen_1._)`{i: ${i2}, j: ${j2}}`
7230
+ message: ({ params: { i, j: j2 } }) => (0, codegen_1.str)`must NOT have duplicate items (items ## ${j2} and ${i} are identical)`,
7231
+ params: ({ params: { i, j: j2 } }) => (0, codegen_1._)`{i: ${i}, j: ${j2}}`
7232
7232
  };
7233
7233
  var def = {
7234
7234
  keyword: "uniqueItems",
@@ -7245,21 +7245,21 @@ var require_uniqueItems = __commonJS({
7245
7245
  cxt.block$data(valid, validateUniqueItems, (0, codegen_1._)`${schemaCode} === false`);
7246
7246
  cxt.ok(valid);
7247
7247
  function validateUniqueItems() {
7248
- const i2 = gen.let("i", (0, codegen_1._)`${data}.length`);
7248
+ const i = gen.let("i", (0, codegen_1._)`${data}.length`);
7249
7249
  const j2 = gen.let("j");
7250
- cxt.setParams({ i: i2, j: j2 });
7250
+ cxt.setParams({ i, j: j2 });
7251
7251
  gen.assign(valid, true);
7252
- gen.if((0, codegen_1._)`${i2} > 1`, () => (canOptimize() ? loopN : loopN2)(i2, j2));
7252
+ gen.if((0, codegen_1._)`${i} > 1`, () => (canOptimize() ? loopN : loopN2)(i, j2));
7253
7253
  }
7254
7254
  function canOptimize() {
7255
7255
  return itemTypes.length > 0 && !itemTypes.some((t2) => t2 === "object" || t2 === "array");
7256
7256
  }
7257
- function loopN(i2, j2) {
7257
+ function loopN(i, j2) {
7258
7258
  const item = gen.name("item");
7259
7259
  const wrongType = (0, dataType_1.checkDataTypes)(itemTypes, item, it2.opts.strictNumbers, dataType_1.DataType.Wrong);
7260
7260
  const indices = gen.const("indices", (0, codegen_1._)`{}`);
7261
- gen.for((0, codegen_1._)`;${i2}--;`, () => {
7262
- gen.let(item, (0, codegen_1._)`${data}[${i2}]`);
7261
+ gen.for((0, codegen_1._)`;${i}--;`, () => {
7262
+ gen.let(item, (0, codegen_1._)`${data}[${i}]`);
7263
7263
  gen.if(wrongType, (0, codegen_1._)`continue`);
7264
7264
  if (itemTypes.length > 1)
7265
7265
  gen.if((0, codegen_1._)`typeof ${item} == "string"`, (0, codegen_1._)`${item} += "_"`);
@@ -7267,13 +7267,13 @@ var require_uniqueItems = __commonJS({
7267
7267
  gen.assign(j2, (0, codegen_1._)`${indices}[${item}]`);
7268
7268
  cxt.error();
7269
7269
  gen.assign(valid, false).break();
7270
- }).code((0, codegen_1._)`${indices}[${item}] = ${i2}`);
7270
+ }).code((0, codegen_1._)`${indices}[${item}] = ${i}`);
7271
7271
  });
7272
7272
  }
7273
- function loopN2(i2, j2) {
7273
+ function loopN2(i, j2) {
7274
7274
  const eql = (0, util_1.useFunc)(gen, equal_1.default);
7275
7275
  const outer = gen.name("outer");
7276
- gen.label(outer).for((0, codegen_1._)`;${i2}--;`, () => gen.for((0, codegen_1._)`${j2} = ${i2}; ${j2}--;`, () => gen.if((0, codegen_1._)`${eql}(${data}[${i2}], ${data}[${j2}])`, () => {
7276
+ gen.label(outer).for((0, codegen_1._)`;${i}--;`, () => gen.for((0, codegen_1._)`${j2} = ${i}; ${j2}--;`, () => gen.if((0, codegen_1._)`${eql}(${data}[${i}], ${data}[${j2}])`, () => {
7277
7277
  cxt.error();
7278
7278
  gen.assign(valid, false).break(outer);
7279
7279
  })));
@@ -7345,16 +7345,16 @@ var require_enum = __commonJS({
7345
7345
  if (!Array.isArray(schema))
7346
7346
  throw new Error("ajv implementation error");
7347
7347
  const vSchema = gen.const("vSchema", schemaCode);
7348
- valid = (0, codegen_1.or)(...schema.map((_x, i2) => equalCode(vSchema, i2)));
7348
+ valid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));
7349
7349
  }
7350
7350
  cxt.pass(valid);
7351
7351
  function loopEnum() {
7352
7352
  gen.assign(valid, false);
7353
7353
  gen.forOf("v", schemaCode, (v2) => gen.if((0, codegen_1._)`${getEql()}(${data}, ${v2})`, () => gen.assign(valid, true).break()));
7354
7354
  }
7355
- function equalCode(vSchema, i2) {
7356
- const sch = schema[i2];
7357
- return typeof sch === "object" && sch !== null ? (0, codegen_1._)`${getEql()}(${data}, ${vSchema}[${i2}])` : (0, codegen_1._)`${data} === ${sch}`;
7355
+ function equalCode(vSchema, i) {
7356
+ const sch = schema[i];
7357
+ return typeof sch === "object" && sch !== null ? (0, codegen_1._)`${getEql()}(${data}, ${vSchema}[${i}])` : (0, codegen_1._)`${data} === ${sch}`;
7358
7358
  }
7359
7359
  }
7360
7360
  };
@@ -7445,8 +7445,8 @@ var require_additionalItems = __commonJS({
7445
7445
  cxt.ok(valid);
7446
7446
  }
7447
7447
  function validateItems(valid) {
7448
- gen.forRange("i", items.length, len, (i2) => {
7449
- cxt.subschema({ keyword, dataProp: i2, dataPropType: util_1.Type.Num }, valid);
7448
+ gen.forRange("i", items.length, len, (i) => {
7449
+ cxt.subschema({ keyword, dataProp: i, dataPropType: util_1.Type.Num }, valid);
7450
7450
  if (!it2.allErrors)
7451
7451
  gen.if((0, codegen_1.not)(valid), () => gen.break());
7452
7452
  });
@@ -7489,13 +7489,13 @@ var require_items = __commonJS({
7489
7489
  }
7490
7490
  const valid = gen.name("valid");
7491
7491
  const len = gen.const("len", (0, codegen_1._)`${data}.length`);
7492
- schArr.forEach((sch, i2) => {
7492
+ schArr.forEach((sch, i) => {
7493
7493
  if ((0, util_1.alwaysValidSchema)(it2, sch))
7494
7494
  return;
7495
- gen.if((0, codegen_1._)`${len} > ${i2}`, () => cxt.subschema({
7495
+ gen.if((0, codegen_1._)`${len} > ${i}`, () => cxt.subschema({
7496
7496
  keyword,
7497
- schemaProp: i2,
7498
- dataProp: i2
7497
+ schemaProp: i,
7498
+ dataProp: i
7499
7499
  }, valid));
7500
7500
  cxt.ok(valid);
7501
7501
  });
@@ -7632,10 +7632,10 @@ var require_contains = __commonJS({
7632
7632
  validateItems(schValid, () => gen.if(schValid, () => checkLimits(count)));
7633
7633
  }
7634
7634
  function validateItems(_valid, block) {
7635
- gen.forRange("i", 0, len, (i2) => {
7635
+ gen.forRange("i", 0, len, (i) => {
7636
7636
  cxt.subschema({
7637
7637
  keyword: "contains",
7638
- dataProp: i2,
7638
+ dataProp: i,
7639
7639
  dataPropType: util_1.Type.Num,
7640
7640
  compositeRule: true
7641
7641
  }, _valid);
@@ -8114,23 +8114,23 @@ var require_oneOf = __commonJS({
8114
8114
  gen.block(validateOneOf);
8115
8115
  cxt.result(valid, () => cxt.reset(), () => cxt.error(true));
8116
8116
  function validateOneOf() {
8117
- schArr.forEach((sch, i2) => {
8117
+ schArr.forEach((sch, i) => {
8118
8118
  let schCxt;
8119
8119
  if ((0, util_1.alwaysValidSchema)(it2, sch)) {
8120
8120
  gen.var(schValid, true);
8121
8121
  } else {
8122
8122
  schCxt = cxt.subschema({
8123
8123
  keyword: "oneOf",
8124
- schemaProp: i2,
8124
+ schemaProp: i,
8125
8125
  compositeRule: true
8126
8126
  }, schValid);
8127
8127
  }
8128
- if (i2 > 0) {
8129
- gen.if((0, codegen_1._)`${schValid} && ${valid}`).assign(valid, false).assign(passing, (0, codegen_1._)`[${passing}, ${i2}]`).else();
8128
+ if (i > 0) {
8129
+ gen.if((0, codegen_1._)`${schValid} && ${valid}`).assign(valid, false).assign(passing, (0, codegen_1._)`[${passing}, ${i}]`).else();
8130
8130
  }
8131
8131
  gen.if(schValid, () => {
8132
8132
  gen.assign(valid, true);
8133
- gen.assign(passing, i2);
8133
+ gen.assign(passing, i);
8134
8134
  if (schCxt)
8135
8135
  cxt.mergeEvaluated(schCxt, codegen_1.Name);
8136
8136
  });
@@ -8156,10 +8156,10 @@ var require_allOf = __commonJS({
8156
8156
  if (!Array.isArray(schema))
8157
8157
  throw new Error("ajv implementation error");
8158
8158
  const valid = gen.name("valid");
8159
- schema.forEach((sch, i2) => {
8159
+ schema.forEach((sch, i) => {
8160
8160
  if ((0, util_1.alwaysValidSchema)(it2, sch))
8161
8161
  return;
8162
- const schCxt = cxt.subschema({ keyword: "allOf", schemaProp: i2 }, valid, true);
8162
+ const schCxt = cxt.subschema({ keyword: "allOf", schemaProp: i }, valid, true);
8163
8163
  cxt.ok(valid);
8164
8164
  cxt.mergeEvaluated(schCxt);
8165
8165
  });
@@ -8610,8 +8610,8 @@ var require_unevaluatedItems = __commonJS({
8610
8610
  }
8611
8611
  it2.items = true;
8612
8612
  function validateItems(valid, from) {
8613
- gen.forRange("i", from, len, (i2) => {
8614
- cxt.subschema({ keyword: "unevaluatedItems", dataProp: i2, dataPropType: util_1.Type.Num }, valid);
8613
+ gen.forRange("i", from, len, (i) => {
8614
+ cxt.subschema({ keyword: "unevaluatedItems", dataProp: i, dataPropType: util_1.Type.Num }, valid);
8615
8615
  if (!it2.allErrors)
8616
8616
  gen.if((0, codegen_1.not)(valid), () => gen.break());
8617
8617
  });
@@ -8877,15 +8877,15 @@ var require_discriminator = __commonJS({
8877
8877
  const discriminatorMapping = {};
8878
8878
  const topRequired = hasRequired(parentSchema);
8879
8879
  let tagRequired = true;
8880
- for (let i2 = 0; i2 < parentSchemaVariants.length; i2++) {
8881
- let sch = parentSchemaVariants[i2];
8880
+ for (let i = 0; i < parentSchemaVariants.length; i++) {
8881
+ let sch = parentSchemaVariants[i];
8882
8882
  const schRef = sch === null || sch === void 0 ? void 0 : sch.$ref;
8883
8883
  if (schRef && schema.mapping) {
8884
8884
  const { mapping } = schema;
8885
8885
  const matchedKeys = Object.keys(mapping).filter((key) => mapping[key] === sch.$ref);
8886
8886
  if (matchedKeys.length) {
8887
8887
  for (const key of matchedKeys) {
8888
- addMapping(key, i2);
8888
+ addMapping(key, i);
8889
8889
  }
8890
8890
  continue;
8891
8891
  }
@@ -8905,7 +8905,7 @@ var require_discriminator = __commonJS({
8905
8905
  throw new Error(`discriminator: ${keyword} subschemas (or referenced schemas) must have "properties/${tagName}" or match mapping`);
8906
8906
  }
8907
8907
  tagRequired = tagRequired && (topRequired || hasRequired(sch));
8908
- addMappings(propSch, i2);
8908
+ addMappings(propSch, i);
8909
8909
  }
8910
8910
  if (!tagRequired)
8911
8911
  throw new Error(`discriminator: "${tagName}" must be required`);
@@ -8924,22 +8924,22 @@ var require_discriminator = __commonJS({
8924
8924
  }
8925
8925
  return false;
8926
8926
  }
8927
- function addMappings(sch, i2) {
8927
+ function addMappings(sch, i) {
8928
8928
  if (sch.const) {
8929
- addMapping(sch.const, i2);
8929
+ addMapping(sch.const, i);
8930
8930
  } else if (sch.enum) {
8931
8931
  for (const tagValue of sch.enum) {
8932
- addMapping(tagValue, i2);
8932
+ addMapping(tagValue, i);
8933
8933
  }
8934
8934
  } else {
8935
8935
  throw new Error(`discriminator: "properties/${tagName}" must have "const" or "enum"`);
8936
8936
  }
8937
8937
  }
8938
- function addMapping(tagValue, i2) {
8938
+ function addMapping(tagValue, i) {
8939
8939
  if (typeof tagValue != "string" || tagValue in discriminatorMapping) {
8940
8940
  throw new Error(`discriminator: "${tagName}" values must be unique strings`);
8941
8941
  }
8942
- discriminatorMapping[tagValue] = i2;
8942
+ discriminatorMapping[tagValue] = i;
8943
8943
  }
8944
8944
  }
8945
8945
  }
@@ -9939,7 +9939,7 @@ var require_formats = __commonJS({
9939
9939
  const matches = TIME.exec(str);
9940
9940
  if (!matches)
9941
9941
  return false;
9942
- const hr2 = +matches[1];
9942
+ const hr = +matches[1];
9943
9943
  const min = +matches[2];
9944
9944
  const sec = +matches[3];
9945
9945
  const tz = matches[4];
@@ -9948,10 +9948,10 @@ var require_formats = __commonJS({
9948
9948
  const tzM = +(matches[7] || 0);
9949
9949
  if (tzH > 23 || tzM > 59 || strictTimeZone && !tz)
9950
9950
  return false;
9951
- if (hr2 <= 23 && min <= 59 && sec < 60)
9951
+ if (hr <= 23 && min <= 59 && sec < 60)
9952
9952
  return true;
9953
9953
  const utcMin = min - tzM * tzSign;
9954
- const utcHr = hr2 - tzH * tzSign - (utcMin < 0 ? 1 : 0);
9954
+ const utcHr = hr - tzH * tzSign - (utcMin < 0 ? 1 : 0);
9955
9955
  return (utcHr === 23 || utcHr === -1) && (utcMin === 59 || utcMin === -1) && sec < 61;
9956
9956
  };
9957
9957
  }
@@ -10100,10 +10100,10 @@ var require_code3 = __commonJS({
10100
10100
  exports.nil = new _Code("");
10101
10101
  function _4(strs, ...args) {
10102
10102
  const code = [strs[0]];
10103
- let i2 = 0;
10104
- while (i2 < args.length) {
10105
- addCodeArg(code, args[i2]);
10106
- code.push(strs[++i2]);
10103
+ let i = 0;
10104
+ while (i < args.length) {
10105
+ addCodeArg(code, args[i]);
10106
+ code.push(strs[++i]);
10107
10107
  }
10108
10108
  return new _Code(code);
10109
10109
  }
@@ -10111,11 +10111,11 @@ var require_code3 = __commonJS({
10111
10111
  var plus = new _Code("+");
10112
10112
  function str(strs, ...args) {
10113
10113
  const expr = [safeStringify(strs[0])];
10114
- let i2 = 0;
10115
- while (i2 < args.length) {
10114
+ let i = 0;
10115
+ while (i < args.length) {
10116
10116
  expr.push(plus);
10117
- addCodeArg(expr, args[i2]);
10118
- expr.push(plus, safeStringify(strs[++i2]));
10117
+ addCodeArg(expr, args[i]);
10118
+ expr.push(plus, safeStringify(strs[++i]));
10119
10119
  }
10120
10120
  optimize(expr);
10121
10121
  return new _Code(expr);
@@ -10131,17 +10131,17 @@ var require_code3 = __commonJS({
10131
10131
  }
10132
10132
  exports.addCodeArg = addCodeArg;
10133
10133
  function optimize(expr) {
10134
- let i2 = 1;
10135
- while (i2 < expr.length - 1) {
10136
- if (expr[i2] === plus) {
10137
- const res = mergeExprItems(expr[i2 - 1], expr[i2 + 1]);
10134
+ let i = 1;
10135
+ while (i < expr.length - 1) {
10136
+ if (expr[i] === plus) {
10137
+ const res = mergeExprItems(expr[i - 1], expr[i + 1]);
10138
10138
  if (res !== void 0) {
10139
- expr.splice(i2 - 1, 3, res);
10139
+ expr.splice(i - 1, 3, res);
10140
10140
  continue;
10141
10141
  }
10142
- expr[i2++] = "+";
10142
+ expr[i++] = "+";
10143
10143
  }
10144
- i2++;
10144
+ i++;
10145
10145
  }
10146
10146
  }
10147
10147
  function mergeExprItems(a2, b2) {
@@ -10521,27 +10521,27 @@ var require_codegen2 = __commonJS({
10521
10521
  }
10522
10522
  optimizeNodes() {
10523
10523
  const { nodes } = this;
10524
- let i2 = nodes.length;
10525
- while (i2--) {
10526
- const n2 = nodes[i2].optimizeNodes();
10524
+ let i = nodes.length;
10525
+ while (i--) {
10526
+ const n2 = nodes[i].optimizeNodes();
10527
10527
  if (Array.isArray(n2))
10528
- nodes.splice(i2, 1, ...n2);
10528
+ nodes.splice(i, 1, ...n2);
10529
10529
  else if (n2)
10530
- nodes[i2] = n2;
10530
+ nodes[i] = n2;
10531
10531
  else
10532
- nodes.splice(i2, 1);
10532
+ nodes.splice(i, 1);
10533
10533
  }
10534
10534
  return nodes.length > 0 ? this : void 0;
10535
10535
  }
10536
10536
  optimizeNames(names, constants) {
10537
10537
  const { nodes } = this;
10538
- let i2 = nodes.length;
10539
- while (i2--) {
10540
- const n2 = nodes[i2];
10538
+ let i = nodes.length;
10539
+ while (i--) {
10540
+ const n2 = nodes[i];
10541
10541
  if (n2.optimizeNames(names, constants))
10542
10542
  continue;
10543
10543
  subtractNames(names, n2.names);
10544
- nodes.splice(i2, 1);
10544
+ nodes.splice(i, 1);
10545
10545
  }
10546
10546
  return nodes.length > 0 ? this : void 0;
10547
10547
  }
@@ -10868,8 +10868,8 @@ var require_codegen2 = __commonJS({
10868
10868
  const name = this._scope.toName(nameOrPrefix);
10869
10869
  if (this.opts.es5) {
10870
10870
  const arr = iterable instanceof code_1.Name ? iterable : this.var("_arr", iterable);
10871
- return this.forRange("_i", 0, (0, code_1._)`${arr}.length`, (i2) => {
10872
- this.var(name, (0, code_1._)`${arr}[${i2}]`);
10871
+ return this.forRange("_i", 0, (0, code_1._)`${arr}.length`, (i) => {
10872
+ this.var(name, (0, code_1._)`${arr}[${i}]`);
10873
10873
  forBody(name);
10874
10874
  });
10875
10875
  }
@@ -11047,10 +11047,10 @@ var require_codegen2 = __commonJS({
11047
11047
  }
11048
11048
  exports.and = and;
11049
11049
  var orCode = mappend(exports.operators.OR);
11050
- function or2(...args) {
11050
+ function or(...args) {
11051
11051
  return args.reduce(orCode);
11052
11052
  }
11053
- exports.or = or2;
11053
+ exports.or = or;
11054
11054
  function mappend(op) {
11055
11055
  return (x2, y2) => x2 === code_1.nil ? y2 : y2 === code_1.nil ? x2 : (0, code_1._)`${par(x2)} ${op} ${par(y2)}`;
11056
11056
  }
@@ -11143,12 +11143,12 @@ var require_util2 = __commonJS({
11143
11143
  return str.replace(/~1/g, "/").replace(/~0/g, "~");
11144
11144
  }
11145
11145
  exports.unescapeJsonPointer = unescapeJsonPointer;
11146
- function eachItem(xs2, f) {
11147
- if (Array.isArray(xs2)) {
11148
- for (const x2 of xs2)
11146
+ function eachItem(xs, f) {
11147
+ if (Array.isArray(xs)) {
11148
+ for (const x2 of xs)
11149
11149
  f(x2);
11150
11150
  } else {
11151
- f(xs2);
11151
+ f(xs);
11152
11152
  }
11153
11153
  }
11154
11154
  exports.eachItem = eachItem;
@@ -11311,8 +11311,8 @@ var require_errors2 = __commonJS({
11311
11311
  if (errsCount === void 0)
11312
11312
  throw new Error("ajv implementation error");
11313
11313
  const err = gen.name("err");
11314
- gen.forRange("i", errsCount, names_1.default.errors, (i2) => {
11315
- gen.const(err, (0, codegen_1._)`${names_1.default.vErrors}[${i2}]`);
11314
+ gen.forRange("i", errsCount, names_1.default.errors, (i) => {
11315
+ gen.const(err, (0, codegen_1._)`${names_1.default.vErrors}[${i}]`);
11316
11316
  gen.if((0, codegen_1._)`${err}.instancePath === undefined`, () => gen.assign((0, codegen_1._)`${err}.instancePath`, (0, codegen_1.strConcat)(names_1.default.instancePath, it2.errorPath)));
11317
11317
  gen.assign((0, codegen_1._)`${err}.schemaPath`, (0, codegen_1.str)`${it2.errSchemaPath}/${keyword}`);
11318
11318
  if (it2.opts.verbose) {
@@ -11692,7 +11692,7 @@ var require_defaults2 = __commonJS({
11692
11692
  assignDefault(it2, key, properties[key].default);
11693
11693
  }
11694
11694
  } else if (ty === "array" && Array.isArray(items)) {
11695
- items.forEach((sch, i2) => assignDefault(it2, i2, sch.default));
11695
+ items.forEach((sch, i) => assignDefault(it2, i, sch.default));
11696
11696
  }
11697
11697
  }
11698
11698
  exports.assignDefaults = assignDefaults;
@@ -11810,10 +11810,10 @@ var require_code4 = __commonJS({
11810
11810
  return valid;
11811
11811
  function validateItems(notValid) {
11812
11812
  const len = gen.const("len", (0, codegen_1._)`${data}.length`);
11813
- gen.forRange("i", 0, len, (i2) => {
11813
+ gen.forRange("i", 0, len, (i) => {
11814
11814
  cxt.subschema({
11815
11815
  keyword,
11816
- dataProp: i2,
11816
+ dataProp: i,
11817
11817
  dataPropType: util_1.Type.Num
11818
11818
  }, valid);
11819
11819
  gen.if((0, codegen_1.not)(valid), notValid);
@@ -11830,10 +11830,10 @@ var require_code4 = __commonJS({
11830
11830
  return;
11831
11831
  const valid = gen.let("valid", false);
11832
11832
  const schValid = gen.name("_valid");
11833
- gen.block(() => schema.forEach((_sch, i2) => {
11833
+ gen.block(() => schema.forEach((_sch, i) => {
11834
11834
  const schCxt = cxt.subschema({
11835
11835
  keyword,
11836
- schemaProp: i2,
11836
+ schemaProp: i,
11837
11837
  compositeRule: true
11838
11838
  }, schValid);
11839
11839
  gen.assign(valid, (0, codegen_1._)`${valid} || ${schValid}`);
@@ -13079,31 +13079,31 @@ var require_core5 = __commonJS({
13079
13079
  unicode: '"minLength"/"maxLength" account for unicode characters by default.'
13080
13080
  };
13081
13081
  var MAX_EXPRESSION = 200;
13082
- function requiredOptions(o) {
13083
- var _a, _b, _c, _d, _e2, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r2, _s, _t2, _u, _v, _w, _x, _y, _z, _0;
13084
- const s2 = o.strict;
13085
- const _optz = (_a = o.code) === null || _a === void 0 ? void 0 : _a.optimize;
13082
+ function requiredOptions(o2) {
13083
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _j, _k, _l, _m, _o2, _p, _q, _r, _s, _t2, _u, _v, _w, _x, _y, _z, _0;
13084
+ const s2 = o2.strict;
13085
+ const _optz = (_a = o2.code) === null || _a === void 0 ? void 0 : _a.optimize;
13086
13086
  const optimize = _optz === true || _optz === void 0 ? 1 : _optz || 0;
13087
- const regExp = (_c = (_b = o.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;
13088
- const uriResolver = (_d = o.uriResolver) !== null && _d !== void 0 ? _d : uri_1.default;
13087
+ const regExp = (_c = (_b = o2.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;
13088
+ const uriResolver = (_d = o2.uriResolver) !== null && _d !== void 0 ? _d : uri_1.default;
13089
13089
  return {
13090
- strictSchema: (_f = (_e2 = o.strictSchema) !== null && _e2 !== void 0 ? _e2 : s2) !== null && _f !== void 0 ? _f : true,
13091
- strictNumbers: (_h = (_g = o.strictNumbers) !== null && _g !== void 0 ? _g : s2) !== null && _h !== void 0 ? _h : true,
13092
- strictTypes: (_k = (_j = o.strictTypes) !== null && _j !== void 0 ? _j : s2) !== null && _k !== void 0 ? _k : "log",
13093
- strictTuples: (_m = (_l = o.strictTuples) !== null && _l !== void 0 ? _l : s2) !== null && _m !== void 0 ? _m : "log",
13094
- strictRequired: (_p = (_o = o.strictRequired) !== null && _o !== void 0 ? _o : s2) !== null && _p !== void 0 ? _p : false,
13095
- code: o.code ? { ...o.code, optimize, regExp } : { optimize, regExp },
13096
- loopRequired: (_q = o.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
13097
- loopEnum: (_r2 = o.loopEnum) !== null && _r2 !== void 0 ? _r2 : MAX_EXPRESSION,
13098
- meta: (_s = o.meta) !== null && _s !== void 0 ? _s : true,
13099
- messages: (_t2 = o.messages) !== null && _t2 !== void 0 ? _t2 : true,
13100
- inlineRefs: (_u = o.inlineRefs) !== null && _u !== void 0 ? _u : true,
13101
- schemaId: (_v = o.schemaId) !== null && _v !== void 0 ? _v : "$id",
13102
- addUsedSchema: (_w = o.addUsedSchema) !== null && _w !== void 0 ? _w : true,
13103
- validateSchema: (_x = o.validateSchema) !== null && _x !== void 0 ? _x : true,
13104
- validateFormats: (_y = o.validateFormats) !== null && _y !== void 0 ? _y : true,
13105
- unicodeRegExp: (_z = o.unicodeRegExp) !== null && _z !== void 0 ? _z : true,
13106
- int32range: (_0 = o.int32range) !== null && _0 !== void 0 ? _0 : true,
13090
+ strictSchema: (_f = (_e2 = o2.strictSchema) !== null && _e2 !== void 0 ? _e2 : s2) !== null && _f !== void 0 ? _f : true,
13091
+ strictNumbers: (_h = (_g = o2.strictNumbers) !== null && _g !== void 0 ? _g : s2) !== null && _h !== void 0 ? _h : true,
13092
+ strictTypes: (_k = (_j = o2.strictTypes) !== null && _j !== void 0 ? _j : s2) !== null && _k !== void 0 ? _k : "log",
13093
+ strictTuples: (_m = (_l = o2.strictTuples) !== null && _l !== void 0 ? _l : s2) !== null && _m !== void 0 ? _m : "log",
13094
+ strictRequired: (_p = (_o2 = o2.strictRequired) !== null && _o2 !== void 0 ? _o2 : s2) !== null && _p !== void 0 ? _p : false,
13095
+ code: o2.code ? { ...o2.code, optimize, regExp } : { optimize, regExp },
13096
+ loopRequired: (_q = o2.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
13097
+ loopEnum: (_r = o2.loopEnum) !== null && _r !== void 0 ? _r : MAX_EXPRESSION,
13098
+ meta: (_s = o2.meta) !== null && _s !== void 0 ? _s : true,
13099
+ messages: (_t2 = o2.messages) !== null && _t2 !== void 0 ? _t2 : true,
13100
+ inlineRefs: (_u = o2.inlineRefs) !== null && _u !== void 0 ? _u : true,
13101
+ schemaId: (_v = o2.schemaId) !== null && _v !== void 0 ? _v : "$id",
13102
+ addUsedSchema: (_w = o2.addUsedSchema) !== null && _w !== void 0 ? _w : true,
13103
+ validateSchema: (_x = o2.validateSchema) !== null && _x !== void 0 ? _x : true,
13104
+ validateFormats: (_y = o2.validateFormats) !== null && _y !== void 0 ? _y : true,
13105
+ unicodeRegExp: (_z = o2.unicodeRegExp) !== null && _z !== void 0 ? _z : true,
13106
+ int32range: (_0 = o2.int32range) !== null && _0 !== void 0 ? _0 : true,
13107
13107
  uriResolver
13108
13108
  };
13109
13109
  }
@@ -13375,9 +13375,9 @@ var require_core5 = __commonJS({
13375
13375
  delete RULES.keywords[keyword];
13376
13376
  delete RULES.all[keyword];
13377
13377
  for (const group of RULES.rules) {
13378
- const i2 = group.rules.findIndex((rule) => rule.keyword === keyword);
13379
- if (i2 >= 0)
13380
- group.rules.splice(i2, 1);
13378
+ const i = group.rules.findIndex((rule) => rule.keyword === keyword);
13379
+ if (i >= 0)
13380
+ group.rules.splice(i, 1);
13381
13381
  }
13382
13382
  return this;
13383
13383
  }
@@ -13585,9 +13585,9 @@ var require_core5 = __commonJS({
13585
13585
  (_a = definition.implements) === null || _a === void 0 ? void 0 : _a.forEach((kwd) => this.addKeyword(kwd));
13586
13586
  }
13587
13587
  function addBeforeRule(ruleGroup, rule, before) {
13588
- const i2 = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before);
13589
- if (i2 >= 0) {
13590
- ruleGroup.rules.splice(i2, 0, rule);
13588
+ const i = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before);
13589
+ if (i >= 0) {
13590
+ ruleGroup.rules.splice(i, 0, rule);
13591
13591
  } else {
13592
13592
  ruleGroup.rules.push(rule);
13593
13593
  this.logger.warn(`rule ${before} is not defined`);
@@ -14084,8 +14084,8 @@ var require_uniqueItems2 = __commonJS({
14084
14084
  var util_1 = require_util2();
14085
14085
  var equal_1 = require_equal2();
14086
14086
  var error = {
14087
- message: ({ params: { i: i2, j: j2 } }) => (0, codegen_1.str)`must NOT have duplicate items (items ## ${j2} and ${i2} are identical)`,
14088
- params: ({ params: { i: i2, j: j2 } }) => (0, codegen_1._)`{i: ${i2}, j: ${j2}}`
14087
+ message: ({ params: { i, j: j2 } }) => (0, codegen_1.str)`must NOT have duplicate items (items ## ${j2} and ${i} are identical)`,
14088
+ params: ({ params: { i, j: j2 } }) => (0, codegen_1._)`{i: ${i}, j: ${j2}}`
14089
14089
  };
14090
14090
  var def = {
14091
14091
  keyword: "uniqueItems",
@@ -14102,21 +14102,21 @@ var require_uniqueItems2 = __commonJS({
14102
14102
  cxt.block$data(valid, validateUniqueItems, (0, codegen_1._)`${schemaCode} === false`);
14103
14103
  cxt.ok(valid);
14104
14104
  function validateUniqueItems() {
14105
- const i2 = gen.let("i", (0, codegen_1._)`${data}.length`);
14105
+ const i = gen.let("i", (0, codegen_1._)`${data}.length`);
14106
14106
  const j2 = gen.let("j");
14107
- cxt.setParams({ i: i2, j: j2 });
14107
+ cxt.setParams({ i, j: j2 });
14108
14108
  gen.assign(valid, true);
14109
- gen.if((0, codegen_1._)`${i2} > 1`, () => (canOptimize() ? loopN : loopN2)(i2, j2));
14109
+ gen.if((0, codegen_1._)`${i} > 1`, () => (canOptimize() ? loopN : loopN2)(i, j2));
14110
14110
  }
14111
14111
  function canOptimize() {
14112
14112
  return itemTypes.length > 0 && !itemTypes.some((t2) => t2 === "object" || t2 === "array");
14113
14113
  }
14114
- function loopN(i2, j2) {
14114
+ function loopN(i, j2) {
14115
14115
  const item = gen.name("item");
14116
14116
  const wrongType = (0, dataType_1.checkDataTypes)(itemTypes, item, it2.opts.strictNumbers, dataType_1.DataType.Wrong);
14117
14117
  const indices = gen.const("indices", (0, codegen_1._)`{}`);
14118
- gen.for((0, codegen_1._)`;${i2}--;`, () => {
14119
- gen.let(item, (0, codegen_1._)`${data}[${i2}]`);
14118
+ gen.for((0, codegen_1._)`;${i}--;`, () => {
14119
+ gen.let(item, (0, codegen_1._)`${data}[${i}]`);
14120
14120
  gen.if(wrongType, (0, codegen_1._)`continue`);
14121
14121
  if (itemTypes.length > 1)
14122
14122
  gen.if((0, codegen_1._)`typeof ${item} == "string"`, (0, codegen_1._)`${item} += "_"`);
@@ -14124,13 +14124,13 @@ var require_uniqueItems2 = __commonJS({
14124
14124
  gen.assign(j2, (0, codegen_1._)`${indices}[${item}]`);
14125
14125
  cxt.error();
14126
14126
  gen.assign(valid, false).break();
14127
- }).code((0, codegen_1._)`${indices}[${item}] = ${i2}`);
14127
+ }).code((0, codegen_1._)`${indices}[${item}] = ${i}`);
14128
14128
  });
14129
14129
  }
14130
- function loopN2(i2, j2) {
14130
+ function loopN2(i, j2) {
14131
14131
  const eql = (0, util_1.useFunc)(gen, equal_1.default);
14132
14132
  const outer = gen.name("outer");
14133
- gen.label(outer).for((0, codegen_1._)`;${i2}--;`, () => gen.for((0, codegen_1._)`${j2} = ${i2}; ${j2}--;`, () => gen.if((0, codegen_1._)`${eql}(${data}[${i2}], ${data}[${j2}])`, () => {
14133
+ gen.label(outer).for((0, codegen_1._)`;${i}--;`, () => gen.for((0, codegen_1._)`${j2} = ${i}; ${j2}--;`, () => gen.if((0, codegen_1._)`${eql}(${data}[${i}], ${data}[${j2}])`, () => {
14134
14134
  cxt.error();
14135
14135
  gen.assign(valid, false).break(outer);
14136
14136
  })));
@@ -14202,16 +14202,16 @@ var require_enum2 = __commonJS({
14202
14202
  if (!Array.isArray(schema))
14203
14203
  throw new Error("ajv implementation error");
14204
14204
  const vSchema = gen.const("vSchema", schemaCode);
14205
- valid = (0, codegen_1.or)(...schema.map((_x, i2) => equalCode(vSchema, i2)));
14205
+ valid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));
14206
14206
  }
14207
14207
  cxt.pass(valid);
14208
14208
  function loopEnum() {
14209
14209
  gen.assign(valid, false);
14210
14210
  gen.forOf("v", schemaCode, (v2) => gen.if((0, codegen_1._)`${getEql()}(${data}, ${v2})`, () => gen.assign(valid, true).break()));
14211
14211
  }
14212
- function equalCode(vSchema, i2) {
14213
- const sch = schema[i2];
14214
- return typeof sch === "object" && sch !== null ? (0, codegen_1._)`${getEql()}(${data}, ${vSchema}[${i2}])` : (0, codegen_1._)`${data} === ${sch}`;
14212
+ function equalCode(vSchema, i) {
14213
+ const sch = schema[i];
14214
+ return typeof sch === "object" && sch !== null ? (0, codegen_1._)`${getEql()}(${data}, ${vSchema}[${i}])` : (0, codegen_1._)`${data} === ${sch}`;
14215
14215
  }
14216
14216
  }
14217
14217
  };
@@ -14298,8 +14298,8 @@ var require_additionalItems2 = __commonJS({
14298
14298
  cxt.ok(valid);
14299
14299
  }
14300
14300
  function validateItems(valid) {
14301
- gen.forRange("i", items.length, len, (i2) => {
14302
- cxt.subschema({ keyword, dataProp: i2, dataPropType: util_1.Type.Num }, valid);
14301
+ gen.forRange("i", items.length, len, (i) => {
14302
+ cxt.subschema({ keyword, dataProp: i, dataPropType: util_1.Type.Num }, valid);
14303
14303
  if (!it2.allErrors)
14304
14304
  gen.if((0, codegen_1.not)(valid), () => gen.break());
14305
14305
  });
@@ -14342,13 +14342,13 @@ var require_items2 = __commonJS({
14342
14342
  }
14343
14343
  const valid = gen.name("valid");
14344
14344
  const len = gen.const("len", (0, codegen_1._)`${data}.length`);
14345
- schArr.forEach((sch, i2) => {
14345
+ schArr.forEach((sch, i) => {
14346
14346
  if ((0, util_1.alwaysValidSchema)(it2, sch))
14347
14347
  return;
14348
- gen.if((0, codegen_1._)`${len} > ${i2}`, () => cxt.subschema({
14348
+ gen.if((0, codegen_1._)`${len} > ${i}`, () => cxt.subschema({
14349
14349
  keyword,
14350
- schemaProp: i2,
14351
- dataProp: i2
14350
+ schemaProp: i,
14351
+ dataProp: i
14352
14352
  }, valid));
14353
14353
  cxt.ok(valid);
14354
14354
  });
@@ -14485,10 +14485,10 @@ var require_contains2 = __commonJS({
14485
14485
  validateItems(schValid, () => gen.if(schValid, () => checkLimits(count)));
14486
14486
  }
14487
14487
  function validateItems(_valid, block) {
14488
- gen.forRange("i", 0, len, (i2) => {
14488
+ gen.forRange("i", 0, len, (i) => {
14489
14489
  cxt.subschema({
14490
14490
  keyword: "contains",
14491
- dataProp: i2,
14491
+ dataProp: i,
14492
14492
  dataPropType: util_1.Type.Num,
14493
14493
  compositeRule: true
14494
14494
  }, _valid);
@@ -14966,23 +14966,23 @@ var require_oneOf2 = __commonJS({
14966
14966
  gen.block(validateOneOf);
14967
14967
  cxt.result(valid, () => cxt.reset(), () => cxt.error(true));
14968
14968
  function validateOneOf() {
14969
- schArr.forEach((sch, i2) => {
14969
+ schArr.forEach((sch, i) => {
14970
14970
  let schCxt;
14971
14971
  if ((0, util_1.alwaysValidSchema)(it2, sch)) {
14972
14972
  gen.var(schValid, true);
14973
14973
  } else {
14974
14974
  schCxt = cxt.subschema({
14975
14975
  keyword: "oneOf",
14976
- schemaProp: i2,
14976
+ schemaProp: i,
14977
14977
  compositeRule: true
14978
14978
  }, schValid);
14979
14979
  }
14980
- if (i2 > 0) {
14981
- gen.if((0, codegen_1._)`${schValid} && ${valid}`).assign(valid, false).assign(passing, (0, codegen_1._)`[${passing}, ${i2}]`).else();
14980
+ if (i > 0) {
14981
+ gen.if((0, codegen_1._)`${schValid} && ${valid}`).assign(valid, false).assign(passing, (0, codegen_1._)`[${passing}, ${i}]`).else();
14982
14982
  }
14983
14983
  gen.if(schValid, () => {
14984
14984
  gen.assign(valid, true);
14985
- gen.assign(passing, i2);
14985
+ gen.assign(passing, i);
14986
14986
  if (schCxt)
14987
14987
  cxt.mergeEvaluated(schCxt, codegen_1.Name);
14988
14988
  });
@@ -15008,10 +15008,10 @@ var require_allOf2 = __commonJS({
15008
15008
  if (!Array.isArray(schema))
15009
15009
  throw new Error("ajv implementation error");
15010
15010
  const valid = gen.name("valid");
15011
- schema.forEach((sch, i2) => {
15011
+ schema.forEach((sch, i) => {
15012
15012
  if ((0, util_1.alwaysValidSchema)(it2, sch))
15013
15013
  return;
15014
- const schCxt = cxt.subschema({ keyword: "allOf", schemaProp: i2 }, valid);
15014
+ const schCxt = cxt.subschema({ keyword: "allOf", schemaProp: i }, valid);
15015
15015
  cxt.ok(valid);
15016
15016
  cxt.mergeEvaluated(schCxt);
15017
15017
  });
@@ -15374,8 +15374,8 @@ var require_discriminator2 = __commonJS({
15374
15374
  const oneOfMapping = {};
15375
15375
  const topRequired = hasRequired(parentSchema);
15376
15376
  let tagRequired = true;
15377
- for (let i2 = 0; i2 < oneOf.length; i2++) {
15378
- let sch = oneOf[i2];
15377
+ for (let i = 0; i < oneOf.length; i++) {
15378
+ let sch = oneOf[i];
15379
15379
  if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it2.self.RULES)) {
15380
15380
  const ref = sch.$ref;
15381
15381
  sch = compile_1.resolveRef.call(it2.self, it2.schemaEnv.root, it2.baseId, ref);
@@ -15389,7 +15389,7 @@ var require_discriminator2 = __commonJS({
15389
15389
  throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${tagName}"`);
15390
15390
  }
15391
15391
  tagRequired = tagRequired && (topRequired || hasRequired(sch));
15392
- addMappings(propSch, i2);
15392
+ addMappings(propSch, i);
15393
15393
  }
15394
15394
  if (!tagRequired)
15395
15395
  throw new Error(`discriminator: "${tagName}" must be required`);
@@ -15397,22 +15397,22 @@ var require_discriminator2 = __commonJS({
15397
15397
  function hasRequired({ required }) {
15398
15398
  return Array.isArray(required) && required.includes(tagName);
15399
15399
  }
15400
- function addMappings(sch, i2) {
15400
+ function addMappings(sch, i) {
15401
15401
  if (sch.const) {
15402
- addMapping(sch.const, i2);
15402
+ addMapping(sch.const, i);
15403
15403
  } else if (sch.enum) {
15404
15404
  for (const tagValue of sch.enum) {
15405
- addMapping(tagValue, i2);
15405
+ addMapping(tagValue, i);
15406
15406
  }
15407
15407
  } else {
15408
15408
  throw new Error(`discriminator: "properties/${tagName}" must have "const" or "enum"`);
15409
15409
  }
15410
15410
  }
15411
- function addMapping(tagValue, i2) {
15411
+ function addMapping(tagValue, i) {
15412
15412
  if (typeof tagValue != "string" || tagValue in oneOfMapping) {
15413
15413
  throw new Error(`discriminator: "${tagName}" values must be unique strings`);
15414
15414
  }
15415
- oneOfMapping[tagValue] = i2;
15415
+ oneOfMapping[tagValue] = i;
15416
15416
  }
15417
15417
  }
15418
15418
  }
@@ -16434,8 +16434,8 @@ var require_int2 = __commonJS({
16434
16434
  });
16435
16435
  value = 0;
16436
16436
  base = 1;
16437
- digits.forEach(function(d) {
16438
- value += d * base;
16437
+ digits.forEach(function(d2) {
16438
+ value += d2 * base;
16439
16439
  base *= 60;
16440
16440
  });
16441
16441
  return sign * value;
@@ -16510,8 +16510,8 @@ var require_float2 = __commonJS({
16510
16510
  });
16511
16511
  value = 0;
16512
16512
  base = 1;
16513
- digits.forEach(function(d) {
16514
- value += d * base;
16513
+ digits.forEach(function(d2) {
16514
+ value += d2 * base;
16515
16515
  base *= 60;
16516
16516
  });
16517
16517
  return sign * value;
@@ -17122,15 +17122,15 @@ var require_loader2 = __commonJS({
17122
17122
  var simpleEscapeMap = new Array(256);
17123
17123
  var customEscapeCheck = new Array(256);
17124
17124
  var customEscapeMap = new Array(256);
17125
- for (i2 = 0; i2 < 256; i2++) {
17126
- customEscapeMap[i2] = simpleEscapeMap[i2] = simpleEscapeSequence(i2);
17127
- simpleEscapeCheck[i2] = simpleEscapeMap[i2] ? 1 : 0;
17128
- customEscapeCheck[i2] = 1;
17129
- if (!simpleEscapeCheck[i2]) {
17130
- customEscapeMap[i2] = "\\" + String.fromCharCode(i2);
17125
+ for (i = 0; i < 256; i++) {
17126
+ customEscapeMap[i] = simpleEscapeMap[i] = simpleEscapeSequence(i);
17127
+ simpleEscapeCheck[i] = simpleEscapeMap[i] ? 1 : 0;
17128
+ customEscapeCheck[i] = 1;
17129
+ if (!simpleEscapeCheck[i]) {
17130
+ customEscapeMap[i] = "\\" + String.fromCharCode(i);
17131
17131
  }
17132
17132
  }
17133
- var i2;
17133
+ var i;
17134
17134
  var State = /* @__PURE__ */ (function() {
17135
17135
  function State2(input, options2) {
17136
17136
  this.errorMap = {};
@@ -17190,7 +17190,7 @@ var require_loader2 = __commonJS({
17190
17190
  }
17191
17191
  state.errors.push(error);
17192
17192
  state.errorMap[hash] = 1;
17193
- var or2 = state.position;
17193
+ var or = state.position;
17194
17194
  while (true) {
17195
17195
  if (state.position >= state.input.length - 1) {
17196
17196
  return;
@@ -17198,14 +17198,14 @@ var require_loader2 = __commonJS({
17198
17198
  var c2 = state.input.charAt(state.position);
17199
17199
  if (c2 == "\n") {
17200
17200
  state.position--;
17201
- if (state.position == or2) {
17201
+ if (state.position == or) {
17202
17202
  state.position += 1;
17203
17203
  }
17204
17204
  return;
17205
17205
  }
17206
17206
  if (c2 == "\r") {
17207
17207
  state.position--;
17208
- if (state.position == or2) {
17208
+ if (state.position == or) {
17209
17209
  state.position += 1;
17210
17210
  }
17211
17211
  return;
@@ -17338,11 +17338,11 @@ var require_loader2 = __commonJS({
17338
17338
  }
17339
17339
  function positionToLine(state, position) {
17340
17340
  var line;
17341
- for (var i3 = 0; i3 < state.lines.length; i3++) {
17342
- if (state.lines[i3].start > position) {
17341
+ for (var i2 = 0; i2 < state.lines.length; i2++) {
17342
+ if (state.lines[i2].start > position) {
17343
17343
  break;
17344
17344
  }
17345
- line = state.lines[i3];
17345
+ line = state.lines[i2];
17346
17346
  }
17347
17347
  if (!line) {
17348
17348
  return {
@@ -17751,22 +17751,22 @@ var require_loader2 = __commonJS({
17751
17751
  captureSegment(state, captureStart, state.position, false);
17752
17752
  }
17753
17753
  sc.endPosition = state.position;
17754
- var i3 = state.position - 1;
17754
+ var i2 = state.position - 1;
17755
17755
  var needMinus = false;
17756
17756
  while (true) {
17757
- var c2 = state.input[i3];
17757
+ var c2 = state.input[i2];
17758
17758
  if (c2 == "\r" || c2 == "\n") {
17759
17759
  if (needMinus) {
17760
- i3--;
17760
+ i2--;
17761
17761
  }
17762
17762
  break;
17763
17763
  }
17764
17764
  if (c2 != " " && c2 != " ") {
17765
17765
  break;
17766
17766
  }
17767
- i3--;
17767
+ i2--;
17768
17768
  }
17769
- sc.endPosition = i3;
17769
+ sc.endPosition = i2;
17770
17770
  sc.rawValue = state.input.substring(sc.startPosition, sc.endPosition);
17771
17771
  return true;
17772
17772
  }
@@ -18483,12 +18483,12 @@ var require_dumper2 = __commonJS({
18483
18483
  this.checkpoint = 0;
18484
18484
  }
18485
18485
  StringBuilder.prototype.takeUpTo = function(position) {
18486
- var er2;
18486
+ var er;
18487
18487
  if (position < this.checkpoint) {
18488
- er2 = new Error("position should be > checkpoint");
18489
- er2.position = position;
18490
- er2.checkpoint = this.checkpoint;
18491
- throw er2;
18488
+ er = new Error("position should be > checkpoint");
18489
+ er.position = position;
18490
+ er.checkpoint = this.checkpoint;
18491
+ throw er;
18492
18492
  }
18493
18493
  this.result += this.source.slice(this.checkpoint, position);
18494
18494
  this.checkpoint = position;
@@ -19018,8 +19018,8 @@ var require_scalarInference = __commonJS({
19018
19018
  var require_src = __commonJS({
19019
19019
  "../../node_modules/yaml-ast-parser/dist/src/index.js"(exports) {
19020
19020
  "use strict";
19021
- function __export2(m) {
19022
- for (var p2 in m) if (!exports.hasOwnProperty(p2)) exports[p2] = m[p2];
19021
+ function __export2(m2) {
19022
+ for (var p2 in m2) if (!exports.hasOwnProperty(p2)) exports[p2] = m2[p2];
19023
19023
  }
19024
19024
  Object.defineProperty(exports, "__esModule", { value: true });
19025
19025
  var loader_1 = require_loader2();
@@ -21391,6 +21391,991 @@ var Oas3_2Types = {
21391
21391
  NamedMediaTypes: mapOf("MediaTypesMap")
21392
21392
  };
21393
21393
 
21394
+ // ../core/lib/types/asyncapi-bindings.js
21395
+ var HttpChannelBinding = {
21396
+ properties: {},
21397
+ // empty object
21398
+ description: "Protocol-specific information for an HTTP channel."
21399
+ };
21400
+ var HttpServerBinding = {
21401
+ properties: {},
21402
+ // empty object
21403
+ description: "Protocol-specific information for an HTTP server."
21404
+ };
21405
+ var HttpMessageBinding = {
21406
+ properties: {
21407
+ headers: "Schema",
21408
+ statusCode: { type: "number" },
21409
+ bindingVersion: { type: "string" }
21410
+ },
21411
+ description: "Protocol-specific information for an HTTP message, i.e., a request or a response."
21412
+ };
21413
+ var HttpOperationBinding = {
21414
+ properties: {
21415
+ type: { type: "string" },
21416
+ // bindingVersion 0.1.0 (removed since 0.2.0)
21417
+ method: {
21418
+ type: "string",
21419
+ enum: ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS", "CONNECT", "TRACE"]
21420
+ },
21421
+ query: "Schema",
21422
+ headers: "Schema",
21423
+ bindingVersion: { type: "string" }
21424
+ },
21425
+ description: "Protocol-specific information for an HTTP operation."
21426
+ };
21427
+ var WsChannelBinding = {
21428
+ properties: {
21429
+ method: { type: "string" },
21430
+ query: "Schema",
21431
+ headers: "Schema",
21432
+ bindingVersion: { type: "string" }
21433
+ },
21434
+ description: "Protocol-specific information for a WebSockets channel."
21435
+ };
21436
+ var WsServerBinding = {
21437
+ properties: {},
21438
+ // empty object
21439
+ description: "Protocol-specific information for a WebSockets server."
21440
+ };
21441
+ var WsMessageBinding = {
21442
+ properties: {},
21443
+ // empty object
21444
+ description: "Protocol-specific information for a WebSockets message."
21445
+ };
21446
+ var WsOperationBinding = {
21447
+ properties: {},
21448
+ // empty object
21449
+ description: "Protocol-specific information for a WebSockets operation."
21450
+ };
21451
+ var KafkaTopicConfiguration = {
21452
+ properties: {
21453
+ "cleanup.policy": { type: "array", items: { enum: ["delete", "compact"] } },
21454
+ "retention.ms": { type: "integer" },
21455
+ "retention.bytes": { type: "integer" },
21456
+ "delete.retention.ms": { type: "integer" },
21457
+ "max.message.bytes": { type: "integer" },
21458
+ "confluent.key.schema.validation": { type: "boolean" },
21459
+ "confluent.key.subject.name.strategy": { type: "string" },
21460
+ "confluent.value.schema.validation": { type: "boolean" },
21461
+ "confluent.value.subject.name.strategy": { type: "string" }
21462
+ }
21463
+ };
21464
+ var KafkaChannelBinding = {
21465
+ properties: {
21466
+ topic: { type: "string" },
21467
+ partitions: { type: "integer" },
21468
+ replicas: { type: "integer" },
21469
+ topicConfiguration: "KafkaTopicConfiguration",
21470
+ bindingVersion: { type: "string" }
21471
+ },
21472
+ description: "Protocol-specific information for a Kafka channel."
21473
+ };
21474
+ var KafkaServerBinding = {
21475
+ properties: {
21476
+ schemaRegistryUrl: { type: "string" },
21477
+ schemaRegistryVendor: { type: "string" },
21478
+ bindingVersion: { type: "string" }
21479
+ },
21480
+ description: "Protocol-specific information for a Kafka server."
21481
+ };
21482
+ var KafkaMessageBinding = {
21483
+ properties: {
21484
+ key: "Schema",
21485
+ schemaIdLocation: { type: "string" },
21486
+ schemaIdPayloadEncoding: { type: "string" },
21487
+ schemaLookupStrategy: { type: "string" },
21488
+ bindingVersion: { type: "string" }
21489
+ },
21490
+ description: "Protocol-specific information for a Kafka message."
21491
+ };
21492
+ var KafkaOperationBinding = {
21493
+ properties: {
21494
+ groupId: "Schema",
21495
+ clientId: "Schema",
21496
+ bindingVersion: { type: "string" }
21497
+ },
21498
+ description: "Protocol-specific information for a Kafka operation."
21499
+ };
21500
+ var AnypointmqChannelBinding = {
21501
+ properties: {
21502
+ destination: { type: "string" },
21503
+ destinationType: { type: "string" },
21504
+ bindingVersion: { type: "string" }
21505
+ },
21506
+ description: "Protocol-specific information for an Anypoint MQ channel."
21507
+ };
21508
+ var AnypointmqServerBinding = {
21509
+ properties: {},
21510
+ // empty object
21511
+ description: "Protocol-specific information for an Anypoint MQ server."
21512
+ };
21513
+ var AnypointmqMessageBinding = {
21514
+ properties: {
21515
+ headers: "Schema",
21516
+ bindingVersion: { type: "string" }
21517
+ },
21518
+ description: "Protocol-specific information for an Anypoint MQ message."
21519
+ };
21520
+ var AnypointmqOperationBinding = {
21521
+ properties: {},
21522
+ // empty object
21523
+ description: "Protocol-specific information for an Anypoint MQ operation."
21524
+ };
21525
+ var AmqpChannelExchange = {
21526
+ properties: {
21527
+ name: { type: "string" },
21528
+ type: { type: "string", enum: ["topic", "direct", "fanout", "default", "headers"] },
21529
+ durable: { type: "boolean" },
21530
+ autoDelete: { type: "boolean" },
21531
+ vhost: { type: "string" }
21532
+ },
21533
+ description: "The AMQP exchange the channel is bound to."
21534
+ };
21535
+ var AmqpChannelQueue = {
21536
+ properties: {
21537
+ name: { type: "string" },
21538
+ durable: { type: "boolean" },
21539
+ exclusive: { type: "boolean" },
21540
+ autoDelete: { type: "boolean" },
21541
+ vhost: { type: "string" }
21542
+ },
21543
+ description: "The AMQP queue the channel is bound to."
21544
+ };
21545
+ var AmqpChannelBinding = {
21546
+ properties: {
21547
+ is: { type: "string", enum: ["queue", "routingKey"] },
21548
+ exchange: "AmqpChannelExchange",
21549
+ queue: "AmqpChannelQueue",
21550
+ bindingVersion: { type: "string" }
21551
+ },
21552
+ description: "Protocol-specific information for an AMQP 0-9-1 channel."
21553
+ };
21554
+ var AmqpServerBinding = {
21555
+ properties: {},
21556
+ // empty object
21557
+ description: "Protocol-specific information for an AMQP 0-9-1 server."
21558
+ };
21559
+ var AmqpMessageBinding = {
21560
+ properties: {
21561
+ contentEncoding: { type: "string" },
21562
+ messageType: { type: "string" },
21563
+ bindingVersion: { type: "string" }
21564
+ },
21565
+ description: "Protocol-specific information for an AMQP 0-9-1 message."
21566
+ };
21567
+ var AmqpOperationBinding = {
21568
+ properties: {
21569
+ expiration: { type: "integer" },
21570
+ userId: { type: "string" },
21571
+ cc: { type: "array", items: { type: "string" } },
21572
+ priority: { type: "integer" },
21573
+ deliveryMode: { type: "integer" },
21574
+ mandatory: { type: "boolean" },
21575
+ bcc: { type: "array", items: { type: "string" } },
21576
+ replyTo: { type: "string" },
21577
+ // bindingVersion 0.2.0 (removed in 0.3.0)
21578
+ timestamp: { type: "boolean" },
21579
+ ack: { type: "boolean" },
21580
+ bindingVersion: { type: "string" }
21581
+ },
21582
+ description: "Protocol-specific information for an AMQP 0-9-1 operation."
21583
+ };
21584
+ var Amqp1ChannelBinding = {
21585
+ properties: {},
21586
+ // empty object
21587
+ description: "Protocol-specific information for an AMQP 1.0 channel."
21588
+ };
21589
+ var Amqp1ServerBinding = {
21590
+ properties: {},
21591
+ // empty object
21592
+ description: "Protocol-specific information for an AMQP 1.0 server."
21593
+ };
21594
+ var Amqp1MessageBinding = {
21595
+ properties: {},
21596
+ // empty object
21597
+ description: "Protocol-specific information for an AMQP 1.0 message."
21598
+ };
21599
+ var Amqp1OperationBinding = {
21600
+ properties: {},
21601
+ // empty object
21602
+ description: "Protocol-specific information for an AMQP 1.0 operation."
21603
+ };
21604
+ var MqttChannelBinding = {
21605
+ properties: {},
21606
+ // empty object
21607
+ description: "Protocol-specific information for an MQTT channel."
21608
+ };
21609
+ var MqttServerBindingLastWill = {
21610
+ properties: {
21611
+ topic: { type: "string" },
21612
+ qos: { type: "integer" },
21613
+ message: { type: "string" },
21614
+ retain: { type: "boolean" }
21615
+ }
21616
+ };
21617
+ var MqttServerBinding = {
21618
+ properties: {
21619
+ clientId: { type: "string" },
21620
+ cleanSession: { type: "boolean" },
21621
+ lastWill: "MqttServerBindingLastWill",
21622
+ keepAlive: { type: "integer" },
21623
+ sessionExpiryInterval: (value) => isPlainObject(value) ? "Schema" : { type: "integer" },
21624
+ maximumPacketSize: (value) => isPlainObject(value) ? "Schema" : { type: "integer" },
21625
+ bindingVersion: { type: "string" }
21626
+ },
21627
+ description: "Protocol-specific information for an MQTT server."
21628
+ };
21629
+ var MqttMessageBinding = {
21630
+ properties: {
21631
+ payloadFormatIndicator: { type: "integer" },
21632
+ // 0 or 1
21633
+ correlationData: "Schema",
21634
+ contentType: { type: "string" },
21635
+ responseTopic: (value) => isPlainObject(value) ? "Schema" : { type: "string" },
21636
+ bindingVersion: { type: "string" }
21637
+ },
21638
+ description: "Protocol-specific information for an MQTT message."
21639
+ };
21640
+ var MqttOperationBinding = {
21641
+ properties: {
21642
+ qos: { type: "integer" },
21643
+ retain: { type: "boolean" },
21644
+ messageExpiryInterval: (value) => isPlainObject(value) ? "Schema" : { type: "integer" },
21645
+ bindingVersion: { type: "string" }
21646
+ },
21647
+ description: "Protocol-specific information for an MQTT operation."
21648
+ };
21649
+ var Mqtt5ChannelBinding = {
21650
+ properties: {},
21651
+ // empty object
21652
+ description: "Protocol-specific information for an MQTT 5 channel."
21653
+ };
21654
+ var Mqtt5ServerBinding = {
21655
+ properties: {
21656
+ // defined by the mqtt5 binding README (no JSON Schema was ever published for mqtt5)
21657
+ sessionExpiryInterval: (value) => isPlainObject(value) ? "Schema" : { type: "integer" },
21658
+ bindingVersion: { type: "string" }
21659
+ },
21660
+ description: "Protocol-specific information for an MQTT 5 server."
21661
+ };
21662
+ var Mqtt5MessageBinding = {
21663
+ properties: {},
21664
+ // empty object
21665
+ description: "Protocol-specific information for an MQTT 5 message."
21666
+ };
21667
+ var Mqtt5OperationBinding = {
21668
+ properties: {},
21669
+ // empty object
21670
+ description: "Protocol-specific information for an MQTT 5 operation."
21671
+ };
21672
+ var NatsChannelBinding = {
21673
+ properties: {},
21674
+ // empty object
21675
+ description: "Protocol-specific information for a NATS channel."
21676
+ };
21677
+ var NatsServerBinding = {
21678
+ properties: {},
21679
+ // empty object
21680
+ description: "Protocol-specific information for a NATS server."
21681
+ };
21682
+ var NatsMessageBinding = {
21683
+ properties: {},
21684
+ // empty object
21685
+ description: "Protocol-specific information for a NATS message."
21686
+ };
21687
+ var NatsOperationBinding = {
21688
+ properties: {
21689
+ queue: { type: "string" },
21690
+ bindingVersion: { type: "string" }
21691
+ },
21692
+ description: "Protocol-specific information for a NATS operation."
21693
+ };
21694
+ var JmsChannelBinding = {
21695
+ properties: {
21696
+ destination: { type: "string" },
21697
+ destinationType: { type: "string" },
21698
+ bindingVersion: { type: "string" }
21699
+ },
21700
+ description: "Protocol-specific information for a JMS channel."
21701
+ };
21702
+ var JmsServerBindingProperty = {
21703
+ properties: {
21704
+ name: { type: "string" },
21705
+ value: {}
21706
+ },
21707
+ required: ["name", "value"],
21708
+ description: "A name-value pair to set on the JMS ConnectionFactory implementation."
21709
+ };
21710
+ var JmsServerBinding = {
21711
+ properties: {
21712
+ jmsConnectionFactory: { type: "string" },
21713
+ properties: listOf("JmsServerBindingProperty"),
21714
+ clientID: { type: "string" },
21715
+ bindingVersion: { type: "string" }
21716
+ },
21717
+ required: ["jmsConnectionFactory"],
21718
+ description: "Protocol-specific information for a JMS server."
21719
+ };
21720
+ var JmsMessageBinding = {
21721
+ properties: {
21722
+ headers: "Schema",
21723
+ bindingVersion: { type: "string" }
21724
+ },
21725
+ description: "Protocol-specific information for a JMS message."
21726
+ };
21727
+ var JmsOperationBinding = {
21728
+ properties: {},
21729
+ // empty object
21730
+ description: "Protocol-specific information for a JMS operation."
21731
+ };
21732
+ var SolaceChannelBinding = {
21733
+ properties: {},
21734
+ // empty object
21735
+ description: "Protocol-specific information for a Solace channel."
21736
+ };
21737
+ var SolaceServerBinding = {
21738
+ properties: {
21739
+ bindingVersion: { type: "string" },
21740
+ msgVpn: { type: "string" },
21741
+ clientName: { type: "string" }
21742
+ },
21743
+ description: "Protocol-specific information for a Solace server."
21744
+ };
21745
+ var SolaceMessageBinding = {
21746
+ properties: {},
21747
+ // empty object
21748
+ description: "Protocol-specific information for a Solace message."
21749
+ };
21750
+ var SolaceDestination = {
21751
+ properties: {
21752
+ destinationType: { type: "string", enum: ["queue", "topic"] },
21753
+ deliveryMode: { type: "string", enum: ["direct", "persistent"] },
21754
+ "queue.name": { type: "string" },
21755
+ "queue.topicSubscriptions": { type: "array", items: { type: "string" } },
21756
+ "queue.accessType": { type: "string", enum: ["exclusive", "nonexclusive"] },
21757
+ "queue.maxMsgSpoolSize": { type: "string" },
21758
+ "queue.maxMsgSpoolUsage": { type: "string" },
21759
+ "queue.maxTtl": { type: "string" },
21760
+ "topic.topicSubscriptions": { type: "array", items: { type: "string" } }
21761
+ }
21762
+ };
21763
+ var SolaceOperationBinding = {
21764
+ properties: {
21765
+ bindingVersion: { type: "string" },
21766
+ destinations: listOf("SolaceDestination"),
21767
+ dmqEligible: { type: "boolean" },
21768
+ priority: { type: "integer", minimum: 0 },
21769
+ timeToLive: { type: "integer" }
21770
+ },
21771
+ description: "Protocol-specific information for a Solace operation."
21772
+ };
21773
+ var SnsIdentifier = {
21774
+ properties: {
21775
+ url: { type: "string" },
21776
+ email: { type: "string" },
21777
+ phone: { type: "string" },
21778
+ arn: { type: "string" },
21779
+ name: { type: "string" }
21780
+ },
21781
+ description: "Identifies an SNS resource: exactly one of url, email, phone, arn, or name."
21782
+ };
21783
+ var SnsOrdering = {
21784
+ properties: {
21785
+ type: { type: "string", enum: ["standard", "FIFO"] },
21786
+ contentBasedDeduplication: { type: "boolean" }
21787
+ },
21788
+ required: ["type"],
21789
+ description: "Defines the ordering and deduplication properties of an SNS topic."
21790
+ };
21791
+ var SnsStatement = {
21792
+ properties: {
21793
+ effect: { type: "string", enum: ["Allow", "Deny"] },
21794
+ principal: {},
21795
+ action: {},
21796
+ resource: {},
21797
+ condition: { type: "object" }
21798
+ },
21799
+ required: ["effect", "principal", "action"],
21800
+ description: "An SNS access-policy statement."
21801
+ };
21802
+ var SnsPolicy = {
21803
+ properties: {
21804
+ statements: listOf("SnsStatement")
21805
+ },
21806
+ required: ["statements"],
21807
+ description: "The security policy for an SNS topic."
21808
+ };
21809
+ var SnsChannelBinding = {
21810
+ properties: {
21811
+ name: { type: "string" },
21812
+ ordering: "SnsOrdering",
21813
+ policy: "SnsPolicy",
21814
+ tags: { type: "object" },
21815
+ bindingVersion: { type: "string" }
21816
+ },
21817
+ required: ["name"],
21818
+ description: "Protocol-specific information for an SNS channel."
21819
+ };
21820
+ var SnsRedrivePolicy = {
21821
+ properties: {
21822
+ deadLetterQueue: "SnsIdentifier",
21823
+ maxReceiveCount: { type: "integer" }
21824
+ },
21825
+ required: ["deadLetterQueue"],
21826
+ description: "Defines where unprocessable SNS messages are moved."
21827
+ };
21828
+ var SnsDeliveryPolicy = {
21829
+ properties: {
21830
+ minDelayTarget: { type: "integer" },
21831
+ maxDelayTarget: { type: "integer" },
21832
+ numRetries: { type: "integer" },
21833
+ numNoDelayRetries: { type: "integer" },
21834
+ numMinDelayRetries: { type: "integer" },
21835
+ numMaxDelayRetries: { type: "integer" },
21836
+ backoffFunction: {
21837
+ type: "string",
21838
+ enum: ["arithmetic", "exponential", "geometric", "linear"]
21839
+ },
21840
+ maxReceivesPerSecond: { type: "integer" }
21841
+ },
21842
+ description: "Defines how SNS retries the delivery of messages to a subscription endpoint."
21843
+ };
21844
+ var SnsConsumer = {
21845
+ properties: {
21846
+ protocol: {
21847
+ type: "string",
21848
+ enum: [
21849
+ "http",
21850
+ "https",
21851
+ "email",
21852
+ "email-json",
21853
+ "sms",
21854
+ "sqs",
21855
+ "application",
21856
+ "lambda",
21857
+ "firehose"
21858
+ ]
21859
+ },
21860
+ endpoint: "SnsIdentifier",
21861
+ filterPolicy: { type: "object" },
21862
+ filterPolicyScope: { type: "string", enum: ["MessageAttributes", "MessageBody"] },
21863
+ rawMessageDelivery: { type: "boolean" },
21864
+ redrivePolicy: "SnsRedrivePolicy",
21865
+ deliveryPolicy: "SnsDeliveryPolicy",
21866
+ displayName: { type: "string" }
21867
+ },
21868
+ required: ["protocol", "endpoint", "rawMessageDelivery"],
21869
+ description: "Describes an SNS subscription consuming messages from a topic."
21870
+ };
21871
+ var SnsOperationBinding = {
21872
+ properties: {
21873
+ topic: "SnsIdentifier",
21874
+ consumers: listOf("SnsConsumer"),
21875
+ deliveryPolicy: "SnsDeliveryPolicy",
21876
+ bindingVersion: { type: "string" }
21877
+ },
21878
+ required: ["consumers"],
21879
+ description: "Protocol-specific information for an SNS operation."
21880
+ };
21881
+ var SqsIdentifier = {
21882
+ properties: {
21883
+ arn: { type: "string" },
21884
+ name: { type: "string" }
21885
+ },
21886
+ description: "Identifies an SQS queue: exactly one of arn or name."
21887
+ };
21888
+ var SqsRedrivePolicy = {
21889
+ properties: {
21890
+ deadLetterQueue: "SqsIdentifier",
21891
+ maxReceiveCount: { type: "integer" }
21892
+ },
21893
+ required: ["deadLetterQueue"],
21894
+ description: "Defines where unprocessable SQS messages are moved."
21895
+ };
21896
+ var SqsStatement = {
21897
+ properties: {
21898
+ effect: { type: "string", enum: ["Allow", "Deny"] },
21899
+ principal: {},
21900
+ action: {},
21901
+ resource: {},
21902
+ condition: { type: "object" }
21903
+ },
21904
+ required: ["effect", "principal", "action"],
21905
+ description: "An SQS access-policy statement."
21906
+ };
21907
+ var SqsPolicy = {
21908
+ properties: {
21909
+ statements: listOf("SqsStatement")
21910
+ },
21911
+ required: ["statements"],
21912
+ description: "The security policy for an SQS queue."
21913
+ };
21914
+ var SqsQueue = {
21915
+ properties: {
21916
+ name: { type: "string" },
21917
+ fifoQueue: { type: "boolean" },
21918
+ deduplicationScope: { type: "string", enum: ["queue", "messageGroup"] },
21919
+ fifoThroughputLimit: { type: "string", enum: ["perQueue", "perMessageGroupId"] },
21920
+ deliveryDelay: { type: "integer" },
21921
+ visibilityTimeout: { type: "integer" },
21922
+ receiveMessageWaitTime: { type: "integer" },
21923
+ messageRetentionPeriod: { type: "integer" },
21924
+ redrivePolicy: "SqsRedrivePolicy",
21925
+ policy: "SqsPolicy",
21926
+ tags: { type: "object" }
21927
+ },
21928
+ required: ["name", "fifoQueue"],
21929
+ description: "Describes an SQS queue (channel-level definition)."
21930
+ };
21931
+ var SqsOperationQueue = {
21932
+ ...SqsQueue,
21933
+ required: ["name"],
21934
+ description: "Describes an SQS queue (operation-level definition)."
21935
+ };
21936
+ var SqsChannelBinding = {
21937
+ properties: {
21938
+ queue: "SqsQueue",
21939
+ deadLetterQueue: "SqsQueue",
21940
+ bindingVersion: { type: "string" }
21941
+ },
21942
+ required: ["queue"],
21943
+ description: "Protocol-specific information for an SQS channel."
21944
+ };
21945
+ var SqsOperationBinding = {
21946
+ properties: {
21947
+ queues: listOf("SqsOperationQueue"),
21948
+ bindingVersion: { type: "string" }
21949
+ },
21950
+ required: ["queues"],
21951
+ description: "Protocol-specific information for an SQS operation."
21952
+ };
21953
+ var StompChannelBinding = {
21954
+ properties: {},
21955
+ // empty object
21956
+ description: "Protocol-specific information for a STOMP channel."
21957
+ };
21958
+ var StompServerBinding = {
21959
+ properties: {},
21960
+ // empty object
21961
+ description: "Protocol-specific information for a STOMP server."
21962
+ };
21963
+ var StompMessageBinding = {
21964
+ properties: {},
21965
+ // empty object
21966
+ description: "Protocol-specific information for a STOMP message."
21967
+ };
21968
+ var StompOperationBinding = {
21969
+ properties: {},
21970
+ // empty object
21971
+ description: "Protocol-specific information for a STOMP operation."
21972
+ };
21973
+ var RedisChannelBinding = {
21974
+ properties: {},
21975
+ // empty object
21976
+ description: "Protocol-specific information for a Redis channel."
21977
+ };
21978
+ var RedisServerBinding = {
21979
+ properties: {},
21980
+ // empty object
21981
+ description: "Protocol-specific information for a Redis server."
21982
+ };
21983
+ var RedisMessageBinding = {
21984
+ properties: {},
21985
+ // empty object
21986
+ description: "Protocol-specific information for a Redis message."
21987
+ };
21988
+ var RedisOperationBinding = {
21989
+ properties: {},
21990
+ // empty object
21991
+ description: "Protocol-specific information for a Redis operation."
21992
+ };
21993
+ var MercureChannelBinding = {
21994
+ properties: {},
21995
+ // empty object
21996
+ description: "Protocol-specific information for a Mercure channel."
21997
+ };
21998
+ var MercureServerBinding = {
21999
+ properties: {},
22000
+ // empty object
22001
+ description: "Protocol-specific information for a Mercure server."
22002
+ };
22003
+ var MercureMessageBinding = {
22004
+ properties: {},
22005
+ // empty object
22006
+ description: "Protocol-specific information for a Mercure message."
22007
+ };
22008
+ var MercureOperationBinding = {
22009
+ properties: {},
22010
+ // empty object
22011
+ description: "Protocol-specific information for a Mercure operation."
22012
+ };
22013
+ var IbmmqServerBinding = {
22014
+ properties: {
22015
+ groupId: { type: "string" },
22016
+ ccdtQueueManagerName: { type: "string" },
22017
+ cipherSpec: { type: "string" },
22018
+ multiEndpointServer: { type: "boolean" },
22019
+ heartBeatInterval: { type: "integer" },
22020
+ bindingVersion: { type: "string" }
22021
+ },
22022
+ description: "Protocol-specific information for an IBM MQ server."
22023
+ };
22024
+ var IbmmqChannelQueue = {
22025
+ properties: {
22026
+ objectName: { type: "string" },
22027
+ isPartitioned: { type: "boolean" },
22028
+ exclusive: { type: "boolean" }
22029
+ },
22030
+ required: ["objectName"],
22031
+ description: "Defines the properties of an IBM MQ queue."
22032
+ };
22033
+ var IbmmqChannelTopic = {
22034
+ properties: {
22035
+ string: { type: "string" },
22036
+ objectName: { type: "string" },
22037
+ durablePermitted: { type: "boolean" },
22038
+ lastMsgRetained: { type: "boolean" }
22039
+ },
22040
+ description: "Defines the properties of an IBM MQ topic."
22041
+ };
22042
+ var IbmmqChannelBinding = {
22043
+ properties: {
22044
+ destinationType: { type: "string", enum: ["topic", "queue"] },
22045
+ queue: "IbmmqChannelQueue",
22046
+ topic: "IbmmqChannelTopic",
22047
+ maxMsgLength: { type: "integer" },
22048
+ bindingVersion: { type: "string" }
22049
+ },
22050
+ description: "Protocol-specific information for an IBM MQ channel."
22051
+ };
22052
+ var IbmmqMessageBinding = {
22053
+ properties: {
22054
+ type: { type: "string", enum: ["string", "jms", "binary"] },
22055
+ headers: { type: "string" },
22056
+ description: { type: "string" },
22057
+ expiry: { type: "integer" },
22058
+ bindingVersion: { type: "string" }
22059
+ },
22060
+ description: "Protocol-specific information for an IBM MQ message."
22061
+ };
22062
+ var GooglepubsubMessageStoragePolicy = {
22063
+ properties: {
22064
+ allowedPersistenceRegions: { type: "array", items: { type: "string" } }
22065
+ },
22066
+ description: "Policy constraining the regions where Google Cloud Pub/Sub messages are stored."
22067
+ };
22068
+ var GooglepubsubSchemaSettings = {
22069
+ properties: {
22070
+ encoding: { type: "string" },
22071
+ firstRevisionId: { type: "string" },
22072
+ lastRevisionId: { type: "string" },
22073
+ name: { type: "string" }
22074
+ },
22075
+ required: ["encoding", "name"],
22076
+ description: "Settings for validating Google Cloud Pub/Sub messages against a schema."
22077
+ };
22078
+ var GooglepubsubChannelBinding = {
22079
+ properties: {
22080
+ labels: { type: "object" },
22081
+ messageRetentionDuration: { type: "string" },
22082
+ messageStoragePolicy: "GooglepubsubMessageStoragePolicy",
22083
+ schemaSettings: "GooglepubsubSchemaSettings",
22084
+ topic: { type: "string" },
22085
+ // only in bindingVersion 0.1.0
22086
+ bindingVersion: { type: "string" }
22087
+ },
22088
+ description: "Protocol-specific information for a Google Cloud Pub/Sub channel."
22089
+ };
22090
+ var GooglepubsubSchema = {
22091
+ properties: {
22092
+ name: { type: "string" },
22093
+ type: { type: "string" }
22094
+ // bindingVersion 0.1.0
22095
+ },
22096
+ required: ["name"],
22097
+ description: "Identifies the Google Cloud Pub/Sub schema a message is validated against."
22098
+ };
22099
+ var GooglepubsubMessageBinding = {
22100
+ properties: {
22101
+ attributes: { type: "object" },
22102
+ orderingKey: { type: "string" },
22103
+ schema: "GooglepubsubSchema",
22104
+ bindingVersion: { type: "string" }
22105
+ },
22106
+ description: "Protocol-specific information for a Google Cloud Pub/Sub message."
22107
+ };
22108
+ var PulsarServerBinding = {
22109
+ properties: {
22110
+ tenant: { type: "string" },
22111
+ bindingVersion: { type: "string" }
22112
+ },
22113
+ description: "Protocol-specific information for a Pulsar server."
22114
+ };
22115
+ var PulsarRetention = {
22116
+ properties: {
22117
+ time: { type: "integer" },
22118
+ size: { type: "integer" }
22119
+ },
22120
+ description: "The retention policy of a Pulsar topic."
22121
+ };
22122
+ var PulsarChannelBinding = {
22123
+ properties: {
22124
+ namespace: { type: "string" },
22125
+ persistence: { type: "string", enum: ["persistent", "non-persistent"] },
22126
+ compaction: { type: "integer" },
22127
+ "geo-replication": { type: "array", items: { type: "string" } },
22128
+ retention: "PulsarRetention",
22129
+ ttl: { type: "integer" },
22130
+ deduplication: { type: "boolean" },
22131
+ bindingVersion: { type: "string" }
22132
+ },
22133
+ required: ["namespace", "persistence"],
22134
+ description: "Protocol-specific information for a Pulsar channel."
22135
+ };
22136
+ var Ros2ServerBinding = {
22137
+ properties: {
22138
+ rmwImplementation: { type: "string" },
22139
+ domainId: { type: "integer", minimum: 0 }
22140
+ },
22141
+ description: "Protocol-specific information for a ROS 2 server."
22142
+ };
22143
+ var Ros2ChannelBinding = {
22144
+ properties: {},
22145
+ description: "Protocol-specific information for a ROS 2 channel."
22146
+ };
22147
+ var Ros2QosPolicies = {
22148
+ properties: {
22149
+ reliability: { type: "string", enum: ["best_effort", "reliable"] },
22150
+ history: { type: "string", enum: ["keep_last", "keep_all", "unknown"] },
22151
+ durability: { type: "string", enum: ["transient_local", "volatile"] },
22152
+ lifespan: { type: "integer" },
22153
+ deadline: { type: "integer" },
22154
+ liveliness: { type: "string", enum: ["automatic", "manual"] },
22155
+ leaseDuration: { type: "integer" }
22156
+ },
22157
+ description: "Quality of Service settings for a ROS 2 operation."
22158
+ };
22159
+ var Ros2OperationBinding = {
22160
+ properties: {
22161
+ role: {
22162
+ type: "string",
22163
+ enum: [
22164
+ "publisher",
22165
+ "subscriber",
22166
+ "service_client",
22167
+ "service_server",
22168
+ "action_client",
22169
+ "action_server"
22170
+ ]
22171
+ },
22172
+ node: { type: "string" },
22173
+ qosPolicies: "Ros2QosPolicies",
22174
+ bindingVersion: { type: "string" }
22175
+ },
22176
+ description: "Protocol-specific information for a ROS 2 operation."
22177
+ };
22178
+ var Ros2MessageBinding = {
22179
+ properties: {},
22180
+ description: "Protocol-specific information for a ROS 2 message."
22181
+ };
22182
+ var ServerBindings = {
22183
+ properties: {
22184
+ http: "HttpServerBinding",
22185
+ ws: "WsServerBinding",
22186
+ kafka: "KafkaServerBinding",
22187
+ anypointmq: "AnypointmqServerBinding",
22188
+ amqp: "AmqpServerBinding",
22189
+ amqp1: "Amqp1ServerBinding",
22190
+ mqtt: "MqttServerBinding",
22191
+ mqtt5: "Mqtt5ServerBinding",
22192
+ nats: "NatsServerBinding",
22193
+ jms: "JmsServerBinding",
22194
+ solace: "SolaceServerBinding",
22195
+ stomp: "StompServerBinding",
22196
+ redis: "RedisServerBinding",
22197
+ mercure: "MercureServerBinding",
22198
+ ibmmq: "IbmmqServerBinding",
22199
+ pulsar: "PulsarServerBinding"
22200
+ },
22201
+ additionalProperties: { type: "object" },
22202
+ description: "Map describing protocol-specific definitions for a server."
22203
+ };
22204
+ var ChannelBindings = {
22205
+ properties: {
22206
+ http: "HttpChannelBinding",
22207
+ ws: "WsChannelBinding",
22208
+ kafka: "KafkaChannelBinding",
22209
+ anypointmq: "AnypointmqChannelBinding",
22210
+ amqp: "AmqpChannelBinding",
22211
+ amqp1: "Amqp1ChannelBinding",
22212
+ mqtt: "MqttChannelBinding",
22213
+ mqtt5: "Mqtt5ChannelBinding",
22214
+ nats: "NatsChannelBinding",
22215
+ jms: "JmsChannelBinding",
22216
+ solace: "SolaceChannelBinding",
22217
+ stomp: "StompChannelBinding",
22218
+ redis: "RedisChannelBinding",
22219
+ mercure: "MercureChannelBinding",
22220
+ sns: "SnsChannelBinding",
22221
+ sqs: "SqsChannelBinding",
22222
+ ibmmq: "IbmmqChannelBinding",
22223
+ googlepubsub: "GooglepubsubChannelBinding",
22224
+ pulsar: "PulsarChannelBinding"
22225
+ },
22226
+ additionalProperties: { type: "object" },
22227
+ description: "Map describing protocol-specific definitions for a channel."
22228
+ };
22229
+ var OperationBindings = {
22230
+ properties: {
22231
+ http: "HttpOperationBinding",
22232
+ ws: "WsOperationBinding",
22233
+ kafka: "KafkaOperationBinding",
22234
+ anypointmq: "AnypointmqOperationBinding",
22235
+ amqp: "AmqpOperationBinding",
22236
+ amqp1: "Amqp1OperationBinding",
22237
+ mqtt: "MqttOperationBinding",
22238
+ mqtt5: "Mqtt5OperationBinding",
22239
+ nats: "NatsOperationBinding",
22240
+ jms: "JmsOperationBinding",
22241
+ solace: "SolaceOperationBinding",
22242
+ stomp: "StompOperationBinding",
22243
+ redis: "RedisOperationBinding",
22244
+ mercure: "MercureOperationBinding",
22245
+ sns: "SnsOperationBinding",
22246
+ sqs: "SqsOperationBinding"
22247
+ },
22248
+ additionalProperties: { type: "object" },
22249
+ description: "Map describing protocol-specific definitions for an operation."
22250
+ };
22251
+ var MessageBindings = {
22252
+ properties: {
22253
+ http: "HttpMessageBinding",
22254
+ ws: "WsMessageBinding",
22255
+ kafka: "KafkaMessageBinding",
22256
+ anypointmq: "AnypointmqMessageBinding",
22257
+ amqp: "AmqpMessageBinding",
22258
+ amqp1: "Amqp1MessageBinding",
22259
+ mqtt: "MqttMessageBinding",
22260
+ mqtt5: "Mqtt5MessageBinding",
22261
+ nats: "NatsMessageBinding",
22262
+ jms: "JmsMessageBinding",
22263
+ solace: "SolaceMessageBinding",
22264
+ stomp: "StompMessageBinding",
22265
+ redis: "RedisMessageBinding",
22266
+ mercure: "MercureMessageBinding",
22267
+ ibmmq: "IbmmqMessageBinding",
22268
+ googlepubsub: "GooglepubsubMessageBinding"
22269
+ },
22270
+ additionalProperties: { type: "object" },
22271
+ description: "Map describing protocol-specific definitions for a message."
22272
+ };
22273
+ var AsyncApiBindings = {
22274
+ HttpServerBinding,
22275
+ HttpChannelBinding,
22276
+ HttpMessageBinding,
22277
+ HttpOperationBinding,
22278
+ WsServerBinding,
22279
+ WsChannelBinding,
22280
+ WsMessageBinding,
22281
+ WsOperationBinding,
22282
+ KafkaServerBinding,
22283
+ KafkaTopicConfiguration,
22284
+ KafkaChannelBinding,
22285
+ KafkaMessageBinding,
22286
+ KafkaOperationBinding,
22287
+ AnypointmqServerBinding,
22288
+ AnypointmqChannelBinding,
22289
+ AnypointmqMessageBinding,
22290
+ AnypointmqOperationBinding,
22291
+ AmqpServerBinding,
22292
+ AmqpChannelExchange,
22293
+ AmqpChannelQueue,
22294
+ AmqpChannelBinding,
22295
+ AmqpMessageBinding,
22296
+ AmqpOperationBinding,
22297
+ Amqp1ServerBinding,
22298
+ Amqp1ChannelBinding,
22299
+ Amqp1MessageBinding,
22300
+ Amqp1OperationBinding,
22301
+ MqttServerBindingLastWill,
22302
+ MqttServerBinding,
22303
+ MqttChannelBinding,
22304
+ MqttMessageBinding,
22305
+ MqttOperationBinding,
22306
+ Mqtt5ServerBinding,
22307
+ Mqtt5ChannelBinding,
22308
+ Mqtt5MessageBinding,
22309
+ Mqtt5OperationBinding,
22310
+ NatsServerBinding,
22311
+ NatsChannelBinding,
22312
+ NatsMessageBinding,
22313
+ NatsOperationBinding,
22314
+ JmsServerBindingProperty,
22315
+ JmsServerBinding,
22316
+ JmsChannelBinding,
22317
+ JmsMessageBinding,
22318
+ JmsOperationBinding,
22319
+ SolaceServerBinding,
22320
+ SolaceChannelBinding,
22321
+ SolaceMessageBinding,
22322
+ SolaceDestination,
22323
+ SolaceOperationBinding,
22324
+ StompServerBinding,
22325
+ StompChannelBinding,
22326
+ StompMessageBinding,
22327
+ StompOperationBinding,
22328
+ RedisServerBinding,
22329
+ RedisChannelBinding,
22330
+ RedisMessageBinding,
22331
+ RedisOperationBinding,
22332
+ MercureServerBinding,
22333
+ MercureChannelBinding,
22334
+ MercureMessageBinding,
22335
+ MercureOperationBinding,
22336
+ SnsIdentifier,
22337
+ SnsOrdering,
22338
+ SnsStatement,
22339
+ SnsPolicy,
22340
+ SnsChannelBinding,
22341
+ SnsRedrivePolicy,
22342
+ SnsDeliveryPolicy,
22343
+ SnsConsumer,
22344
+ SnsOperationBinding,
22345
+ SqsIdentifier,
22346
+ SqsRedrivePolicy,
22347
+ SqsStatement,
22348
+ SqsPolicy,
22349
+ SqsQueue,
22350
+ SqsOperationQueue,
22351
+ SqsChannelBinding,
22352
+ SqsOperationBinding,
22353
+ IbmmqServerBinding,
22354
+ IbmmqChannelQueue,
22355
+ IbmmqChannelTopic,
22356
+ IbmmqChannelBinding,
22357
+ IbmmqMessageBinding,
22358
+ GooglepubsubMessageStoragePolicy,
22359
+ GooglepubsubSchemaSettings,
22360
+ GooglepubsubChannelBinding,
22361
+ GooglepubsubSchema,
22362
+ GooglepubsubMessageBinding,
22363
+ PulsarServerBinding,
22364
+ PulsarRetention,
22365
+ PulsarChannelBinding,
22366
+ ServerBindings,
22367
+ ChannelBindings,
22368
+ MessageBindings,
22369
+ OperationBindings
22370
+ };
22371
+ var Ros2Bindings = {
22372
+ Ros2ServerBinding,
22373
+ Ros2ChannelBinding,
22374
+ Ros2OperationBinding,
22375
+ Ros2QosPolicies,
22376
+ Ros2MessageBinding
22377
+ };
22378
+
21394
22379
  // ../core/lib/types/json-schema-draft7.shared.js
21395
22380
  var Schema5 = {
21396
22381
  properties: {
@@ -21529,34 +22514,6 @@ var ChannelMap = {
21529
22514
  properties: {},
21530
22515
  additionalProperties: "Channel"
21531
22516
  };
21532
- var ChannelBindings = {
21533
- properties: {},
21534
- allowed() {
21535
- return [
21536
- "http",
21537
- "ws",
21538
- "kafka",
21539
- "anypointmq",
21540
- "amqp",
21541
- "amqp1",
21542
- "mqtt",
21543
- "mqtt5",
21544
- "nats",
21545
- "jms",
21546
- "sns",
21547
- "solace",
21548
- "sqs",
21549
- "stomp",
21550
- "redis",
21551
- "mercure",
21552
- "ibmmq",
21553
- "googlepubsub",
21554
- "pulsar"
21555
- ];
21556
- },
21557
- additionalProperties: { type: "object" },
21558
- description: "Map describing protocol-specific definitions for a channel."
21559
- };
21560
22517
  var Tag4 = {
21561
22518
  properties: {
21562
22519
  name: { type: "string", description: "REQUIRED. The name of the tag." },
@@ -21588,34 +22545,6 @@ var SecurityRequirement3 = {
21588
22545
  additionalProperties: { type: "array", items: { type: "string" } },
21589
22546
  description: "Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object."
21590
22547
  };
21591
- var ServerBindings = {
21592
- properties: {},
21593
- allowed() {
21594
- return [
21595
- "http",
21596
- "ws",
21597
- "kafka",
21598
- "anypointmq",
21599
- "amqp",
21600
- "amqp1",
21601
- "mqtt",
21602
- "mqtt5",
21603
- "nats",
21604
- "jms",
21605
- "sns",
21606
- "solace",
21607
- "sqs",
21608
- "stomp",
21609
- "redis",
21610
- "mercure",
21611
- "ibmmq",
21612
- "googlepubsub",
21613
- "pulsar"
21614
- ];
21615
- },
21616
- additionalProperties: { type: "object" },
21617
- description: "Map describing protocol-specific definitions for a server."
21618
- };
21619
22548
  var Server3 = {
21620
22549
  properties: {
21621
22550
  url: {
@@ -21800,62 +22729,6 @@ var Message = {
21800
22729
  additionalProperties: {},
21801
22730
  description: "Describes a message received on a given channel and operation."
21802
22731
  };
21803
- var MessageBindings = {
21804
- properties: {},
21805
- allowed() {
21806
- return [
21807
- "http",
21808
- "ws",
21809
- "kafka",
21810
- "anypointmq",
21811
- "amqp",
21812
- "amqp1",
21813
- "mqtt",
21814
- "mqtt5",
21815
- "nats",
21816
- "jms",
21817
- "sns",
21818
- "solace",
21819
- "sqs",
21820
- "stomp",
21821
- "redis",
21822
- "mercure",
21823
- "ibmmq",
21824
- "googlepubsub",
21825
- "pulsar"
21826
- ];
21827
- },
21828
- additionalProperties: { type: "object" },
21829
- description: "Map describing protocol-specific definitions for a message."
21830
- };
21831
- var OperationBindings = {
21832
- properties: {},
21833
- allowed() {
21834
- return [
21835
- "http",
21836
- "ws",
21837
- "kafka",
21838
- "anypointmq",
21839
- "amqp",
21840
- "amqp1",
21841
- "mqtt",
21842
- "mqtt5",
21843
- "nats",
21844
- "jms",
21845
- "sns",
21846
- "solace",
21847
- "sqs",
21848
- "stomp",
21849
- "redis",
21850
- "mercure",
21851
- "ibmmq",
21852
- "googlepubsub",
21853
- "pulsar"
21854
- ];
21855
- },
21856
- additionalProperties: { type: "object" },
21857
- description: "Map describing protocol-specific definitions for an operation."
21858
- };
21859
22732
  var OperationTrait = {
21860
22733
  properties: {
21861
22734
  tags: "TagList",
@@ -22111,511 +22984,8 @@ var SecurityScheme5 = {
22111
22984
  extensionsPrefix: "x-",
22112
22985
  description: "Defines a security scheme that can be used by the operations."
22113
22986
  };
22114
- var HttpChannelBinding = {
22115
- properties: {},
22116
- // empty object
22117
- description: "Protocol-specific information for an HTTP channel."
22118
- };
22119
- ChannelBindings.properties.http = HttpChannelBinding;
22120
- var HttpServerBinding = {
22121
- properties: {},
22122
- // empty object
22123
- description: "Protocol-specific information for an HTTP server."
22124
- };
22125
- ServerBindings.properties.http = HttpServerBinding;
22126
- var HttpMessageBinding = {
22127
- properties: {
22128
- headers: "Schema",
22129
- bindingVersion: { type: "string" }
22130
- },
22131
- description: "Protocol-specific information for an HTTP message, i.e., a request or a response."
22132
- };
22133
- MessageBindings.properties.http = HttpMessageBinding;
22134
- var HttpOperationBinding = {
22135
- properties: {
22136
- type: { type: "string" },
22137
- method: {
22138
- type: "string",
22139
- enum: ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS", "CONNECT", "TRACE"]
22140
- },
22141
- headers: "Schema",
22142
- bindingVersion: { type: "string" }
22143
- },
22144
- description: "Protocol-specific information for an HTTP operation."
22145
- };
22146
- OperationBindings.properties.http = HttpOperationBinding;
22147
- var WsChannelBinding = {
22148
- properties: {
22149
- method: { type: "string" },
22150
- query: "Schema",
22151
- headers: "Schema",
22152
- bindingVersion: { type: "string" }
22153
- },
22154
- description: "Protocol-specific information for a WebSockets channel."
22155
- };
22156
- ChannelBindings.properties.ws = WsChannelBinding;
22157
- var WsServerBinding = {
22158
- properties: {},
22159
- // empty object
22160
- description: "Protocol-specific information for a WebSockets server."
22161
- };
22162
- ServerBindings.properties.ws = WsServerBinding;
22163
- var WsMessageBinding = {
22164
- properties: {},
22165
- // empty object
22166
- description: "Protocol-specific information for a WebSockets message."
22167
- };
22168
- MessageBindings.properties.ws = WsMessageBinding;
22169
- var WsOperationBinding = {
22170
- properties: {},
22171
- // empty object
22172
- description: "Protocol-specific information for a WebSockets operation."
22173
- };
22174
- OperationBindings.properties.ws = WsOperationBinding;
22175
- var KafkaTopicConfiguration = {
22176
- properties: {
22177
- "cleanup.policy": { type: "array", items: { enum: ["delete", "compact"] } },
22178
- "retention.ms": { type: "integer" },
22179
- "retention.bytes": { type: "integer" },
22180
- "delete.retention.ms": { type: "integer" },
22181
- "max.message.bytes": { type: "integer" }
22182
- }
22183
- };
22184
- var KafkaChannelBinding = {
22185
- properties: {
22186
- topic: { type: "string" },
22187
- partitions: { type: "integer" },
22188
- replicas: { type: "integer" },
22189
- topicConfiguration: "KafkaTopicConfiguration",
22190
- bindingVersion: { type: "string" }
22191
- },
22192
- description: "Protocol-specific information for a Kafka channel."
22193
- };
22194
- ChannelBindings.properties.kafka = KafkaChannelBinding;
22195
- var KafkaServerBinding = {
22196
- properties: {},
22197
- // empty object
22198
- description: "Protocol-specific information for a Kafka server."
22199
- };
22200
- ServerBindings.properties.kafka = KafkaServerBinding;
22201
- var KafkaMessageBinding = {
22202
- properties: {
22203
- key: "Schema",
22204
- // TODO: add avro support
22205
- schemaIdLocation: { type: "string" },
22206
- schemaIdPayloadEncoding: { type: "string" },
22207
- schemaLookupStrategy: { type: "string" },
22208
- bindingVersion: { type: "string" }
22209
- },
22210
- description: "Protocol-specific information for a Kafka message."
22211
- };
22212
- MessageBindings.properties.kafka = KafkaMessageBinding;
22213
- var KafkaOperationBinding = {
22214
- properties: {
22215
- groupId: "Schema",
22216
- clientId: "Schema",
22217
- bindingVersion: { type: "string" }
22218
- },
22219
- description: "Protocol-specific information for a Kafka operation."
22220
- };
22221
- OperationBindings.properties.kafka = KafkaOperationBinding;
22222
- var AnypointmqChannelBinding = {
22223
- properties: {
22224
- destination: { type: "string" },
22225
- destinationType: { type: "string" },
22226
- bindingVersion: { type: "string" }
22227
- },
22228
- description: "Protocol-specific information for an Anypoint MQ channel."
22229
- };
22230
- ChannelBindings.properties.anypointmq = AnypointmqChannelBinding;
22231
- var AnypointmqServerBinding = {
22232
- properties: {},
22233
- // empty object
22234
- description: "Protocol-specific information for an Anypoint MQ server."
22235
- };
22236
- ServerBindings.properties.anypointmq = AnypointmqServerBinding;
22237
- var AnypointmqMessageBinding = {
22238
- properties: {
22239
- headers: "Schema",
22240
- bindingVersion: { type: "string" }
22241
- },
22242
- description: "Protocol-specific information for an Anypoint MQ message."
22243
- };
22244
- MessageBindings.properties.anypointmq = AnypointmqMessageBinding;
22245
- var AnypointmqOperationBinding = {
22246
- properties: {},
22247
- // empty object
22248
- description: "Protocol-specific information for an Anypoint MQ operation."
22249
- };
22250
- OperationBindings.properties.anypointmq = AnypointmqOperationBinding;
22251
- var AmqpChannelBinding = {
22252
- properties: {},
22253
- // empty object
22254
- description: "Protocol-specific information for an AMQP 0-9-1 channel."
22255
- };
22256
- ChannelBindings.properties.amqp = AmqpChannelBinding;
22257
- var AmqpServerBinding = {
22258
- properties: {},
22259
- // empty object
22260
- description: "Protocol-specific information for an AMQP 0-9-1 server."
22261
- };
22262
- ServerBindings.properties.amqp = AmqpServerBinding;
22263
- var AmqpMessageBinding = {
22264
- properties: {
22265
- contentEncoding: { type: "string" },
22266
- messageType: { type: "string" },
22267
- bindingVersion: { type: "string" }
22268
- },
22269
- description: "Protocol-specific information for an AMQP 0-9-1 message."
22270
- };
22271
- MessageBindings.properties.amqp = AmqpMessageBinding;
22272
- var AmqpOperationBinding = {
22273
- // TODO: some fields are subscribe only
22274
- properties: {
22275
- expiration: { type: "integer" },
22276
- userId: { type: "string" },
22277
- cc: { type: "array", items: { type: "string" } },
22278
- priority: { type: "integer" },
22279
- deliveryMode: { type: "integer" },
22280
- // TODO: enum: [1, 2]
22281
- mandatory: { type: "boolean" },
22282
- bcc: { type: "array", items: { type: "string" } },
22283
- replyTo: { type: "string" },
22284
- timestamp: { type: "boolean" },
22285
- ack: { type: "boolean" },
22286
- bindingVersion: { type: "string" }
22287
- },
22288
- description: "Protocol-specific information for an AMQP 0-9-1 operation."
22289
- };
22290
- OperationBindings.properties.amqp = AmqpOperationBinding;
22291
- var Amqp1ChannelBinding = {
22292
- properties: {},
22293
- // empty object
22294
- description: "Protocol-specific information for an AMQP 1.0 channel."
22295
- };
22296
- ChannelBindings.properties.amqp1 = Amqp1ChannelBinding;
22297
- var Amqp1ServerBinding = {
22298
- properties: {},
22299
- // empty object
22300
- description: "Protocol-specific information for an AMQP 1.0 server."
22301
- };
22302
- ServerBindings.properties.amqp1 = Amqp1ServerBinding;
22303
- var Amqp1MessageBinding = {
22304
- properties: {},
22305
- // empty object
22306
- description: "Binding Protocol-specific information for an AMQP 1.0 message."
22307
- };
22308
- MessageBindings.properties.amqp1 = Amqp1MessageBinding;
22309
- var Amqp1OperationBinding = {
22310
- properties: {},
22311
- // empty object,
22312
- description: "Protocol-specific information for an AMQP 1.0 operation."
22313
- };
22314
- OperationBindings.properties.amqp1 = Amqp1OperationBinding;
22315
- var MqttChannelBinding = {
22316
- properties: {
22317
- qos: { type: "integer" },
22318
- retain: { type: "boolean" },
22319
- bindingVersion: { type: "string" }
22320
- },
22321
- description: "Protocol-specific information for an MQTT channel."
22322
- };
22323
- ChannelBindings.properties.mqtt = MqttChannelBinding;
22324
- var MqttServerBindingLastWill = {
22325
- properties: {
22326
- topic: { type: "string" },
22327
- qos: { type: "integer" },
22328
- message: { type: "string" },
22329
- retain: { type: "boolean" }
22330
- }
22331
- };
22332
- var MqttServerBinding = {
22333
- properties: {
22334
- clientId: { type: "string" },
22335
- cleanSession: { type: "boolean" },
22336
- lastWill: "MqttServerBindingLastWill",
22337
- keepAlive: { type: "integer" },
22338
- bindingVersion: { type: "string" }
22339
- },
22340
- description: "Protocol-specific information for an MQTT server."
22341
- };
22342
- ServerBindings.properties.mqtt = MqttServerBinding;
22343
- var MqttMessageBinding = {
22344
- properties: {
22345
- bindingVersion: { type: "string" }
22346
- },
22347
- description: "Protocol-specific information for an MQTT message."
22348
- };
22349
- MessageBindings.properties.mqtt = MqttMessageBinding;
22350
- var MqttOperationBinding = {
22351
- properties: {
22352
- qos: { type: "integer" },
22353
- retain: { type: "boolean" },
22354
- bindingVersion: { type: "string" }
22355
- },
22356
- description: "Protocol-specific information for an MQTT operation."
22357
- };
22358
- OperationBindings.properties.mqtt = MqttOperationBinding;
22359
- var Mqtt5ChannelBinding = {
22360
- properties: {},
22361
- // empty object
22362
- description: "Protocol-specific information for an MQTT 5 channel."
22363
- };
22364
- ChannelBindings.properties.mqtt5 = Mqtt5ChannelBinding;
22365
- var Mqtt5ServerBinding = {
22366
- properties: {},
22367
- // empty object
22368
- description: "Protocol-specific information for an MQTT 5 server."
22369
- };
22370
- ServerBindings.properties.mqtt5 = Mqtt5ServerBinding;
22371
- var Mqtt5MessageBinding = {
22372
- properties: {},
22373
- // empty object
22374
- description: "Protocol-specific information for an MQTT 5 message."
22375
- };
22376
- MessageBindings.properties.mqtt5 = Mqtt5MessageBinding;
22377
- var Mqtt5OperationBinding = {
22378
- properties: {},
22379
- // empty object
22380
- description: "Protocol-specific information for an MQTT 5 operation."
22381
- };
22382
- OperationBindings.properties.mqtt5 = Mqtt5OperationBinding;
22383
- var NatsChannelBinding = {
22384
- properties: {},
22385
- // empty object
22386
- description: "Protocol-specific information for a NATS channel."
22387
- };
22388
- ChannelBindings.properties.nats = NatsChannelBinding;
22389
- var NatsServerBinding = {
22390
- properties: {},
22391
- // empty object
22392
- description: "Protocol-specific information for a NATS server."
22393
- };
22394
- ServerBindings.properties.nats = NatsServerBinding;
22395
- var NatsMessageBinding = {
22396
- properties: {},
22397
- // empty object
22398
- description: "Protocol-specific information for a NATS message."
22399
- };
22400
- MessageBindings.properties.nats = NatsMessageBinding;
22401
- var NatsOperationBinding = {
22402
- properties: {
22403
- queue: { type: "string" },
22404
- bindingVersion: { type: "string" }
22405
- },
22406
- description: "Protocol-specific information for a NATS operation."
22407
- };
22408
- OperationBindings.properties.nats = NatsOperationBinding;
22409
- var JmsChannelBinding = {
22410
- properties: {
22411
- destination: { type: "string" },
22412
- destinationType: { type: "string" },
22413
- bindingVersion: { type: "string" }
22414
- },
22415
- description: "Protocol-specific information for a JMS channel."
22416
- };
22417
- ChannelBindings.properties.jms = JmsChannelBinding;
22418
- var JmsServerBinding = {
22419
- properties: {},
22420
- // empty object
22421
- description: "Protocol-specific information for a JMS server."
22422
- };
22423
- ServerBindings.properties.jms = JmsServerBinding;
22424
- var JmsMessageBinding = {
22425
- properties: {
22426
- headers: "Schema",
22427
- bindingVersion: { type: "string" }
22428
- },
22429
- description: "Protocol-specific information for a JMS message."
22430
- };
22431
- MessageBindings.properties.jms = JmsMessageBinding;
22432
- var JmsOperationBinding = {
22433
- properties: {
22434
- headers: "Schema",
22435
- bindingVersion: { type: "string" }
22436
- },
22437
- description: "Protocol-specific information for a JMS operation."
22438
- };
22439
- OperationBindings.properties.jms = JmsOperationBinding;
22440
- var SolaceChannelBinding = {
22441
- properties: {},
22442
- // empty object
22443
- description: "Protocol-specific information for a Solace channel."
22444
- };
22445
- ChannelBindings.properties.solace = SolaceChannelBinding;
22446
- var SolaceServerBinding = {
22447
- properties: {
22448
- bindingVersion: { type: "string" },
22449
- msgVpn: { type: "string" }
22450
- },
22451
- description: "Protocol-specific information for a Solace message."
22452
- };
22453
- ServerBindings.properties.solace = SolaceServerBinding;
22454
- var SolaceMessageBinding = {
22455
- properties: {},
22456
- // empty object
22457
- description: "Protocol-specific information for a Solace message."
22458
- };
22459
- MessageBindings.properties.solace = SolaceMessageBinding;
22460
- var SolaceDestination = {
22461
- properties: {
22462
- destinationType: { type: "string", enum: ["queue", "topic"] },
22463
- deliveryMode: { type: "string", enum: ["direct", "persistent"] },
22464
- "queue.name": { type: "string" },
22465
- "queue.topicSubscriptions": { type: "array", items: { type: "string" } },
22466
- "queue.accessType": { type: "string", enum: ["exclusive", "nonexclusive"] },
22467
- "queue.maxMsgSpoolSize": { type: "string" },
22468
- "queue.maxTtl": { type: "string" },
22469
- "topic.topicSubscriptions": { type: "array", items: { type: "string" } }
22470
- }
22471
- };
22472
- var SolaceOperationBinding = {
22473
- properties: {
22474
- bindingVersion: { type: "string" },
22475
- destinations: listOf("SolaceDestination")
22476
- },
22477
- description: "Protocol-specific information for a Solace operation."
22478
- };
22479
- OperationBindings.properties.solace = SolaceOperationBinding;
22480
- var StompChannelBinding = {
22481
- properties: {},
22482
- // empty object
22483
- description: "Protocol-specific information for a STOMP channel."
22484
- };
22485
- ChannelBindings.properties.stomp = StompChannelBinding;
22486
- var StompServerBinding = {
22487
- properties: {},
22488
- // empty object
22489
- description: "Protocol-specific information for a STOMP server."
22490
- };
22491
- ServerBindings.properties.stomp = StompServerBinding;
22492
- var StompMessageBinding = {
22493
- properties: {},
22494
- // empty object
22495
- description: "Protocol-specific information for a STOMP message."
22496
- };
22497
- MessageBindings.properties.stomp = StompMessageBinding;
22498
- var StompOperationBinding = {
22499
- properties: {},
22500
- // empty object
22501
- description: "Protocol-specific information for a STOMP operation."
22502
- };
22503
- OperationBindings.properties.stomp = StompOperationBinding;
22504
- var RedisChannelBinding = {
22505
- properties: {},
22506
- // empty object
22507
- description: "Protocol-specific information for a Redis channel."
22508
- };
22509
- ChannelBindings.properties.redis = RedisChannelBinding;
22510
- var RedisServerBinding = {
22511
- properties: {},
22512
- // empty object
22513
- description: "Protocol-specific information for a Redis server."
22514
- };
22515
- ServerBindings.properties.redis = RedisServerBinding;
22516
- var RedisMessageBinding = {
22517
- properties: {},
22518
- // empty object
22519
- description: "Protocol-specific information for a Redis message."
22520
- };
22521
- MessageBindings.properties.redis = RedisMessageBinding;
22522
- var RedisOperationBinding = {
22523
- properties: {},
22524
- // empty object
22525
- description: "Protocol-specific information for a Redis operation."
22526
- };
22527
- OperationBindings.properties.redis = RedisOperationBinding;
22528
- var MercureChannelBinding = {
22529
- properties: {},
22530
- // empty object
22531
- description: "Protocol-specific information for a Mercure channel."
22532
- };
22533
- ChannelBindings.properties.mercure = MercureChannelBinding;
22534
- var MercureServerBinding = {
22535
- properties: {},
22536
- // empty object
22537
- description: "Protocol-specific information for a Mercure server."
22538
- };
22539
- ServerBindings.properties.mercure = MercureServerBinding;
22540
- var MercureMessageBinding = {
22541
- properties: {},
22542
- // empty object
22543
- description: "Protocol-specific information for a Mercure message."
22544
- };
22545
- MessageBindings.properties.mercure = MercureMessageBinding;
22546
- var MercureOperationBinding = {
22547
- properties: {},
22548
- // empty object
22549
- description: "Protocol-specific information for a Mercure operation."
22550
- };
22551
- OperationBindings.properties.mercure = MercureOperationBinding;
22552
- var AsyncApi2Bindings = {
22553
- HttpServerBinding,
22554
- HttpChannelBinding,
22555
- HttpMessageBinding,
22556
- HttpOperationBinding,
22557
- WsServerBinding,
22558
- WsChannelBinding,
22559
- WsMessageBinding,
22560
- WsOperationBinding,
22561
- KafkaServerBinding,
22562
- KafkaTopicConfiguration,
22563
- KafkaChannelBinding,
22564
- KafkaMessageBinding,
22565
- KafkaOperationBinding,
22566
- AnypointmqServerBinding,
22567
- AnypointmqChannelBinding,
22568
- AnypointmqMessageBinding,
22569
- AnypointmqOperationBinding,
22570
- AmqpServerBinding,
22571
- AmqpChannelBinding,
22572
- AmqpMessageBinding,
22573
- AmqpOperationBinding,
22574
- Amqp1ServerBinding,
22575
- Amqp1ChannelBinding,
22576
- Amqp1MessageBinding,
22577
- Amqp1OperationBinding,
22578
- MqttServerBindingLastWill,
22579
- MqttServerBinding,
22580
- MqttChannelBinding,
22581
- MqttMessageBinding,
22582
- MqttOperationBinding,
22583
- Mqtt5ServerBinding,
22584
- Mqtt5ChannelBinding,
22585
- Mqtt5MessageBinding,
22586
- Mqtt5OperationBinding,
22587
- NatsServerBinding,
22588
- NatsChannelBinding,
22589
- NatsMessageBinding,
22590
- NatsOperationBinding,
22591
- JmsServerBinding,
22592
- JmsChannelBinding,
22593
- JmsMessageBinding,
22594
- JmsOperationBinding,
22595
- SolaceServerBinding,
22596
- SolaceChannelBinding,
22597
- SolaceMessageBinding,
22598
- SolaceDestination,
22599
- SolaceOperationBinding,
22600
- StompServerBinding,
22601
- StompChannelBinding,
22602
- StompMessageBinding,
22603
- StompOperationBinding,
22604
- RedisServerBinding,
22605
- RedisChannelBinding,
22606
- RedisMessageBinding,
22607
- RedisOperationBinding,
22608
- MercureServerBinding,
22609
- MercureChannelBinding,
22610
- MercureMessageBinding,
22611
- MercureOperationBinding,
22612
- ServerBindings,
22613
- ChannelBindings,
22614
- MessageBindings,
22615
- OperationBindings
22616
- };
22617
22987
  var AsyncApi2Types = {
22618
- ...AsyncApi2Bindings,
22988
+ ...AsyncApiBindings,
22619
22989
  Root: Root5,
22620
22990
  Tag: Tag4,
22621
22991
  TagList: listOf("Tag"),
@@ -22654,8 +23024,6 @@ var AsyncApi2Types = {
22654
23024
  SecuritySchemeFlows,
22655
23025
  SecurityScheme: SecurityScheme5,
22656
23026
  Message,
22657
- MessageBindings,
22658
- OperationBindings,
22659
23027
  OperationTrait,
22660
23028
  OperationTraitList: listOf("OperationTrait"),
22661
23029
  MessageTrait,
@@ -22670,7 +23038,6 @@ var Root6 = {
22670
23038
  properties: {
22671
23039
  asyncapi: {
22672
23040
  type: "string",
22673
- enum: ["3.0.0"],
22674
23041
  description: "REQUIRED. Specifies the AsyncAPI Specification version being used. It can be used by tooling Specifications and clients to interpret the version. The structure shall be major.minor.patch, where patch versions must be compatible with the existing major.minor tooling. Typically patch versions will be introduced to address errors in the documentation, and tooling should typically be compatible with the corresponding major.minor (1.0.*). Patch versions will correspond to patches of this document."
22675
23042
  },
22676
23043
  info: "Info",
@@ -23113,9 +23480,41 @@ var SecurityScheme6 = {
23113
23480
  extensionsPrefix: "x-",
23114
23481
  description: "Defines a security scheme that can be used by the operations."
23115
23482
  };
23483
+ var ServerBindings2 = {
23484
+ ...AsyncApiBindings.ServerBindings,
23485
+ properties: {
23486
+ ...AsyncApiBindings.ServerBindings.properties,
23487
+ ros2: "Ros2ServerBinding"
23488
+ }
23489
+ };
23490
+ var ChannelBindings2 = {
23491
+ ...AsyncApiBindings.ChannelBindings,
23492
+ properties: {
23493
+ ...AsyncApiBindings.ChannelBindings.properties,
23494
+ ros2: "Ros2ChannelBinding"
23495
+ }
23496
+ };
23497
+ var OperationBindings2 = {
23498
+ ...AsyncApiBindings.OperationBindings,
23499
+ properties: {
23500
+ ...AsyncApiBindings.OperationBindings.properties,
23501
+ ros2: "Ros2OperationBinding"
23502
+ }
23503
+ };
23504
+ var MessageBindings2 = {
23505
+ ...AsyncApiBindings.MessageBindings,
23506
+ properties: {
23507
+ ...AsyncApiBindings.MessageBindings.properties,
23508
+ ros2: "Ros2MessageBinding"
23509
+ }
23510
+ };
23116
23511
  var AsyncApi3Types = {
23117
- // from asyncapi2
23118
- ...AsyncApi2Bindings,
23512
+ ...AsyncApiBindings,
23513
+ ...Ros2Bindings,
23514
+ ServerBindings: ServerBindings2,
23515
+ ChannelBindings: ChannelBindings2,
23516
+ OperationBindings: OperationBindings2,
23517
+ MessageBindings: MessageBindings2,
23119
23518
  CorrelationId,
23120
23519
  SecuritySchemeFlows,
23121
23520
  ServerVariable: ServerVariable2,
@@ -24287,236 +24686,230 @@ var OpenRpcTypes = {
24287
24686
  };
24288
24687
 
24289
24688
  // ../../node_modules/@redocly/config/lib-esm/index.js
24290
- var Pe = { hide: { type: "boolean", default: false }, component: { type: "string", enum: ["radio", "checkbox"], default: "checkbox" }, label: { type: "string" }, items: { type: "array", items: { type: "string" } } };
24291
- var R = { type: "object", properties: Pe, additionalProperties: false };
24292
- var Ke = { type: "object", properties: { hide: { type: "boolean", default: false }, label: { type: "string" }, placeholder: { type: "string" } }, additionalProperties: false };
24293
- var c = { type: "object", properties: { hide: { type: "boolean", default: false }, type: { type: "string", enum: ["rating", "sentiment", "comment", "reasons", "mood", "scale"], default: "sentiment" }, settings: { type: "object", properties: { label: { type: "string" }, submitText: { type: "string" }, buttonText: { type: "string" }, component: { type: "string", enum: ["radio", "checkbox"], default: "checkbox" }, items: { type: "array", items: { type: "string" }, minItems: 1 }, leftScaleLabel: { type: "string" }, rightScaleLabel: { type: "string" }, reasons: { type: "object", properties: { ...Pe, like: R, dislike: R, satisfied: R, neutral: R, dissatisfied: R }, additionalProperties: false }, comment: { type: "object", properties: { hide: { type: "boolean", default: false }, label: { type: "string" }, likeLabel: { type: "string" }, dislikeLabel: { type: "string" }, satisfiedLabel: { type: "string" }, neutralLabel: { type: "string" }, dissatisfiedLabel: { type: "string" } }, additionalProperties: false }, optionalEmail: Ke }, additionalProperties: false } }, additionalProperties: false };
24294
- var He = { type: "object", properties: { languages: { type: "array", items: { type: "object", properties: { lang: { type: "string", examples: ["curl", "JavaScript", "Node.js", "Python", "Java8+Apache", "Java", "C#", "C#+Newtonsoft", "PHP", "Go", "Ruby", "R", "Payload"] }, label: { type: "string" }, options: { type: "object", properties: { indent: { type: "string" }, withImports: { type: "boolean" }, withComments: { type: "boolean" }, binary: { type: "boolean" }, credentials: { type: "string", enum: ["omit", "same-origin", "include"] } }, additionalProperties: false } }, required: ["lang"], additionalProperties: false } }, skipOptionalParameters: { type: "boolean" }, withOAuth2Call: { type: "boolean" } }, additionalProperties: false };
24295
- var k = { type: "array", items: { type: "object", properties: { title: { type: "string" }, url: { type: "string" } }, required: ["url"], additionalProperties: false } };
24296
- var S = { type: "object", properties: { licenseKey: { type: "string" }, hideLoading: { type: "boolean" }, disableRouter: { type: "boolean" }, hideSidebar: { type: "boolean" }, feedback: c, hideReplay: { type: "boolean" }, oAuth2RedirectURI: { type: "string", nullable: true }, corsProxyUrl: { type: "string" }, sortRequiredPropsFirst: { type: "boolean" }, sanitize: { type: "boolean" }, hideDownloadButtons: { type: "boolean" }, downloadUrls: k, onlyRequiredInSamples: { type: "boolean" }, generatedSamplesMaxDepth: { oneOf: [{ type: "number" }, { type: "string" }] }, showExtensions: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "array", items: { type: "string" } }] }, hideSchemaTitles: { type: "boolean" }, jsonSamplesExpandLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, schemasExpansionLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, mockServer: { type: "object", properties: { url: { type: "string" }, position: { type: "string", enum: ["first", "last", "replace", "off"] }, description: { type: "string" } } }, maxDisplayedEnumValues: { type: "number" }, schemaDefinitionsTagName: { type: "string" }, layout: { type: "string", enum: ["stacked", "three-panel"] }, hideInfoMetadata: { type: "boolean" }, events: { type: "object" }, skipBundle: { type: "boolean" }, routingBasePath: { type: "string" }, codeSamples: He, ignoreNamedSchemas: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, hidePropertiesPrefix: { type: "boolean" }, excludeFromSearch: { type: "boolean" }, showSchemaCatalogLinks: { type: "boolean" } }, additionalProperties: false };
24297
- var C = { type: "object", properties: { includeByName: { type: "array", items: { type: "string" } }, excludeByName: { type: "array", items: { type: "string" } } }, additionalProperties: false };
24298
- var We = { type: "object", properties: { name: { type: "string" }, items: C, queries: C, mutations: C, subscriptions: C, types: C, directives: C }, required: ["name"], additionalProperties: false };
24299
- var $e = { type: "object", properties: { requireExactGroups: { type: "boolean" }, groups: { type: "array", items: We }, otherItemsGroupName: { type: "string" } }, required: ["requireExactGroups", "groups", "otherItemsGroupName"], additionalProperties: false };
24300
- var Xe = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, email: { type: "string", format: "email" } }, additionalProperties: false };
24301
- var Je = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, identifier: { type: "string" } }, additionalProperties: false };
24302
- var Qe = { type: "object", properties: { title: { type: "string" }, version: { type: "string" }, description: { type: "string" }, termsOfService: { type: "string", format: "uri" }, contact: Xe, license: Je }, additionalProperties: false };
24303
- var P = { type: "object", properties: { menu: { type: "object", properties: { ...$e.properties }, additionalProperties: false }, sidebar: { type: "object", properties: { hide: { type: "boolean" } } }, downloadUrls: k, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, licenseKey: { type: "string" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: true }, feedback: c, layout: { type: "string", enum: ["stacked", "three-panel"] }, showBuiltInScalars: { type: "boolean" }, showBuiltInDirectives: { type: "boolean" }, info: Qe }, additionalProperties: false };
24304
- var xe = { type: "object", properties: { downloadUrls: k, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: true }, feedback: c, layout: { type: "string", enum: ["stacked", "three-panel"] } }, additionalProperties: false };
24305
- var Ze = { type: "object", properties: { label: { type: "string" }, lang: { enum: ["curl", "C#", "Go", "Java", "Java8+Apache", "JavaScript", "Node.js", "PHP", "Python", "R", "Ruby"] } }, required: ["lang"] };
24306
- var et = { type: "object", properties: { enum: { type: "string" }, enumSingleValue: { type: "string" }, enumArray: { type: "string" }, default: { type: "string" }, deprecated: { type: "string" }, example: { type: "string" }, examples: { type: "string" }, nullable: { type: "string" }, recursive: { type: "string" }, arrayOf: { type: "string" }, webhook: { type: "string" }, authorizations: { type: "string" }, tryItAuthBasicUsername: { type: "string" }, tryItAuthBasicPassword: { type: "string" } } };
24307
- var je = { type: "object", properties: { label: { type: "string" }, link: { type: "string" }, target: { type: "string" } }, required: ["label", "link"] };
24308
- var tt = { type: "object", properties: { beforeInfo: { type: "array", items: je }, end: { type: "array", items: je } } };
24309
- var u = { type: "object", properties: { main: { type: "string" }, light: { type: "string" }, dark: { type: "string" }, contrastText: { type: "string" } } };
24310
- var A = { type: "object", properties: { backgroundColor: { type: "string" }, borderColor: { type: "string" }, color: { type: "string" }, tabTextColor: { type: "string" } } };
24311
- var rt = { type: "object", properties: O(u.properties, ["light", "dark"]) };
24312
- var ot = { type: "object", properties: { basic: { type: "string" }, delete: { type: "string" }, get: { type: "string" }, head: { type: "string" }, link: { type: "string" }, options: { type: "string" }, patch: { type: "string" }, post: { type: "string" }, put: { type: "string" } } };
24313
- var st = { type: "object", properties: { error: A, info: A, redirect: A, success: A } };
24314
- var it = { type: "object", properties: x(u.properties, ["dark"]) };
24315
- var at = { type: "object", properties: { primary: { type: "string" }, secondary: { type: "string" }, light: { type: "string" } } };
24316
- var nt = { type: "object", properties: { accent: u, border: rt, error: u, http: ot, primary: u, responses: st, secondary: it, success: u, text: at, tonalOffset: { type: "number" }, warning: u } };
24317
- var L = { type: "object", properties: { fontSize: { type: "string" }, padding: { type: "string" }, minWidth: { type: "string" } } };
24318
- var pt = { type: "object", properties: { small: L, medium: L, large: L, xlarge: L } };
24319
- var l = { type: "object", properties: { fontFamily: { type: "string" }, fontSize: { type: "string" }, fontWeight: { type: "string" }, lineHeight: { type: "string" } } };
24320
- var ct = { type: "object", properties: { ...x(l.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, hoverStyle: { type: "string" }, boxShadow: { type: "string" }, hoverBoxShadow: { type: "string" }, sizes: pt } };
24321
- var Te = { type: "object", properties: O(l.properties, ["fontSize", "lineHeight"]) };
24322
- var lt = { type: "object", properties: { medium: Te, small: Te } };
24323
- var yt = { type: "object", properties: { ...x(l.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, color: { type: "string" }, sizes: lt } };
24324
- var dt = { type: "object", properties: { top: { type: "string" }, width: { type: "string" }, height: { type: "string" } } };
24325
- var gt = { type: "object", properties: { borderRadius: { type: "string" }, backgroundColor: { type: "string" } } };
24326
- var Ee = { type: "object", properties: { fullWidth: { type: "boolean" } } };
24327
- var mt = { type: "object", properties: { buttons: ct, httpBadges: yt, layoutControls: dt, panels: gt, tryItButton: Ee, tryItSendButton: Ee } };
24328
- var _ = { type: "object", properties: { small: { type: "string" }, medium: { type: "string" }, large: { type: "string" } } };
24329
- var ut = { type: "object", properties: { maxWidth: _ } };
24330
- var bt = { type: "object", properties: { maxWidth: _, middlePanelMaxWidth: _ } };
24331
- var ft = { type: "object", properties: { showDarkRightPanel: { type: "boolean" }, stacked: ut, "three-panel": bt } };
24332
- var ve = { type: "object", properties: { backgroundColor: { type: "string" }, border: { type: "string" } } };
24333
- var ht = { type: "object", properties: { breakFieldNames: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, constraints: ve, defaultDetailsWidth: { type: "string" }, examples: ve, labelsTextSize: { type: "string" }, linesColor: { type: "string" }, nestedBackground: { type: "string" }, nestingSpacing: { type: "string" }, requireLabelColor: { type: "string" }, typeNameColor: { type: "string" }, typeTitleColor: { type: "string" } } };
24334
- var ke = { type: "object", properties: { subItemsColor: { type: "string" }, textTransform: { type: "string" }, fontWeight: { type: "string" } } };
24335
- var St = { type: "object", properties: O(ke.properties, ["textTransform"]) };
24336
- var Ct = { type: "object", properties: { unit: { type: "number" }, paddingHorizontal: { type: "string" }, paddingVertical: { type: "string" }, offsetTop: { type: "string" }, offsetLeft: { type: "string" }, offsetNesting: { type: "string" } } };
24337
- var Pt = { type: "object", properties: { ...x(l.properties, ["fontWeight", "lineHeight"]), activeBgColor: { type: "string" }, activeTextColor: { type: "string" }, backgroundColor: { type: "string" }, borderRadius: { type: "string" }, breakPath: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, groupItems: ke, level1items: St, rightLineColor: { type: "string" }, separatorLabelColor: { type: "string" }, showAtBreakpoint: { type: "string" }, spacing: Ct, textColor: { type: "string" }, width: { type: "string" } } };
24338
- var D = { type: "object", properties: { ...l.properties, color: { type: "string" }, transform: { type: "string" } } };
24339
- var xt = { type: "object", properties: { ...l.properties, backgroundColor: { type: "string" }, color: { type: "string" }, wordBreak: { type: "string", enum: ["break-all", "break-word", "keep-all", "normal", "revert", "unset", "inherit", "initial"] }, wrap: { type: "boolean" } } };
24340
- var jt = { type: "object", properties: x(l.properties, ["fontSize"]) };
24341
- var Tt = { type: "object", properties: { color: { type: "string" }, hover: { type: "string" }, textDecoration: { type: "string" }, hoverTextDecoration: { type: "string" }, visited: { type: "string" } } };
24342
- var Et = { type: "object", properties: { code: xt, fieldName: l, ...O(l.properties, ["fontSize", "fontFamily"]), fontWeightBold: { type: "string" }, fontWeightLight: { type: "string" }, fontWeightRegular: { type: "string" }, heading1: D, heading2: D, heading3: D, headings: jt, lineHeight: { type: "string" }, links: Tt, optimizeSpeed: { type: "boolean" }, rightPanelHeading: D, smoothing: { type: "string", enum: ["auto", "none", "antialiased", "subpixel-antialiased", "grayscale"] } } };
24343
- var vt = { type: "object", properties: { color: { type: "string" }, ...x(l.properties, ["fontWeight"]) } };
24344
- var Rt = { type: "object", properties: { backgroundColor: { type: "string" }, borderRadius: { type: "string" }, tokens: vt } };
24345
- var kt = { type: "object", properties: { gutter: { type: "string" }, maxHeight: { type: "string" }, maxWidth: { type: "string" } } };
24346
- var It = { type: "object", properties: { backgroundColor: { type: "string" }, color: { type: "string" } } };
24347
- var Re = { type: "object", properties: { custom: { type: "string" } } };
24348
- var At = { type: "object", properties: { DownloadButton: Re, NextSectionButton: Re } };
24349
- var Lt = { type: "object", properties: { backgroundColor: { type: "string" }, panelBackgroundColor: { type: "string" }, panelControlsBackgroundColor: { type: "string" }, showAtBreakpoint: { type: "string" }, textColor: { type: "string" }, width: { type: "string" } } };
24350
- var Dt = { type: "object", properties: { borderRadius: { type: "string" } } };
24351
- var _t = { type: "object", properties: { sectionHorizontal: { type: "number" }, sectionVertical: { type: "number" }, unit: { type: "number" } } };
24352
- var Ot = { type: "object", properties: { breakpoints: _, codeBlock: Rt, colors: nt, components: mt, layout: ft, logo: kt, fab: It, overrides: At, rightPanel: Lt, schema: ht, shape: Dt, sidebar: Pt, spacing: _t, typography: Et, links: { properties: { color: { type: "string" } } }, codeSample: { properties: { backgroundColor: { type: "string" } } } } };
24353
- var Nt = { type: "object", properties: { skipOptionalParameters: { type: "boolean" }, languages: { type: "array", items: Ze } }, required: ["languages"] };
24354
- var ae = { type: "object", properties: { theme: Ot, ctrlFHijack: { type: "boolean" }, defaultSampleLanguage: { type: "string" }, disableDeepLinks: { type: "boolean" }, disableSearch: { type: "boolean" }, disableSidebar: { type: "boolean" }, downloadDefinitionUrl: { type: "string" }, expandDefaultServerVariables: { type: "boolean" }, enumSkipQuotes: { type: "boolean" }, expandDefaultRequest: { type: "boolean" }, expandDefaultResponse: { type: "boolean" }, expandResponses: { type: "string" }, expandSingleSchemaField: { type: "boolean" }, generateCodeSamples: Nt, generatedPayloadSamplesMaxDepth: { type: "number" }, hideDownloadButton: { type: "boolean" }, hideHostname: { type: "boolean" }, hideInfoSection: { type: "boolean" }, hideLogo: { type: "boolean" }, hideRequestPayloadSample: { type: "boolean" }, hideRightPanel: { type: "boolean" }, hideSchemaPattern: { type: "boolean" }, hideSingleRequestSampleTab: { type: "boolean" }, hideSecuritySection: { type: "boolean" }, hideTryItPanel: { type: "boolean" }, hideFab: { type: "boolean" }, hideOneOfDescription: { type: "boolean" }, htmlTemplate: { type: "string" }, jsonSampleExpandLevel: { oneOf: [{ type: "number", minimum: 1 }, { type: "string" }] }, labels: et, menuToggle: { type: "boolean" }, nativeScrollbars: { type: "boolean" }, noAutoAuth: { type: "boolean" }, onDeepLinkClick: { type: "object" }, pagination: { enum: ["none", "section", "item"] }, pathInMiddlePanel: { type: "boolean" }, payloadSampleIdx: { type: "number", minimum: 0 }, requiredPropsFirst: { type: "boolean" }, routingStrategy: { type: "string" }, samplesTabsMaxCount: { type: "number" }, schemaExpansionLevel: { oneOf: [{ type: "number", minimum: 0 }, { type: "string" }] }, minCharacterLengthToInitSearch: { type: "number", minimum: 1 }, maxResponseHeadersToShowInTryIt: { type: "number", minimum: 0 }, scrollYOffset: { oneOf: [{ type: "number" }, { type: "string" }] }, searchAutoExpand: { type: "boolean" }, searchFieldLevelBoost: { type: "number", minimum: 0 }, searchMaxDepth: { type: "number", minimum: 1 }, searchMode: { type: "string", enum: ["default", "path-only"] }, searchOperationTitleBoost: { type: "number" }, searchTagTitleBoost: { type: "number" }, sendXUserAgentInTryIt: { type: "boolean" }, showChangeLayoutButton: { type: "boolean" }, showConsole: { type: "boolean" }, showNextButton: { type: "boolean" }, showRightPanelToggle: { type: "boolean" }, showSecuritySchemeType: { type: "boolean" }, showWebhookVerb: { type: "boolean" }, showObjectSchemaExamples: { type: "boolean" }, disableTryItRequestUrlEncoding: { type: "boolean" }, sidebarLinks: tt, sideNavStyle: { type: "string", enum: ["summary-only", "path-first", "id-only", "path-only"] }, simpleOneOfTypeLabel: { type: "boolean" }, sortEnumValuesAlphabetically: { type: "boolean" }, sortOperationsAlphabetically: { type: "boolean" }, sortPropsAlphabetically: { type: "boolean" }, sortTagsAlphabetically: { type: "boolean" }, suppressWarnings: { type: "boolean" }, unstable_externalDescription: { type: "boolean" }, unstable_ignoreMimeParameters: { type: "boolean" }, untrustedDefinition: { type: "boolean" }, showAccessMode: { type: "boolean" }, preserveOriginalExtensionsName: { type: "boolean" }, markdownHeadingsAnchorLevel: { type: "number" } }, additionalProperties: false };
24355
- function O(d, m) {
24356
- return Object.fromEntries(m.filter((o) => o in d).map((o) => [o, d[o]]));
24689
+ var Se = { hide: { type: "boolean" }, component: { type: "string", enum: ["radio", "checkbox"] }, label: { type: "string" }, items: { type: "array", items: { type: "string" } } };
24690
+ var N = { type: "object", properties: Se, additionalProperties: false };
24691
+ var Me = { type: "object", properties: { hide: { type: "boolean" }, label: { type: "string" }, placeholder: { type: "string" } }, additionalProperties: false };
24692
+ var c = { type: "object", properties: { hide: { type: "boolean" }, type: { type: "string", enum: ["rating", "sentiment", "comment", "reasons", "mood", "scale"] }, settings: { type: "object", properties: { label: { type: "string" }, submitText: { type: "string" }, buttonText: { type: "string" }, component: { type: "string", enum: ["radio", "checkbox"] }, items: { type: "array", items: { type: "string" }, minItems: 1 }, leftScaleLabel: { type: "string" }, rightScaleLabel: { type: "string" }, reasons: { type: "object", properties: { ...Se, like: N, dislike: N, satisfied: N, neutral: N, dissatisfied: N }, additionalProperties: false }, comment: { type: "object", properties: { hide: { type: "boolean" }, label: { type: "string" }, likeLabel: { type: "string" }, dislikeLabel: { type: "string" }, satisfiedLabel: { type: "string" }, neutralLabel: { type: "string" }, dissatisfiedLabel: { type: "string" } }, additionalProperties: false }, optionalEmail: Me }, additionalProperties: false } }, additionalProperties: false };
24693
+ var Ue = { type: "object", properties: { languages: { type: "array", items: { type: "object", properties: { lang: { type: "string" }, label: { type: "string" }, options: { type: "object", properties: { indent: { type: "string" }, withImports: { type: "boolean" }, withComments: { type: "boolean" }, binary: { type: "boolean" }, credentials: { type: "string", enum: ["omit", "same-origin", "include"] } }, additionalProperties: false } }, required: ["lang"], additionalProperties: false } }, skipOptionalParameters: { type: "boolean" }, withOAuth2Call: { type: "boolean" } }, additionalProperties: false };
24694
+ var j = { type: "array", items: { type: "object", properties: { title: { type: "string" }, url: { type: "string" } }, required: ["url"], additionalProperties: false } };
24695
+ var S = { type: "object", properties: { licenseKey: { type: "string" }, hideLoading: { type: "boolean" }, disableRouter: { type: "boolean" }, hideSidebar: { type: "boolean" }, feedback: c, hideReplay: { type: "boolean" }, oAuth2RedirectURI: { type: "string" }, corsProxyUrl: { type: "string" }, sortRequiredPropsFirst: { type: "boolean" }, sanitize: { type: "boolean" }, hideDownloadButtons: { type: "boolean" }, downloadUrls: j, onlyRequiredInSamples: { type: "boolean" }, generatedSamplesMaxDepth: { oneOf: [{ type: "number" }, { type: "string" }] }, showExtensions: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "array", items: { type: "string" } }] }, hideSchemaTitles: { type: "boolean" }, jsonSamplesExpandLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, schemasExpansionLevel: { oneOf: [{ type: "number" }, { type: "string" }] }, mockServer: { type: "object", properties: { url: { type: "string" }, position: { type: "string", enum: ["first", "last", "replace", "off"] }, description: { type: "string" } } }, maxDisplayedEnumValues: { type: "number" }, schemaDefinitionsTagName: { type: "string" }, layout: { type: "string", enum: ["stacked", "three-panel"] }, hideInfoMetadata: { type: "boolean" }, events: { type: "object" }, skipBundle: { type: "boolean" }, routingBasePath: { type: "string" }, codeSamples: Ue, ignoreNamedSchemas: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, hidePropertiesPrefix: { type: "boolean" }, excludeFromSearch: { type: "boolean" }, showSchemaCatalogLinks: { type: "boolean" } }, additionalProperties: false };
24696
+ var h = { type: "object", properties: { includeByName: { type: "array", items: { type: "string" } }, excludeByName: { type: "array", items: { type: "string" } } }, additionalProperties: false };
24697
+ var Be = { type: "object", properties: { name: { type: "string" }, items: h, queries: h, mutations: h, subscriptions: h, types: h, directives: h }, required: ["name"], additionalProperties: false };
24698
+ var Ge = { type: "object", properties: { requireExactGroups: { type: "boolean" }, groups: { type: "array", items: Be }, otherItemsGroupName: { type: "string" } }, required: ["requireExactGroups", "groups", "otherItemsGroupName"], additionalProperties: false };
24699
+ var ze = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, email: { type: "string", format: "email" } }, additionalProperties: false };
24700
+ var Fe = { type: "object", properties: { name: { type: "string" }, url: { type: "string", format: "uri" }, identifier: { type: "string" } }, additionalProperties: false };
24701
+ var Ye = { type: "object", properties: { title: { type: "string" }, version: { type: "string" }, description: { type: "string" }, termsOfService: { type: "string", format: "uri" }, contact: ze, license: Fe }, additionalProperties: false };
24702
+ var b = { type: "object", properties: { menu: { type: "object", properties: { ...Ge.properties }, additionalProperties: false }, sidebar: { type: "object", properties: { hide: { type: "boolean" } } }, downloadUrls: j, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, licenseKey: { type: "string" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: true }, feedback: c, layout: { type: "string", enum: ["stacked", "three-panel"] }, showBuiltInScalars: { type: "boolean" }, showBuiltInDirectives: { type: "boolean" }, info: Ye }, additionalProperties: false };
24703
+ var he = { type: "object", properties: { downloadUrls: j, apiLogo: { type: "object", properties: { imageUrl: { type: "string" }, href: { type: "string" }, altText: { type: "string" }, backgroundColor: { type: "string" } } }, jsonSamplesDepth: { type: "number" }, samplesMaxInlineArgs: { type: "number" }, fieldExpandLevel: { type: "number" }, baseUrlPath: { type: "string" }, metadata: { type: "object", properties: { apiId: { type: "string" } }, additionalProperties: true }, feedback: c, layout: { type: "string", enum: ["stacked", "three-panel"] } }, additionalProperties: false };
24704
+ var Ve = { type: "object", properties: { label: { type: "string" }, lang: { type: "string", enum: ["curl", "C#", "Go", "Java", "Java8+Apache", "JavaScript", "Node.js", "PHP", "Python", "R", "Ruby"] } }, required: ["lang"] };
24705
+ var He = { type: "object", properties: { enum: { type: "string" }, enumSingleValue: { type: "string" }, enumArray: { type: "string" }, default: { type: "string" }, deprecated: { type: "string" }, example: { type: "string" }, examples: { type: "string" }, nullable: { type: "string" }, recursive: { type: "string" }, arrayOf: { type: "string" }, webhook: { type: "string" }, authorizations: { type: "string" }, tryItAuthBasicUsername: { type: "string" }, tryItAuthBasicPassword: { type: "string" } } };
24706
+ var be = { type: "object", properties: { label: { type: "string" }, link: { type: "string" }, target: { type: "string" } }, required: ["label", "link"] };
24707
+ var Ke = { type: "object", properties: { beforeInfo: { type: "array", items: be }, end: { type: "array", items: be } } };
24708
+ var g = { type: "object", properties: { main: { type: "string" }, light: { type: "string" }, dark: { type: "string" }, contrastText: { type: "string" } } };
24709
+ var E = { type: "object", properties: { backgroundColor: { type: "string" }, borderColor: { type: "string" }, color: { type: "string" }, tabTextColor: { type: "string" } } };
24710
+ var We = { type: "object", properties: I(g.properties, ["light", "dark"]) };
24711
+ var $e = { type: "object", properties: { basic: { type: "string" }, delete: { type: "string" }, get: { type: "string" }, head: { type: "string" }, link: { type: "string" }, options: { type: "string" }, patch: { type: "string" }, post: { type: "string" }, put: { type: "string" } } };
24712
+ var Xe = { type: "object", properties: { error: E, info: E, redirect: E, success: E } };
24713
+ var Qe = { type: "object", properties: u(g.properties, ["dark"]) };
24714
+ var Ze = { type: "object", properties: { primary: { type: "string" }, secondary: { type: "string" }, light: { type: "string" } } };
24715
+ var et = { type: "object", properties: { accent: g, border: We, error: g, http: $e, primary: g, responses: Xe, secondary: Qe, success: g, text: Ze, tonalOffset: { type: "number" }, warning: g } };
24716
+ var T = { type: "object", properties: { fontSize: { type: "string" }, padding: { type: "string" }, minWidth: { type: "string" } } };
24717
+ var tt = { type: "object", properties: { small: T, medium: T, large: T, xlarge: T } };
24718
+ var y = { type: "object", properties: { fontFamily: { type: "string" }, fontSize: { type: "string" }, fontWeight: { type: "string" }, lineHeight: { type: "string" } } };
24719
+ var ot = { type: "object", properties: { ...u(y.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, hoverStyle: { type: "string" }, boxShadow: { type: "string" }, hoverBoxShadow: { type: "string" }, sizes: tt } };
24720
+ var ue = { type: "object", properties: I(y.properties, ["fontSize", "lineHeight"]) };
24721
+ var it = { type: "object", properties: { medium: ue, small: ue } };
24722
+ var st = { type: "object", properties: { ...u(y.properties, ["fontSize", "lineHeight"]), borderRadius: { type: "string" }, color: { type: "string" }, sizes: it } };
24723
+ var rt = { type: "object", properties: { top: { type: "string" }, width: { type: "string" }, height: { type: "string" } } };
24724
+ var at = { type: "object", properties: { borderRadius: { type: "string" }, backgroundColor: { type: "string" } } };
24725
+ var Ce = { type: "object", properties: { fullWidth: { type: "boolean" } } };
24726
+ var nt = { type: "object", properties: { buttons: ot, httpBadges: st, layoutControls: rt, panels: at, tryItButton: Ce, tryItSendButton: Ce } };
24727
+ var k = { type: "object", properties: { small: { type: "string" }, medium: { type: "string" }, large: { type: "string" } } };
24728
+ var pt = { type: "object", properties: { maxWidth: k } };
24729
+ var ct = { type: "object", properties: { maxWidth: k, middlePanelMaxWidth: k } };
24730
+ var yt = { type: "object", properties: { showDarkRightPanel: { type: "boolean" }, stacked: pt, "three-panel": ct } };
24731
+ var Re = { type: "object", properties: { backgroundColor: { type: "string" }, border: { type: "string" } } };
24732
+ var lt = { type: "object", properties: { breakFieldNames: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, constraints: Re, defaultDetailsWidth: { type: "string" }, examples: Re, labelsTextSize: { type: "string" }, linesColor: { type: "string" }, nestedBackground: { type: "string" }, nestingSpacing: { type: "string" }, requireLabelColor: { type: "string" }, typeNameColor: { type: "string" }, typeTitleColor: { type: "string" } } };
24733
+ var Oe = { type: "object", properties: { subItemsColor: { type: "string" }, textTransform: { type: "string" }, fontWeight: { type: "string" } } };
24734
+ var dt = { type: "object", properties: I(Oe.properties, ["textTransform"]) };
24735
+ var gt = { type: "object", properties: { unit: { type: "number" }, paddingHorizontal: { type: "string" }, paddingVertical: { type: "string" }, offsetTop: { type: "string" }, offsetLeft: { type: "string" }, offsetNesting: { type: "string" } } };
24736
+ var mt = { type: "object", properties: { ...u(y.properties, ["fontWeight", "lineHeight"]), activeBgColor: { type: "string" }, activeTextColor: { type: "string" }, backgroundColor: { type: "string" }, borderRadius: { type: "string" }, breakPath: { type: "boolean" }, caretColor: { type: "string" }, caretSize: { type: "string" }, groupItems: Oe, level1items: dt, rightLineColor: { type: "string" }, separatorLabelColor: { type: "string" }, showAtBreakpoint: { type: "string" }, spacing: gt, textColor: { type: "string" }, width: { type: "string" } } };
24737
+ var v = { type: "object", properties: { ...y.properties, color: { type: "string" }, transform: { type: "string" } } };
24738
+ var ft = { type: "object", properties: { ...y.properties, backgroundColor: { type: "string" }, color: { type: "string" }, wordBreak: { type: "string", enum: ["break-all", "break-word", "keep-all", "normal", "revert", "unset", "inherit", "initial"] }, wrap: { type: "boolean" } } };
24739
+ var St = { type: "object", properties: u(y.properties, ["fontSize"]) };
24740
+ var ht = { type: "object", properties: { color: { type: "string" }, hover: { type: "string" }, textDecoration: { type: "string" }, hoverTextDecoration: { type: "string" }, visited: { type: "string" } } };
24741
+ var bt = { type: "object", properties: { code: ft, fieldName: y, ...I(y.properties, ["fontSize", "fontFamily"]), fontWeightBold: { type: "string" }, fontWeightLight: { type: "string" }, fontWeightRegular: { type: "string" }, heading1: v, heading2: v, heading3: v, headings: St, lineHeight: { type: "string" }, links: ht, optimizeSpeed: { type: "boolean" }, rightPanelHeading: v, smoothing: { type: "string", enum: ["auto", "none", "antialiased", "subpixel-antialiased", "grayscale"] } } };
24742
+ var ut = { type: "object", properties: { color: { type: "string" }, ...u(y.properties, ["fontWeight"]) } };
24743
+ var Ct = { type: "object", properties: { backgroundColor: { type: "string" }, borderRadius: { type: "string" }, tokens: ut } };
24744
+ var Rt = { type: "object", properties: { gutter: { type: "string" }, maxHeight: { type: "string" }, maxWidth: { type: "string" } } };
24745
+ var Pt = { type: "object", properties: { backgroundColor: { type: "string" }, color: { type: "string" } } };
24746
+ var Pe = { type: "object", properties: { custom: { type: "string" } } };
24747
+ var Ot = { type: "object", properties: { DownloadButton: Pe, NextSectionButton: Pe } };
24748
+ var Nt = { type: "object", properties: { backgroundColor: { type: "string" }, panelBackgroundColor: { type: "string" }, panelControlsBackgroundColor: { type: "string" }, showAtBreakpoint: { type: "string" }, textColor: { type: "string" }, width: { type: "string" } } };
24749
+ var jt = { type: "object", properties: { borderRadius: { type: "string" } } };
24750
+ var xt = { type: "object", properties: { sectionHorizontal: { type: "number" }, sectionVertical: { type: "number" }, unit: { type: "number" } } };
24751
+ var Et = { type: "object", properties: { breakpoints: k, codeBlock: Ct, colors: et, components: nt, layout: yt, logo: Rt, fab: Pt, overrides: Ot, rightPanel: Nt, schema: lt, shape: jt, sidebar: mt, spacing: xt, typography: bt, links: { type: "object", properties: { color: { type: "string" } } }, codeSample: { type: "object", properties: { backgroundColor: { type: "string" } } } } };
24752
+ var Tt = { type: "object", properties: { skipOptionalParameters: { type: "boolean" }, languages: { type: "array", items: Ve } }, required: ["languages"] };
24753
+ var oe = { type: "object", properties: { theme: Et, ctrlFHijack: { type: "boolean" }, defaultSampleLanguage: { type: "string" }, disableDeepLinks: { type: "boolean" }, disableSearch: { type: "boolean" }, disableSidebar: { type: "boolean" }, downloadDefinitionUrl: { type: "string" }, expandDefaultServerVariables: { type: "boolean" }, enumSkipQuotes: { type: "boolean" }, expandDefaultRequest: { type: "boolean" }, expandDefaultResponse: { type: "boolean" }, expandResponses: { type: "string" }, expandSingleSchemaField: { type: "boolean" }, generateCodeSamples: Tt, generatedPayloadSamplesMaxDepth: { type: "number" }, hideDownloadButton: { type: "boolean" }, hideHostname: { type: "boolean" }, hideInfoSection: { type: "boolean" }, hideLogo: { type: "boolean" }, hideRequestPayloadSample: { type: "boolean" }, hideRightPanel: { type: "boolean" }, hideSchemaPattern: { type: "boolean" }, hideSingleRequestSampleTab: { type: "boolean" }, hideSecuritySection: { type: "boolean" }, hideTryItPanel: { type: "boolean" }, hideFab: { type: "boolean" }, hideOneOfDescription: { type: "boolean" }, htmlTemplate: { type: "string" }, jsonSampleExpandLevel: { oneOf: [{ type: "number", minimum: 1 }, { type: "string" }] }, labels: He, menuToggle: { type: "boolean" }, nativeScrollbars: { type: "boolean" }, noAutoAuth: { type: "boolean" }, onDeepLinkClick: { type: "object" }, pagination: { type: "string", enum: ["none", "section", "item"] }, pathInMiddlePanel: { type: "boolean" }, payloadSampleIdx: { type: "number", minimum: 0 }, requiredPropsFirst: { type: "boolean" }, routingStrategy: { type: "string" }, samplesTabsMaxCount: { type: "number" }, schemaExpansionLevel: { oneOf: [{ type: "number", minimum: 0 }, { type: "string" }] }, minCharacterLengthToInitSearch: { type: "number", minimum: 1 }, maxResponseHeadersToShowInTryIt: { type: "number", minimum: 0 }, scrollYOffset: { oneOf: [{ type: "number" }, { type: "string" }] }, searchAutoExpand: { type: "boolean" }, searchFieldLevelBoost: { type: "number", minimum: 0 }, searchMaxDepth: { type: "number", minimum: 1 }, searchMode: { type: "string", enum: ["default", "path-only"] }, searchOperationTitleBoost: { type: "number" }, searchTagTitleBoost: { type: "number" }, sendXUserAgentInTryIt: { type: "boolean" }, showChangeLayoutButton: { type: "boolean" }, showConsole: { type: "boolean" }, showNextButton: { type: "boolean" }, showRightPanelToggle: { type: "boolean" }, showSecuritySchemeType: { type: "boolean" }, showWebhookVerb: { type: "boolean" }, showObjectSchemaExamples: { type: "boolean" }, disableTryItRequestUrlEncoding: { type: "boolean" }, sidebarLinks: Ke, sideNavStyle: { type: "string", enum: ["summary-only", "path-first", "id-only", "path-only"] }, simpleOneOfTypeLabel: { type: "boolean" }, sortEnumValuesAlphabetically: { type: "boolean" }, sortOperationsAlphabetically: { type: "boolean" }, sortPropsAlphabetically: { type: "boolean" }, sortTagsAlphabetically: { type: "boolean" }, suppressWarnings: { type: "boolean" }, unstable_externalDescription: { type: "boolean" }, unstable_ignoreMimeParameters: { type: "boolean" }, untrustedDefinition: { type: "boolean" }, showAccessMode: { type: "boolean" }, preserveOriginalExtensionsName: { type: "boolean" }, markdownHeadingsAnchorLevel: { type: "number" } }, additionalProperties: false };
24754
+ function I(f, te) {
24755
+ return Object.fromEntries(te.filter((i) => i in f).map((i) => [i, f[i]]));
24357
24756
  }
24358
- function x(d, m) {
24359
- return Object.fromEntries(Object.entries(d).filter(([o]) => !m.includes(o)));
24757
+ function u(f, te) {
24758
+ return Object.fromEntries(Object.entries(f).filter(([i]) => !te.includes(i)));
24360
24759
  }
24361
- var i = { nodeTypeName: void 0, type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object" }] }, 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.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules" };
24362
- var qt = { rules: i, oas2Rules: i, oas3_0Rules: i, oas3_1Rules: i, oas3_2Rules: i, async2Rules: i, async3Rules: i, arazzo1Rules: i, arazzo1_1Rules: i, overlay1Rules: i, openrpc1Rules: i, graphqlRules: i };
24760
+ var r = { nodeTypeName: void 0, type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object" }] }, 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.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/rules#rules" };
24761
+ var vt = { rules: r, oas2Rules: r, oas3_0Rules: r, oas3_1Rules: r, oas3_2Rules: r, async2Rules: r, async3Rules: r, arazzo1Rules: r, arazzo1_1Rules: r, overlay1Rules: r, openrpc1Rules: r, graphqlRules: r };
24363
24762
  var n = { nodeTypeName: void 0, type: "object", additionalProperties: true };
24364
- var wt = { preprocessors: n, oas2Preprocessors: n, oas3_0Preprocessors: n, oas3_1Preprocessors: n, oas3_2Preprocessors: n, async2Preprocessors: n, async3Preprocessors: n, arazzo1Preprocessors: n, arazzo1_1Preprocessors: n, overlay1Preprocessors: n, openrpc1Preprocessors: n };
24763
+ var kt = { preprocessors: n, oas2Preprocessors: n, oas3_0Preprocessors: n, oas3_1Preprocessors: n, oas3_2Preprocessors: n, async2Preprocessors: n, async3Preprocessors: n, arazzo1Preprocessors: n, arazzo1_1Preprocessors: n, overlay1Preprocessors: n, openrpc1Preprocessors: n };
24365
24764
  var p = { nodeTypeName: void 0, type: "object", additionalProperties: true };
24366
- var Mt = { decorators: p, oas2Decorators: p, oas3_0Decorators: p, oas3_1Decorators: p, oas3_2Decorators: p, async2Decorators: p, async3Decorators: p, arazzo1Decorators: p, arazzo1_1Decorators: p, overlay1Decorators: p, openrpc1Decorators: p };
24367
- var Ut = { nodeTypeName: void 0, type: "array", items: { type: "string" }, description: "Use extends to inherit rules and their configurations from other rulesets.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends" };
24368
- var b = { ...qt, ...Mt, ...wt, extends: Ut };
24369
- var N = (d) => d;
24370
- var s = N({ RedirectSource: "RedirectSource", Redirects: "Redirects", ScorecardClassic: "ScorecardClassic", ScorecardClassicLevelList: "ScorecardClassicLevelList", ScorecardClassicLevel: "ScorecardClassicLevel", ScorecardClassicTargetList: "ScorecardClassicTargetList", ScorecardClassicTarget: "ScorecardClassicTarget", ScorecardClassicTargetWhere: "ScorecardClassicTargetWhere", ScorecardClassicTargetWhereMetadata: "ScorecardClassicTargetWhereMetadata", ScorecardClassicTeamMetadataProperty: "ScorecardClassicTeamMetadataProperty" });
24371
- var r = { type: "object", properties: { hide: { type: "boolean" } }, additionalProperties: false };
24372
- var Ie = { type: "object", properties: { src: { type: "string" }, async: { type: "boolean" }, crossorigin: { type: "string" }, defer: { type: "boolean" }, fetchpriority: { type: "string" }, integrity: { type: "string" }, module: { type: "boolean" }, nomodule: { type: "boolean" }, nonce: { type: "string" }, referrerpolicy: { type: "string" }, type: { type: "string" } }, required: ["src"], additionalProperties: true };
24373
- var ne = { type: "object", properties: { page: { type: "string" }, directory: { type: "string" }, disconnect: { type: "boolean", default: false }, group: { type: "string" }, label: { type: "string" }, href: { type: "string" }, external: { type: "boolean" }, labelTranslationKey: { type: "string" }, groupTranslationKey: { type: "string" }, icon: { oneOf: [{ type: "string" }, { type: "object", properties: { srcSet: { type: "string" } }, required: ["srcSet"] }] }, separator: { type: "string" }, separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"], default: "top" }, version: { type: "string" }, menuStyle: { type: "string", enum: ["drilldown"] }, expanded: { type: "string", const: "always" }, selectFirstItemOnExpand: { type: "boolean" }, flatten: { type: "boolean" }, linkedSidebars: { type: "array", items: { type: "string" } }, items: { type: "array", items: { type: "object", additionalProperties: true } }, rbac: { type: "object", additionalProperties: { type: "string" } }, additionalProps: { type: "object", additionalProperties: true } } };
24374
- var pe = { type: "array", items: { ...ne, properties: { ...ne.properties, items: { type: "array", items: ne } } } };
24375
- var Bt = { type: "object", properties: { name: { type: "string" }, icon: { type: "string" }, folder: { type: "string" } }, additionalProperties: false, required: ["name", "folder"] };
24376
- var Gt = { type: "object", properties: { hide: { type: "boolean", default: false }, suggestions: { default: [], type: "array", items: { type: "string" } }, prompt: { type: "string" } }, additionalProperties: false };
24377
- var zt = { type: "array", items: { type: "object", required: ["name", "field", "type"], properties: { name: { type: "string" }, field: { type: "string" }, type: { type: "string", enum: ["multi-select", "select", "tags"] } }, additionalProperties: false } };
24378
- var Ft = { type: "object", properties: { facets: zt, ...r.properties }, additionalProperties: false };
24379
- var Yt = { type: "object", properties: { page: { type: "string" }, label: { type: "string" }, labelTranslationKey: { type: "string" } }, required: ["page"] };
24380
- var q = { type: "object", properties: { image: { type: "string" }, srcSet: { type: "string" }, altText: { type: "string" }, link: { type: "string" }, favicon: { type: "string" } }, additionalProperties: false };
24381
- var w = { type: "object", properties: { items: pe, ...r.properties }, additionalProperties: false };
24382
- var M = { type: "object", additionalProperties: Bt };
24383
- var U = { type: "object", properties: { items: pe, copyrightText: { type: "string" }, logo: r, ...r.properties }, additionalProperties: false };
24384
- var B = { type: "object", properties: { separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"], default: "bottom" }, ...r.properties }, additionalProperties: false };
24385
- var G = { type: "object", properties: { head: { type: "array", items: Ie }, body: { type: "array", items: Ie } }, additionalProperties: false };
24386
- var z = { type: "array", items: { type: "object", properties: { href: { type: "string" }, as: { type: "string" }, crossorigin: { type: "string" }, fetchpriority: { type: "string" }, hreflang: { type: "string" }, imagesizes: { type: "string" }, imagesrcset: { type: "string" }, integrity: { type: "string" }, media: { type: "string" }, prefetch: { type: "string" }, referrerpolicy: { type: "string" }, rel: { type: "string" }, sizes: { type: "string" }, title: { type: "string" }, type: { type: "string" } }, required: ["href"], additionalProperties: true } };
24387
- var F = { type: "object", properties: { engine: { type: "string", enum: ["flexsearch", "typesense"], default: "flexsearch" }, ai: Gt, filters: Ft, placement: { type: "string", default: "navbar" }, shortcuts: { type: "array", items: { type: "string" }, default: ["\u2318+K,ctrl+K"] }, suggestedPages: { type: "array", items: Yt }, ...r.properties }, additionalProperties: false };
24388
- var Y = { type: "object", properties: { hide: { type: "boolean" }, suggestions: { default: [], type: "array", items: { type: "string" } }, prompt: { type: "string" }, trigger: { type: "object", properties: { hide: { type: "boolean", default: false }, inputType: { type: "string", enum: ["button", "icon"], default: "button" }, inputIcon: { type: "string", enum: ["chat", "sparkles", "redocly"], default: "sparkles" } }, additionalProperties: false } }, additionalProperties: false };
24389
- var V = { type: "object", properties: { ignoreDetection: { type: "boolean" }, modes: { type: "array", items: { type: "string" }, default: ["light", "dark"] }, ...r.properties }, additionalProperties: false };
24390
- var j = { type: "string", enum: ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris"] };
24391
- var Vt = { type: "object", properties: { ...r.properties, items: { type: "array", items: { type: "string", enum: ["copy", "view", "chatgpt", "claude", "docs-mcp-cursor", "docs-mcp-vscode"] }, default: ["copy", "view", "chatgpt", "claude", "docs-mcp-cursor", "docs-mcp-vscode"] } }, additionalProperties: false };
24392
- var K = { type: "object", properties: { nextButton: { type: "object", properties: { text: { type: "string" }, ...r.properties }, additionalProperties: false, default: {} }, previousButton: { type: "object", properties: { text: { type: "string" }, ...r.properties }, additionalProperties: false, default: {} }, actions: Vt }, additionalProperties: false };
24393
- var H = { type: "object", properties: { elementFormat: { type: "string", default: "icon" }, copy: { type: "object", properties: { ...r.properties }, additionalProperties: false, default: { hide: false } }, report: { type: "object", properties: { tooltipText: { type: "string" }, buttonText: { type: "string" }, label: { type: "string" }, ...r.properties }, additionalProperties: false, default: { hide: false } }, expand: { type: "object", properties: { ...r.properties }, additionalProperties: false, default: { hide: false } }, collapse: { type: "object", properties: { ...r.properties }, additionalProperties: false, default: { hide: false } } }, additionalProperties: false };
24394
- var W = { type: "object", properties: { frontMatterKeysToResolve: { type: "array", items: { type: "string" }, default: ["image", "links"] }, partialsFolders: { type: "array", items: { type: "string" }, default: ["**/_partials/**"] }, lastUpdatedBlock: { type: "object", properties: { format: { type: "string", enum: ["timeago", "iso", "long", "short"], default: "timeago" }, locale: { type: "string" }, ...r.properties }, additionalProperties: false, default: {} }, toc: { type: "object", properties: { header: { type: "string", default: "On this page" }, depth: { type: "integer", default: 3, minimum: 1 }, ...r.properties }, additionalProperties: false, default: {} }, editPage: { type: "object", properties: { baseUrl: { type: "string" }, ...r.properties }, additionalProperties: false, default: {} }, template: { type: "object", additionalProperties: { type: "string" } } }, additionalProperties: false, default: {} };
24395
- var T = { ...S, properties: { ...S.properties, ...ae.properties } };
24396
- var Oo = { ...S, properties: { ...S.properties, ...ae.properties } };
24397
- var Kt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, scriptUrl: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: false, required: ["scriptUrl"] };
24398
- var Ht = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, apiKey: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, outboundClickEventName: { type: "string" }, pageViewEventName: { type: "string" }, amplitudeConfig: { type: "object", additionalProperties: true } }, additionalProperties: false, required: ["apiKey"] };
24399
- var Wt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, orgId: { type: "string" } }, additionalProperties: false, required: ["orgId"] };
24400
- var $t = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, appId: { type: "string" } }, additionalProperties: false, required: ["appId"] };
24401
- var Xt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, dataPlaneUrl: { type: "string" }, controlPlaneUrl: { type: "string" }, sdkUrl: { type: "string" }, loadOptions: { type: "object", additionalProperties: true } }, additionalProperties: false, required: ["writeKey"] };
24402
- var Jt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, includeTitleInPageCall: { type: "boolean" }, host: { type: "string" } }, additionalProperties: false, required: ["writeKey"] };
24403
- var Qt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, gtmAuth: { type: "string" }, gtmPreview: { type: "string" }, defaultDataLayer: {}, dataLayerName: { type: "string" }, enableWebVitalsTracking: { type: "boolean" }, selfHostedOrigin: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: false, required: ["trackingId"] };
24404
- var ce = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, optimizeId: { type: "string" }, exclude: { type: "array", items: { type: "string" } } }, additionalProperties: false, required: ["trackingId"] };
24405
- var Zt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, optimizeId: { type: "string" }, anonymizeIp: { type: "boolean" }, cookieExpires: { type: "number" }, trackers: { type: "object", additionalProperties: ce } }, additionalProperties: false, required: ["trackingId"] };
24406
- var $ = { type: "object", properties: { adobe: Kt, amplitude: Ht, fullstory: Wt, heap: $t, rudderstack: Xt, segment: Jt, gtm: Qt, ga: Zt } };
24407
- var X = { type: "object", properties: { items: { type: "array", items: { type: "object", properties: { label: { type: "string" }, external: { type: "boolean" }, link: { type: "string" }, separatorLine: { type: "boolean" } }, additionalProperties: true }, default: [] }, hideLoginButton: { type: "boolean" }, ...r.properties }, additionalProperties: false };
24408
- var J = { type: "object", properties: { hide: { type: "boolean" }, showForUnversioned: { type: "boolean" } } };
24409
- var Q = { type: "object", properties: { hide: { type: "boolean" }, prefixItems: { type: "array", items: { type: "object", properties: { label: { type: "string" }, labelTranslationKey: { type: "string" }, page: { type: "string" }, icon: { type: "string" } }, additionalProperties: false, default: {} } } }, additionalProperties: false };
24410
- var er = { type: "object", additionalProperties: false, required: ["title", "property"], properties: { type: { type: "string", enum: ["select", "checkboxes", "date-range"], default: "checkboxes" }, title: { type: "string" }, titleTranslationKey: { type: "string" }, property: { type: "string" }, parentFilter: { type: "string" }, valuesMapping: { type: "object", additionalProperties: { type: "string" } }, missingCategoryName: { type: "string" }, missingCategoryNameTranslationKey: { type: "string" }, options: { type: "array", items: { type: "string" } } } };
24411
- var tr = { type: "object", additionalProperties: true, required: ["slug", "items"], properties: { show: { type: "boolean" }, slug: { type: "string" }, filters: { type: "array", items: er }, groupByFirstFilter: { type: "boolean" }, filterValuesCasing: { type: "string", enum: ["sentence", "original", "lowercase", "uppercase"] }, items: pe, requiredPermission: { type: "string" }, separateVersions: { type: "boolean" }, title: { type: "string" }, titleTranslationKey: { type: "string" }, description: { type: "string" }, descriptionTranslationKey: { type: "string" } } };
24412
- var E = { type: "object", patternProperties: { ".*": tr } };
24413
- var v = { nodeTypeName: s.ScorecardClassic, 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.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic", type: "object", additionalProperties: true, required: [], properties: { ignoreNonCompliant: { type: "boolean", default: false }, teamMetadataProperty: { nodeTypeName: s.ScorecardClassicTeamMetadataProperty, description: "Provide custom team label and team metadata property.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object", type: "object", properties: { property: { type: "string" }, label: { type: "string" }, default: { type: "string" } } }, levels: { nodeTypeName: s.ScorecardClassicLevelList, description: "List of levels to score against.", type: "array", items: { nodeTypeName: s.ScorecardClassicLevel, documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#level-object", type: "object", required: ["name"], properties: { name: { type: "string" }, color: { type: "string" }, ...b }, additionalProperties: false } }, targets: { nodeTypeName: s.ScorecardClassicTargetList, description: "Provide custom `minimumLevel` for specific targets.", type: "array", items: { nodeTypeName: s.ScorecardClassicTarget, type: "object", required: ["where"], properties: { minimumLevel: { type: "string" }, rules: { type: "object", additionalProperties: true }, where: { nodeTypeName: s.ScorecardClassicTargetWhere, description: "Specify which API descriptions to apply the `minimumLevel` to based on the metadata.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#where-object", type: "object", required: ["metadata"], properties: { metadata: { nodeTypeName: s.ScorecardClassicTargetWhereMetadata, type: "object", additionalProperties: { type: "string" } } }, additionalProperties: false } }, additionalProperties: false } }, ignore: { type: "array", items: { type: "string" } }, fromProjectUrl: { type: "string", format: "uri" } } };
24414
- var rr = { type: "object", required: ["key"], properties: { key: { type: "string" } }, additionalProperties: false };
24415
- var or = { type: "object", required: ["type"], properties: { type: { type: "string" } }, additionalProperties: false };
24416
- var sr = { type: "object", required: ["property", "title"], properties: { property: { type: "string" }, hide: { type: "boolean" }, label: { type: "string" }, options: { type: "array", items: { type: "string" } }, type: { type: "string", enum: ["select", "checkboxes", "date-range"], default: "checkboxes" }, title: { type: "string" }, titleTranslationKey: { type: "string" }, parentFilter: { type: "string" }, valuesMapping: { type: "object", additionalProperties: { type: "string" } } }, additionalProperties: false };
24417
- var y = { type: "object", properties: { slug: { type: "string" }, hide: { type: "boolean" }, includes: { type: "array", items: or }, excludes: { type: "array", items: rr }, filters: { type: "array", items: sr }, titleTranslationKey: { type: "string" }, descriptionTranslationKey: { type: "string" }, catalogSwitcherLabelTranslationKey: { type: "string" } }, additionalProperties: false };
24418
- var ir = { type: "object", properties: { type: { type: "string", enum: ["string", "number", "boolean", "array", "object"] }, description: { type: "string" }, example: { oneOf: [{ type: "string" }, { type: "number" }, { type: "boolean" }, { type: "array" }, { type: "object" }] }, enum: { type: "array", items: { type: "string" } }, pattern: { type: "string" }, format: { type: "string" }, minimum: { type: "number" }, maximum: { type: "number" }, items: { type: "object" } }, additionalProperties: true };
24419
- var ar = { type: "object", required: ["type", "properties"], properties: { type: { type: "string", enum: ["object"] }, description: { type: "string" }, properties: { type: "object", additionalProperties: ir }, required: { type: "array", items: { type: "string" } }, additionalProperties: { type: "boolean" } }, additionalProperties: true };
24420
- var nr = { type: "object", required: ["name", "description", "metadataSchema"], properties: { name: { type: "string", description: "Display name of the entity type" }, description: { type: "string", description: "Description of the entity type" }, metadataSchema: ar, icon: { type: "object", properties: { src: { type: "string" }, srcSet: { type: "string" } }, additionalProperties: false } }, additionalProperties: false };
24421
- var pr = { type: "object", additionalProperties: nr };
24422
- var Z = { type: "object", properties: { show: { type: "boolean", default: false }, entityTypes: pr, catalogs: { type: "object", properties: { all: y, services: y, domains: y, teams: y, users: y, apiDescriptions: y, dataSchemas: y, apiOperations: y }, additionalProperties: y } }, additionalProperties: false };
24423
- var Ae = { type: "string", enum: ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"] };
24424
- var ye = { type: "string", enum: ["and", "or"] };
24425
- var le = { type: "object", properties: { field: { type: "string" }, operator: Ae, value: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, modifier: { type: "string", enum: ["not"] }, match: { type: "array", items: { type: "object", properties: { field: { type: "string" }, operator: Ae, value: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, modifier: { type: "string", enum: ["not"] } } } } } };
24426
- var cr = { type: "object", properties: { operator: ye, conditions: { type: "array", items: le } }, required: ["operator", "conditions"], additionalProperties: false };
24427
- var Le = { type: "array", items: { oneOf: [le, { type: "object", properties: { operator: ye, conditions: { type: "array", items: { oneOf: [le, cr] } } }, required: ["operator", "conditions"], additionalProperties: false }] } };
24428
- var _e = { type: "object", properties: { defined: { type: "boolean" }, nonEmpty: { type: "boolean" }, eq: {}, gt: { type: "number" }, gte: { type: "number" }, lt: { type: "number" }, lte: { type: "number" }, const: {} }, additionalProperties: false };
24429
- var lr = { type: "array", items: { type: "object", properties: { subject: { type: "object", properties: { type: { type: "string", enum: ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"] }, property: { type: "string" } }, required: ["type", "property"], additionalProperties: false }, assertions: _e }, required: ["subject", "assertions"], additionalProperties: false } };
24430
- var yr = { type: "object", properties: { title: { type: "string" }, subject: { type: "object", properties: { type: { type: "string", enum: ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"] }, property: { type: "string" } }, required: ["type", "property"], additionalProperties: false }, severity: { type: "string", enum: ["error", "warn", "off"] }, message: { type: "string" }, assertions: _e, where: lr, weight: { type: "number", default: 1 } }, required: ["subject", "assertions"], additionalProperties: false };
24431
- var dr = { type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object", properties: { severity: { type: "string", enum: ["error", "warn", "off"] }, weight: { type: "number", default: 1 } }, additionalProperties: true }, yr] } };
24432
- var gr = { type: "object", properties: { name: { type: "string" }, extends: b.extends, rules: dr }, required: ["name"], additionalProperties: false };
24433
- var De = { type: "object", properties: { event: { type: "string", enum: ["runtime", "manual"] } }, required: ["event"], additionalProperties: false };
24434
- var mr = { oneOf: [De, { type: "array", items: De }] };
24435
- var ur = { type: "object", properties: { name: { type: "string" }, key: { type: "string" }, description: { type: "string" }, entities: { oneOf: [Le, { type: "object", properties: { operator: ye, conditions: Le }, required: ["operator", "conditions"], additionalProperties: false }] }, levels: { type: "array", items: gr, minItems: 1 }, trigger: mr }, required: ["name", "key", "entities", "levels"], additionalProperties: false };
24436
- var ee = { type: "array", items: ur };
24437
- var a = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, logo: q, navbar: w, products: M, footer: U, sidebar: B, scripts: G, links: z, feedback: c, search: F, aiAssistant: Y, colorMode: V, palette: j, navigation: K, codeSnippet: H, markdown: W, openapi: T, asyncapi: xe, graphql: P, analytics: $, userMenu: X, versionPicker: J, breadcrumbs: Q, catalog: E, entitiesCatalog: Z, catalogClassic: E, scorecard: v, scorecardClassic: v, scorecards: ee }, additionalProperties: true };
24438
- var de = "https://redocly.com/sso/teams";
24439
- var ge = ((o) => (o.OIDC = "OIDC", o.SAML2 = "SAML2", o))(ge || {});
24440
- var me = ((o) => (o.SERVICE_ACCOUNT = "SERVICE_ACCOUNT", o.OAUTH2 = "OAUTH2", o))(me || {});
24441
- var Oe = ((o) => (o.STACKED = "stacked", o.THREE_PANEL = "three-panel", o))(Oe || {});
24442
- var te = "^[a-z0-9]+(?:-[a-z0-9]+)*$";
24443
- var hr = new RegExp(te);
24444
- var Ne = 63;
24445
- var Cr = `Unique ID cannot exceed ${Ne} characters`;
24446
- var re = ["redocly", "corporate", "guest"];
24447
- var Pr = `Unique ID cannot be a reserved word (${re.join(", ")})`;
24448
- var ue = ["REDOCLY", "CORPORATE", "GUEST"];
24449
- function oe(d, m, o) {
24450
- return Object.fromEntries(Object.entries(d).map(([f, h]) => {
24451
- if (!(f === m && o !== "properties")) return typeof h != "object" || !h ? [f, h] : Array.isArray(h) ? [f, h.map((ie) => typeof ie == "object" ? oe(ie, m, f) : ie)] : [f, oe(h, m, f)];
24452
- }).filter(Boolean));
24453
- }
24454
- var xr = { type: "object", additionalProperties: { type: "string" } };
24455
- var jr = { type: "object", additionalProperties: false, patternProperties: { "^[a-zA-Z0-9_-]+$": { type: "string", pattern: "^https?://[^\\s/$.?#].[^\\s]*$" } } };
24456
- var se = { type: "string", enum: ["error", "warn", "off"] };
24457
- var Tr = { type: "object", additionalProperties: false, properties: { schemaCheck: se, statusCodeCheck: se, contentTypeCheck: se, successCriteriaCheck: se } };
24458
- var Er = { type: "object", properties: { event: { type: "string", enum: ["schedule"] }, interval: { type: "string", enum: ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"] } }, required: ["event"], additionalProperties: false };
24459
- var vr = { type: "object", properties: { event: { type: "string", enum: ["build"] } }, required: ["event"], additionalProperties: false };
24460
- var Rr = { type: "object", properties: { warn: { type: "number" }, error: { type: "number" } }, additionalProperties: false };
24461
- var qe = { type: "object", properties: { ignoreLint: { oneOf: [{ type: "boolean", default: false }, { type: "object", additionalProperties: { type: "boolean" } }] }, ignoreLinkChecker: { type: "boolean" }, ignoreMarkdocErrors: { type: "boolean" }, ignoreRespectMonitoring: { type: "boolean" }, jobs: { type: "array", items: { type: "object", properties: { path: { type: "string", pattern: "^(?!\\/|\\.\\./)" }, agent: { type: "string", enum: ["respect"] }, trigger: { oneOf: [Er, vr] }, inputs: xr, servers: jr, severity: Tr, slo: Rr }, required: ["path", "trigger", "agent"], additionalProperties: false } } }, additionalProperties: false };
24462
- var kr = { type: "object", properties: { end_session_endpoint: { type: "string" }, token_endpoint: { type: "string" }, authorization_endpoint: { type: "string" }, jwks_uri: { type: "string" } }, required: ["token_endpoint", "authorization_endpoint"], additionalProperties: true };
24463
- var Ir = { type: "object", properties: { type: { type: "string", const: "OIDC" }, title: { type: "string" }, pkce: { type: "boolean", default: false }, configurationUrl: { type: "string", minLength: 1 }, configuration: kr, clientId: { type: "string", minLength: 1 }, clientSecret: { type: "string", minLength: 0 }, teamsClaimName: { type: "string" }, teamsClaimMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } }, scopes: { type: "array", items: { type: "string" } }, tokenExpirationTime: { type: "number" }, authorizationRequestCustomParams: { type: "object", additionalProperties: { type: "string" } }, introspectEndpoint: { type: "string" }, tokenRequestCustomParams: { type: "object", additionalProperties: { type: "string" } }, audience: { type: "array", items: { type: "string" } } }, required: ["type", "clientId"], oneOf: [{ required: ["configurationUrl"] }, { required: ["configuration"] }], additionalProperties: false };
24464
- var Ar = { type: "object", properties: { type: { type: "string", const: "SAML2" }, title: { type: "string" }, issuerId: { type: "string" }, entityId: { type: "string" }, ssoUrl: { type: "string" }, x509PublicCert: { type: "string" }, teamsAttributeName: { type: "string", default: de }, teamsAttributeMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } } }, additionalProperties: false, required: ["type", "issuerId", "ssoUrl", "x509PublicCert"] };
24465
- var Lr = { oneOf: [Ir, Ar], discriminator: { propertyName: "type" } };
24466
- var Dr = { type: "object", additionalProperties: Lr };
24467
- var Ge = { oneOf: [{ type: "array", items: { type: "string", enum: ue }, uniqueItems: true }, { type: "string", enum: ue }] };
24468
- var we = { type: "string", pattern: te, not: { enum: [...re] } };
24469
- var ze = { oneOf: [{ type: "array", items: we, uniqueItems: true }, we] };
24470
- var Fe = { type: "boolean" };
24471
- var Ye = { type: "string", pattern: "^https?://.*" };
24472
- var Ve = { type: "string", pattern: "^https?://.*" };
24473
- var _r = { type: "object", properties: { to: { type: "string" }, type: { type: "number", default: 301 } }, additionalProperties: false, nodeTypeName: s.RedirectSource, description: "Source is an absolute path that must start with a forward slash.", documentationLink: "https://redocly.com/docs/realm/config/redirects#sources-map" };
24474
- var Or = { type: "object", additionalProperties: _r, default: {}, nodeTypeName: s.Redirects, description: "Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.", documentationLink: "https://redocly.com/docs/realm/config/redirects" };
24475
- var Nr = { type: "string", enum: ["info", "success", "warning", "error"], default: "info" };
24765
+ var It = { decorators: p, oas2Decorators: p, oas3_0Decorators: p, oas3_1Decorators: p, oas3_2Decorators: p, async2Decorators: p, async3Decorators: p, arazzo1Decorators: p, arazzo1_1Decorators: p, overlay1Decorators: p, openrpc1Decorators: p };
24766
+ var Jt = { nodeTypeName: void 0, type: "array", items: { type: "string" }, description: "Use extends to inherit rules and their configurations from other rulesets.", documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends" };
24767
+ var m = { ...vt, ...It, ...kt, extends: Jt };
24768
+ var J = (f) => f;
24769
+ var s = J({ RedirectSource: "RedirectSource", Redirects: "Redirects", ScorecardClassic: "ScorecardClassic", ScorecardClassicLevelList: "ScorecardClassicLevelList", ScorecardClassicLevel: "ScorecardClassicLevel", ScorecardClassicTargetList: "ScorecardClassicTargetList", ScorecardClassicTarget: "ScorecardClassicTarget", ScorecardClassicTargetWhere: "ScorecardClassicTargetWhere", ScorecardClassicTargetWhereMetadata: "ScorecardClassicTargetWhereMetadata", ScorecardClassicTeamMetadataProperty: "ScorecardClassicTeamMetadataProperty" });
24770
+ var o = { type: "object", properties: { hide: { type: "boolean" } }, additionalProperties: false };
24771
+ var Ne = { type: "object", properties: { src: { type: "string" }, async: { type: "boolean" }, crossorigin: { type: "string" }, defer: { type: "boolean" }, fetchpriority: { type: "string" }, integrity: { type: "string" }, module: { type: "boolean" }, nomodule: { type: "boolean" }, nonce: { type: "string" }, referrerpolicy: { type: "string" }, type: { type: "string" } }, required: ["src"], additionalProperties: true };
24772
+ var ie = { type: "object", properties: { page: { type: "string" }, directory: { type: "string" }, disconnect: { type: "boolean" }, group: { type: "string" }, label: { type: "string" }, href: { type: "string" }, external: { type: "boolean" }, labelTranslationKey: { type: "string" }, groupTranslationKey: { type: "string" }, icon: { oneOf: [{ type: "string" }, { type: "object", properties: { srcSet: { type: "string" } }, required: ["srcSet"] }] }, separator: { type: "string" }, separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"] }, version: { type: "string" }, menuStyle: { type: "string", enum: ["drilldown"] }, expanded: { type: "string", const: "always" }, selectFirstItemOnExpand: { type: "boolean" }, flatten: { type: "boolean" }, linkedSidebars: { type: "array", items: { type: "string" } }, items: { type: "array", items: { type: "object", additionalProperties: true } }, rbac: { type: "object", additionalProperties: { type: "string" } }, additionalProps: { type: "object", additionalProperties: true } } };
24773
+ var se = { type: "array", items: { ...ie, properties: { ...ie.properties, items: { type: "array", items: ie } } } };
24774
+ var Lt = { type: "object", properties: { name: { type: "string" }, icon: { type: "string" }, folder: { type: "string" } }, additionalProperties: false, required: ["name", "folder"] };
24775
+ var At = { type: "object", properties: { hide: { type: "boolean" }, suggestions: { type: "array", items: { type: "string" } }, prompt: { type: "string" } }, additionalProperties: false };
24776
+ var Dt = { type: "array", items: { type: "object", required: ["name", "field", "type"], properties: { name: { type: "string" }, field: { type: "string" }, type: { type: "string", enum: ["multi-select", "select", "tags"] } }, additionalProperties: false } };
24777
+ var _t = { type: "object", properties: { facets: Dt, ...o.properties }, additionalProperties: false };
24778
+ var qt = { type: "object", properties: { page: { type: "string" }, label: { type: "string" }, labelTranslationKey: { type: "string" } }, required: ["page"] };
24779
+ var L = { type: "object", properties: { image: { type: "string" }, srcSet: { type: "string" }, altText: { type: "string" }, link: { type: "string" }, favicon: { type: "string" } }, additionalProperties: false };
24780
+ var A = { type: "object", properties: { items: se, ...o.properties }, additionalProperties: false };
24781
+ var D = { type: "object", additionalProperties: Lt };
24782
+ var _ = { type: "object", properties: { items: se, copyrightText: { type: "string" }, logo: o, ...o.properties }, additionalProperties: false };
24783
+ var q = { type: "object", properties: { separatorLine: { type: "boolean" }, linePosition: { type: "string", enum: ["top", "bottom"] }, ...o.properties }, additionalProperties: false };
24784
+ var w = { type: "object", properties: { head: { type: "array", items: Ne }, body: { type: "array", items: Ne } }, additionalProperties: false };
24785
+ var M = { type: "array", items: { type: "object", properties: { href: { type: "string" }, as: { type: "string" }, crossorigin: { type: "string" }, fetchpriority: { type: "string" }, hreflang: { type: "string" }, imagesizes: { type: "string" }, imagesrcset: { type: "string" }, integrity: { type: "string" }, media: { type: "string" }, prefetch: { type: "string" }, referrerpolicy: { type: "string" }, rel: { type: "string" }, sizes: { type: "string" }, title: { type: "string" }, type: { type: "string" } }, required: ["href"], additionalProperties: true } };
24786
+ var U = { type: "object", properties: { engine: { type: "string", enum: ["flexsearch", "typesense"] }, ai: At, filters: _t, placement: { type: "string" }, shortcuts: { type: "array", items: { type: "string" } }, suggestedPages: { type: "array", items: qt }, ...o.properties }, additionalProperties: false };
24787
+ var B = { type: "object", properties: { hide: { type: "boolean" }, suggestions: { type: "array", items: { type: "string" } }, prompt: { type: "string" }, trigger: { type: "object", properties: { hide: { type: "boolean" }, inputType: { type: "string", enum: ["button", "icon"] }, inputIcon: { type: "string", enum: ["chat", "sparkles", "redocly"] } }, additionalProperties: false } }, additionalProperties: false };
24788
+ var G = { type: "object", properties: { ignoreDetection: { type: "boolean" }, modes: { type: "array", items: { type: "string" } }, ...o.properties }, additionalProperties: false };
24789
+ var C = { type: "string", enum: ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris"] };
24790
+ var wt = { type: "object", properties: { ...o.properties, items: { type: "array", items: { type: "string", enum: ["copy", "view", "chatgpt", "claude", "docs-mcp-cursor", "docs-mcp-vscode"] } } }, additionalProperties: false };
24791
+ var z = { type: "object", properties: { nextButton: { type: "object", properties: { text: { type: "string" }, ...o.properties }, additionalProperties: false }, previousButton: { type: "object", properties: { text: { type: "string" }, ...o.properties }, additionalProperties: false }, actions: wt }, additionalProperties: false };
24792
+ var F = { type: "object", properties: { elementFormat: { type: "string" }, copy: { type: "object", properties: { ...o.properties }, additionalProperties: false }, report: { type: "object", properties: { tooltipText: { type: "string" }, buttonText: { type: "string" }, label: { type: "string" }, ...o.properties }, additionalProperties: false }, expand: { type: "object", properties: { ...o.properties }, additionalProperties: false }, collapse: { type: "object", properties: { ...o.properties }, additionalProperties: false } }, additionalProperties: false };
24793
+ var Y = { type: "object", properties: { frontMatterKeysToResolve: { type: "array", items: { type: "string" } }, partialsFolders: { type: "array", items: { type: "string" } }, lastUpdatedBlock: { type: "object", properties: { format: { type: "string", enum: ["timeago", "iso", "long", "short"] }, locale: { type: "string" }, ...o.properties }, additionalProperties: false }, toc: { type: "object", properties: { header: { type: "string" }, depth: { type: "integer", minimum: 1 }, ...o.properties }, additionalProperties: false }, editPage: { type: "object", properties: { baseUrl: { type: "string" }, ...o.properties }, additionalProperties: false }, template: { type: "object", additionalProperties: { type: "string" } } }, additionalProperties: false };
24794
+ var R = { ...S, properties: { ...S.properties, ...oe.properties } };
24795
+ var Ii = { ...S, properties: { ...S.properties, ...oe.properties } };
24796
+ var Mt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, scriptUrl: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: false, required: ["scriptUrl"] };
24797
+ var Ut = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, apiKey: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, outboundClickEventName: { type: "string" }, pageViewEventName: { type: "string" }, amplitudeConfig: { type: "object", additionalProperties: true } }, additionalProperties: false, required: ["apiKey"] };
24798
+ var Bt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, orgId: { type: "string" } }, additionalProperties: false, required: ["orgId"] };
24799
+ var Gt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, appId: { type: "string" } }, additionalProperties: false, required: ["appId"] };
24800
+ var zt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, dataPlaneUrl: { type: "string" }, controlPlaneUrl: { type: "string" }, sdkUrl: { type: "string" }, loadOptions: { type: "object", additionalProperties: true } }, additionalProperties: false, required: ["writeKey"] };
24801
+ var Ft = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, writeKey: { type: "string", minLength: 10 }, trackPage: { type: "boolean" }, includeTitleInPageCall: { type: "boolean" }, host: { type: "string" } }, additionalProperties: false, required: ["writeKey"] };
24802
+ var Yt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, gtmAuth: { type: "string" }, gtmPreview: { type: "string" }, defaultDataLayer: { type: "object", additionalProperties: true }, dataLayerName: { type: "string" }, enableWebVitalsTracking: { type: "boolean" }, selfHostedOrigin: { type: "string" }, pageViewEventName: { type: "string" } }, additionalProperties: false, required: ["trackingId"] };
24803
+ var re = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, optimizeId: { type: "string" }, exclude: { type: "array", items: { type: "string" } } }, additionalProperties: false, required: ["trackingId"] };
24804
+ var Vt = { type: "object", properties: { includeInDevelopment: { type: "boolean" }, trackingId: { type: "string" }, conversionId: { type: "string" }, floodlightId: { type: "string" }, head: { type: "boolean" }, respectDNT: { type: "boolean" }, exclude: { type: "array", items: { type: "string" } }, optimizeId: { type: "string" }, anonymizeIp: { type: "boolean" }, cookieExpires: { type: "number" }, trackers: { type: "object", additionalProperties: re } }, additionalProperties: false, required: ["trackingId"] };
24805
+ var V = { type: "object", properties: { adobe: Mt, amplitude: Ut, fullstory: Bt, heap: Gt, rudderstack: zt, segment: Ft, gtm: Yt, ga: Vt } };
24806
+ var H = { type: "object", properties: { items: { type: "array", items: { type: "object", properties: { label: { type: "string" }, external: { type: "boolean" }, link: { type: "string" }, separatorLine: { type: "boolean" } }, additionalProperties: true } }, hideLoginButton: { type: "boolean" }, ...o.properties }, additionalProperties: false };
24807
+ var K = { type: "object", properties: { hide: { type: "boolean" }, showForUnversioned: { type: "boolean" } } };
24808
+ var W = { type: "object", properties: { hide: { type: "boolean" }, prefixItems: { type: "array", items: { type: "object", properties: { label: { type: "string" }, labelTranslationKey: { type: "string" }, page: { type: "string" }, icon: { type: "string" } }, additionalProperties: false } } }, additionalProperties: false };
24809
+ var Ht = { type: "object", additionalProperties: false, required: ["title", "property"], properties: { type: { type: "string", enum: ["select", "checkboxes", "date-range"] }, title: { type: "string" }, titleTranslationKey: { type: "string" }, property: { type: "string" }, parentFilter: { type: "string" }, valuesMapping: { type: "object", additionalProperties: { type: "string" } }, missingCategoryName: { type: "string" }, missingCategoryNameTranslationKey: { type: "string" }, options: { type: "array", items: { type: "string" } } } };
24810
+ var Kt = { type: "object", additionalProperties: true, required: ["slug", "items"], properties: { show: { type: "boolean" }, slug: { type: "string" }, filters: { type: "array", items: Ht }, groupByFirstFilter: { type: "boolean" }, filterValuesCasing: { type: "string", enum: ["sentence", "original", "lowercase", "uppercase"] }, items: se, requiredPermission: { type: "string" }, separateVersions: { type: "boolean" }, title: { type: "string" }, titleTranslationKey: { type: "string" }, description: { type: "string" }, descriptionTranslationKey: { type: "string" } } };
24811
+ var P = { type: "object", patternProperties: { ".*": Kt } };
24812
+ var O = { nodeTypeName: s.ScorecardClassic, 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.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic", type: "object", additionalProperties: true, required: [], properties: { ignoreNonCompliant: { type: "boolean" }, teamMetadataProperty: { nodeTypeName: s.ScorecardClassicTeamMetadataProperty, description: "Provide custom team label and team metadata property.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object", type: "object", properties: { property: { type: "string" }, label: { type: "string" }, default: { type: "string" } } }, levels: { nodeTypeName: s.ScorecardClassicLevelList, description: "List of levels to score against.", type: "array", items: { nodeTypeName: s.ScorecardClassicLevel, documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#level-object", type: "object", required: ["name"], properties: { name: { type: "string" }, color: { type: "string" }, ...m }, additionalProperties: false } }, targets: { nodeTypeName: s.ScorecardClassicTargetList, description: "Provide custom `minimumLevel` for specific targets.", type: "array", items: { nodeTypeName: s.ScorecardClassicTarget, type: "object", required: ["where"], properties: { minimumLevel: { type: "string" }, rules: { type: "object", additionalProperties: true }, where: { nodeTypeName: s.ScorecardClassicTargetWhere, description: "Specify which API descriptions to apply the `minimumLevel` to based on the metadata.", documentationLink: "https://redocly.com/docs/realm/config/scorecard-classic#where-object", type: "object", required: ["metadata"], properties: { metadata: { nodeTypeName: s.ScorecardClassicTargetWhereMetadata, type: "object", additionalProperties: { type: "string" } } }, additionalProperties: false } }, additionalProperties: false } }, ignore: { type: "array", items: { type: "string" } }, fromProjectUrl: { type: "string", format: "uri" } } };
24813
+ var Wt = { type: "object", required: ["key"], properties: { key: { type: "string" } }, additionalProperties: false };
24814
+ var $t = { type: "object", required: ["type"], properties: { type: { type: "string" } }, additionalProperties: false };
24815
+ var Xt = { type: "object", required: ["property", "title"], properties: { property: { type: "string" }, hide: { type: "boolean" }, label: { type: "string" }, options: { type: "array", items: { type: "string" } }, type: { type: "string", enum: ["select", "checkboxes", "date-range"] }, title: { type: "string" }, titleTranslationKey: { type: "string" }, parentFilter: { type: "string" }, valuesMapping: { type: "object", additionalProperties: { type: "string" } } }, additionalProperties: false };
24816
+ var l = { type: "object", properties: { slug: { type: "string" }, hide: { type: "boolean" }, includes: { type: "array", items: $t }, excludes: { type: "array", items: Wt }, filters: { type: "array", items: Xt }, titleTranslationKey: { type: "string" }, descriptionTranslationKey: { type: "string" }, catalogSwitcherLabelTranslationKey: { type: "string" } }, additionalProperties: false };
24817
+ var Qt = { type: "object", properties: { type: { type: "string", enum: ["string", "number", "boolean", "array", "object"] }, description: { type: "string" }, example: { oneOf: [{ type: "string" }, { type: "number" }, { type: "boolean" }, { type: "array" }, { type: "object" }] }, enum: { type: "array", items: { type: "string" } }, pattern: { type: "string" }, format: { type: "string" }, minimum: { type: "number" }, maximum: { type: "number" }, items: { type: "object" } }, additionalProperties: true };
24818
+ var Zt = { type: "object", required: ["type", "properties"], properties: { type: { type: "string", enum: ["object"] }, description: { type: "string" }, properties: { type: "object", additionalProperties: Qt }, required: { type: "array", items: { type: "string" } }, additionalProperties: { type: "boolean" } }, additionalProperties: true };
24819
+ var eo = { type: "object", required: ["name", "description", "metadataSchema"], properties: { name: { type: "string", description: "Display name of the entity type" }, description: { type: "string", description: "Description of the entity type" }, metadataSchema: Zt, icon: { type: "object", properties: { src: { type: "string" }, srcSet: { type: "string" } }, additionalProperties: false } }, additionalProperties: false };
24820
+ var to = { type: "object", additionalProperties: eo };
24821
+ var $ = { type: "object", properties: { show: { type: "boolean" }, entityTypes: to, catalogs: { type: "object", properties: { all: l, services: l, domains: l, teams: l, users: l, apiDescriptions: l, dataSchemas: l, apiOperations: l }, additionalProperties: l } }, additionalProperties: false };
24822
+ var je = { type: "string", enum: ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none"] };
24823
+ var ne = { type: "string", enum: ["and", "or"] };
24824
+ var ae = { type: "object", properties: { field: { type: "string" }, operator: je, value: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, modifier: { type: "string", enum: ["not"] }, match: { type: "array", items: { type: "object", properties: { field: { type: "string" }, operator: je, value: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, modifier: { type: "string", enum: ["not"] } } } } } };
24825
+ var oo = { type: "object", properties: { operator: ne, conditions: { type: "array", items: ae } }, required: ["operator", "conditions"], additionalProperties: false };
24826
+ var xe = { type: "array", items: { oneOf: [ae, { type: "object", properties: { operator: ne, conditions: { type: "array", items: { oneOf: [ae, oo] } } }, required: ["operator", "conditions"], additionalProperties: false }] } };
24827
+ var Te = { type: "object", properties: { defined: { type: "boolean" }, nonEmpty: { type: "boolean" }, eq: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] }, gt: { type: "number" }, gte: { type: "number" }, lt: { type: "number" }, lte: { type: "number" }, const: { oneOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] } }, additionalProperties: false };
24828
+ var io = { type: "array", items: { type: "object", properties: { subject: { type: "object", properties: { type: { type: "string", enum: ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"] }, property: { type: "string" } }, required: ["type", "property"], additionalProperties: false }, assertions: Te }, required: ["subject", "assertions"], additionalProperties: false } };
24829
+ var so = { type: "object", properties: { title: { type: "string" }, subject: { type: "object", properties: { type: { type: "string", enum: ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"] }, property: { type: "string" } }, required: ["type", "property"], additionalProperties: false }, severity: { type: "string", enum: ["error", "warn", "off"] }, message: { type: "string" }, assertions: Te, where: io, weight: { type: "number" } }, required: ["subject", "assertions"], additionalProperties: false };
24830
+ var ro = { type: "object", additionalProperties: { oneOf: [{ type: "string" }, { type: "object", properties: { severity: { type: "string", enum: ["error", "warn", "off"] }, weight: { type: "number" } }, additionalProperties: true }, so] } };
24831
+ var ao = { type: "object", properties: { name: { type: "string" }, extends: m.extends, rules: ro }, required: ["name"], additionalProperties: false };
24832
+ var Ee = { type: "object", properties: { event: { type: "string", enum: ["runtime", "manual"] } }, required: ["event"], additionalProperties: false };
24833
+ var no = { oneOf: [Ee, { type: "array", items: Ee }] };
24834
+ var po = { type: "object", properties: { name: { type: "string" }, key: { type: "string" }, description: { type: "string" }, entities: { oneOf: [xe, { type: "object", properties: { operator: ne, conditions: xe }, required: ["operator", "conditions"], additionalProperties: false }] }, levels: { type: "array", items: ao, minItems: 1 }, trigger: no }, required: ["name", "key", "entities", "levels"], additionalProperties: false };
24835
+ var X = { type: "array", items: po };
24836
+ var a = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, logo: L, navbar: A, products: D, footer: _, sidebar: q, scripts: w, links: M, feedback: c, search: U, aiAssistant: B, colorMode: G, palette: C, navigation: z, codeSnippet: F, markdown: Y, openapi: R, asyncapi: he, graphql: b, analytics: V, userMenu: H, versionPicker: K, breadcrumbs: W, catalog: P, entitiesCatalog: $, catalogClassic: P, scorecard: O, scorecardClassic: O, scorecards: X }, additionalProperties: true };
24837
+ var pe = ((i) => (i.OIDC = "OIDC", i.SAML2 = "SAML2", i))(pe || {});
24838
+ var ce = ((i) => (i.SERVICE_ACCOUNT = "SERVICE_ACCOUNT", i.OAUTH2 = "OAUTH2", i))(ce || {});
24839
+ var ve = ((i) => (i.STACKED = "stacked", i.THREE_PANEL = "three-panel", i))(ve || {});
24840
+ var Q = "^[a-z0-9]+(?:-[a-z0-9]+)*$";
24841
+ var mo = new RegExp(Q);
24842
+ var ke = 63;
24843
+ var So = `Unique ID cannot exceed ${ke} characters`;
24844
+ var Z = ["redocly", "corporate", "guest"];
24845
+ var ho = `Unique ID cannot be a reserved word (${Z.join(", ")})`;
24846
+ var ye = ["REDOCLY", "CORPORATE", "GUEST"];
24847
+ var bo = { type: "object", additionalProperties: { type: "string" } };
24848
+ var uo = { type: "object", additionalProperties: false, patternProperties: { "^[a-zA-Z0-9_-]+$": { type: "string", pattern: "^https?://[^\\s/$.?#].[^\\s]*$" } } };
24849
+ var ee = { type: "string", enum: ["error", "warn", "off"] };
24850
+ var Co = { type: "object", additionalProperties: false, properties: { schemaCheck: ee, statusCodeCheck: ee, contentTypeCheck: ee, successCriteriaCheck: ee } };
24851
+ var Ro = { type: "object", properties: { event: { type: "string", enum: ["schedule"] }, interval: { type: "string", enum: ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"] } }, required: ["event"], additionalProperties: false };
24852
+ var Po = { type: "object", properties: { event: { type: "string", enum: ["build"] } }, required: ["event"], additionalProperties: false };
24853
+ var Oo = { type: "object", properties: { warn: { type: "number" }, error: { type: "number" } }, additionalProperties: false };
24854
+ var Ie = { type: "object", properties: { ignoreLint: { oneOf: [{ type: "boolean" }, { type: "object", additionalProperties: { type: "boolean" } }] }, ignoreLinkChecker: { type: "boolean" }, ignoreMarkdocErrors: { type: "boolean" }, ignoreRespectMonitoring: { type: "boolean" }, jobs: { type: "array", items: { type: "object", properties: { path: { type: "string", pattern: "^(?!\\/|\\.\\./)" }, agent: { type: "string", enum: ["respect"] }, trigger: { oneOf: [Ro, Po] }, inputs: bo, servers: uo, severity: Co, slo: Oo }, required: ["path", "trigger", "agent"], additionalProperties: false } } }, additionalProperties: false };
24855
+ var No = { type: "object", properties: { end_session_endpoint: { type: "string" }, token_endpoint: { type: "string" }, authorization_endpoint: { type: "string" }, jwks_uri: { type: "string" } }, required: ["token_endpoint", "authorization_endpoint"], additionalProperties: true };
24856
+ var jo = { type: "object", properties: { type: { type: "string", const: "OIDC" }, title: { type: "string" }, pkce: { type: "boolean" }, configurationUrl: { type: "string", minLength: 1 }, configuration: No, clientId: { type: "string", minLength: 1 }, clientSecret: { type: "string" }, teamsClaimName: { type: "string" }, teamsClaimMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } }, scopes: { type: "array", items: { type: "string" } }, tokenExpirationTime: { type: "number" }, authorizationRequestCustomParams: { type: "object", additionalProperties: { type: "string" } }, introspectEndpoint: { type: "string" }, tokenRequestCustomParams: { type: "object", additionalProperties: { type: "string" } }, audience: { type: "array", items: { type: "string" } } }, required: ["type", "clientId"], oneOf: [{ required: ["configurationUrl"] }, { required: ["configuration"] }], additionalProperties: false };
24857
+ var xo = { type: "object", properties: { type: { type: "string", const: "SAML2" }, title: { type: "string" }, issuerId: { type: "string" }, entityId: { type: "string" }, ssoUrl: { type: "string" }, x509PublicCert: { type: "string" }, teamsAttributeName: { type: "string" }, teamsAttributeMap: { type: "object", additionalProperties: { type: "string" } }, defaultTeams: { type: "array", items: { type: "string" } } }, additionalProperties: false, required: ["type", "issuerId", "ssoUrl", "x509PublicCert"] };
24858
+ var Eo = { oneOf: [jo, xo], discriminator: { propertyName: "type" } };
24859
+ var To = { type: "object", additionalProperties: Eo };
24860
+ var Ae = { oneOf: [{ type: "array", items: { type: "string", enum: ye }, uniqueItems: true }, { type: "string", enum: ye }] };
24861
+ var Je = { type: "string", pattern: Q, not: { enum: [...Z] } };
24862
+ var De = { oneOf: [{ type: "array", items: Je, uniqueItems: true }, Je] };
24863
+ var _e = { type: "boolean" };
24864
+ var qe = { type: "string", pattern: "^https?://.*" };
24865
+ var we = { type: "string", pattern: "^https?://.*" };
24866
+ var vo = { type: "object", properties: { to: { type: "string" }, type: { type: "number" } }, additionalProperties: false, nodeTypeName: s.RedirectSource, description: "Source is an absolute path that must start with a forward slash.", documentationLink: "https://redocly.com/docs/realm/config/redirects#sources-map" };
24867
+ var ko = { type: "object", additionalProperties: vo, nodeTypeName: s.Redirects, description: "Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.", documentationLink: "https://redocly.com/docs/realm/config/redirects" };
24868
+ var Io = { type: "string", enum: ["info", "success", "warning", "error"] };
24476
24869
  var e = { type: "object", additionalProperties: { type: "string" } };
24477
- var qr = { type: "object", properties: { trackingId: { type: "string" }, content: { type: "string" }, dismissible: { type: "boolean", default: false }, target: { type: "string" }, color: Nr, rbac: e, startAt: { type: "string", format: "date-time" }, endAt: { type: "string", format: "date-time" } }, required: ["content"], additionalProperties: false };
24478
- var wr = { type: "array", items: qr, default: [] };
24479
- var fe = { type: "object", properties: { root: { type: "string" }, output: { type: "string", pattern: "(.ya?ml|.json)$" }, rbac: e, openapi: T, graphql: P, theme: { type: "object", properties: { openapi: T, graphql: P }, additionalProperties: false }, title: { type: "string" }, metadata: { type: "object", additionalProperties: true }, ...b }, required: ["root"] };
24480
- var Mr = { type: "object", additionalProperties: true };
24481
- var Ur = { type: "object", additionalProperties: { type: "object", additionalProperties: true } };
24482
- var Me = { type: "object", properties: { hide: { type: "boolean", default: false }, title: { type: "string" }, description: { type: "string" }, details: { type: "object", properties: { path: { type: "string" }, content: { type: "string" } }, additionalProperties: false }, excludeFiles: { type: "array", items: { type: "string" }, default: [] }, sections: { type: "array", items: { type: "object", properties: { title: { type: "string" }, description: { type: "string" }, includeFiles: { type: "array", items: { type: "string" }, default: [] }, excludeFiles: { type: "array", items: { type: "string" }, default: [] } }, required: ["title"], additionalProperties: false } } }, default: { hide: false, title: void 0, description: void 0, details: void 0, sections: [{ title: "Table of contents", includeFiles: ["**/*"], excludeFiles: [] }] }, additionalProperties: false };
24483
- var Ue = { type: "object", properties: { title: { type: "string" }, projectTitle: { type: "string" }, description: { type: "string" }, siteUrl: { type: "string" }, image: { type: "string" }, keywords: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, lang: { type: "string" }, jsonLd: { type: "object" }, meta: { type: "array", items: { type: "object", properties: { name: { type: "string" }, content: { type: "string" } }, required: ["name", "content"], additionalProperties: false } }, llmstxt: Me }, default: { llmstxt: Me.default }, additionalProperties: false };
24484
- var Br = { type: "object", properties: { folders: { type: "array", items: { type: "string" } } }, additionalProperties: false };
24485
- var Gr = { type: "object", properties: { catalogs: { type: "object", properties: { all: e, services: e, domains: e, teams: e, users: e, apiDescriptions: e, dataSchemas: e, apiOperations: e }, additionalProperties: e }, entitiesTypes: { type: "object", properties: { service: e, domain: e, team: e, user: e, apiDescription: e, apiOperation: e, dataSchema: e }, additionalProperties: e }, entitiesGroups: { type: "array", items: { type: "object", properties: { entities: { type: "array", items: { type: "string" } }, config: e }, additionalProperties: false } }, entities: { type: "object", properties: { "**": e }, additionalProperties: e } }, additionalProperties: false };
24486
- var he = { type: "object", properties: { teamNamePatterns: { type: "array", items: { type: "string" } }, teamFolders: { type: "array", items: { type: "string" } }, teamFoldersBaseRoles: e, cms: e, reunite: e, features: { type: "object", properties: { aiSearch: e }, additionalProperties: false }, content: { type: "object", properties: { "**": e }, additionalProperties: e }, entitiesCatalog: Gr }, additionalProperties: e };
24487
- var zr = { type: "object", properties: { static: { type: "string" } }, additionalProperties: false, required: ["static"] };
24488
- var Fr = { type: "object", properties: { idp: { type: "string" } }, additionalProperties: false, required: ["idp"] };
24489
- var Yr = { type: "object", properties: { type: { type: "string", const: "GRAVITEE" }, apiBaseUrl: { type: "string" }, env: { type: "string" }, allowApiProductsOutsideCatalog: { type: "boolean", default: false }, stage: { type: "string", default: "non-production" }, auth: { oneOf: [zr, Fr] } }, additionalProperties: false, required: ["type", "apiBaseUrl"] };
24490
- var Vr = { type: "object", properties: { type: { type: "string", const: "OAUTH2" }, tokenEndpoint: { type: "string" }, clientId: { type: "string" }, clientSecret: { type: "string" } }, additionalProperties: false, required: ["type", "tokenEndpoint", "clientId", "clientSecret"] };
24491
- var Kr = { type: "object", properties: { type: { type: "string", const: "SERVICE_ACCOUNT" }, serviceAccountEmail: { type: "string" }, serviceAccountPrivateKey: { type: "string" } }, additionalProperties: false, required: ["type", "serviceAccountEmail", "serviceAccountPrivateKey"] };
24492
- var be = { type: "object", properties: { type: { type: "string", const: "APIGEE_X" }, apiUrl: { type: "string" }, stage: { type: "string", default: "non-production" }, organizationName: { type: "string" }, ignoreApiProducts: { type: "array", items: { type: "string" } }, allowApiProductsOutsideCatalog: { type: "boolean", default: false }, auth: { type: "object", oneOf: [Vr, Kr], discriminator: { propertyName: "type" } } }, additionalProperties: false, required: ["type", "organizationName", "auth"] };
24493
- var Hr = { ...be, properties: { ...be.properties, type: { type: "string", const: "APIGEE_EDGE" } } };
24494
- var Wr = { type: "object", oneOf: [be, Hr, Yr], discriminator: { propertyName: "type" } };
24495
- var $r = { type: "object", required: ["adapters"], additionalProperties: false, properties: { adapters: { type: "array", items: Wr } } };
24496
- var Be = { type: "object", properties: { defaultLocale: { type: "string" }, locales: { type: "array", items: { type: "object", properties: { code: { type: "string" }, name: { type: "string" } }, required: ["code"] } } }, additionalProperties: false, required: ["defaultLocale"] };
24497
- var Xr = { type: "object", properties: { name: { type: "string" }, value: { type: "string" } }, additionalProperties: false, required: ["name", "value"] };
24498
- var Jr = { type: "object", properties: { hide: { type: "boolean", default: false }, docs: { type: "object", properties: { hide: { type: "boolean", default: false }, name: { type: "string", default: "Docs MCP server" }, ignore: { type: "array", items: { type: "string" }, default: [] } }, additionalProperties: false } }, additionalProperties: false, default: { hide: false, docs: { hide: false, name: "MCP server", ignore: [] } } };
24499
- var Qr = { type: "object", properties: { requiresLogin: Fe, logoutReturnUrl: Ye, residency: Ve, sso: Ge, idps: ze, rbac: he }, additionalProperties: false, not: { required: ["sso", "idps"] }, description: "Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both." };
24500
- var I = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, licenseKey: { type: "string" }, redirects: Or, seo: Ue, rbac: he, apiFunctions: Br, requiresLogin: Fe, responseHeaders: { type: "object", additionalProperties: { type: "array", items: Xr } }, mockServer: { type: "object", properties: { off: { type: "boolean", default: false }, position: { type: "string", enum: ["first", "last", "replace", "off"], default: "first" }, strictExamples: { type: "boolean", default: false }, errorIfForcedExampleNotFound: { type: "boolean", default: false }, description: { type: "string" } } }, apis: { type: "object", additionalProperties: fe }, ...b, ssoDirect: Dr, sso: Ge, idps: ze, residency: Ve, logoutReturnUrl: Ye, access: Qr, developerOnboarding: $r, removeAttribution: { type: "boolean" }, i18n: Be, l10n: Be, metadata: Mr, metadataGlobs: Ur, ignore: { type: "array", items: { type: "string" } }, theme: a, reunite: qe, logo: q, navbar: w, products: M, footer: U, sidebar: B, scripts: G, links: z, feedback: c, search: F, aiAssistant: Y, colorMode: V, palette: j, navigation: K, codeSnippet: H, markdown: W, openapi: T, graphql: P, analytics: $, userMenu: X, versionPicker: J, breadcrumbs: Q, catalog: E, entitiesCatalog: Z, catalogClassic: E, scorecard: v, scorecardClassic: v, scorecards: ee, mcp: Jr, corsProxy: { type: "object", properties: { allowedTargets: { type: "array", items: { type: "string" } } }, additionalProperties: false }, banner: wr }, not: { required: ["sso", "idps"] }, default: { redirects: {}, seo: Ue.default }, additionalProperties: true };
24501
- var Zr = { ...oe(I, "default"), additionalProperties: false };
24502
- var eo = { $id: "root-redocly-config", ...I, properties: { plugins: { type: "array", items: { type: "string" } }, ...I.properties, env: { type: "object", additionalProperties: Zr } }, default: {}, additionalProperties: false };
24503
- var Se = { type: "object", properties: { logo: a.properties.logo, navbar: a.properties.navbar, footer: a.properties.footer, sidebar: a.properties.sidebar, search: a.properties.search, codeSnippet: a.properties.codeSnippet, breadcrumbs: a.properties.breadcrumbs, openapi: a.properties.openapi, feedback: a.properties.feedback, palette: j, mockServer: I.properties.mockServer, analytics: { type: "object", properties: { ga: ce } } }, additionalProperties: true, default: {} };
24504
- var to = { $id: "product-config-override", type: "object", properties: { ...Se.properties, apis: { type: "object", additionalProperties: fe }, theme: Se }, additionalProperties: false };
24505
- var Ce = ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
24506
- var t = N({ UserEntity: "UserEntity", UserEntityMetadata: "UserEntityMetadata", ApiDescriptionEntity: "ApiDescriptionEntity", ApiDescriptionEntityMetadata: "ApiDescriptionEntityMetadata", ApiOperationEntity: "ApiOperationEntity", ApiOperationEntityMetadata: "ApiOperationEntityMetadata", DataSchemaEntity: "DataSchemaEntity", DataSchemaEntityMetadata: "DataSchemaEntityMetadata", ServiceEntity: "ServiceEntity", DomainEntity: "DomainEntity", TeamEntity: "TeamEntity", Entity: "Entity", EntityMetadata: "EntityMetadata", EntityLinkList: "EntityLinkList", EntityLink: "EntityLink", EntityRelation: "EntityRelation", EntityRelationList: "EntityRelationList", EntityContact: "EntityContact", EntitySlackContact: "EntitySlackContact", EntitySlackChannel: "EntitySlackChannel" });
24507
- var ro = { type: "object", nodeTypeName: t.UserEntityMetadata, properties: { email: { type: "string", description: "Email of the user" } }, required: ["email"], additionalProperties: true };
24508
- var oo = { type: "object", nodeTypeName: t.ApiDescriptionEntityMetadata, properties: { specType: { type: "string", enum: ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"], description: "Type of the API description" }, descriptionFile: { type: "string", description: "Path to the file containing the API description" } }, required: ["specType", "descriptionFile"], additionalProperties: true };
24509
- var so = { type: "object", nodeTypeName: t.ApiOperationEntityMetadata, properties: { method: { type: "string", enum: ["GET", "POST", "PUT", "DELETE", "PATCH", "MUTATION", "QUERY", "SUBSCRIBE", "PUBLISH"], description: "HTTP method of the API operation" }, path: { type: "string", description: "Path of the API operation" }, payload: { type: "array", items: { type: "string", description: "Related dataSchema name" } }, responses: { type: "array", items: { type: "string", description: "Related dataSchema name" } } }, required: ["method", "path"], additionalProperties: true };
24510
- var io = { type: "object", nodeTypeName: t.DataSchemaEntityMetadata, properties: { specType: { type: "string", enum: ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"], description: "Specification type of the data schema" }, schema: { type: "string", description: "Inline schema of the data structure" }, sdl: { type: "string", description: "SDL of the data structure" } }, required: ["specType"], additionalProperties: true };
24511
- var ao = { type: "object", properties: {}, nodeTypeName: t.EntityMetadata, additionalProperties: true };
24512
- var no = { type: "object", nodeTypeName: t.EntitySlackChannel, properties: { name: { type: "string", minLength: 2, maxLength: 150 }, url: { type: "string" } }, required: ["name"], additionalProperties: false };
24513
- var po = { type: "object", nodeTypeName: t.EntitySlackContact, properties: { channels: { type: "array", items: no } }, required: ["channels"], additionalProperties: false };
24514
- var co = { type: "object", nodeTypeName: t.EntityContact, properties: { slack: po }, additionalProperties: false };
24515
- var lo = { type: "object", nodeTypeName: t.EntityLink, properties: { label: { type: "string", minLength: 2, maxLength: 150 }, url: { type: "string" } }, required: ["label", "url"], additionalProperties: false };
24516
- var yo = { type: "object", nodeTypeName: t.EntityRelation, properties: { type: { type: "string", enum: Ce }, key: { type: "string", minLength: 2, maxLength: 100 }, version: { type: "string" }, revision: { type: "string" } }, required: ["type", "key"], additionalProperties: false };
24517
- var g = { version: { type: "string" }, key: { type: "string", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$", minLength: 2, maxLength: 150 }, type: { type: "string", enum: ["user", "data-schema", "api-operation", "api-description", "service", "domain", "team"] }, title: { type: "string", minLength: 2, maxLength: 200 }, summary: { type: "string", minLength: 1, maxLength: 500 }, tags: { type: "array", items: { type: "string", minLength: 1, maxLength: 50 } }, git: { type: "array", items: { type: "string" } }, contact: co, links: { type: "array", nodeTypeName: t.EntityLinkList, items: lo }, relations: { type: "array", nodeTypeName: t.EntityRelationList, items: yo }, metadata: ao };
24518
- var Ps = { type: "object", discriminator: { propertyName: "type" }, oneOf: [{ type: "object", properties: { ...g, type: { const: "user" }, metadata: ro }, required: ["key", "title", "type", "metadata"], additionalProperties: false, nodeTypeName: t.UserEntity }, { type: "object", nodeTypeName: t.ApiOperationEntity, properties: { ...g, type: { const: "api-operation" }, metadata: so }, required: ["key", "title", "type", "metadata"], additionalProperties: false }, { type: "object", nodeTypeName: t.DataSchemaEntity, properties: { ...g, type: { const: "data-schema" }, metadata: io }, required: ["key", "title", "type", "metadata"], additionalProperties: false }, { type: "object", nodeTypeName: t.ApiDescriptionEntity, properties: { ...g, type: { const: "api-description" }, metadata: oo }, required: ["key", "title", "type", "metadata"], additionalProperties: false }, { type: "object", nodeTypeName: t.ServiceEntity, properties: { ...g, type: { const: "service" } }, required: ["key", "title", "type"], additionalProperties: false }, { type: "object", nodeTypeName: t.DomainEntity, properties: { ...g, type: { const: "domain" } }, required: ["key", "title", "type"], additionalProperties: false }, { type: "object", nodeTypeName: t.TeamEntity, properties: { ...g, type: { const: "team" } }, required: ["key", "title", "type"], additionalProperties: false }] };
24519
- var xs = { type: "object", nodeTypeName: t.Entity, properties: { ...g }, required: ["key", "title", "type"], additionalProperties: false };
24870
+ var Jo = { type: "object", properties: { trackingId: { type: "string" }, content: { type: "string" }, dismissible: { type: "boolean" }, target: { type: "string" }, color: Io, rbac: e, startAt: { type: "string", format: "date-time" }, endAt: { type: "string", format: "date-time" } }, required: ["content"], additionalProperties: false };
24871
+ var Lo = { type: "array", items: Jo };
24872
+ var de = { type: "object", properties: { root: { type: "string" }, output: { type: "string", pattern: "(.ya?ml|.json)$" }, rbac: e, openapi: R, graphql: b, theme: { type: "object", properties: { openapi: R, graphql: b }, additionalProperties: false }, title: { type: "string" }, metadata: { type: "object", additionalProperties: true }, ...m }, required: ["root"] };
24873
+ var Ao = { type: "object", additionalProperties: true };
24874
+ var Do = { type: "object", additionalProperties: { type: "object", additionalProperties: true } };
24875
+ var _o = { type: "object", properties: { hide: { type: "boolean" }, title: { type: "string" }, description: { type: "string" }, details: { type: "object", properties: { path: { type: "string" }, content: { type: "string" } }, additionalProperties: false }, excludeFiles: { type: "array", items: { type: "string" } }, sections: { type: "array", items: { type: "object", properties: { title: { type: "string" }, description: { type: "string" }, includeFiles: { type: "array", items: { type: "string" } }, excludeFiles: { type: "array", items: { type: "string" } } }, required: ["title"], additionalProperties: false } } }, additionalProperties: false };
24876
+ var qo = { type: "object", properties: { title: { type: "string" }, projectTitle: { type: "string" }, description: { type: "string" }, siteUrl: { type: "string" }, image: { type: "string" }, keywords: { oneOf: [{ type: "array", items: { type: "string" } }, { type: "string" }] }, lang: { type: "string" }, jsonLd: { type: "object" }, meta: { type: "array", items: { type: "object", properties: { name: { type: "string" }, content: { type: "string" } }, required: ["name", "content"], additionalProperties: false } }, llmstxt: _o }, additionalProperties: false };
24877
+ var wo = { type: "object", properties: { folders: { type: "array", items: { type: "string" } } }, additionalProperties: false };
24878
+ var Mo = { type: "object", properties: { catalogs: { type: "object", properties: { all: e, services: e, domains: e, teams: e, users: e, apiDescriptions: e, dataSchemas: e, apiOperations: e }, additionalProperties: e }, entitiesTypes: { type: "object", properties: { service: e, domain: e, team: e, user: e, apiDescription: e, apiOperation: e, dataSchema: e }, additionalProperties: e }, entitiesGroups: { type: "array", items: { type: "object", properties: { entities: { type: "array", items: { type: "string" } }, config: e }, additionalProperties: false } }, entities: { type: "object", properties: { "**": e }, additionalProperties: e } }, additionalProperties: false };
24879
+ var ge = { type: "object", properties: { teamNamePatterns: { type: "array", items: { type: "string" } }, teamFolders: { type: "array", items: { type: "string" } }, teamFoldersBaseRoles: e, cms: e, reunite: e, features: { type: "object", properties: { aiSearch: e }, additionalProperties: false }, content: { type: "object", properties: { "**": e }, additionalProperties: e }, entitiesCatalog: Mo }, additionalProperties: e };
24880
+ var Uo = { type: "object", properties: { static: { type: "string" } }, additionalProperties: false, required: ["static"] };
24881
+ var Bo = { type: "object", properties: { idp: { type: "string" } }, additionalProperties: false, required: ["idp"] };
24882
+ var Go = { type: "object", properties: { type: { type: "string", const: "GRAVITEE" }, apiBaseUrl: { type: "string" }, env: { type: "string" }, allowApiProductsOutsideCatalog: { type: "boolean" }, stage: { type: "string" }, auth: { oneOf: [Uo, Bo] } }, additionalProperties: false, required: ["type", "apiBaseUrl"] };
24883
+ var zo = { type: "object", properties: { type: { type: "string", const: "OAUTH2" }, tokenEndpoint: { type: "string" }, clientId: { type: "string" }, clientSecret: { type: "string" } }, additionalProperties: false, required: ["type", "tokenEndpoint", "clientId", "clientSecret"] };
24884
+ var Fo = { type: "object", properties: { type: { type: "string", const: "SERVICE_ACCOUNT" }, serviceAccountEmail: { type: "string" }, serviceAccountPrivateKey: { type: "string" } }, additionalProperties: false, required: ["type", "serviceAccountEmail", "serviceAccountPrivateKey"] };
24885
+ var le = { type: "object", properties: { type: { type: "string", const: "APIGEE_X" }, apiUrl: { type: "string" }, stage: { type: "string" }, organizationName: { type: "string" }, ignoreApiProducts: { type: "array", items: { type: "string" } }, allowApiProductsOutsideCatalog: { type: "boolean" }, auth: { type: "object", oneOf: [zo, Fo], discriminator: { propertyName: "type" } } }, additionalProperties: false, required: ["type", "organizationName", "auth"] };
24886
+ var Yo = { ...le, properties: { ...le.properties, type: { type: "string", const: "APIGEE_EDGE" } } };
24887
+ var Vo = { type: "object", oneOf: [le, Yo, Go], discriminator: { propertyName: "type" } };
24888
+ var Ho = { type: "object", required: ["adapters"], additionalProperties: false, properties: { adapters: { type: "array", items: Vo } } };
24889
+ var Le = { type: "object", properties: { defaultLocale: { type: "string" }, locales: { type: "array", items: { type: "object", properties: { code: { type: "string" }, name: { type: "string" } }, required: ["code"] } } }, additionalProperties: false, required: ["defaultLocale"] };
24890
+ var Ko = { type: "object", properties: { name: { type: "string" }, value: { type: "string" } }, additionalProperties: false, required: ["name", "value"] };
24891
+ var Wo = { type: "object", properties: { hide: { type: "boolean" }, docs: { type: "object", properties: { hide: { type: "boolean" }, name: { type: "string" }, ignore: { type: "array", items: { type: "string" } } }, additionalProperties: false }, gateway: { type: "object", properties: { hide: { type: "boolean" }, allowedHosts: { type: "array", items: { type: "string" } } }, additionalProperties: false } }, additionalProperties: false };
24892
+ var $o = { type: "object", properties: { requiresLogin: _e, logoutReturnUrl: qe, residency: we, sso: Ae, idps: De, rbac: ge }, additionalProperties: false, not: { required: ["sso", "idps"] }, description: "Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both." };
24893
+ var x = { type: "object", properties: { imports: { type: "array", items: { type: "string" } }, licenseKey: { type: "string" }, redirects: ko, seo: qo, rbac: ge, apiFunctions: wo, requiresLogin: _e, responseHeaders: { type: "object", additionalProperties: { type: "array", items: Ko } }, mockServer: { type: "object", properties: { off: { type: "boolean" }, position: { type: "string", enum: ["first", "last", "replace", "off"] }, strictExamples: { type: "boolean" }, errorIfForcedExampleNotFound: { type: "boolean" }, description: { type: "string" } } }, apis: { type: "object", additionalProperties: de }, ...m, ssoDirect: To, sso: Ae, idps: De, residency: we, logoutReturnUrl: qe, access: $o, developerOnboarding: Ho, removeAttribution: { type: "boolean" }, i18n: Le, l10n: Le, metadata: Ao, metadataGlobs: Do, ignore: { type: "array", items: { type: "string" } }, theme: a, reunite: Ie, logo: L, navbar: A, products: D, footer: _, sidebar: q, scripts: w, links: M, feedback: c, search: U, aiAssistant: B, colorMode: G, palette: C, navigation: z, codeSnippet: F, markdown: Y, openapi: R, graphql: b, analytics: V, userMenu: H, versionPicker: K, breadcrumbs: W, catalog: P, entitiesCatalog: $, catalogClassic: P, scorecard: O, scorecardClassic: O, scorecards: X, mcp: Wo, corsProxy: { type: "object", properties: { allowedTargets: { type: "array", items: { type: "string" } } }, additionalProperties: false }, banner: Lo }, not: { required: ["sso", "idps"] }, additionalProperties: true };
24894
+ var Xo = { ...x, additionalProperties: false };
24895
+ var Qo = { $id: "root-redocly-config", ...x, properties: { plugins: { type: "array", items: { type: "string" } }, ...x.properties, env: { type: "object", additionalProperties: Xo } }, additionalProperties: false };
24896
+ var me = { type: "object", properties: { logo: a.properties.logo, navbar: a.properties.navbar, footer: a.properties.footer, sidebar: a.properties.sidebar, search: a.properties.search, codeSnippet: a.properties.codeSnippet, breadcrumbs: a.properties.breadcrumbs, openapi: a.properties.openapi, feedback: a.properties.feedback, palette: C, mockServer: x.properties.mockServer, analytics: { type: "object", properties: { ga: re } } }, additionalProperties: true };
24897
+ var Zo = { $id: "product-config-override", type: "object", properties: { ...me.properties, apis: { type: "object", additionalProperties: de }, theme: me }, additionalProperties: false };
24898
+ var fe = ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
24899
+ var t = J({ UserEntity: "UserEntity", UserEntityMetadata: "UserEntityMetadata", ApiDescriptionEntity: "ApiDescriptionEntity", ApiDescriptionEntityMetadata: "ApiDescriptionEntityMetadata", ApiOperationEntity: "ApiOperationEntity", ApiOperationEntityMetadata: "ApiOperationEntityMetadata", DataSchemaEntity: "DataSchemaEntity", DataSchemaEntityMetadata: "DataSchemaEntityMetadata", ServiceEntity: "ServiceEntity", DomainEntity: "DomainEntity", TeamEntity: "TeamEntity", Entity: "Entity", EntityMetadata: "EntityMetadata", EntityLinkList: "EntityLinkList", EntityLink: "EntityLink", EntityRelation: "EntityRelation", EntityRelationList: "EntityRelationList", EntityContact: "EntityContact", EntitySlackContact: "EntitySlackContact", EntitySlackChannel: "EntitySlackChannel" });
24900
+ var ei = { type: "object", nodeTypeName: t.UserEntityMetadata, properties: { email: { type: "string", description: "Email of the user" } }, required: ["email"], additionalProperties: true };
24901
+ var ti = { type: "object", nodeTypeName: t.ApiDescriptionEntityMetadata, properties: { specType: { type: "string", enum: ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"], description: "Type of the API description" }, descriptionFile: { type: "string", description: "Path to the file containing the API description" } }, required: ["specType", "descriptionFile"], additionalProperties: true };
24902
+ var oi = { type: "object", nodeTypeName: t.ApiOperationEntityMetadata, properties: { method: { type: "string", enum: ["GET", "POST", "PUT", "DELETE", "PATCH", "MUTATION", "QUERY", "SUBSCRIBE", "PUBLISH"], description: "HTTP method of the API operation" }, path: { type: "string", description: "Path of the API operation" }, payload: { type: "array", items: { type: "string", description: "Related dataSchema name" } }, responses: { type: "array", items: { type: "string", description: "Related dataSchema name" } } }, required: ["method", "path"], additionalProperties: true };
24903
+ var ii = { type: "object", nodeTypeName: t.DataSchemaEntityMetadata, properties: { specType: { type: "string", enum: ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"], description: "Specification type of the data schema" }, schema: { type: "string", description: "Inline schema of the data structure" }, sdl: { type: "string", description: "SDL of the data structure" } }, required: ["specType"], additionalProperties: true };
24904
+ var si = { type: "object", properties: {}, nodeTypeName: t.EntityMetadata, additionalProperties: true };
24905
+ var ri = { type: "object", nodeTypeName: t.EntitySlackChannel, properties: { name: { type: "string", minLength: 2, maxLength: 150 }, url: { type: "string" } }, required: ["name"], additionalProperties: false };
24906
+ var ai = { type: "object", nodeTypeName: t.EntitySlackContact, properties: { channels: { type: "array", items: ri } }, required: ["channels"], additionalProperties: false };
24907
+ var ni = { type: "object", nodeTypeName: t.EntityContact, properties: { slack: ai }, additionalProperties: false };
24908
+ var pi = { type: "object", nodeTypeName: t.EntityLink, properties: { label: { type: "string", minLength: 2, maxLength: 150 }, url: { type: "string" } }, required: ["label", "url"], additionalProperties: false };
24909
+ var ci = { type: "object", nodeTypeName: t.EntityRelation, properties: { type: { type: "string", enum: fe }, key: { type: "string", minLength: 2, maxLength: 100 }, version: { type: "string" }, revision: { type: "string" } }, required: ["type", "key"], additionalProperties: false };
24910
+ var d = { version: { type: "string" }, key: { type: "string", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$", minLength: 2, maxLength: 150 }, type: { type: "string", enum: ["user", "data-schema", "api-operation", "api-description", "service", "domain", "team"] }, title: { type: "string", minLength: 2, maxLength: 200 }, summary: { type: "string", minLength: 1, maxLength: 500 }, tags: { type: "array", items: { type: "string", minLength: 1, maxLength: 50 } }, git: { type: "array", items: { type: "string" } }, contact: ni, links: { type: "array", nodeTypeName: t.EntityLinkList, items: pi }, relations: { type: "array", nodeTypeName: t.EntityRelationList, items: ci }, metadata: si };
24911
+ var hs = { type: "object", discriminator: { propertyName: "type" }, oneOf: [{ type: "object", properties: { ...d, type: { type: "string", const: "user" }, metadata: ei }, required: ["key", "title", "type", "metadata"], additionalProperties: false, nodeTypeName: t.UserEntity }, { type: "object", nodeTypeName: t.ApiOperationEntity, properties: { ...d, type: { type: "string", const: "api-operation" }, metadata: oi }, required: ["key", "title", "type", "metadata"], additionalProperties: false }, { type: "object", nodeTypeName: t.DataSchemaEntity, properties: { ...d, type: { type: "string", const: "data-schema" }, metadata: ii }, required: ["key", "title", "type", "metadata"], additionalProperties: false }, { type: "object", nodeTypeName: t.ApiDescriptionEntity, properties: { ...d, type: { type: "string", const: "api-description" }, metadata: ti }, required: ["key", "title", "type", "metadata"], additionalProperties: false }, { type: "object", nodeTypeName: t.ServiceEntity, properties: { ...d, type: { type: "string", const: "service" } }, required: ["key", "title", "type"], additionalProperties: false }, { type: "object", nodeTypeName: t.DomainEntity, properties: { ...d, type: { type: "string", const: "domain" } }, required: ["key", "title", "type"], additionalProperties: false }, { type: "object", nodeTypeName: t.TeamEntity, properties: { ...d, type: { type: "string", const: "team" } }, required: ["key", "title", "type"], additionalProperties: false }] };
24912
+ var bs = { type: "object", nodeTypeName: t.Entity, properties: { ...d }, required: ["key", "title", "type"], additionalProperties: false };
24520
24913
 
24521
24914
  // ../core/lib/types/redocly-yaml.js
24522
24915
  import path3 from "node:path";
@@ -24684,13 +25077,13 @@ function transformJSONSchemaToNodeType(propertyName, schema, ctx) {
24684
25077
  throw new Error(`Unexpected discriminator without a propertyName in ${propertyName}.`);
24685
25078
  }
24686
25079
  const discriminatorMapping = {};
24687
- const oneOfs = schema.oneOf.map((option, i2) => {
25080
+ const oneOfs = schema.oneOf.map((option, i) => {
24688
25081
  if (typeof option === "boolean") {
24689
- throw new Error(`Unexpected boolean schema in ${propertyName} at position ${i2} in oneOf.`);
25082
+ throw new Error(`Unexpected boolean schema in ${propertyName} at position ${i} in oneOf.`);
24690
25083
  }
24691
25084
  const discriminatedProperty = option?.properties?.[discriminatedPropertyName];
24692
25085
  if (!discriminatedProperty || typeof discriminatedProperty === "boolean") {
24693
- throw new Error(`Unexpected property '${discriminatedProperty}' schema in ${propertyName} at position ${i2} in oneOf.`);
25086
+ throw new Error(`Unexpected property '${discriminatedProperty}' schema in ${propertyName} at position ${i} in oneOf.`);
24694
25087
  }
24695
25088
  const discriminatorValue = discriminatedProperty.const;
24696
25089
  const actualTypeName = transformJSONSchemaToNodeType(discriminatorValue, option, ctx);
@@ -24712,7 +25105,7 @@ function transformJSONSchemaToNodeType(propertyName, schema, ctx) {
24712
25105
  return findOneOf(schema.oneOf, oneOfs)(value, key);
24713
25106
  };
24714
25107
  } else {
24715
- const oneOfs = schema.oneOf.map((option, i2) => transformJSONSchemaToNodeType(propertyName + "_" + i2, option, ctx));
25108
+ const oneOfs = schema.oneOf.map((option, i) => transformJSONSchemaToNodeType(propertyName + "_" + i, option, ctx));
24716
25109
  return findOneOf(schema.oneOf, oneOfs);
24717
25110
  }
24718
25111
  }
@@ -25441,9 +25834,9 @@ var CoreConfigTypes = {
25441
25834
  Preprocessors,
25442
25835
  Assertions
25443
25836
  };
25444
- var { theme: _2, ...propertiesWithoutTheme } = eo.properties;
25837
+ var { theme: _2, ...propertiesWithoutTheme } = Qo.properties;
25445
25838
  var redoclyConfigSchemaWithoutTheme = {
25446
- ...eo,
25839
+ ...Qo,
25447
25840
  properties: propertiesWithoutTheme
25448
25841
  };
25449
25842
  var ConfigTypes = createConfigTypes(redoclyConfigSchemaWithoutTheme);
@@ -25653,8 +26046,8 @@ var __getProtoOf = Object.getPrototypeOf;
25653
26046
  var __hasOwnProp = Object.prototype.hasOwnProperty;
25654
26047
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
25655
26048
  var __copyProps = (to2, from, except, desc) => {
25656
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i2 = 0, n2 = keys.length, key; i2 < n2; i2++) {
25657
- key = keys[i2];
26049
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n2 = keys.length, key; i < n2; i++) {
26050
+ key = keys[i];
25658
26051
  if (!__hasOwnProp.call(to2, key) && key !== except) __defProp(to2, key, {
25659
26052
  get: ((k2) => from[k2]).bind(null, key),
25660
26053
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
@@ -25772,18 +26165,18 @@ var require_snippet = /* @__PURE__ */ __commonJSMin(((exports, module2) => {
25772
26165
  let result = "";
25773
26166
  const lineNoLength = Math.min(mark.line + options2.linesAfter, lineEnds.length).toString().length;
25774
26167
  const maxLineLength = options2.maxLength - (options2.indent + lineNoLength + 3);
25775
- for (let i2 = 1; i2 <= options2.linesBefore; i2++) {
25776
- if (foundLineNo - i2 < 0) break;
25777
- const line2 = getLine(mark.buffer, lineStarts[foundLineNo - i2], lineEnds[foundLineNo - i2], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i2]), maxLineLength);
25778
- result = common.repeat(" ", options2.indent) + padStart((mark.line - i2 + 1).toString(), lineNoLength) + " | " + line2.str + "\n" + result;
26168
+ for (let i = 1; i <= options2.linesBefore; i++) {
26169
+ if (foundLineNo - i < 0) break;
26170
+ const line2 = getLine(mark.buffer, lineStarts[foundLineNo - i], lineEnds[foundLineNo - i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), maxLineLength);
26171
+ result = common.repeat(" ", options2.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + "\n" + result;
25779
26172
  }
25780
26173
  const line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
25781
26174
  result += common.repeat(" ", options2.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + "\n";
25782
26175
  result += common.repeat("-", options2.indent + lineNoLength + 3 + line.pos) + "^\n";
25783
- for (let i2 = 1; i2 <= options2.linesAfter; i2++) {
25784
- if (foundLineNo + i2 >= lineEnds.length) break;
25785
- const line2 = getLine(mark.buffer, lineStarts[foundLineNo + i2], lineEnds[foundLineNo + i2], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i2]), maxLineLength);
25786
- result += common.repeat(" ", options2.indent) + padStart((mark.line + i2 + 1).toString(), lineNoLength) + " | " + line2.str + "\n";
26176
+ for (let i = 1; i <= options2.linesAfter; i++) {
26177
+ if (foundLineNo + i >= lineEnds.length) break;
26178
+ const line2 = getLine(mark.buffer, lineStarts[foundLineNo + i], lineEnds[foundLineNo + i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), maxLineLength);
26179
+ result += common.repeat(" ", options2.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + "\n";
25787
26180
  }
25788
26181
  return result.replace(/\n$/, "");
25789
26182
  }
@@ -26532,9 +26925,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module2) => {
26532
26925
  }
26533
26926
  var simpleEscapeCheck = new Array(256);
26534
26927
  var simpleEscapeMap = new Array(256);
26535
- for (let i2 = 0; i2 < 256; i2++) {
26536
- simpleEscapeCheck[i2] = simpleEscapeSequence(i2) ? 1 : 0;
26537
- simpleEscapeMap[i2] = simpleEscapeSequence(i2);
26928
+ for (let i = 0; i < 256; i++) {
26929
+ simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
26930
+ simpleEscapeMap[i] = simpleEscapeSequence(i);
26538
26931
  }
26539
26932
  function State(input, options2) {
26540
26933
  this.input = input;
@@ -27653,7 +28046,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module2) => {
27653
28046
  var STYLE_FOLDED = 4;
27654
28047
  var STYLE_DOUBLE = 5;
27655
28048
  function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
27656
- let i2;
28049
+ let i;
27657
28050
  let char = 0;
27658
28051
  let prevChar = null;
27659
28052
  let hasLineBreak = false;
@@ -27661,26 +28054,26 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module2) => {
27661
28054
  const shouldTrackWidth = lineWidth !== -1;
27662
28055
  let previousLineBreak = -1;
27663
28056
  let plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1));
27664
- if (singleLineOnly || forceQuotes) for (i2 = 0; i2 < string.length; char >= 65536 ? i2 += 2 : i2++) {
27665
- char = codePointAt(string, i2);
28057
+ if (singleLineOnly || forceQuotes) for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
28058
+ char = codePointAt(string, i);
27666
28059
  if (!isPrintable(char)) return STYLE_DOUBLE;
27667
28060
  plain = plain && isPlainSafe(char, prevChar, inblock);
27668
28061
  prevChar = char;
27669
28062
  }
27670
28063
  else {
27671
- for (i2 = 0; i2 < string.length; char >= 65536 ? i2 += 2 : i2++) {
27672
- char = codePointAt(string, i2);
28064
+ for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
28065
+ char = codePointAt(string, i);
27673
28066
  if (char === CHAR_LINE_FEED) {
27674
28067
  hasLineBreak = true;
27675
28068
  if (shouldTrackWidth) {
27676
- hasFoldableLine = hasFoldableLine || i2 - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
27677
- previousLineBreak = i2;
28069
+ hasFoldableLine = hasFoldableLine || i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
28070
+ previousLineBreak = i;
27678
28071
  }
27679
28072
  } else if (!isPrintable(char)) return STYLE_DOUBLE;
27680
28073
  plain = plain && isPlainSafe(char, prevChar, inblock);
27681
28074
  prevChar = char;
27682
28075
  }
27683
- hasFoldableLine = hasFoldableLine || shouldTrackWidth && i2 - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
28076
+ hasFoldableLine = hasFoldableLine || shouldTrackWidth && i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
27684
28077
  }
27685
28078
  if (!hasLineBreak && !hasFoldableLine) {
27686
28079
  if (plain && !forceQuotes && !testAmbiguousType(string)) return STYLE_PLAIN;
@@ -27772,12 +28165,12 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module2) => {
27772
28165
  function escapeString(string) {
27773
28166
  let result = "";
27774
28167
  let char = 0;
27775
- for (let i2 = 0; i2 < string.length; char >= 65536 ? i2 += 2 : i2++) {
27776
- char = codePointAt(string, i2);
28168
+ for (let i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
28169
+ char = codePointAt(string, i);
27777
28170
  const escapeSeq = ESCAPE_SEQUENCES[char];
27778
28171
  if (!escapeSeq && isPrintable(char)) {
27779
- result += string[i2];
27780
- if (char >= 65536) result += string[i2 + 1];
28172
+ result += string[i];
28173
+ if (char >= 65536) result += string[i + 1];
27781
28174
  } else result += escapeSeq || encodeHex(char);
27782
28175
  }
27783
28176
  return result;
@@ -27947,10 +28340,10 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module2) => {
27947
28340
  if (duplicatesIndexes.indexOf(index) === -1) duplicatesIndexes.push(index);
27948
28341
  } else {
27949
28342
  objects.push(object);
27950
- if (Array.isArray(object)) for (let i2 = 0, length = object.length; i2 < length; i2 += 1) inspectNode(object[i2], objects, duplicatesIndexes);
28343
+ if (Array.isArray(object)) for (let i = 0, length = object.length; i < length; i += 1) inspectNode(object[i], objects, duplicatesIndexes);
27951
28344
  else {
27952
28345
  const objectKeyList = Object.keys(object);
27953
- for (let i2 = 0, length = objectKeyList.length; i2 < length; i2 += 1) inspectNode(object[objectKeyList[i2]], objects, duplicatesIndexes);
28346
+ for (let i = 0, length = objectKeyList.length; i < length; i += 1) inspectNode(object[objectKeyList[i]], objects, duplicatesIndexes);
27954
28347
  }
27955
28348
  }
27956
28349
  }
@@ -28055,12 +28448,12 @@ function getIntersectionLength(keys, properties) {
28055
28448
  function isOrdered(value, options2) {
28056
28449
  const direction = options2.direction || options2;
28057
28450
  const property = options2.property;
28058
- for (let i2 = 1; i2 < value.length; i2++) {
28059
- let currValue = value[i2];
28060
- let prevVal = value[i2 - 1];
28451
+ for (let i = 1; i < value.length; i++) {
28452
+ let currValue = value[i];
28453
+ let prevVal = value[i - 1];
28061
28454
  if (property) {
28062
- const currPropValue = value[i2][property];
28063
- const prevPropValue = value[i2 - 1][property];
28455
+ const currPropValue = value[i][property];
28456
+ const prevPropValue = value[i - 1][property];
28064
28457
  if (!currPropValue || !prevPropValue) {
28065
28458
  return false;
28066
28459
  }
@@ -28743,19 +29136,19 @@ function filter(node, ctx, criteria) {
28743
29136
  const { parent, key } = ctx;
28744
29137
  let didDelete = false;
28745
29138
  if (Array.isArray(node)) {
28746
- for (let i2 = 0; i2 < node.length; i2++) {
28747
- if (isRef(node[i2])) {
28748
- const resolved = ctx.resolve(node[i2]);
29139
+ for (let i = 0; i < node.length; i++) {
29140
+ if (isRef(node[i])) {
29141
+ const resolved = ctx.resolve(node[i]);
28749
29142
  if (criteria(resolved.node)) {
28750
- node.splice(i2, 1);
29143
+ node.splice(i, 1);
28751
29144
  didDelete = true;
28752
- i2--;
29145
+ i--;
28753
29146
  }
28754
29147
  }
28755
- if (criteria(node[i2])) {
28756
- node.splice(i2, 1);
29148
+ if (criteria(node[i])) {
29149
+ node.splice(i, 1);
28757
29150
  didDelete = true;
28758
- i2--;
29151
+ i--;
28759
29152
  }
28760
29153
  }
28761
29154
  } else if (isPlainObject(node)) {
@@ -29011,26 +29404,26 @@ var RemoveXInternal = ({ internalFlagProperty = DEFAULT_INTERNAL_PROPERTY_NAME }
29011
29404
  const { parent, key } = ctx;
29012
29405
  let didDelete = false;
29013
29406
  if (Array.isArray(node)) {
29014
- for (let i2 = 0; i2 < node.length; i2++) {
29015
- if (isRef(node[i2])) {
29016
- const resolved = ctx.resolve(node[i2]);
29407
+ for (let i = 0; i < node.length; i++) {
29408
+ if (isRef(node[i])) {
29409
+ const resolved = ctx.resolve(node[i]);
29017
29410
  if (resolved.node?.[internalFlagProperty]) {
29018
29411
  if (isPlainObject(parent.discriminator?.mapping)) {
29019
29412
  for (const mapping in parent.discriminator.mapping) {
29020
- if (originalMapping2?.[mapping] === node[i2].$ref) {
29413
+ if (originalMapping2?.[mapping] === node[i].$ref) {
29021
29414
  delete parent.discriminator.mapping[mapping];
29022
29415
  }
29023
29416
  }
29024
29417
  }
29025
- node.splice(i2, 1);
29418
+ node.splice(i, 1);
29026
29419
  didDelete = true;
29027
- i2--;
29420
+ i--;
29028
29421
  }
29029
29422
  }
29030
- if (node[i2]?.[internalFlagProperty]) {
29031
- node.splice(i2, 1);
29423
+ if (node[i]?.[internalFlagProperty]) {
29424
+ node.splice(i, 1);
29032
29425
  didDelete = true;
29033
- i2--;
29426
+ i--;
29034
29427
  }
29035
29428
  }
29036
29429
  } else if (isPlainObject(node)) {
@@ -29742,14 +30135,14 @@ function getSuggest(given, variants) {
29742
30135
  if (typeof given !== "string" || !variants.length)
29743
30136
  return [];
29744
30137
  const distances = [];
29745
- for (let i2 = 0; i2 < variants.length; i2++) {
29746
- const distance = (0, import_js_levenshtein.default)(given, variants[i2]);
30138
+ for (let i = 0; i < variants.length; i++) {
30139
+ const distance = (0, import_js_levenshtein.default)(given, variants[i]);
29747
30140
  if (distance < 4) {
29748
- distances.push({ distance, variant: variants[i2] });
30141
+ distances.push({ distance, variant: variants[i] });
29749
30142
  }
29750
30143
  }
29751
30144
  distances.sort((a2, b2) => a2.distance - b2.distance);
29752
- return distances.map((d) => d.variant);
30145
+ return distances.map((d2) => d2.variant);
29753
30146
  }
29754
30147
  function validateExample({ example, schema, options: options2, reference }) {
29755
30148
  const { location, ctx, validator, allowAdditionalProperties, ajvContext } = options2;
@@ -29922,18 +30315,18 @@ var NoRequiredSchemaPropertiesUndefined = () => {
29922
30315
  const matchesChild = (s2) => resolveSchema(s2, ctx).schema === child;
29923
30316
  return !!(parent.allOf?.some(matchesChild) || parent.anyOf?.some(matchesChild) || parent.oneOf?.some(matchesChild));
29924
30317
  };
29925
- const findCompositionRoot = (i2, child) => {
29926
- if (i2 < 0)
30318
+ const findCompositionRoot = (i, child) => {
30319
+ if (i < 0)
29927
30320
  return void 0;
29928
- const parent = parents[i2];
29929
- return isCompositionChild(parent, child) ? findCompositionRoot(i2 - 1, parent) ?? parent : void 0;
30321
+ const parent = parents[i];
30322
+ return isCompositionChild(parent, child) ? findCompositionRoot(i - 1, parent) ?? parent : void 0;
29930
30323
  };
29931
30324
  const compositionRoot = findCompositionRoot(parents.length - 2, currentSchema);
29932
- for (const [i2, requiredProperty] of currentSchema.required.entries()) {
30325
+ for (const [i, requiredProperty] of currentSchema.required.entries()) {
29933
30326
  if (!hasProperty(currentSchema, requiredProperty, /* @__PURE__ */ new Set()) && !hasProperty(compositionRoot, requiredProperty, /* @__PURE__ */ new Set())) {
29934
30327
  ctx.report({
29935
30328
  message: `Required property '${requiredProperty}' is not defined.`,
29936
- location: ctx.location.child(["required", i2]),
30329
+ location: ctx.location.child(["required", i]),
29937
30330
  reference: "https://redocly.com/docs/cli/rules/common/no-required-schema-properties-undefined"
29938
30331
  });
29939
30332
  }
@@ -30120,10 +30513,10 @@ var Struct = () => {
30120
30513
  propValue = resolve7(propValue).node;
30121
30514
  }
30122
30515
  if (propSchema.items && propSchema.items?.enum && Array.isArray(propValue)) {
30123
- for (let i2 = 0; i2 < propValue.length; i2++) {
30124
- validateSchemaEnumType(propSchema.items?.enum, propValue[i2], propName, refLocation, {
30516
+ for (let i = 0; i < propValue.length; i++) {
30517
+ validateSchemaEnumType(propSchema.items?.enum, propValue[i], propName, refLocation, {
30125
30518
  report,
30126
- location: location.child([propName, i2])
30519
+ location: location.child([propName, i])
30127
30520
  }, propSchema.items?.documentationLink);
30128
30521
  }
30129
30522
  }
@@ -30141,13 +30534,13 @@ var Struct = () => {
30141
30534
  ignoreNextVisitorsOnNode();
30142
30535
  } else if (propValueType === "array" && propSchema.items?.type) {
30143
30536
  const itemsType = propSchema.items?.type;
30144
- for (let i2 = 0; i2 < propValue.length; i2++) {
30145
- const item = propValue[i2];
30537
+ for (let i = 0; i < propValue.length; i++) {
30538
+ const item = propValue[i];
30146
30539
  if (!matchesJsonSchemaType(item, itemsType, false)) {
30147
30540
  report({
30148
30541
  message: `Expected type \`${itemsType}\` but got \`${oasTypeOf(item)}\`.`,
30149
30542
  from: refLocation,
30150
- location: propLocation.child([i2])
30543
+ location: propLocation.child([i])
30151
30544
  });
30152
30545
  }
30153
30546
  }
@@ -31036,11 +31429,11 @@ var TagsAlphabetical = ({ ignoreCase = false }) => {
31036
31429
  Root(root, { report, location }) {
31037
31430
  if (!root.tags)
31038
31431
  return;
31039
- for (let i2 = 0; i2 < root.tags.length - 1; i2++) {
31040
- if (getTagName(root.tags[i2], ignoreCase) > getTagName(root.tags[i2 + 1], ignoreCase)) {
31432
+ for (let i = 0; i < root.tags.length - 1; i++) {
31433
+ if (getTagName(root.tags[i], ignoreCase) > getTagName(root.tags[i + 1], ignoreCase)) {
31041
31434
  report({
31042
31435
  message: "The `tags` array should be in alphabetical order.",
31043
- location: location.child(["tags", i2]),
31436
+ location: location.child(["tags", i]),
31044
31437
  reference: "https://redocly.com/docs/cli/rules/oas/tags-alphabetical"
31045
31438
  });
31046
31439
  }
@@ -31484,16 +31877,16 @@ function arePathsAmbiguous(a2, b2) {
31484
31877
  let aVars = 0;
31485
31878
  let bVars = 0;
31486
31879
  let ambiguous = true;
31487
- for (let i2 = 0; i2 < partsA.length; i2++) {
31488
- const aIsVar = partsA[i2].match(/^{.+?}$/);
31489
- const bIsVar = partsB[i2].match(/^{.+?}$/);
31880
+ for (let i = 0; i < partsA.length; i++) {
31881
+ const aIsVar = partsA[i].match(/^{.+?}$/);
31882
+ const bIsVar = partsB[i].match(/^{.+?}$/);
31490
31883
  if (aIsVar || bIsVar) {
31491
31884
  if (aIsVar)
31492
31885
  aVars++;
31493
31886
  if (bIsVar)
31494
31887
  bVars++;
31495
31888
  continue;
31496
- } else if (partsA[i2] !== partsB[i2]) {
31889
+ } else if (partsA[i] !== partsB[i]) {
31497
31890
  ambiguous = false;
31498
31891
  }
31499
31892
  }
@@ -31958,11 +32351,11 @@ var OperationTagDefined = () => {
31958
32351
  },
31959
32352
  Operation(operation, { report, location }) {
31960
32353
  if (operation?.tags) {
31961
- for (let i2 = 0; i2 < operation.tags.length; i2++) {
31962
- if (!definedTags.has(operation.tags[i2])) {
32354
+ for (let i = 0; i < operation.tags.length; i++) {
32355
+ if (!definedTags.has(operation.tags[i])) {
31963
32356
  report({
31964
32357
  message: `Operation tags should be defined in global tags.`,
31965
- location: location.child(["tags", i2]),
32358
+ location: location.child(["tags", i]),
31966
32359
  reference: "https://redocly.com/docs/cli/rules/oas/operation-tag-defined"
31967
32360
  });
31968
32361
  }
@@ -32024,13 +32417,13 @@ var PathHttpVerbsOrder = (opts) => {
32024
32417
  return {
32025
32418
  PathItem(path11, { report, location }) {
32026
32419
  const httpVerbs = Object.keys(path11).filter((k2) => order.includes(k2));
32027
- for (let i2 = 0; i2 < httpVerbs.length - 1; i2++) {
32028
- const aIdx = order.indexOf(httpVerbs[i2]);
32029
- const bIdx = order.indexOf(httpVerbs[i2 + 1]);
32420
+ for (let i = 0; i < httpVerbs.length - 1; i++) {
32421
+ const aIdx = order.indexOf(httpVerbs[i]);
32422
+ const bIdx = order.indexOf(httpVerbs[i + 1]);
32030
32423
  if (bIdx < aIdx) {
32031
32424
  report({
32032
32425
  message: "Operation http verbs must be ordered.",
32033
- location: { reportOnKey: true, ...location.child(httpVerbs[i2 + 1]) },
32426
+ location: { reportOnKey: true, ...location.child(httpVerbs[i + 1]) },
32034
32427
  reference: "https://redocly.com/docs/cli/rules/oas/path-http-verbs-order"
32035
32428
  });
32036
32429
  }
@@ -32176,7 +32569,7 @@ var createOperationHandlers = (pathContext, currentOperationParams, depth = 0) =
32176
32569
  };
32177
32570
  };
32178
32571
  var extractTemplateParams = (path11) => {
32179
- return new Set(Array.from(path11.matchAll(pathRegex)).map((m) => m[1]));
32572
+ return new Set(Array.from(path11.matchAll(pathRegex)).map((m2) => m2[1]));
32180
32573
  };
32181
32574
  var collectPathParamsFromOperation = (parameter, targetSet) => {
32182
32575
  if (isPlainObject(parameter) && "in" in parameter && "name" in parameter) {
@@ -35712,14 +36105,14 @@ async function resolveDocument(opts) {
35712
36105
  return;
35713
36106
  }
35714
36107
  const isTypeAFunction = typeof itemsType === "function";
35715
- for (let i2 = 0; i2 < node.length; i2++) {
35716
- let itemType = isTypeAFunction ? itemsType(node[i2], joinPointer(nodeAbsoluteRef, i2)) : itemsType;
36108
+ for (let i = 0; i < node.length; i++) {
36109
+ let itemType = isTypeAFunction ? itemsType(node[i], joinPointer(nodeAbsoluteRef, i)) : itemsType;
35717
36110
  if (itemType === void 0 && type2 !== unknownType && type2 !== SpecExtension) {
35718
36111
  continue;
35719
36112
  }
35720
- const value = itemType?.directResolveAs ? { $ref: node[i2] } : node[i2];
36113
+ const value = itemType?.directResolveAs ? { $ref: node[i] } : node[i];
35721
36114
  itemType = itemType?.directResolveAs || itemType;
35722
- walk(value, isNamedType(itemType) ? itemType : unknownType, joinPointer(nodeAbsoluteRef, i2));
36115
+ walk(value, isNamedType(itemType) ? itemType : unknownType, joinPointer(nodeAbsoluteRef, i));
35723
36116
  }
35724
36117
  return;
35725
36118
  }
@@ -36446,16 +36839,16 @@ function walkDocument(opts) {
36446
36839
  const itemsType = type.items;
36447
36840
  if (itemsType !== void 0) {
36448
36841
  const isTypeAFunction = typeof itemsType === "function";
36449
- for (let i2 = 0; i2 < resolvedNode.length; i2++) {
36450
- const itemLocation = resolvedLocation.child([i2]);
36451
- let itemType = isTypeAFunction ? itemsType(resolvedNode[i2], itemLocation.absolutePointer) : itemsType;
36452
- let itemValue = resolvedNode[i2];
36842
+ for (let i = 0; i < resolvedNode.length; i++) {
36843
+ const itemLocation = resolvedLocation.child([i]);
36844
+ let itemType = isTypeAFunction ? itemsType(resolvedNode[i], itemLocation.absolutePointer) : itemsType;
36845
+ let itemValue = resolvedNode[i];
36453
36846
  if (itemType?.directResolveAs) {
36454
36847
  itemType = itemType.directResolveAs;
36455
36848
  itemValue = { $ref: itemValue };
36456
36849
  }
36457
36850
  if (isNamedType(itemType)) {
36458
- walkNode(itemValue, itemType, itemLocation, resolvedNode, i2);
36851
+ walkNode(itemValue, itemType, itemLocation, resolvedNode, i);
36459
36852
  }
36460
36853
  }
36461
36854
  }
@@ -37432,15 +37825,15 @@ function getCodeframe(location, color) {
37432
37825
  skipLines = 0;
37433
37826
  const prefixedLines = [];
37434
37827
  let currentPad = 0;
37435
- for (let i2 = startLineNum; i2 <= endLineNum; i2++) {
37436
- if (skipLines > 0 && i2 >= endLineNum - skipLines)
37828
+ for (let i = startLineNum; i <= endLineNum; i++) {
37829
+ if (skipLines > 0 && i >= endLineNum - skipLines)
37437
37830
  break;
37438
- const line = lines[i2 - 1] || "";
37831
+ const line = lines[i - 1] || "";
37439
37832
  if (line !== "")
37440
37833
  currentPad = padSize(line);
37441
- const startIdx = i2 === startLineNum ? start.col - 1 : currentPad;
37442
- const endIdx = i2 === endLineNum ? end.col - 1 : line.length;
37443
- prefixedLines.push([`${i2}`, markLine(line, startIdx, endIdx, colorize.red)]);
37834
+ const startIdx = i === startLineNum ? start.col - 1 : currentPad;
37835
+ const endIdx = i === endLineNum ? end.col - 1 : line.length;
37836
+ prefixedLines.push([`${i}`, markLine(line, startIdx, endIdx, colorize.red)]);
37444
37837
  if (!color)
37445
37838
  prefixedLines.push(["", underlineLine(line, startIdx, endIdx)]);
37446
37839
  }
@@ -37504,9 +37897,9 @@ function leftPad(len, str) {
37504
37897
  return whitespace(len - str.length) + str;
37505
37898
  }
37506
37899
  function padSize(line) {
37507
- for (let i2 = 0; i2 < line.length; i2++) {
37508
- if (line[i2] !== " ")
37509
- return i2;
37900
+ for (let i = 0; i < line.length; i++) {
37901
+ if (line[i] !== " ")
37902
+ return i;
37510
37903
  }
37511
37904
  return line.length;
37512
37905
  }
@@ -37526,18 +37919,18 @@ function positionsToLoc(source, startPos, endPos) {
37526
37919
  let currentLine = 1;
37527
37920
  let currentCol = 1;
37528
37921
  let start = { line: 1, col: 1 };
37529
- for (let i2 = 0; i2 < endPos - 1; i2++) {
37530
- if (i2 === startPos - 1) {
37922
+ for (let i = 0; i < endPos - 1; i++) {
37923
+ if (i === startPos - 1) {
37531
37924
  start = { line: currentLine, col: currentCol + 1 };
37532
37925
  }
37533
- if (source[i2] === "\n") {
37926
+ if (source[i] === "\n") {
37534
37927
  currentLine++;
37535
37928
  currentCol = 1;
37536
- if (i2 === startPos - 1) {
37929
+ if (i === startPos - 1) {
37537
37930
  start = { line: currentLine, col: currentCol };
37538
37931
  }
37539
- if (source[i2 + 1] === "\r")
37540
- i2++;
37932
+ if (source[i + 1] === "\r")
37933
+ i++;
37541
37934
  continue;
37542
37935
  }
37543
37936
  currentCol++;
@@ -37553,7 +37946,7 @@ function getAstNodeByPointer(root, pointer, reportOnKey) {
37553
37946
  let currentNode = root;
37554
37947
  for (const key of pointerSegments) {
37555
37948
  if (currentNode.kind === yamlAst.Kind.MAP) {
37556
- const mapping = currentNode.mappings.find((m) => m.key.value === key);
37949
+ const mapping = currentNode.mappings.find((m2) => m2.key.value === key);
37557
37950
  if (!mapping)
37558
37951
  break;
37559
37952
  currentNode = mapping;
@@ -37612,14 +38005,14 @@ function getTotals(problems) {
37612
38005
  let errors = 0;
37613
38006
  let warnings = 0;
37614
38007
  let ignored = 0;
37615
- for (const m of problems) {
37616
- if (m.ignored) {
38008
+ for (const m2 of problems) {
38009
+ if (m2.ignored) {
37617
38010
  ignored++;
37618
38011
  continue;
37619
38012
  }
37620
- if (m.severity === "error")
38013
+ if (m2.severity === "error")
37621
38014
  errors++;
37622
- if (m.severity === "warn")
38015
+ if (m2.severity === "warn")
37623
38016
  warnings++;
37624
38017
  }
37625
38018
  return {
@@ -37632,7 +38025,7 @@ function formatProblems(problems, opts) {
37632
38025
  const { maxProblems = 100, cwd = isBrowser ? "" : process.cwd(), format = "codeframe", color = colorOptions.enabled, totals = getTotals(problems), version = "2.0", command } = opts;
37633
38026
  colorOptions.enabled = color;
37634
38027
  const totalProblems = problems.length;
37635
- problems = problems.filter((m) => !m.ignored);
38028
+ problems = problems.filter((m2) => !m2.ignored);
37636
38029
  const ignoredProblems = totalProblems - problems.length;
37637
38030
  problems = problems.sort((a2, b2) => severityToNumber(a2.severity) - severityToNumber(b2.severity)).slice(0, maxProblems);
37638
38031
  if (!totalProblems && format !== "json" && format !== "junit")
@@ -37642,13 +38035,13 @@ function formatProblems(problems, opts) {
37642
38035
  outputJSON();
37643
38036
  break;
37644
38037
  case "codeframe":
37645
- for (let i2 = 0; i2 < problems.length; i2++) {
37646
- const problem = problems[i2];
38038
+ for (let i = 0; i < problems.length; i++) {
38039
+ const problem = problems[i];
37647
38040
  if (command === "bundle") {
37648
- logger.info(`${formatCodeframe(problem, i2)}
38041
+ logger.info(`${formatCodeframe(problem, i)}
37649
38042
  `);
37650
38043
  } else {
37651
- logger.output(`${formatCodeframe(problem, i2)}
38044
+ logger.output(`${formatCodeframe(problem, i)}
37652
38045
  `);
37653
38046
  }
37654
38047
  }
@@ -37658,8 +38051,8 @@ function formatProblems(problems, opts) {
37658
38051
  for (const [file, { ruleIdPad, locationPad: positionPad, fileProblems }] of Object.entries(groupedByFile)) {
37659
38052
  logger.output(`${colorize.blue(isAbsoluteUrl(file) ? file : path10.relative(cwd, file))}:
37660
38053
  `);
37661
- for (let i2 = 0; i2 < fileProblems.length; i2++) {
37662
- const problem = fileProblems[i2];
38054
+ for (let i = 0; i < fileProblems.length; i++) {
38055
+ const problem = fileProblems[i];
37663
38056
  logger.output(`${formatStylish(problem, positionPad, ruleIdPad)}
37664
38057
  `);
37665
38058
  }
@@ -37677,8 +38070,8 @@ function formatProblems(problems, opts) {
37677
38070
  `);
37678
38071
  logger.output(`|---|---|---|---|
37679
38072
  `);
37680
- for (let i2 = 0; i2 < fileProblems.length; i2++) {
37681
- const problem = fileProblems[i2];
38073
+ for (let i = 0; i < fileProblems.length; i++) {
38074
+ const problem = fileProblems[i];
37682
38075
  logger.output(`${formatMarkdown(problem)}
37683
38076
  `);
37684
38077
  }
@@ -38002,9 +38395,9 @@ function outputForGithubActions(problems, cwd) {
38002
38395
  }
38003
38396
 
38004
38397
  // ../core/lib/lint.js
38005
- var { theme: _3, ...propertiesWithoutTheme2 } = eo.properties;
38398
+ var { theme: _3, ...propertiesWithoutTheme2 } = Qo.properties;
38006
38399
  var redoclyConfigSchemaWithoutTheme2 = {
38007
- ...eo,
38400
+ ...Qo,
38008
38401
  properties: propertiesWithoutTheme2
38009
38402
  };
38010
38403
  async function lint(opts) {