Skip to content

Commit

Permalink
Collectionless item has collection field & link #1081
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Apr 15, 2021
1 parent 9da66ed commit 9c6be4b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
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
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
12 changes: 3 additions & 9 deletions examples/collectionless-item.json
Expand Up @@ -73,20 +73,14 @@
},
"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 9c6be4b

Please sign in to comment.