@speclynx/apidom-ns-json-schema-draft-6 4.0.3 → 4.0.4
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 +7 -0
- package/dist/apidom-ns-json-schema-draft-6.browser.js +7 -7
- package/dist/apidom-ns-json-schema-draft-6.browser.min.js +1 -1
- package/package.json +9 -8
- package/src/namespace.cjs +2 -2
- package/src/namespace.mjs +2 -2
- package/src/refractor/index.cjs +2 -2
- package/src/refractor/index.mjs +2 -2
- package/src/refractor/specification.cjs +1 -1
- package/src/refractor/specification.mjs +1 -1
- package/src/elements/JSONSchema.ts +0 -158
- package/src/elements/LinkDescription.ts +0 -100
- package/src/index.ts +0 -85
- package/src/media-types.ts +0 -40
- package/src/namespace.ts +0 -23
- package/src/predicates.ts +0 -25
- package/src/refractor/index.ts +0 -90
- package/src/refractor/inspect.ts +0 -51
- package/src/refractor/plugins/replace-empty-element.ts +0 -243
- package/src/refractor/specification.ts +0 -58
- package/src/refractor/toolbox.ts +0 -23
- package/src/refractor/visitors/json-schema/ExamplesVisitor.ts +0 -19
- package/src/refractor/visitors/json-schema/ItemsVisitor.ts +0 -21
- package/src/refractor/visitors/json-schema/index.ts +0 -38
- package/src/refractor/visitors/json-schema/link-description/index.ts +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
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
|
+
## [4.0.4](https://github.com/speclynx/apidom/compare/v4.0.3...v4.0.4) (2026-03-12)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- add consistent JSON Schema element naming ([#156](https://github.com/speclynx/apidom/issues/156)) ([834783e](https://github.com/speclynx/apidom/commit/834783e3bf1de42f07236079d21c54cdbdfd4e3f))
|
|
11
|
+
- **release:** override minimatch 10.2.3 to fix glob pattern regression in lerna publish ([#157](https://github.com/speclynx/apidom/issues/157)) ([c2d65a0](https://github.com/speclynx/apidom/commit/c2d65a06a2187e8563a9dc9db74ba27255450e0b)), closes [lerna/lerna#4305](https://github.com/lerna/lerna/issues/4305) [isaacs/minimatch#284](https://github.com/isaacs/minimatch/issues/284)
|
|
12
|
+
|
|
6
13
|
## [4.0.3](https://github.com/speclynx/apidom/compare/v4.0.2...v4.0.3) (2026-03-11)
|
|
7
14
|
|
|
8
15
|
### Bug Fixes
|
|
@@ -278,8 +278,8 @@ const jsonSchemaDraft6 = {
|
|
|
278
278
|
const {
|
|
279
279
|
base
|
|
280
280
|
} = options;
|
|
281
|
-
base.register('
|
|
282
|
-
base.register('
|
|
281
|
+
base.register('JSONSchemaDraft6', _elements_JSONSchema_ts__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
282
|
+
base.register('JSONReference', _speclynx_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_0__.JSONReferenceElement);
|
|
283
283
|
base.register('media', _speclynx_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_0__.MediaElement);
|
|
284
284
|
base.register('linkDescription', _elements_LinkDescription_ts__WEBPACK_IMPORTED_MODULE_2__["default"]);
|
|
285
285
|
return base;
|
|
@@ -364,7 +364,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
364
364
|
* @public
|
|
365
365
|
*/
|
|
366
366
|
const refract = (value, {
|
|
367
|
-
element = '
|
|
367
|
+
element = 'JSONSchemaDraft6',
|
|
368
368
|
plugins = [],
|
|
369
369
|
specificationObj = _specification_ts__WEBPACK_IMPORTED_MODULE_5__["default"],
|
|
370
370
|
consume = false
|
|
@@ -403,7 +403,7 @@ const refract = (value, {
|
|
|
403
403
|
*/
|
|
404
404
|
const refractJSONSchema = (value, options = {}) => refract(value, {
|
|
405
405
|
...options,
|
|
406
|
-
element: '
|
|
406
|
+
element: 'JSONSchemaDraft6'
|
|
407
407
|
});
|
|
408
408
|
|
|
409
409
|
/**
|
|
@@ -677,7 +677,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
677
677
|
|
|
678
678
|
const specification = (0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
679
679
|
// JSON Schema object modifications
|
|
680
|
-
(0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'element'], '
|
|
680
|
+
(0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'element'], 'JSONSchemaDraft6'), (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['visitors', 'document', 'objects', 'JSONSchema', '$visitor'], _visitors_json_schema_index_ts__WEBPACK_IMPORTED_MODULE_4__["default"]), (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'id']), (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', '$id'], {
|
|
681
681
|
$ref: '#/visitors/value'
|
|
682
682
|
}), (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'contains'], {
|
|
683
683
|
$visitor: _speclynx_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_3__["default"].visitors.JSONSchemaOrJSONReferenceVisitor,
|
|
@@ -20657,7 +20657,7 @@ const specification = {
|
|
|
20657
20657
|
document: {
|
|
20658
20658
|
objects: {
|
|
20659
20659
|
JSONSchema: {
|
|
20660
|
-
element: '
|
|
20660
|
+
element: 'JSONSchemaDraft4',
|
|
20661
20661
|
$visitor: _visitors_json_schema_index_mjs__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
20662
20662
|
fixedFields: {
|
|
20663
20663
|
// core vocabulary
|
|
@@ -20761,7 +20761,7 @@ const specification = {
|
|
|
20761
20761
|
}
|
|
20762
20762
|
},
|
|
20763
20763
|
JSONReference: {
|
|
20764
|
-
element: '
|
|
20764
|
+
element: 'JSONReference',
|
|
20765
20765
|
$visitor: _visitors_json_schema_json_reference_index_mjs__WEBPACK_IMPORTED_MODULE_14__["default"],
|
|
20766
20766
|
fixedFields: {
|
|
20767
20767
|
$ref: _visitors_json_schema_json_reference_$RefVisitor_mjs__WEBPACK_IMPORTED_MODULE_15__["default"]
|