@swagger-api/apidom-ns-json-schema-draft-6 1.0.0-beta.4 → 1.0.0-beta.41

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-ns-json-schema-draft-6",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.41",
4
4
  "description": "JSON Schema Draft 6 namespace for ApiDOM.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -41,10 +41,10 @@
41
41
  "author": "Vladimir Gorej",
42
42
  "license": "Apache-2.0",
43
43
  "dependencies": {
44
- "@babel/runtime-corejs3": "^7.20.7",
45
- "@swagger-api/apidom-core": "^1.0.0-beta.4",
46
- "@swagger-api/apidom-error": "^1.0.0-beta.4",
47
- "@swagger-api/apidom-ns-json-schema-draft-4": "^1.0.0-beta.4",
44
+ "@babel/runtime-corejs3": "^7.26.10",
45
+ "@swagger-api/apidom-core": "^1.0.0-beta.41",
46
+ "@swagger-api/apidom-error": "^1.0.0-beta.41",
47
+ "@swagger-api/apidom-ns-json-schema-draft-4": "^1.0.0-beta.41",
48
48
  "@types/ramda": "~0.30.0",
49
49
  "ramda": "~0.30.0",
50
50
  "ramda-adjunct": "^5.0.0",
@@ -60,5 +60,5 @@
60
60
  "README.md",
61
61
  "CHANGELOG.md"
62
62
  ],
63
- "gitHead": "aca988b356e303bd9aaa900d8ba3de49b3bb80be"
63
+ "gitHead": "ef254d95ce2b4d25eadcae8344a61954147b7615"
64
64
  }
package/src/index.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
4
4
  var _interopRequireWildcard = require("@babel/runtime-corejs3/helpers/interopRequireWildcard").default;
5
5
  exports.__esModule = true;
6
- exports.specificationObj = exports.refractorPluginReplaceEmptyElement = exports.refract = exports.mediaTypes = exports.keyMap = exports.isStringElement = exports.isRefElement = exports.isObjectElement = exports.isNumberElement = exports.isNullElement = exports.isMemberElement = exports.isMediaElement = exports.isLinkElement = exports.isLinkDescriptionElement = exports.isJSONSchemaElement = exports.isJSONReferenceLikeElement = exports.isJSONReferenceElement = exports.isElement = exports.isBooleanElement = exports.isArrayElement = exports.getNodeType = exports.default = exports.createRefractor = exports.Visitor = exports.SpecificationVisitor = exports.PatternedFieldsVisitor = exports.ParentSchemaAwareVisitor = exports.MediaElement = exports.MapVisitor = exports.LinkDescriptionElement = exports.JSONSchemaElement = exports.JSONSchemaDraft6MediaTypes = exports.JSONReferenceElement = exports.FixedFieldsVisitor = exports.FallbackVisitor = exports.AlternatingVisitor = void 0;
6
+ exports.specificationObj = exports.refractorPluginReplaceEmptyElement = exports.refract = exports.mediaTypes = exports.keyMap = exports.isStringElement = exports.isRefElement = exports.isObjectElement = exports.isNumberElement = exports.isNullElement = exports.isMemberElement = exports.isMediaElement = exports.isLinkElement = exports.isLinkDescriptionElement = exports.isJSONSchemaElement = exports.isJSONReferenceLikeElement = exports.isJSONReferenceElement = exports.isElement = exports.isBooleanElement = exports.isArrayElement = exports.getNodeType = exports.default = exports.createRefractor = exports.Visitor = exports.SpecificationVisitor = exports.PatternedFieldsVisitor = exports.ParentSchemaAwareVisitor = exports.MediaElement = exports.MapVisitor = exports.LinkDescriptionVisitor = exports.LinkDescriptionElement = exports.JSONSchemaVisitor = exports.JSONSchemaElement = exports.JSONSchemaDraft6MediaTypes = exports.JSONReferenceElement = exports.ItemsVisitor = exports.FixedFieldsVisitor = exports.FallbackVisitor = exports.AlternatingVisitor = void 0;
7
7
  var _apidomCore = require("@swagger-api/apidom-core");
