Skip to content

Commit

Permalink
Merge pull request #1089 from radiantearth/fix-collectionless-item
Browse files Browse the repository at this point in the history
Collectionless item has collection field & link #1081
  • Loading branch information
m-mohr authored Apr 15, 2021
2 parents 9da66ed + 840a4cf commit 82d3a22
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed

- Examples
- Collection Assets were specified as required (only in written text, not in JSON Schema), but that was incorrectly copied over from the former `collection-assets` extension. Collection Assets are not required.
- Clarified that the values in summaries (both for ranges and sets of values) must follow the data type of the property they summarize. ([#1069](https://github.com/radiantearth/stac-spec/pull/1069))

Expand Down
6 changes: 6 additions & 0 deletions examples/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"type": "application/json",
"title": "Collection with no items (standalone)"
},
{
"rel": "item",
"href": "./collectionless-item.json",
"type": "application/json",
"title": "Collection with no items (standalone)"
},
{
"rel": "self",
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0-rc.2/examples/catalog.json",
Expand Down
13 changes: 3 additions & 10 deletions examples/collectionless-item.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,15 @@
"cs:sat_id": "CS3",
"cs:product_level": "LV1B"
},
"collection": "CS3",
"links": [
{
"rel": "collection",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "root",
"href": "./collection.json",
"href": "./catalog.json",
"type": "application/json"
},
{
"rel": "root",
"href": "./collection.json",
"rel": "parent",
"href": "./catalog.json",
"type": "application/json"
},
{
Expand Down

0 comments on commit 82d3a22

Please sign in to comment.