@swagger-api/apidom-parser-adapter-asyncapi-json-2 1.0.0-beta.5 → 1.0.0-beta.7

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.7](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2025-01-21)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
9
+
10
+ # [1.0.0-beta.6](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.5...v1.0.0-beta.6) (2024-12-30)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
13
+
6
14
  # [1.0.0-beta.5](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2024-12-16)
7
15
 
8
16
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
@@ -0,0 +1,182 @@
1
+ This Academic Free License (the "License") applies to any original work
2
+ of authorship (the "Original Work") whose owner (the "Licensor") has
3
+ placed the following licensing notice adjacent to the copyright notice
4
+ for the Original Work:
5
+
6
+ Licensed under the Academic Free License version 3.0
7
+
8
+ 1) Grant of Copyright License. Licensor grants You a worldwide,
9
+ royalty-free, non-exclusive, sublicensable license, for the duration of
10
+ the copyright, to do the following:
11
+
12
+ a) to reproduce the Original Work in copies, either alone or as part of
13
+ a collective work;
14
+
15
+ b) to translate, adapt, alter, transform, modify, or arrange the
16
+ Original Work, thereby creating derivative works ("Derivative Works")
17
+ based upon the Original Work;
18
+
19
+ c) to distribute or communicate copies of the Original Work and
20
+ Derivative Works to the public, under any license of your choice that
21
+ does not contradict the terms and conditions, including Licensor's
22
+ reserved rights and remedies, in this Academic Free License;
23
+
24
+ d) to perform the Original Work publicly; and
25
+
26
+ e) to display the Original Work publicly.
27
+
28
+ 2) Grant of Patent License. Licensor grants You a worldwide,
29
+ royalty-free, non-exclusive, sublicensable license, under patent claims
30
+ owned or controlled by the Licensor that are embodied in the Original
31
+ Work as furnished by the Licensor, for the duration of the patents, to
32
+ make, use, sell, offer for sale, have made, and import the Original Work
33
+ and Derivative Works.
34
+
35
+ 3) Grant of Source Code License. The term "Source Code" means the
36
+ preferred form of the Original Work for making modifications to it
37
+ and all available documentation describing how to modify the Original
38
+ Work. Licensor agrees to provide a machine-readable copy of the Source
39
+ Code of the Original Work along with each copy of the Original Work
40
+ that Licensor distributes. Licensor reserves the right to satisfy this
41
+ obligation by placing a machine-readable copy of the Source Code in an
42
+ information repository reasonably calculated to permit inexpensive and
43
+ convenient access by You for as long as Licensor continues to distribute
44
+ the Original Work.
45
+
46
+ 4) Exclusions From License Grant. Neither the names of Licensor, nor
47
+ the names of any contributors to the Original Work, nor any of their
48
+ trademarks or service marks, may be used to endorse or promote products
49
+ derived from this Original Work without express prior permission of the
50
+ Licensor. Except as expressly stated herein, nothing in this License
51
+ grants any license to Licensor's trademarks, copyrights, patents, trade
52
+ secrets or any other intellectual property. No patent license is granted
53
+ to make, use, sell, offer for sale, have made, or import embodiments
54
+ of any patent claims other than the licensed claims defined in Section
55
+ 2. No license is granted to the trademarks of Licensor even if such
56
+ marks are included in the Original Work. Nothing in this License shall
57
+ be interpreted to prohibit Licensor from licensing under terms different
58
+ from this License any Original Work that Licensor otherwise would have a
59
+ right to license.
60
+
61
+ 5) External Deployment. The term "External Deployment" means the use,
62
+ distribution, or communication of the Original Work or Derivative
63
+ Works in any way such that the Original Work or Derivative Works may
64
+ be used by anyone other than You, whether those works are distributed
65
+ or communicated to those persons or made available as an application
66
+ intended for use over a network. As an express condition for the grants
67
+ of license hereunder, You must treat any External Deployment by You of
68
+ the Original Work or a Derivative Work as a distribution under section
69
+ 1(c).
70
+
71
+ 6) Attribution Rights. You must retain, in the Source Code of any
72
+ Derivative Works that You create, all copyright, patent, or trademark
73
+ notices from the Source Code of the Original Work, as well as any
74
+ notices of licensing and any descriptive text identified therein as an
75
+ "Attribution Notice." You must cause the Source Code for any Derivative
76
+ Works that You create to carry a prominent Attribution Notice reasonably
77
+ calculated to inform recipients that You have modified the Original
78
+ Work.
79
+
80
+ 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants
81
+ that the copyright in and to the Original Work and the patent rights
82
+ granted herein by Licensor are owned by the Licensor or are sublicensed
83
+ to You under the terms of this License with the permission of the
84
+ contributor(s) of those copyrights and patent rights. Except as
85
+ expressly stated in the immediately preceding sentence, the Original
86
+ Work is provided under this License on an "AS IS" BASIS and WITHOUT
87
+ WARRANTY, either express or implied, including, without limitation,
88
+ the warranties of non-infringement, merchantability or fitness for a
89
+ particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL
90
+ WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential
91
+ part of this License. No license to the Original Work is granted by this
92
+ License except under this disclaimer.
93
+
94
+ 8) Limitation of Liability. Under no circumstances and under no legal
95
+ theory, whether in tort (including negligence), contract, or otherwise,
96
+ shall the Licensor be liable to anyone for any indirect, special,
97
+ incidental, or consequential damages of any character arising as a
98
+ result of this License or the use of the Original Work including,
99
+ without limitation, damages for loss of goodwill, work stoppage,
100
+ computer failure or malfunction, or any and all other commercial damages
101
+ or losses. This limitation of liability shall not apply to the extent
102
+ applicable law prohibits such limitation.
103
+
104
+ 9) Acceptance and Termination. If, at any time, You expressly
105
+ assented to this License, that assent indicates your clear and
106
+ irrevocable acceptance of this License and all of its terms and
107
+ conditions. If You distribute or communicate copies of the Original
108
+ Work or a Derivative Work, You must make a reasonable effort under the
109
+ circumstances to obtain the express assent of recipients to the terms
110
+ of this License. This License conditions your rights to undertake
111
+ the activities listed in Section 1, including your right to create
112
+ Derivative Works based upon the Original Work, and doing so without
113
+ honoring these terms and conditions is prohibited by copyright law and
114
+ international treaty. Nothing in this License is intended to affect
115
+ copyright exceptions and limitations (including "fair use" or "fair
116
+ dealing"). This License shall terminate immediately and You may no
117
+ longer exercise any of the rights granted to You by this License upon
118
+ your failure to honor the conditions in Section 1(c).
119
+
120
+ 10) Termination for Patent Action. This License shall terminate
121
+ automatically and You may no longer exercise any of the rights granted
122
+ to You by this License as of the date You commence an action, including
123
+ a cross-claim or counterclaim, against Licensor or any licensee
124
+ alleging that the Original Work infringes a patent. This termination
125
+ provision shall not apply for an action alleging patent infringement by
126
+ combinations of the Original Work with other software or hardware.
127
+
128
+ 11) Jurisdiction, Venue and Governing Law. Any action or suit relating
129
+ to this License may be brought only in the courts of a jurisdiction
130
+ wherein the Licensor resides or in which Licensor conducts its primary
131
+ business, and under the laws of that jurisdiction excluding its
132
+ conflict-of-law provisions. The application of the United Nations
133
+ Convention on Contracts for the International Sale of Goods is
134
+ expressly excluded. Any use of the Original Work outside the scope
135
+ of this License or after its termination shall be subject to the
136
+ requirements and penalties of copyright or patent law in the appropriate
137
+ jurisdiction. This section shall survive the termination of this
138
+ License.
139
+
140
+ 12) Attorneys' Fees. In any action to enforce the terms of this License
141
+ or seeking damages relating thereto, the prevailing party shall
142
+ be entitled to recover its costs and expenses, including, without
143
+ limitation, reasonable attorneys' fees and costs incurred in connection
144
+ with such action, including any appeal of such action. This section
145
+ shall survive the termination of this License.
146
+
147
+ 13) Miscellaneous. If any provision of this License is held to be
148
+ unenforceable, such provision shall be reformed only to the extent
149
+ necessary to make it enforceable.
150
+
151
+ 14) Definition of "You" in This License. "You" throughout this License,
152
+ whether in upper or lower case, means an individual or a legal entity
153
+ exercising rights under, and complying with all of the terms of, this
154
+ License. For legal entities, "You" includes any entity that controls,
155
+ is controlled by, or is under common control with you. For purposes of
156
+ this definition, "control" means (i) the power, direct or indirect, to
157
+ cause the direction or management of such entity, whether by contract
158
+ or otherwise, or (ii) ownership of fifty percent (50%) or more of the
159
+ outstanding shares, or (iii) beneficial ownership of such entity.
160
+
161
+ 15) Right to Use. You may use the Original Work in all ways not
162
+ otherwise restricted or conditioned by this License or by law, and
163
+ Licensor promises not to interfere with or be responsible for such uses
164
+ by You.
165
+
166
+ 16) Modification of This License. This License is Copyright ©
167
+ 2005 Lawrence Rosen. Permission is granted to copy, distribute, or
168
+ communicate this License without modification. Nothing in this License
169
+ permits You to modify this License as applied to the Original Work or
170
+ to Derivative Works. However, You may modify the text of this License
171
+ and copy, distribute or communicate your modified version (the "Modified
172
+ License") and apply it to other original works of authorship subject
173
+ to the following conditions: (i) You may not indicate in any way that
174
+ your Modified License is the "Academic Free License" or "AFL" and you
175
+ may not use those names in the name of your Modified License; (ii) You
176
+ must replace the notice specified in the first paragraph above with
177
+ the notice "Licensed under <insert your license name here>" or with a
178
+ notice of your own that is not confusingly similar to the notice in
179
+ this License; and (iii) You may not claim that your original works are
180
+ open source software unless your Modified License has been approved by
181
+ Open Source Initiative (OSI) and You comply with its license review and
182
+ certification process.
@@ -0,0 +1,26 @@
1
+ Redistribution and use in source and binary forms, with or without
2
+ modification, are permitted provided that the following conditions are
3
+ met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright
6
+ notice, this list of conditions and the following disclaimer.
7
+
8
+ 2. Redistributions in binary form must reproduce the above copyright
9
+ notice, this list of conditions and the following disclaimer in the
10
+ documentation and/or other materials provided with the distribution.
11
+
12
+ 3. Neither the name of the copyright holder nor the names of its
13
+ contributors may be used to endorse or promote products derived from
14
+ this software without specific prior written permission.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
22
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/NOTICE CHANGED
@@ -47,6 +47,32 @@ Copyright (c) 2012 James Halliday, Josh Duff, and other contributors
47
47
  Copy of the MIT license can be found in `LICENSES/MIT.txt` file.
48
48
  All modifications are licensed under Apache 2.0 License.
49
49
 
50
+ OpenAPI Specification 2.0
51
+ Copyright The Linux Foundation
52
+ Fragments of the specification text are embedded in packages/apidom-ls/src/config/openapi.
53
+ Copy of the Apache 2.0 license can be found in `LICENSES/Apache-2.0.txt` file.
54
+
55
+ OpenAPI Specification 3.0.x
56
+ Copyright The Linux Foundation
57
+ Fragments of the specification text are embedded in packages/apidom-ls/src/config/openapi.
58
+ Copy of the Apache 2.0 license can be found in `LICENSES/Apache-2.0.txt` file.
59
+
60
+ OpenAPI Specification 3.1.x
61
+ Copyright The Linux Foundation
62
+ Fragments of the specification text are embedded in packages/apidom-ls/src/config/openapi.
63
+ Copy of the Apache 2.0 license can be found in `LICENSES/Apache-2.0.txt` file.
64
+
65
+ AsyncAPI Specification 2.x / AsyncAPI Initiative
66
+ Copyright The Linux Foundation
67
+ Fragments of the specification text are embedded in packages/apidom-ls/src/config/asyncapi.
68
+ Copy of the Apache 2.0 license can be found in `LICENSES/Apache-2.0.txt` file.
69
+
70
+ JSON Schema Specification (Draft 4/5 -> 2020-12)
71
+ Copyright (c) 2022 JSON Schema Specification Authors
72
+ Fragments of the specification text are embedded in packages/apidom-ls/src/config/common.
73
+ Copy of the BSD 3-Clause "New" or "Revised" License can be found in `LICENSES/BSD-3-Clause.txt` file.
74
+ Copy of the Academic Free License v3.0 can be found in `LICENSES/AFL-3.0.txt` file.
75
+
50
76
  ---
51
77
 
52
78
  If the SPDX-FileCopyrightText and SPDX-License-Identifier tags are not present in the file,
@@ -38507,10 +38507,23 @@ __webpack_require__.r(__webpack_exports__);
38507
38507
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
38508
38508
  /* harmony export */ });