8
8
  exports.isRefElement = _apidomCore.isRefElement;
9
9
  exports.isLinkElement = _apidomCore.isLinkElement;
@@ -44,6 +44,12 @@ exports.ParentSchemaAwareVisitor = _apidomNsJsonSchemaDraft.ParentSchemaAwareVis
44
44
  exports.Visitor = _apidomNsJsonSchemaDraft.Visitor;
45
45
  exports.JSONReferenceElement = _apidomNsJsonSchemaDraft.JSONReferenceElement;
46
46
  exports.MediaElement = _apidomNsJsonSchemaDraft.MediaElement;
47
+ var _index2 = _interopRequireDefault(require("./refractor/visitors/json-schema/link-description/index.cjs"));
48
+ exports.LinkDescriptionVisitor = _index2.default;
49
+ var _index3 = _interopRequireDefault(require("./refractor/visitors/json-schema/index.cjs"));
50
+ exports.JSONSchemaVisitor = _index3.default;
51
+ var _ItemsVisitor = _interopRequireDefault(require("./refractor/visitors/json-schema/ItemsVisitor.cjs"));
52
+ exports.ItemsVisitor = _ItemsVisitor.default;
47
53
  var _visitor = require("./traversal/visitor.cjs");
48
54
  exports.keyMap = _visitor.keyMap;
49
55
  exports.getNodeType = _visitor.getNodeType;
package/src/index.mjs CHANGED
@@ -7,6 +7,9 @@ export { default as refract, createRefractor } from "./refractor/index.mjs";
7
7
  export { default as specificationObj } from "./refractor/specification.mjs";
8
8
  export { isJSONReferenceElement, isJSONSchemaElement, isLinkDescriptionElement, isMediaElement } from "./predicates.mjs";
