Skip to content

Commit

Permalink
merged dev
Browse files Browse the repository at this point in the history
  • Loading branch information
cholmes committed May 4, 2021
2 parents 56205ea + 7be086c commit bb7cb80
Show file tree
Hide file tree
Showing 6 changed files with 199 additions and 184 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Expand Up @@ -12,6 +12,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 All @@ -33,6 +38,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
1 change: 0 additions & 1 deletion catalog-spec/catalog-spec.md
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
149 changes: 0 additions & 149 deletions catalog-spec/json-schema/catalog-core.json

This file was deleted.

75 changes: 70 additions & 5 deletions catalog-spec/json-schema/catalog.json
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

0 comments on commit bb7cb80

Please sign in to comment.