38509
38509
  /* harmony import */ var ts_mixer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17028);
38510
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29498);
38510
+ /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29498);
38511
+ /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(66719);
38512
+ /* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(33031);
38513
+ /* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(68894);
38514
+ /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(50726);
38515
+ /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(81776);
38516
+ /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(36941);
38517
+ /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(61339);
38511
38518
  /* harmony import */ var _generics_FixedFieldsVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(55320);
38512
- /* harmony import */ var _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89160);
38513
- /* harmony import */ var _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94686);
38519
+ /* harmony import */ var _ParentSchemaAwareVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4676);
38520
+ /* harmony import */ var _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(89160);
38521
+ /* harmony import */ var _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94686);
38522
+ /* harmony import */ var _predicates_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(86059);
38523
+
38524
+
38525
+
38526
+
38514
38527
 
38515
38528
 
38516
38529
 
@@ -38522,11 +38535,48 @@ __webpack_require__.r(__webpack_exports__);
38522
38535
  /**
38523
38536
  * @public
38524
38537
  */
38525
- class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_generics_FixedFieldsVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"], _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]) {
38538
+ class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_generics_FixedFieldsVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"], _ParentSchemaAwareVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"], _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]) {
38526
38539
  constructor(options) {
38527
38540
  super(options);
38528
- this.element = new _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]();
38529
- this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['document', 'objects', 'JSONSchema']);
38541
+ this.element = new _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]();
38542
+ this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_5__["default"])(['document', 'objects', 'JSONSchema']);
38543
+ }
38544
+
38545
+ // eslint-disable-next-line class-methods-use-this
38546
+ get defaultDialectIdentifier() {
38547
+ return 'http://json-schema.org/draft-04/schema#';
38548
+ }
38549
+ ObjectElement(objectElement) {
38550
+ this.handleDialectIdentifier(objectElement);
38551
+ this.handleSchemaIdentifier(objectElement);
38552
+
38553
+ // for further processing consider this Schema Element as parent for all embedded Schema Elements
38554
+ this.parent = this.element;
38555
+ return _generics_FixedFieldsVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.ObjectElement.call(this, objectElement);
38556
+ }
38557
+ handleDialectIdentifier(objectElement) {
38558
+ // handle $schema keyword in embedded resources
38559
+ if ((0,ramda_adjunct__WEBPACK_IMPORTED_MODULE_6__["default"])(this.parent) && !(0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_7__.isStringElement)(objectElement.get('$schema'))) {
38560
+ // no parent available and no $schema is defined, set default $schema
38561
+ this.element.setMetaProperty('inheritedDialectIdentifier', this.defaultDialectIdentifier);
38562
+ } else if ((0,_predicates_mjs__WEBPACK_IMPORTED_MODULE_8__.isJSONSchemaElement)(this.parent) && !(0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_7__.isStringElement)(objectElement.get('$schema'))) {
38563
+ // parent is available and no $schema is defined, set parent $schema
38564
+ const inheritedDialectIdentifier = (0,ramda__WEBPACK_IMPORTED_MODULE_9__["default"])((0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_10__["default"])(this.parent.meta.get('inheritedDialectIdentifier')), (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_10__["default"])(this.parent.$schema));
38565
+ this.element.setMetaProperty('inheritedDialectIdentifier', inheritedDialectIdentifier);
38566
+ }
38567
+ }
38568
+ handleSchemaIdentifier(objectElement, identifierKeyword = 'id') {
38569
+ // handle schema identifier in embedded resources
38570
+ // fetch parent's ancestorsSchemaIdentifiers
38571
+ const ancestorsSchemaIdentifiers = this.parent !== undefined ? (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_11__.cloneDeep)(this.parent.getMetaProperty('ancestorsSchemaIdentifiers', [])) : new _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_12__.ArrayElement();
38572
+ // get current schema identifier
38573
+ const schemaIdentifier = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_10__["default"])(objectElement.get(identifierKeyword));
38574
+
38575
+ // remember schema identifier if it's a non-empty strings
38576
+ if ((0,ramda_adjunct__WEBPACK_IMPORTED_MODULE_13__["default"])(schemaIdentifier)) {
38577
+ ancestorsSchemaIdentifiers.push(schemaIdentifier);
38578
+ }
38579
+ this.element.setMetaProperty('ancestorsSchemaIdentifiers', ancestorsSchemaIdentifiers);
38530
38580
  }
