@swagger-api/apidom-parser-adapter-json-schema-json-2020-12 1.0.0-beta.10 → 1.0.0-beta.12

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-beta.12](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2025-02-11)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-json-schema-json-2020-12
9
+
10
+ # [1.0.0-beta.11](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2025-01-27)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-json-schema-json-2020-12
13
+
6
14
  # [1.0.0-beta.10](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2025-01-25)
7
15
 
8
16
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-json-schema-json-2020-12
@@ -22531,98 +22531,12 @@ class JSONSchema extends _swagger_api_apidom_ns_json_schema_2019_09__WEBPACK_IMP
22531
22531
  * URI: https://json-schema.org/draft/2020-12/vocab/applicator
22532
22532
  */
22533
22533
 
22534
- get not() {
22535
- return this.get('not');
22536
- }
22537
- set not(not) {
22538
- this.set('not', not);
22539
- }
22540
- get if() {
22541
- return this.get('if');
22542
- }
22543
- set if(ifSchema) {
22544
- this.set('if', ifSchema);
22545
- }
22546
- get then() {
22547
- return this.get('then');
22548
- }
22549
- set then(thenSchema) {
22550
- this.set('then', thenSchema);
22551
- }
22552
- get else() {
22553
- return this.get('else');
22554
- }
22555
- set else(elseSchema) {
22556
- this.set('else', elseSchema);
22557
- }
22558
22534
  get prefixItems() {
22559
22535
  return this.get('prefixItems');
22560
22536
  }
22561
22537
  set prefixItems(prefixItems) {
22562
22538
  this.set('prefixItems', prefixItems);
22563
22539
  }
22564
- get items() {
22565
- return this.get('items');
22566
- }
22567
- set items(items) {
22568
- this.set('items', items);
22569
- }
22570
- get containsProp() {
22571
- return this.get('contains');
22572
- }
22573
- set containsProp(containsProp) {
22574
- this.set('contains', containsProp);
22575
- }
22576
- get additionalProperties() {
22577
- return this.get('additionalProperties');
22578
- }
22579
- set additionalProperties(additionalProperties) {
22580
- this.set('additionalProperties', additionalProperties);
22581
- }
22582
- get additionalItems() {
22583
- throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('additionalItems keyword from Applicator vocabulary has been removed.');
22584
- }
22585
- set additionalItems(additionalItems) {
22586
- throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('additionalItems keyword from Applicator vocabulary has been removed.');
22587
- }
22588
- get propertyNames() {
22589
- return this.get('propertyNames');
22590
- }
22591
- set propertyNames(propertyNames) {
22592
- this.set('propertyNames', propertyNames);
22593
- }
22594
-
22595
- /**
22596
- * Unevaluated Locations vocabulary
22597
- *
22598
- * URI: https://json-schema.org/draft/2020-12/json-schema-core#section-11
22599
- */
22600
-
22601
- get unevaluatedItems() {
22602
- return this.get('unevaluatedItems');
22603
- }
22604
- set unevaluatedItems(unevaluatedItems) {
22605
- this.set('unevaluatedItems', unevaluatedItems);
22606
- }
22607
- get unevaluatedProperties() {
22608
- return this.get('unevaluatedProperties');
22609
- }
22610
- set unevaluatedProperties(unevaluatedProperties) {
22611
- this.set('unevaluatedProperties', unevaluatedProperties);
22612
- }
22613
-
22614
- /**
22615
- * Vocabulary for the Contents of String-Encoded Data
22616
- *
22617
- * URI: https://json-schema.org/draft/2020-12/vocab/content
22618
- */
22619
-
22620
- get contentSchema() {
22621
- return this.get('contentSchema');
22622
- }
22623
- set contentSchema(contentSchema) {
22624
- this.set('contentSchema', contentSchema);
22625
- }
22626
22540
  }
22627
22541
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONSchema);
22628
22542
 
@@ -24047,7 +23961,7 @@ __webpack_require__.r(__webpack_exports__);
24047
23961
  */
24048
23962
  class SpecificationVisitor extends _Visitor_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
24049
23963
  specObj;
24050
- passingOptionsNames = ['specObj'];
23964
+ passingOptionsNames = ['specObj', 'parent'];
24051
23965
  constructor({
24052
23966
  specObj,
24053
23967
  ...rest
@@ -24084,7 +23998,7 @@ class SpecificationVisitor extends _Visitor_mjs__WEBPACK_IMPORTED_MODULE_0__["de
24084
23998
  }
24085
23999
  toRefractedElement(specPath, element, options = {}) {
24086
24000
  /**
24087
- * This is `Visitor shortcut`: mechanism for short circuiting the traversal and replacing
24001
+ * This is `Visitor shortcut`: mechanism for short-circuiting the traversal and replacing
24088
24002
  * it by basic node cloning.
24089
24003
  *
24090
24004
  * Visiting the element is equivalent to cloning it if the prototype of a visitor
@@ -24930,7 +24844,7 @@ class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(
24930
24844
  this.handleDialectIdentifier(objectElement);
24931
24845
  this.handleSchemaIdentifier(objectElement);
24932
24846
 
24933
- // for further processing consider this Schema Element as parent for all embedded Schema Elements
24847
+ // for further processing consider this JSONSchema Element as parent for all sub-schemas
24934
24848
  this.parent = this.element;
24935
24849
  return _generics_FixedFieldsVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.ObjectElement.call(this, objectElement);
24936
24850
  }
@@ -25745,13 +25659,6 @@ class JSONSchema extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMP
25745
25659
  /**
25746
25660
  * Validation keywords for arrays
25747
25661
  */
25748
-
25749
- get containsProp() {
25750
- return this.get('contains');
25751
- }
25752
- set containsProp(contains) {
25753
- this.set('contains', contains);
25754
- }
25755
25662
  get items() {
25756
25663
  return this.get('items');
25757
25664
  }
@@ -25759,17 +25666,6 @@ class JSONSchema extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMP
25759
25666
  this.set('items', items);
25760
25667
  }
25761
25668
 
25762
- /**
25763
- * Validation keywords for objects
25764
- */
25765
-
25766
- get propertyNames() {
25767
- return this.get('propertyNames');
25768
- }
25769
- set propertyNames(propertyNames) {
25770
- this.set('propertyNames', propertyNames);
25771
- }
25772
-
25773
25669
  /**
25774
25670
  * Keywords for Applying Subschemas Conditionally
25775
25671
  *