Skip to content

Commit

Permalink
Merge pull request #1121 from radiantearth/remove-core-ext-schema
Browse files Browse the repository at this point in the history
JSON Schemas don't allow "shortcuts" for core extensions any longer
  • Loading branch information
m-mohr committed May 4, 2021
2 parents 08fe31d + 7406ed7 commit 9fb18e7
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 @@ -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

0 comments on commit 9fb18e7

Please sign in to comment.