38531
38581
  }
38532
38582
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONSchemaVisitor);
@@ -39215,10 +39265,12 @@ __webpack_require__.r(__webpack_exports__);
39215
39265
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
39216
39266
  /* harmony export */ });
39217
39267
  /* harmony import */ var ts_mixer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17028);
39218
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29498);
39268
+ /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29498);
39219
39269
  /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(55320);
39220
- /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89160);
39221
- /* harmony import */ var _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(13712);
39270
+ /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4676);
39271
+ /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(89160);
39272
+ /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(29619);
39273
+ /* harmony import */ var _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13712);
39222
39274
 
39223
39275
 
39224
39276
 
@@ -39229,13 +39281,23 @@ __webpack_require__.r(__webpack_exports__);
39229
39281
  /**
39230
39282
  * @public
39231
39283
  */
39232
- class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_2__["default"]) {
39284
+ class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_2__["default"], _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_3__["default"]) {
39233
39285
  constructor(options) {
39234
39286
  super(options);
39235
- this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_3__["default"])(['document', 'objects', 'JSONSchema']);
39287
+ this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['document', 'objects', 'JSONSchema']);
39288
+ }
39289
+
39290
+ // eslint-disable-next-line class-methods-use-this
39291
+ get defaultDialectIdentifier() {
39292
+ return 'http://json-schema.org/draft-06/schema#';
39236
39293
  }
