Skip to content

Commit

Permalink
Merge pull request #1122 from radiantearth/catalog-summaries-removal
Browse files Browse the repository at this point in the history
Catalogs don't support summaries any more
  • Loading branch information
cholmes authored May 4, 2021
2 parents 9fb18e7 + 9fa29ce commit 7be086c
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 154 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed

- An empty Catalog is now allowed, removed the requirement that it must have a child or item link. ([#1115](https://github.com/radiantearth/stac-spec/issues/1115))
- Catalog and Collection JSON Schemas don't have a common JSON Schema any more

### Removed

- Catalogs don't support summaries any more

## [v1.0.0-rc.3] - 2021-04-29

Expand Down
1 change: 0 additions & 1 deletion catalog-spec/catalog-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ values for `type` and `stac_extensions`.
| id | string | **REQUIRED.** Identifier for the Catalog. |
| title | string | A short descriptive one-line title for the Catalog. |
| description | string | **REQUIRED.** Detailed multi-line description to fully explain the Catalog. [CommonMark 0.29](http://commonmark.org/) syntax MAY be used for rich text representation. |
| summaries | Map<string, \[\*]\|[Range Object](../collection-spec/collection-spec.md#range-object)\|[JSON Schema Object](../collection-spec/collection-spec.md#json-schema-object)> | A map of property summaries, either a set of values, a range of values or a [JSON Schema](https://json-schema.org). More info in the [Collection spec](../collection-spec/collection-spec.md#summaries). |
| links | [[Link Object](#link-object)] | **REQUIRED.** A list of references to other documents. |

### Additional Field Information
Expand Down
141 changes: 0 additions & 141 deletions catalog-spec/json-schema/catalog-core.json

This file was deleted.

75 changes: 70 additions & 5 deletions catalog-spec/json-schema/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,89 @@
"title": "STAC Catalog Specification",
"description": "This object represents Catalogs in a SpatioTemporal Asset Catalog.",
"allOf": [
{
"$ref": "catalog-core.json"
},
{
"$ref": "#/definitions/catalog"
}
],
"definitions": {
"catalog": {
"title": "Catalog",
"title": "STAC Catalog",
"type": "object",
"required": [
"type"
"stac_version",
"type",
"id",
"description",
"links"
],
"properties": {
"stac_version": {
"title": "STAC version",
"type": "string",
"const": "1.0.0-rc.3"
},
"stac_extensions": {
"title": "STAC extensions",
"type": "array",
"uniqueItems": true,
"items": {
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
}
},
"type": {
"title": "Type of STAC entity",
"const": "Catalog"
},
"id": {
"title": "Identifier",
"type": "string",
"minLength": 1
},
"title": {
"title": "Title",
"type": "string"
},
"description": {
"title": "Description",
"type": "string",
"minLength": 1
},
"links": {
"title": "Links",
"type": "array",
"items": {
"$ref": "#/definitions/link"
}
}
}
},
"link": {
"type": "object",
"required": [
"rel",
"href"
],
"properties": {
"href": {
"title": "Link reference",
"type": "string",
"format": "iri-reference",
"minLength": 1
},
"rel": {
"title": "Link relation type",
"type": "string",
"minLength": 1
},
"type": {
"title": "Link type",
"type": "string"
},
"title": {
"title": "Link title",
"type": "string"
}
}
}
Expand Down
Loading

0 comments on commit 7be086c

Please sign in to comment.