Skip to content

Commit 50d12f6

Browse files
committed
JSON Schemas don't allow "shortcuts" for core extensions any longer
1 parent 89923bf commit 50d12f6

File tree

4 files changed

+13
-33
lines changed

4 files changed

+13
-33
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2323
- Clarified that collection summaries do not require that all property fields are summarized. ([#1106](https://github.com/radiantearth/stac-spec/issues/1106))
2424
- 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))
2525

26+
### Fixed
27+
28+
- JSON Schemas don't allow "shortcuts" for core extensions any longer
29+
2630
## [v1.0.0-rc.2] - 2021-03-30
2731

2832
### Changed

catalog-spec/json-schema/catalog-core.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,9 @@
2929
"type": "array",
3030
"uniqueItems": true,
3131
"items": {
32-
"anyOf": [
33-
{
34-
"title": "Reference to a JSON Schema",
35-
"type": "string",
36-
"format": "iri"
37-
},
38-
{
39-
"title": "Reference to a core extension",
40-
"type": "string"
41-
}
42-
]
32+
"title": "Reference to a JSON Schema",
33+
"type": "string",
34+
"format": "iri"
4335
}
4436
},
4537
"id": {

collection-spec/json-schema/collection.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,9 @@
3131
"type": "array",
3232
"uniqueItems": true,
3333
"items": {
34-
"anyOf": [
35-
{
36-
"title": "Reference to a JSON Schema",
37-
"type": "string",
38-
"format": "iri"
39-
},
40-
{
41-
"title": "Reference to a core extension",
42-
"type": "string"
43-
}
44-
]
34+
"title": "Reference to a JSON Schema",
35+
"type": "string",
36+
"format": "iri"
4537
}
4638
},
4739
"keywords": {

item-spec/json-schema/item.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,9 @@
100100
"type": "array",
101101
"uniqueItems": true,
102102
"items": {
103-
"anyOf": [
104-
{
105-
"title": "Reference to a JSON Schema",
106-
"type": "string",
107-
"format": "iri"
108-
},
109-
{
110-
"title": "Reference to a core extension",
111-
"type": "string"
112-
}
113-
]
103+
"title": "Reference to a JSON Schema",
104+
"type": "string",
105+
"format": "iri"
114106
}
115107
},
116108
"id": {

0 commit comments

Comments
 (0)