Skip to content

Commit e339ab7

Browse files
authored
Merge pull request #148 from philvarner/update-stac-version-1.0.0
update stac_version references to 1.0.0 and stac api references to 1.0.0-beta.2
2 parents ed7f3f1 + 467afd7 commit e339ab7

31 files changed

+200
-187
lines changed

CHANGELOG.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88

99
### Added
10+
11+
### Changed
12+
13+
### Deprecated
14+
15+
### Removed
16+
17+
### Fixed
18+
19+
## [v1.0.0-beta.2] - 2020-06-01
20+
21+
### Added
22+
- Added Filter extension to integrate OAFeat Part 3 CQL
1023
- Catalog and Collection definitions now have required field "type"
1124
- Added recommendation to enable CORS for public APIs
1225

1326
### Changed
14-
- Added Filter extension to integrate OAFeat Part 3 CQL
27+
- Updated all STAC versions to 1.0.0
1528
- Passing the `ids` parameter to an item search does not deactivate other query parameters [#125](https://github.com/radiantearth/stac-api-spec/pull/125)
1629
- The first extent in a Collection is always the overall extent, followed by more specific extents. [opengeospatial/ogcapi-features#520](https://github.com/opengeospatial/ogcapi-features/pull/520)
1730

1831
### Deprecated
19-
- Query extension is now deprecated. Replaced by the Filter extension using OGC CQL
32+
- Query extension is now deprecated. Replaced by the Filter extension using OGC CQL.
2033

2134
### Removed
2235

@@ -59,3 +72,4 @@ for STAC API releases prior to or equal to version 0.9.0.
5972

6073
[Unreleased]: <https://github.com/radiantearth/stac-api-spec/compare/master...dev>
6174
[v1.0.0-beta.1]: <https://github.com/radiantearth/stac-api-spec/tree/v1.0.0-beta.1>
75+
[v1.0.0-beta.2]: <https://github.com/radiantearth/stac-api-spec/tree/v1.0.0-beta.2>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ to search STAC catalogs, where the features returned are STAC [Item](stac-spec/i
2929
that have common properties, links to their assets and geometries that represent the footprints of the geospatial assets.
3030

3131
The specification for STAC API is provided as files that follow the [OpenAPI](http://openapis.org/) 3.0 specification,
32-
rendered online into HTML at <https://api.stacspec.org/v1.0.0-beta.1>, in addition to human-readable documentation.
32+
rendered online into HTML at <https://api.stacspec.org/v1.0.0-beta.2>, in addition to human-readable documentation.
3333

3434
## Stability Note
3535

build/swagger-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.3
22
info:
33
title: STAC API - Complete
4-
version: 1.0.0-beta.1
4+
version: 1.0.0-beta.2
55
apis:
66
- url: 'build/core/openapi.yaml'
77
paths:

core/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
- [Recommended Link Relations at `/`](#recommended-link-relations-at-)
55
- [Example Landing Page for STAC API - Core](#example-landing-page-for-stac-api---core)
66

7-
- **OpenAPI specification:** [openapi.yaml](openapi.yaml) describes the core endpoints ([rendered version](https://api.stacspec.org/v1.0.0-beta.1/core)),
7+
- **OpenAPI specification:** [openapi.yaml](openapi.yaml) describes the core endpoints ([rendered version](https://api.stacspec.org/v1.0.0-beta.2/core)),
88
and [commons.yaml](commons.yaml) is the OpenAPI version of the core [STAC spec](../stac-spec) JSON Schemas.
9-
- **Conformance URI:** <https://api.stacspec.org/v1.0.0-beta.1/core>
9+
- **Conformance URI:** <https://api.stacspec.org/v1.0.0-beta.2/core>
1010
- **Extension [Maturity Classification](../extensions.md#extension-maturity):** Pilot
1111
- **Dependencies**: None
1212

@@ -70,12 +70,12 @@ the [overview](../overview.md#example-landing-page) document.
7070

7171
```json
7272
{
73-
"stac_version": "1.0.0-beta.2",
73+
"stac_version": "1.0.0",
7474
"id": "example-stac",
7575
"title": "A simple STAC API Example",
7676
"description": "This Catalog aims to demonstrate the a simple landing page",
7777
"conformsTo" : [
78-
"https://api.stacspec.org/v1.0.0-beta.1/core"
78+
"https://api.stacspec.org/v1.0.0-beta.2/core"
7979
],
8080
"links": [
8181
{

core/commons.yaml

+20-20
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.3
22
info:
33
title: The SpatioTemporal Asset Catalog API - Commons
44
description: This is the OpenAPI version of the core STAC spec JSON Schemas.
5-
version: 1.0.0-beta.1
5+
version: 1.0.0-beta.2
66
paths: {}
77
components:
88
responses:
@@ -100,7 +100,7 @@ components:
100100
license:
101101
$ref: '#/components/schemas/license'
102102
extent:
103-
$ref: "#/components/schemas/extent"
103+
$ref: '#/components/schemas/extent'
104104
providers:
105105
$ref: '#/components/schemas/providers'
106106
links:
@@ -148,7 +148,7 @@ components:
148148
- type: string
149149
- type: number
150150
example:
151-
stac_version: 1.0.0-beta.2
151+
stac_version: 1.0.0
152152
stac_extensions: []
153153
type: Collection
154154
id: Sentinel-2
@@ -272,7 +272,7 @@ components:
272272
bbox:
273273
description: |-
274274
One or more bounding boxes that describe the spatial extent of the dataset.
275-
275+
276276
The first bounding box describes the overall spatial
277277
extent of the data. All subsequent bounding boxes describe
278278
more precise bounding boxes, e.g., to identify clusters of data.
@@ -437,7 +437,7 @@ components:
437437
`proprietary` if the license is not on the SPDX license list or
438438
`various` if multiple licenses apply. In these two cases links to the
439439
license texts SHOULD be added, see the `license` link relation type.
440-
440+
441441
Non-SPDX licenses SHOULD add a link to the license text with the
442442
`license` relation in the links section. The license text MUST NOT be
443443
provided as a value of this field. If there is no public license URL
@@ -556,7 +556,7 @@ components:
556556
stac_version:
557557
title: STAC version
558558
type: string
559-
example: 1.0.0-beta.2
559+
example: 1.0.0
560560
stac_extensions:
561561
title: STAC extensions
562562
type: array
@@ -569,7 +569,7 @@ components:
569569
- title: Reference to a core extension
570570
type: string
571571
item:
572-
description: A GeoJSON Feature augmented with foreign members that contain values relevant to a STAC entity
572+
description: A GeoJSON Feature augmented with foreign members that contain values relevant to a STAC entity
573573
type: object
574574
required:
575575
- stac_version
@@ -590,7 +590,7 @@ components:
590590
bbox:
591591
$ref: '#/components/schemas/bbox'
592592
geometry:
593-
$ref: "#/components/schemas/geometryGeoJSON"
593+
$ref: '#/components/schemas/geometryGeoJSON'
594594
type:
595595
$ref: '#/components/schemas/itemType'
596596
links:
@@ -713,16 +713,16 @@ components:
713713
type: string
714714
description: Purposes of the asset
715715
example:
716-
- thumbnail
716+
- thumbnail
717717
geometryGeoJSON:
718718
oneOf:
719-
- $ref: "#/components/schemas/pointGeoJSON"
720-
- $ref: "#/components/schemas/multipointGeoJSON"
721-
- $ref: "#/components/schemas/linestringGeoJSON"
722-
- $ref: "#/components/schemas/multilinestringGeoJSON"
723-
- $ref: "#/components/schemas/polygonGeoJSON"
724-
- $ref: "#/components/schemas/multipolygonGeoJSON"
725-
- $ref: "#/components/schemas/geometrycollectionGeoJSON"
719+
- $ref: '#/components/schemas/pointGeoJSON'
720+
- $ref: '#/components/schemas/multipointGeoJSON'
721+
- $ref: '#/components/schemas/linestringGeoJSON'
722+
- $ref: '#/components/schemas/multilinestringGeoJSON'
723+
- $ref: '#/components/schemas/polygonGeoJSON'
724+
- $ref: '#/components/schemas/multipolygonGeoJSON'
725+
- $ref: '#/components/schemas/geometrycollectionGeoJSON'
726726
geometrycollectionGeoJSON:
727727
type: object
728728
required:
@@ -736,7 +736,7 @@ components:
736736
geometries:
737737
type: array
738738
items:
739-
$ref: "#/components/schemas/geometryGeoJSON"
739+
$ref: '#/components/schemas/geometryGeoJSON'
740740
linestringGeoJSON:
741741
type: object
742742
required:
@@ -862,7 +862,7 @@ components:
862862
features:
863863
type: array
864864
items:
865-
$ref: "#/components/schemas/featureGeoJSON"
865+
$ref: '#/components/schemas/featureGeoJSON'
866866
featureGeoJSON:
867867
type: object
868868
required:
@@ -875,7 +875,7 @@ components:
875875
enum:
876876
- Feature
877877
geometry:
878-
$ref: "#/components/schemas/geometryGeoJSON"
878+
$ref: '#/components/schemas/geometryGeoJSON'
879879
properties:
880880
type: object
881-
nullable: true
881+
nullable: true

core/openapi.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.3
22
info:
33
title: The SpatioTemporal Asset Catalog API - Core
4-
version: 1.0.0-beta.1
4+
version: 1.0.0-beta.2
55
description: >-
66
This is an OpenAPI definition of the core SpatioTemporal Asset Catalog API
77
specification. Any service that implements this endpoint to allow discovery of
@@ -58,12 +58,12 @@ components:
5858
$ref: '#/components/schemas/landingPage'
5959
example:
6060
type: Catalog
61-
stac_version: 1.0.0-beta.1
61+
stac_version: 1.0.0
6262
id: sentinel
6363
title: Copernicus Sentinel Imagery
6464
description: Catalog of Copernicus Sentinel 1 and 2 imagery.
6565
conformsTo:
66-
- 'https://api.stacspec.org/v1.0.0-beta.1/core'
66+
- 'https://api.stacspec.org/v1.0.0-beta.2/core'
6767
links:
6868
- href: 'http://data.example.org/'
6969
rel: self
@@ -84,4 +84,4 @@ components:
8484
- href: 'http://data.example.org/sentinel-2'
8585
rel: child
8686
type: application/json
87-
title: Sentinel 2 Catalog
87+
title: Sentinel 2 Catalog

extensions.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on the extension.
2222
| Pilot | 1 | Idea is fleshed out, with examples and a JSON schema, and implemented in one or more catalogs. Additional implementations encouraged to help give feedback | Approaching stability - breaking changes are not anticipated but can easily come from additional feedback |
2323
| Candidate | 3 | A number of implementers are using it and are standing behind it as a solid extension. Can generally count on an extension at this maturity level | Mostly stable, breaking changes require a new version and minor changes are unlikely. |
2424
| Stable | 6 | Highest current level of maturity. The community of extension maintainers commits to a STAC review process for any changes, which are not made lightly. | Completely stable, all changes require a new version number and review process. |
25-
| Deprecated | N/A | A previous extension that has likely been superceded by a newer one or did not work out for some reason. | DO NOT USE, is not supported |
25+
| Deprecated | N/A | A previous extension that has likely been superseded by a newer one or did not work out for some reason. | DO NOT USE, is not supported |
2626

2727
Maturity mostly comes through diverse implementations, so the minimum number of implementations
2828
column is the main gating function for an extension to mature. But extension authors can also
@@ -67,14 +67,13 @@ the service supports. This are listed at the top of each extension description,
6767

6868
| Extension Name | Conformance Class URIs |
6969
|---------------|-------------------------|
70-
| [Fields](item-search/README.md#fields) | <https://api.stacspec.org/v1.0.0-beta.1/item-search#fields> |
71-
| [Filter](item-search/README.md#filter) | <https://api.stacspec.org/v1.0.0-beta.1/item-search#filter:filter><br/><https://api.stacspec.org/v1.0.0-beta.1/item-search#filter:simple-cql><br/><https://api.stacspec.org/v1.0.0-beta.1/item-search#filter:item-search-filter><br/><https://api.stacspec.org/v1.0.0-beta.1/item-search#filter:cql-text><br/><https://api.stacspec.org/v1.0.0-beta.1/item-search#filter:cql-json> |
72-
| [Context](item-search/README.md#context) | <https://api.stacspec.org/v1.0.0-beta.1/item-search#context> |
73-
| [Sort](item-search/README.md#sort) | <https://api.stacspec.org/v1.0.0-beta.1/item-search#sort> |
74-
| [Transaction](ogcapi-features/extensions/transaction/README.md) | <https://api.stacspec.org/v1.0.0-beta.1/ogcapi-features/extensions/transaction> |
75-
| [Items and Collections API Version](ogcapi-features/extensions/version/README.md) | <https://api.stacspec.org/v1.0.0-beta.1/ogcapi-features/extensions/version> |
76-
| [Query](item-search/README.md#query) | <https://api.stacspec.org/v1.0.0-beta.1/item-search#query> |
77-
70+
| [Fields](item-search/README.md#fields) | <https://api.stacspec.org/v1.0.0-beta.2/item-search#fields> |
71+
| [Filter](item-search/README.md#filter) | <https://api.stacspec.org/v1.0.0-beta.2/item-search#filter:filter><br/><https://api.stacspec.org/v1.0.0-beta.2/item-search#filter:simple-cql><br/><https://api.stacspec.org/v1.0.0-beta.2/item-search#filter:item-search-filter><br/><https://api.stacspec.org/v1.0.0-beta.2/item-search#filter:cql-text><br/><https://api.stacspec.org/v1.0.0-beta.2/item-search#filter:cql-json> |
72+
| [Context](item-search/README.md#context) | <https://api.stacspec.org/v1.0.0-beta.2/item-search#context> |
73+
| [Sort](item-search/README.md#sort) | <https://api.stacspec.org/v1.0.0-beta.2/item-search#sort> |
74+
| [Transaction](ogcapi-features/extensions/transaction/README.md) | <https://api.stacspec.org/v1.0.0-beta.2/ogcapi-features/extensions/transaction> |
75+
| [Items and Collections API Version](ogcapi-features/extensions/version/README.md) | <https://api.stacspec.org/v1.0.0-beta.2/ogcapi-features/extensions/version> |
76+
| [Query](item-search/README.md#query) | <https://api.stacspec.org/v1.0.0-beta.2/item-search#query> |
7877

7978
## Third-party / vendor extensions
8079

fragments/context/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# STAC API - Context Fragment
22

33
- **OpenAPI specification:** [openapi.yaml](openapi.yaml)
4-
- **Conformance Class:** <https://api.stacspec.org/v1.0.0-beta.1/item-search#context>
4+
- **Conformance Class:** <https://api.stacspec.org/v1.0.0-beta.2/item-search#context>
55
- **Fragment [Maturity Classification](../../extensions.md#extension-maturity):** Pilot
66
- **Dependents:**
77
- [Item Search](../../item-search)
@@ -20,16 +20,16 @@ implementing OGC API - Features.*
2020

2121
## ItemCollection fields
2222

23-
| Element | Type | Description |
24-
| --------- | --------------------------------- | ----------- |
23+
| Element | Type | Description |
24+
| --------- | --------------------------------- | ------------------------------------------------------------------------------------------------ |
2525
| `context` | [Context Object](#context-object) | **REQUIRED.** The search-related metadata for the [ItemCollection](../itemcollection/README.md). |
2626

2727
## Context Object
2828

29-
| Element | Type | Description |
30-
| -------- | --------------- | ----------- |
31-
| returned | integer | **REQUIRED** The count of results returned by this response. Equal to the cardinality of features array. |
32-
| limit | integer \| null | The maximum number of results to which the result was limited. |
29+
| Element | Type | Description |
30+
| -------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
31+
| returned | integer | **REQUIRED** The count of results returned by this response. Equal to the cardinality of features array. |
32+
| limit | integer \| null | The maximum number of results to which the result was limited. |
3333
| matched | integer | The count of total number of results that match for this query, possibly estimated, particularly in the context of NoSQL data stores. |
3434

3535
The default sort of query results should be stable, but may not be depending on the data store's sorting performance.

fragments/context/examples/example.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"features": [
99
{
10-
"stac_version": "1.0.0-beta.2",
10+
"stac_version": "1.0.0",
1111
"stac_extensions": [],
1212
"type": "Feature",
1313
"id": "CS3-20160503_132131_05",

fragments/context/openapi.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.3
22
info:
33
title: The SpatioTemporal Asset Catalog API - Context
44
description: Adds search related metadata (context) to GeoJSON Responses.
5-
version: 1.0.0-beta.1
5+
version: 1.0.0-beta.2
66
paths: {}
77
components:
88
schemas:

fragments/fields/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# STAC API - Fields Fragment
22

33
- **OpenAPI specification:** [openapi.yaml](openapi.yaml)
4-
- **Conformance Class:** <https://api.stacspec.org/v1.0.0-beta.1/item-search#fields>
4+
- **Conformance Class:** <https://api.stacspec.org/v1.0.0-beta.2/item-search#fields>
55
- **Fragment [Maturity Classification](../../extensions.md#extension-maturity):** Pilot
66
- **Dependents:**
77
- [Item Search](../../item-search)

fragments/fields/openapi.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.3
22
info:
33
title: The SpatioTemporal Asset Catalog API - Fields
44
description: Adds parameter to control which fields are returned in the response.
5-
version: 1.0.0-beta.1
5+
version: 1.0.0-beta.2
66
paths: {}
77
components:
88
parameters:

0 commit comments

Comments
 (0)