Skip to content

Commit

Permalink
JSON Schemas don't allow "shortcuts" for core extensions any longer
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed May 4, 2021
1 parent 89923bf commit 50d12f6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 33 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Clarified that collection summaries do not require that all property fields are summarized. ([#1106](https://github.com/radiantearth/stac-spec/issues/1106))
- 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))

### 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

0 comments on commit 50d12f6

Please sign in to comment.