39237
39294
  ObjectElement(objectElement) {
39238
- this.element = new _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]();
39295
+ this.element = new _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_5__["default"]();
39296
+ this.handleDialectIdentifier(objectElement);
39297
+ this.handleSchemaIdentifier(objectElement);
39298
+
39299
+ // for further processing consider this Schema Element as parent for all embedded Schema Elements
39300
+ this.parent = this.element;
39239
39301
  return _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.ObjectElement.call(this, objectElement);
39240
39302
  }
39241
39303
  BooleanElement(booleanElement) {
@@ -39243,6 +39305,12 @@ class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(
39243
39305
  this.element.classes.push('boolean-json-schema');
39244
39306
  return result;
39245
39307
  }
39308
+ handleDialectIdentifier(objectElement) {
39309
+ return _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_6__["default"].prototype.handleDialectIdentifier.call(this, objectElement);
39310
+ }
39311
+ handleSchemaIdentifier(objectElement, identifierKeyword = '$id') {
39312
+ return _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_6__["default"].prototype.handleSchemaIdentifier.call(this, objectElement, identifierKeyword);
39313
+ }
39246
39314
  }
39247
39315
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONSchemaVisitor);
39248
39316
 
@@ -39360,6 +39428,34 @@ class JSONSchema extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMP
39360
39428
  * URI: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01
