Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Schemas don't allow "shortcuts" for core extensions any longer #1121

Merged
merged 2 commits into from
May 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Clarified that gsd should only be used on an asset to represent the sensor, not just different processing. ([#1105](https://github.com/radiantearth/stac-spec/pull/1105))
- Clarified that leaving a field out is not equivalent to setting it as null. ([#1111](https://github.com/radiantearth/stac-spec/pull/1111))

### Fixed

- JSON Schemas don't allow "shortcuts" for core extensions any longer

## [v1.0.0-rc.2] - 2021-03-30

### Changed
Expand Down
14 changes: 3 additions & 11 deletions catalog-spec/json-schema/catalog-core.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,9 @@
"type": "array",
"uniqueItems": true,
"items": {
"anyOf": [
{
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
},
{
"title": "Reference to a core extension",
"type": "string"
}
]
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
}
},
"id": {
Expand Down
14 changes: 3 additions & 11 deletions collection-spec/json-schema/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,9 @@
"type": "array",
"uniqueItems": true,
"items": {
"anyOf": [
{
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
},
{
"title": "Reference to a core extension",
"type": "string"
}
]
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
}
},
"keywords": {
Expand Down
14 changes: 3 additions & 11 deletions item-spec/json-schema/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,9 @@
"type": "array",
"uniqueItems": true,
"items": {
"anyOf": [
{
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
},
{
"title": "Reference to a core extension",
"type": "string"
}
]
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
}
},
"id": {
Expand Down