diff --git a/CHANGELOG.md b/CHANGELOG.md index cbb9e5f..dfe60f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - ... +## [v0.2.1] - 2025-10-09 + +### Added + +- Added `requiredSchemas` + ## [v0.2.0] - 2025-08-15 ### Added diff --git a/README.md b/README.md index f5f5912..61cb1bb 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ The following keywords are generally supported: At the top-level, you can also indicate the following special properties: - `$schema`: The schema identifier, see above. +- `requiredSchemas`: Any other schema URLs that are required / inherited from. - `required`: The required properties (see `required` for objects below). - `properties`: The schemas for the properties (see `properties` for objects below). - `collection`: Specifies whether a property (specified as keys) must be provided only at the collection-level (`true`) or only at the feature-level (`false`). Omit any properties that can be provided at both levels. diff --git a/schema/schema.json b/schema/schema.json index 3a17590..bfba17d 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -8,6 +8,13 @@ "type": "string", "const": "https://vecorel.org/sdl/v0.2.0/schema.json" }, + "requiredSchemas": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + } + }, "required": { "type": "array", "items": {