39361
39429
  */
39362
39430
 
39431
+ /**
39432
+ * Validation keywords for arrays
39433
+ */
39434
+
39435
+ get containsProp() {
39436
+ return this.get('contains');
39437
+ }
39438
+ set containsProp(contains) {
39439
+ this.set('contains', contains);
39440
+ }
39441
+ get items() {
39442
+ return this.get('items');
39443
+ }
39444
+ set items(items) {
39445
+ this.set('items', items);
39446
+ }
39447
+
39448
+ /**
39449
+ * Validation keywords for objects
39450
+ */
39451
+
39452
+ get propertyNames() {
39453
+ return this.get('propertyNames');
39454
+ }
39455
+ set propertyNames(propertyNames) {
39456
+ this.set('propertyNames', propertyNames);
39457
+ }
39458
+
39363
39459
  /**
39364
39460
  * Keywords for Applying Subschemas Conditionally
39365
39461
  *
@@ -39385,6 +39481,19 @@ class JSONSchema extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMP
39385
39481
  this.set('else', elseValue);
39386
39482
  }
39387
39483
 
39484
+ /**
39485
+ * Keywords for Applying Subschemas With Boolean Logic
39486
+ *
39487
+ * URI: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7
39488
+ */
39489
+
39490
+ get not() {
39491
+ return this.get('not');
39492
+ }
39493
+ set not(not) {
39494
+ this.set('not', not);
39495
+ }
39496
+
39388
39497
  /**
39389
39498
  * String-Encoding Non-JSON Data
39390
39499
  *
@@ -39439,7 +39548,6 @@ __webpack_require__.r(__webpack_exports__);
39439
39548
  /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19757);
39440
39549
 
39441
39550
 
39442
-
39443
39551
  /* eslint-disable class-methods-use-this */
