Skip to content

Commit 42753fc

Browse files
committed
Catalogs don't support summaries any more
1 parent 7406ed7 commit 42753fc

File tree

5 files changed

+190
-155
lines changed

5 files changed

+190
-155
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
### Changed
1111

1212
- 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))
13+
- Catalog and Collection JSON Schemas don't have a common JSON Schema any more
14+
15+
### Removed
16+
17+
- Catalogs don't support summaries any more
1318

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

catalog-spec/catalog-spec.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ values for `type` and `stac_extensions`.
5050
| id | string | **REQUIRED.** Identifier for the Catalog. |
5151
| title | string | A short descriptive one-line title for the Catalog. |
5252
| 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. |
53-
| 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). |
5453
| links | [[Link Object](#link-object)] | **REQUIRED.** A list of references to other documents. |
5554

5655
### Additional Field Information

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

Lines changed: 0 additions & 141 deletions
This file was deleted.

catalog-spec/json-schema/catalog.json

Lines changed: 71 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,91 @@
44
"title": "STAC Catalog Specification",
55
"description": "This object represents Catalogs in a SpatioTemporal Asset Catalog.",
66
"allOf": [
7-
{
8-
"$ref": "catalog-core.json"
9-
},
107
{
118
"$ref": "#/definitions/catalog"
129
}
1310
],
1411
"definitions": {
1512
"catalog": {
16-
"title": "Catalog",
13+
"title": "Catalog Core Fields",
1714
"type": "object",
1815
"required": [
19-
"type"
16+
"stac_version",
17+
"type",
18+
"id",
19+
"description",
20+
"links"
2021
],
2122
"properties": {
23+
"stac_version": {
24+
"title": "STAC version",
25+
"type": "string",
26+
"const": "1.0.0-rc.3"
27+
},
28+
"stac_extensions": {
29+
"title": "STAC extensions",
30+
"type": "array",
31+
"uniqueItems": true,
32+
"items": {
33+
"title": "Reference to a JSON Schema",
34+
"type": "string",
35+
"format": "iri"
36+
}
37+
},
2238
"type": {
2339
"title": "Type of STAC entity",
2440
"const": "Catalog"
41+
},
42+
"id": {
43+
"title": "Identifier",
44+
"type": "string",
45+
"minLength": 1
46+
},
47+
"title": {
48+
"title": "Title",
49+
"type": "string"
50+
},
51+
"description": {
52+
"title": "Description",
53+
"type": "string",
54+
"minLength": 1
55+
},
56+
"links": {
57+
"title": "Links",
58+
"type": "array",
59+
"items": {
60+
"$ref": "#/definitions/link"
61+
}
62+
}
63+
}
64+
},
65+
"link": {
66+
"type": "object",
67+
"required": [
68+
"rel",
69+
"href"
70+
],
71+
"properties": {
72+
"href": {
73+
"title": "Link reference",
74+
"type": "string",
75+
"format": "iri-reference",
76+
"minLength": 1
77+
},
78+
"rel": {
79+
"title": "Link relation type",
80+
"type": "string",
81+
"minLength": 1
82+
},
83+
"type": {
84+
"title": "Link type",
85+
"type": "string"
86+
},
87+
"title": {
88+
"title": "Link title",
89+
"type": "string"
2590
}
2691
}
2792
}
2893
}
29-
}
94+
}

0 commit comments

Comments
 (0)