Skip to content

Commit 13df4ab

Browse files
committed
Add requiredSchemas
1 parent 41cece8 commit 13df4ab

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2727

2828
- ...
2929

30+
## [v0.2.1] - 2025-10-09
31+
32+
### Added
33+
34+
- Added `requiredSchemas`
35+
3036
## [v0.2.0] - 2025-08-15
3137

3238
### Added

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The following keywords are generally supported:
1919
At the top-level, you can also indicate the following special properties:
2020

2121
- `$schema`: The schema identifier, see above.
22+
- `requiredSchemas`: Any other schema URLs that are required / inherited from.
2223
- `required`: The required properties (see `required` for objects below).
2324
- `properties`: The schemas for the properties (see `properties` for objects below).
2425
- `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.

schema/schema.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
"type": "string",
99
"const": "https://vecorel.org/sdl/v0.2.0/schema.json"
1010
},
11+
"requiredSchemas": {
12+
"type": "array",
13+
"items": {
14+
"type": "string",
15+
"format": "uri"
16+
}
17+
},
1118
"required": {
1219
"type": "array",
1320
"items": {

0 commit comments

Comments
 (0)