39444
39552
 
39445
39553
  /**
@@ -39492,6 +39600,12 @@ class LinkDescription extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPAC
39492
39600
  * URI: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-hyperschema-01#section-6.5
39493
39601
  */
39494
39602
 
39603
+ get targetSchema() {
39604
+ return this.get('targetSchema');
39605
+ }
39606
+ set targetSchema(targetSchema) {
39607
+ this.set('targetSchema', targetSchema);
39608
+ }
39495
39609
  get mediaType() {
39496
39610
  throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.');
39497
39611
  }
@@ -39523,11 +39637,37 @@ class LinkDescription extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPAC
39523
39637
  this.set('$comment', $comment);
39524
39638
  }
39525
39639
 
39640
+ /**
39641
+ * Link Input.
39642
+ *
39643
+ * URI: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-hyperschema-01#section-6.6
39644
+ */
39645
+
39646
+ get hrefSchema() {
39647
+ return this.get('hrefSchema');
39648
+ }
39649
+ set hrefSchema(hrefSchema) {
39650
+ this.set('hrefSchema', hrefSchema);
39651
+ }
39652
+ get headerSchema() {
39653
+ return this.get('headerSchema');
39654
+ }
39655
+ set headerSchema(headerSchema) {
39656
+ this.set('headerSchema', headerSchema);
39657
+ }
39658
+
39526
39659
  /**
39527
39660
  * Submitting Data for Processing.
39528
39661
  *
39529
39662
  * URI: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-hyperschema-01#section-6.6.4
39530
39663
  */
39664
+
39665
+ get submissionSchema() {
39666
+ return this.get('submissionSchema');
39667
+ }
39668
+ set submissionSchema(submissionSchema) {
39669
+ this.set('submissionSchema', submissionSchema);
39670
+ }
39531
39671
  get submissionEncType() {
39532
39672
  throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.');
39533
39673
  }