9
9
  export { isJSONReferenceLikeElement, SpecificationVisitor, FallbackVisitor, FixedFieldsVisitor, PatternedFieldsVisitor, MapVisitor, AlternatingVisitor, ParentSchemaAwareVisitor, Visitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
10
+ export { default as LinkDescriptionVisitor } from "./refractor/visitors/json-schema/link-description/index.mjs";
11
+ export { default as JSONSchemaVisitor } from "./refractor/visitors/json-schema/index.mjs";
12
+ export { default as ItemsVisitor } from "./refractor/visitors/json-schema/ItemsVisitor.mjs";
10
13
  export { keyMap, getNodeType } from "./traversal/visitor.mjs";
11
14
  /**
12
15
  * JSON Schema Draft 6 specification elements.
@@ -2,33 +2,12 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
- var _tsMixer = require("ts-mixer");
6
5
  var _apidomCore = require("@swagger-api/apidom-core");
7
6
  var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-4");
8
7
  /**
9
8
  * @public
10
9
  */
11
-
12
- /**
13
- * @public
14
- */
15
- class ItemsVisitor extends (0, _tsMixer.Mixin)(_apidomNsJsonSchemaDraft.SpecificationVisitor, _apidomNsJsonSchemaDraft.ParentSchemaAwareVisitor, _apidomNsJsonSchemaDraft.FallbackVisitor) {
16
- ObjectElement(objectElement) {
17
- const specPath = (0, _apidomNsJsonSchemaDraft.isJSONReferenceLikeElement)(objectElement) ? ['document', 'objects', 'JSONReference'] : ['document', 'objects', 'JSONSchema'];
18
- this.element = this.toRefractedElement(specPath, objectElement);
19
- return _apidomCore.BREAK;
20
- }
21
- ArrayElement(arrayElement) {
22
- this.element = new _apidomCore.ArrayElement();
23
- this.element.classes.push('json-schema-items');
24
- arrayElement.forEach(item => {
25
- const specPath = (0, _apidomNsJsonSchemaDraft.isJSONReferenceLikeElement)(item) ? ['document', 'objects', 'JSONReference'] : ['document', 'objects', 'JSONSchema'];
26
- const element = this.toRefractedElement(specPath, item);
27
- this.element.push(element);
28
- });
29
- this.copyMetaAndAttributes(arrayElement, this.element);
30
- return _apidomCore.BREAK;
31
- }
10
+ class ItemsVisitor extends _apidomNsJsonSchemaDraft.ItemsVisitor {
32
11
  BooleanElement(booleanElement) {
33
12
  this.element = this.toRefractedElement(['document', 'objects', 'JSONSchema'], booleanElement);
34
13
  return _apidomCore.BREAK;
@@ -1,31 +1,9 @@
1
- import { Mixin } from 'ts-mixer';
2
- import { ArrayElement, BREAK } from '@swagger-api/apidom-core';
3
- import { SpecificationVisitor, FallbackVisitor, ParentSchemaAwareVisitor, isJSONReferenceLikeElement } from '@swagger-api/apidom-ns-json-schema-draft-4';
4
-
1
+ import { BREAK } from '@swagger-api/apidom-core';
2
+ import { ItemsVisitor as JSONSchemaDraft4ItemsVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
5
3
  /**
6
4
  * @public
7
5
  */
8
-
9
- /**
10
- * @public
11
- */
12
- class ItemsVisitor extends Mixin(SpecificationVisitor, ParentSchemaAwareVisitor, FallbackVisitor) {
13
- ObjectElement(objectElement) {
14
- const specPath = isJSONReferenceLikeElement(objectElement) ? ['document', 'objects', 'JSONReference'] : ['document', 'objects', 'JSONSchema'];
15
- this.element = this.toRefractedElement(specPath, objectElement);
16
- return BREAK;
17
- }
18
- ArrayElement(arrayElement) {
19
- this.element = new ArrayElement();
20
- this.element.classes.push('json-schema-items');
21
- arrayElement.forEach(item => {
22
- const specPath = isJSONReferenceLikeElement(item) ? ['document', 'objects', 'JSONReference'] : ['document', 'objects', 'JSONSchema'];
23
- const element = this.toRefractedElement(specPath, item);
24
- this.element.push(element);
25
- });
26
- this.copyMetaAndAttributes(arrayElement, this.element);
27
- return BREAK;
28
- }
6
+ class ItemsVisitor extends JSONSchemaDraft4ItemsVisitor {
29
7
  BooleanElement(booleanElement) {
30
8
  this.element = this.toRefractedElement(['document', 'objects', 'JSONSchema'], booleanElement);
31
9
  return BREAK;
@@ -3,30 +3,28 @@
3
3
  var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
4
4
  exports.__esModule = true;
5
5
  exports.default = void 0;
6
- var _tsMixer = require("ts-mixer");
7
- var _ramda = require("ramda");
8
6
  var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-4");
9
7
  var _JSONSchema = _interopRequireDefault(require("../../../elements/JSONSchema.cjs"));
10
8
  /**
11
9
  * @public
12
10
  */
13
-
14
- /**
15
- * @public
16
- */
17
- class JSONSchemaVisitor extends (0, _tsMixer.Mixin)(_apidomNsJsonSchemaDraft.FixedFieldsVisitor, _apidomNsJsonSchemaDraft.FallbackVisitor) {
11
+ class JSONSchemaVisitor extends _apidomNsJsonSchemaDraft.JSONSchemaVisitor {
18
12
  constructor(options) {
19
13
  super(options);
20
- this.specPath = (0, _ramda.always)(['document', 'objects', 'JSONSchema']);
21
- }
22
- ObjectElement(objectElement) {
23
14
  this.element = new _JSONSchema.default();
24
- return _apidomNsJsonSchemaDraft.FixedFieldsVisitor.prototype.ObjectElement.call(this, objectElement);
15
+ }
16
+
17
+ // eslint-disable-next-line class-methods-use-this
18
+ get defaultDialectIdentifier() {
19
+ return 'http://json-schema.org/draft-06/schema#';
25
20
  }
26
21
  BooleanElement(booleanElement) {
27
22
  const result = this.enter(booleanElement);
28
23
  this.element.classes.push('boolean-json-schema');
29
24
  return result;
30
25
  }
26
+ handleSchemaIdentifier(objectElement, identifierKeyword = '$id') {
27
+ return super.handleSchemaIdentifier(objectElement, identifierKeyword);
28
+ }
31
29
  }
32
30
  var _default = exports.default = JSONSchemaVisitor;
@@ -1,26 +1,25 @@
1
- import { Mixin } from 'ts-mixer';
2
- import { always } from 'ramda';
3
- import { FixedFieldsVisitor, FallbackVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
1
+ import { JSONSchemaVisitor as JSONSchemaDraft4Visitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
4
2
  import JSONSchemaElement from "../../../elements/JSONSchema.mjs";
5
3
  /**
6
4
  * @public
7
5
  */
8
- /**
9
- * @public
10
- */
11
- class JSONSchemaVisitor extends Mixin(FixedFieldsVisitor, FallbackVisitor) {
6
+ class JSONSchemaVisitor extends JSONSchemaDraft4Visitor {
12
7
  constructor(options) {
13
8
  super(options);
14
- this.specPath = always(['document', 'objects', 'JSONSchema']);
15
- }
16
- ObjectElement(objectElement) {
17
9
  this.element = new JSONSchemaElement();
18
- return FixedFieldsVisitor.prototype.ObjectElement.call(this, objectElement);
10
+ }
11
+
12
+ // eslint-disable-next-line class-methods-use-this
13
+ get defaultDialectIdentifier() {
14
+ return 'http://json-schema.org/draft-06/schema#';
19
15
  }
20
16
  BooleanElement(booleanElement) {
21
17
  const result = this.enter(booleanElement);
22
18
  this.element.classes.push('boolean-json-schema');
23
19
  return result;
24
20
  }
21
+ handleSchemaIdentifier(objectElement, identifierKeyword = '$id') {
22
+ return super.handleSchemaIdentifier(objectElement, identifierKeyword);
23
+ }
25
24
  }
26
25
  export default JSONSchemaVisitor;
@@ -3,22 +3,15 @@
3
3
  var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
4
4
  exports.__esModule = true;
5
5
  exports.default = void 0;
6
- var _tsMixer = require("ts-mixer");
7
- var _ramda = require("ramda");
8
6
  var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-4");
9
7
  var _LinkDescription = _interopRequireDefault(require("../../../../elements/LinkDescription.cjs"));
10
8
  /**
11
9
  * @public
12
10
  */
13
-
14
- /**
15
- * @public
16
- */
17
- class LinkDescriptionVisitor extends (0, _tsMixer.Mixin)(_apidomNsJsonSchemaDraft.FixedFieldsVisitor, _apidomNsJsonSchemaDraft.FallbackVisitor) {
11
+ class LinkDescriptionVisitor extends _apidomNsJsonSchemaDraft.LinkDescriptionVisitor {
18
12
  constructor(options) {
19
13
  super(options);
20
14
  this.element = new _LinkDescription.default();
21
- this.specPath = (0, _ramda.always)(['document', 'objects', 'LinkDescription']);
22
15
  }
23
16
  }
24
17
  var _default = exports.default = LinkDescriptionVisitor;
@@ -1,18 +1,12 @@
1
- import { Mixin } from 'ts-mixer';
2
- import { always } from 'ramda';
3
- import { FixedFieldsVisitor, FallbackVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
1
+ import { LinkDescriptionVisitor as JSONSchemaDraft4LinkDescriptionVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
4
2
  import LinkDescriptionElement from "../../../../elements/LinkDescription.mjs";
5
3
  /**
6
4
  * @public
7
5
  */
8
- /**
9
- * @public
10
- */
11
- class LinkDescriptionVisitor extends Mixin(FixedFieldsVisitor, FallbackVisitor) {
6
+ class LinkDescriptionVisitor extends JSONSchemaDraft4LinkDescriptionVisitor {
12
7
  constructor(options) {
13
8
  super(options);
14
9
  this.element = new LinkDescriptionElement();
15
- this.specPath = always(['document', 'objects', 'LinkDescription']);
16
10
  }
17
11
  }
18
12
  export default LinkDescriptionVisitor;
@@ -3,20 +3,11 @@
3
3
  exports.__esModule = true;
4
4
  exports.keyMap = exports.getNodeType = void 0;
5
5
  var _apidomCore = require("@swagger-api/apidom-core");
6
+ var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-4");
7
+ exports.getNodeType = _apidomNsJsonSchemaDraft.getNodeType;
6
8
  /**
7
9
  * @public
8
10
  */
9
- const getNodeType = element => {
10
- if (!(0, _apidomCore.isElement)(element)) {
11
- return undefined;
12
- }
13
- return `${element.element.charAt(0).toUpperCase() + element.element.slice(1)}Element`;
14
- };
15
-
16
- /**
17
- * @public
18
- */
19
- exports.getNodeType = getNodeType;
20
11
  const keyMap = exports.keyMap = {
21
12
  JSONSchemaDraft6Element: ['content'],
22
13
  JSONReferenceElement: ['content'],
@@ -1,14 +1,5 @@
1
- import { keyMap as keyMapBase, isElement } from '@swagger-api/apidom-core';
2
-
3
- /**
4
- * @public
5
- */
6
- export const getNodeType = element => {
7
- if (!isElement(element)) {
8
- return undefined;
9
- }
10
- return `${element.element.charAt(0).toUpperCase() + element.element.slice(1)}Element`;
11
- };
1
+ import { keyMap as keyMapBase } from '@swagger-api/apidom-core';
2
+ export { getNodeType } from '@swagger-api/apidom-ns-json-schema-draft-4';
12
3
 
13
4
  /**
14
5
  * @public
@@ -7,7 +7,6 @@ import { AnyOfVisitorOptions } from '@swagger-api/apidom-ns-json-schema-draft-4'
7
7
  import { ArrayElement } from '@swagger-api/apidom-core';
8
8
  import { Attributes } from '@swagger-api/apidom-core';
9
9
  import { BooleanElement } from '@swagger-api/apidom-core';
10
- import { Class } from 'ts-mixer/dist/types/types.js';
11
10
  import { DefinitionsVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
12
11
  import { DefinitionsVisitorOptions } from '@swagger-api/apidom-ns-json-schema-draft-4';
13
12
  import { DependenciesVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
@@ -19,6 +18,7 @@ import { FallbackVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
19
18
  import { FallbackVisitorOptions } from '@swagger-api/apidom-ns-json-schema-draft-4';
20
19
  import { FixedFieldsVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
21
20
  import { FixedFieldsVisitorOptions } from '@swagger-api/apidom-ns-json-schema-draft-4';
21
+ import { getNodeType } from '@swagger-api/apidom-ns-json-schema-draft-4';
22
22
  import { isArrayElement } from '@swagger-api/apidom-core';
23
23
  import { isBooleanElement } from '@swagger-api/apidom-core';
24
24
  import { isElement } from '@swagger-api/apidom-core';
@@ -32,14 +32,17 @@ import { isNumberElement } from '@swagger-api/apidom-core';
32
32
  import { isObjectElement } from '@swagger-api/apidom-core';
33
33
  import { isRefElement } from '@swagger-api/apidom-core';
34
34
  import { isStringElement } from '@swagger-api/apidom-core';
35
+ import { ItemsVisitorOptions } from '@swagger-api/apidom-ns-json-schema-draft-4';
35
36
  import { JSONReference$RefVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
36
37
  import { JSONReferenceElement } from '@swagger-api/apidom-ns-json-schema-draft-4';
37
38
  import { JSONReferenceVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
38
39
  import { ItemsVisitor as JSONSchemaDraft4ItemsVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
39
40
  import { JSONSchemaElement as JSONSchemaElement_2 } from '@swagger-api/apidom-ns-json-schema-draft-4';
40
41
  import { JSONSchemaVisitor as JSONSchemaVisitor_2 } from '@swagger-api/apidom-ns-json-schema-draft-4';
42
+ import { JSONSchemaVisitorOptions } from '@swagger-api/apidom-ns-json-schema-draft-4';
41
43
  import { LinkDescriptionElement as LinkDescriptionElement_2 } from '@swagger-api/apidom-ns-json-schema-draft-4';
42
44
  import { LinkDescriptionVisitor as LinkDescriptionVisitor_2 } from '@swagger-api/apidom-ns-json-schema-draft-4';
45
+ import { LinkDescriptionVisitorOptions } from '@swagger-api/apidom-ns-json-schema-draft-4';
43
46
  import { LinksVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
44
47
  import { MapVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
45
48
  import { MapVisitorOptions } from '@swagger-api/apidom-ns-json-schema-draft-4';
@@ -120,10 +123,7 @@ export { FixedFieldsVisitorOptions }
120
123
  */
121
124
  export declare type Format = 'generic' | 'json' | 'yaml';
122
125
 
123
- /**
124
- * @public
125
- */
126
- export declare const getNodeType: <T extends Element_2>(element: T) => string | undefined;
126
+ export { getNodeType }
127
127
 
128
128
  export { isArrayElement }
129
129
 
@@ -164,20 +164,11 @@ export { isStringElement }
164
164
  /**
165
165
  * @public
166
166
  */
167
- export declare class ItemsVisitor extends ItemsVisitor_base {
168
- element: ObjectElement | ArrayElement;
169
- ObjectElement(objectElement: ObjectElement): {};
170
- ArrayElement(arrayElement: ArrayElement): {};
167
+ export declare class ItemsVisitor extends JSONSchemaDraft4ItemsVisitor {
171
168
  BooleanElement(booleanElement: BooleanElement): {};
172
169
  }
173
170
 
174
- declare const ItemsVisitor_base: Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
175
-
176
- /**
177
- * @public
178
- */
179
- export declare interface ItemsVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
180
- }
171
+ export { ItemsVisitorOptions }
181
172
 
182
173
  export { JSONReferenceElement }
183
174
 
@@ -257,21 +248,15 @@ export declare class JSONSchemaElement extends JSONSchemaElement_2 {
257
248
  /**
258
249
  * @public
259
250
  */
260
- export declare class JSONSchemaVisitor extends JSONSchemaVisitor_base {
251
+ export declare class JSONSchemaVisitor extends JSONSchemaVisitor_2 {
261
252
  element: JSONSchemaElement;
262
- protected readonly specPath: SpecPath<['document', 'objects', 'JSONSchema']>;
263
253
  constructor(options: JSONSchemaVisitorOptions);
264
- ObjectElement(objectElement: ObjectElement): {};
254
+ get defaultDialectIdentifier(): string;
265
255
  BooleanElement(booleanElement: BooleanElement): {};
256
+ handleSchemaIdentifier(objectElement: ObjectElement, identifierKeyword?: string): void;
266
257
  }
267
258
 
268
- declare const JSONSchemaVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
269
-
270
- /**
271
- * @public
272
- */
273
- export declare interface JSONSchemaVisitorOptions extends FixedFieldsVisitorOptions, FallbackVisitorOptions {
274
- }
259
+ export { JSONSchemaVisitorOptions }
275
260
 
276
261
  /**
277
262
  * @public
@@ -320,19 +305,12 @@ export declare class LinkDescriptionElement extends LinkDescriptionElement_2 {
320
305
  /**
321
306
  * @public
322
307
  */
323
- export declare class LinkDescriptionVisitor extends LinkDescriptionVisitor_base {
308
+ export declare class LinkDescriptionVisitor extends LinkDescriptionVisitor_2 {
324
309
  readonly element: LinkDescriptionElement;
325
- protected readonly specPath: SpecPath<['document', 'objects', 'LinkDescription']>;
326
310
  constructor(options: LinkDescriptionVisitorOptions);
327
311
  }
328
312
 
329
- declare const LinkDescriptionVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
330
-
331
- /**
332
- * @public
333
- */
334
- export declare interface LinkDescriptionVisitorOptions extends FixedFieldsVisitorOptions, FallbackVisitorOptions {
335
- }
313
+ export { LinkDescriptionVisitorOptions }
336
314
 
337
315
  export { MapVisitor }
338
316