diff --git a/CHANGELOG.md b/CHANGELOG.md index 3841436..8c4b1da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [v2.0.0] - 2026-04-29 + +### Removed + +- `sar:product_type` + ## [v1.3.0] - 2025-07-16 ### Added @@ -58,7 +64,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Best practices and asset roles -[Unreleased]: +[Unreleased]: +[v2.0.0]: [v1.3.0]: [v1.2.0]: [v1.1.0]: diff --git a/README.md b/README.md index 33383ba..554cacf 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # SAR Extension Specification - **Title:** SAR -- **Identifier:** +- **Identifier:** - **Field Name Prefix:** sar - **Scope:** Item, Collection - **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/blob/master/extensions/README.md#extension-maturity):** Stable @@ -64,14 +64,13 @@ The fields in the table below can be used in these parts of STAC documents: | sar:observation_direction | string | Antenna pointing direction relative to the flight trajectory of the satellite, either `left` or `right`. | | sar:relative_burst | number | Identification number that uniquely identifies a burst cycle within each repeat cycle. | | sar:beam_ids | \[string] | Composition of the swath of the SAR acquision referencing the beam identifiers. | -| sar:product_type | string | ***DEPRECATED** in favor of [`product:type`](https://github.com/stac-extensions/product).* See [Product type](#product-type). | > \[!CAUTION] > > - v1.0 of the extension did require `sar:product_type`. -> - v1.1 deprecates `sar:product_type` and it's not required any longer, but +> - v1.1 deprecated `sar:product_type` and it's not required any longer, but > [`product:type`](https://github.com/stac-extensions/product) is **strongly recommended**. -> - v2.0 is going to remove `sar:product_type`. +> - v2.0 removed `sar:product_type`. ### Additional Field Information diff --git a/examples/envisat.json b/examples/envisat.json index ca956ff..1bd3bfd 100644 --- a/examples/envisat.json +++ b/examples/envisat.json @@ -2,7 +2,7 @@ "type": "Feature", "stac_version": "1.0.0", "stac_extensions": [ - "https://stac-extensions.github.io/sar/v1.3.0/schema.json", + "https://stac-extensions.github.io/sar/v2.0.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], "id": "sar-envisat-example", diff --git a/examples/sentinel-1-grd-ew.json b/examples/sentinel-1-grd-ew.json index eeeb8e9..18952f4 100644 --- a/examples/sentinel-1-grd-ew.json +++ b/examples/sentinel-1-grd-ew.json @@ -2,7 +2,7 @@ "type": "Feature", "stac_version": "1.0.0", "stac_extensions": [ - "https://stac-extensions.github.io/sar/v1.3.0/schema.json", + "https://stac-extensions.github.io/sar/v2.0.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], "id": "sentinel-1-example", diff --git a/examples/sentinel-1-grd-s4.json b/examples/sentinel-1-grd-s4.json index 8fabf05..61c5797 100644 --- a/examples/sentinel-1-grd-s4.json +++ b/examples/sentinel-1-grd-s4.json @@ -2,7 +2,7 @@ "type": "Feature", "stac_version": "1.0.0", "stac_extensions": [ - "https://stac-extensions.github.io/sar/v1.3.0/schema.json", + "https://stac-extensions.github.io/sar/v2.0.0/schema.json", "https://stac-extensions.github.io/processing/v1.2.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json" diff --git a/examples/sentinel-1-slc-iw.json b/examples/sentinel-1-slc-iw.json index ac935c3..d8a17cc 100644 --- a/examples/sentinel-1-slc-iw.json +++ b/examples/sentinel-1-slc-iw.json @@ -2,7 +2,7 @@ "type": "Feature", "stac_version": "1.0.0", "stac_extensions": [ - "https://stac-extensions.github.io/sar/v1.3.0/schema.json", + "https://stac-extensions.github.io/sar/v2.0.0/schema.json", "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", "https://stac-extensions.github.io/storage/v1.0.0/schema.json" ], diff --git a/json-schema/schema.json b/json-schema/schema.json index 367deba..8057e32 100644 --- a/json-schema/schema.json +++ b/json-schema/schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://stac-extensions.github.io/sar/v1.3.0/schema.json", + "$id": "https://stac-extensions.github.io/sar/v2.0.0/schema.json", "title": "SAR Extension", "description": "STAC SAR Extension for STAC Items and STAC Collections.", "type": "object", @@ -11,7 +11,7 @@ "stac_extensions": { "type": "array", "contains": { - "const": "https://stac-extensions.github.io/sar/v1.3.0/schema.json" + "const": "https://stac-extensions.github.io/sar/v2.0.0/schema.json" } } }, @@ -143,7 +143,6 @@ {"required": ["sar:center_frequency"]}, {"required": ["sar:bandwidth"]}, {"required": ["sar:polarizations"]}, - {"required": ["sar:product_type"]}, {"required": ["sar:resolution_range"]}, {"required": ["sar:resolution_azimuth"]}, {"required": ["sar:pixel_spacing_range"]}, @@ -194,16 +193,6 @@ "sar:polarizations": { "$ref": "#/definitions/sar_polarizations" }, - "sar:product_type": { - "title": "Product type", - "type": "string", - "minLength": 1, - "examples": [ - "SSC", - "MGD", - "SGC" - ] - }, "sar:resolution_range": { "title": "Resolution range (m)", "type": "number", diff --git a/package.json b/package.json index 6021add..af5d0cf 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "stac-extensions", - "version": "1.3.0", + "version": "2.0.0", "scripts": { "test": "npm run check-markdown && npm run check-examples", "check-markdown": "remark . -f -r .github/remark.yaml", - "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/sar/v1.3.0/schema.json=./json-schema/schema.json", - "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/sar/v1.3.0/schema.json=./json-schema/schema.json" + "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/sar/v2.0.0/schema.json=./json-schema/schema.json", + "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/sar/v2.0.0/schema.json=./json-schema/schema.json" }, "dependencies": { "remark-cli": "^12.0.0",