@@ -39731,7 +39871,7 @@ const specification = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(
39731
39871
  // JSON Schema object modifications
39732
39872
  (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', '$visitor'], _visitors_json_schema_index_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', '$comment'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'if'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.JSONSchemaOrJSONReferenceVisitor), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'then'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.JSONSchemaOrJSONReferenceVisitor), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'else'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.JSONSchemaOrJSONReferenceVisitor), (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'media']), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'contentEncoding'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'contentMediaType'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'writeOnly'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value),
39733
39873
  // Link Description object modifications
39734
- (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', '$visitor'], _visitors_json_schema_link_description_index_mjs__WEBPACK_IMPORTED_MODULE_5__["default"]), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'anchor'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'anchorPointer'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'mediaType']), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'targetMediaType'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'targetHints'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'description'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', '$comment'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'submissionEncType']), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'submissionMediaType'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value))(_swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"]);
39874
+ (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', '$visitor'], _visitors_json_schema_link_description_index_mjs__WEBPACK_IMPORTED_MODULE_5__["default"]), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'anchor'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'anchorPointer'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'mediaType']), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'targetMediaType'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'targetHints'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'description'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', '$comment'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'headerSchema'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.JSONSchemaOrJSONReferenceVisitor), (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'submissionEncType']), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'submissionMediaType'], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.value))(_swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"]);
39735
39875
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (specification);
39736
39876
 
39737
39877
  /***/ }),
@@ -39775,10 +39915,12 @@ __webpack_require__.r(__webpack_exports__);
39775
39915
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
39776
39916
  /* harmony export */ });
39777
39917
  /* harmony import */ var ts_mixer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17028);
39778
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29498);
39918
+ /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29498);
39779
39919
  /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(55320);
39780
- /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89160);
39781
- /* harmony import */ var _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44517);
39920
+ /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4676);
39921
+ /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(89160);
39922
+ /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41753);
39923
+ /* harmony import */ var _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(44517);
39782
39924
 
39783
39925
 
39784
39926
 
@@ -39789,13 +39931,23 @@ __webpack_require__.r(__webpack_exports__);
39789
39931
  /**
39790
39932
  * @public
39791
39933
  */
39792
- class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_2__["default"]) {
39934
+ class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_2__["default"], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_3__["default"]) {
39793
39935
  constructor(options) {
39794
39936
  super(options);
39795
- this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_3__["default"])(['document', 'objects', 'JSONSchema']);
39937
+ this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])(['document', 'objects', 'JSONSchema']);
39938
+ }
39939
+
39940
+ // eslint-disable-next-line class-methods-use-this
39941
+ get defaultDialectIdentifier() {
39942
+ return 'http://json-schema.org/draft-07/schema#';
39796
39943
  }
39797
39944
  ObjectElement(objectElement) {
39798
- this.element = new _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]();
39945
+ this.element = new _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_5__["default"]();
39946
+ this.handleDialectIdentifier(objectElement);
39947
+ this.handleSchemaIdentifier(objectElement);
39948
+
39949
+ // for further processing consider this Schema Element as parent for all embedded Schema Elements
39950
+ this.parent = this.element;
39799
39951
  return _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.ObjectElement.call(this, objectElement);
39800
39952
  }
39801
39953
  BooleanElement(booleanElement) {
@@ -39803,6 +39955,12 @@ class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(
39803
39955
  this.element.classes.push('boolean-json-schema');
39804
39956
  return result;
39805
39957
  }
39958
+ handleDialectIdentifier(objectElement) {
39959
+ return _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_6__["default"].prototype.handleDialectIdentifier.call(this, objectElement);
39960
+ }
39961
+ handleSchemaIdentifier(objectElement, identifierKeyword = '$id') {
39962
+ return _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_6__["default"].prototype.handleSchemaIdentifier.call(this, objectElement, identifierKeyword);
39963
+ }
39806
39964
  }
39807
39965
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONSchemaVisitor);
39808
39966