Skip to content

Commit bb7cb80

Browse files
committed
merged dev
2 parents 56205ea + 7be086c commit bb7cb80

File tree

6 files changed

+199
-184
lines changed

6 files changed

+199
-184
lines changed

CHANGELOG.md

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

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

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

@@ -33,6 +38,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3338
- 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))
3439
- Clarified that leaving a field out is not equivalent to setting it as null. ([#1111](https://github.com/radiantearth/stac-spec/pull/1111))
3540

41+
### Fixed
42+
43+
- JSON Schemas don't allow "shortcuts" for core extensions any longer
44+
3645
## [v1.0.0-rc.2] - 2021-03-30
3746

3847
### Changed

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 & 149 deletions
This file was deleted.

catalog-spec/json-schema/catalog.json

Lines changed: 70 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,89 @@
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": "STAC Catalog",
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
}

0 commit comments

Comments
 (0)