Skip to content

Commit 3b23ab4

Browse files
committed
Removed deprecated fields, require alternative external fields
1 parent fdd9fbb commit 3b23ab4

File tree

3 files changed

+8
-25
lines changed

3 files changed

+8
-25
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
### Removed
11+
12+
- `sar:instrument_mode`
13+
- `sar:product_type`
14+
1015
## [v1.2.0] - 2025-03-29
1116

1217
### Added

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,15 @@ The fields in the table below can be used in these parts of STAC documents:
6464
| sar:observation_direction | string | Antenna pointing direction relative to the flight trajectory of the satellite, either `left` or `right`. |
6565
| sar:relative_burst | number | Identification number that uniquely identifies a burst cycle within each repeat cycle. |
6666
| sar:beam_ids | \[string] | Composition of the swath of the SAR acquision referencing the beam identifiers. |
67-
| sar:product_type | string | ***DEPRECATED** in favor of [`product:type`](https://github.com/stac-extensions/product).* See [Product type](#product-type). |
68-
| sar:instrument_mode | string | ***DEPRECATED** in favor of [`altm:instrument_mode`](https://github.com/stac-extensions/altimetry).* See [Instrument details](#instrument-details). |
6967

7068
> \[!CAUTION]
7169
>
7270
> - v1.0 of the extension did require `sar:product_type` and `sar:instrument_mode`.
73-
> - v1.1 deprecates `sar:product_type` and it's not required any longer, but
71+
> - v1.1 deprecated `sar:product_type` and it's not required any longer, but
7472
> [`product:type`](https://github.com/stac-extensions/product) is **strongly recommended**.
75-
> - v1.2 deprecates `sar:instrument_mode` and it's not required any longer, but
73+
> - v1.2 deprecated `sar:instrument_mode` and it's not required any longer, but
7674
> [`altm:instrument_mode` and `altm:instrument_type`](https://github.com/stac-extensions/altimetry) are **strongly recommended**.
77-
> - v2.0 is going to remove `sar:product_type` and `sar:instrument_mode`.
75+
> - v2.0 removed `sar:product_type` and `sar:instrument_mode`.
7876
7977
### Additional Field Information
8078

json-schema/schema.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,9 @@
138138
"require_any_field": {
139139
"$comment": "Please list all fields here so that we can force the existence of one of them in other parts of the schemas.",
140140
"anyOf": [
141-
{"required": ["sar:instrument_mode"]},
142141
{"required": ["sar:frequency_band"]},
143142
{"required": ["sar:center_frequency"]},
144143
{"required": ["sar:polarizations"]},
145-
{"required": ["sar:product_type"]},
146144
{"required": ["sar:resolution_range"]},
147145
{"required": ["sar:resolution_azimuth"]},
148146
{"required": ["sar:pixel_spacing_range"]},
@@ -158,14 +156,6 @@
158156
"$comment": "Add your new fields here. Don't require them here, do that above in the item schema.",
159157
"type": "object",
160158
"properties": {
161-
"sar:instrument_mode": {
162-
"title": "Instrument Mode",
163-
"type": "string",
164-
"examples": [
165-
"WV"
166-
],
167-
"minLength": 1
168-
},
169159
"sar:frequency_band": {
170160
"title": "Frequency Band",
171161
"type": "string",
@@ -187,16 +177,6 @@
187177
"sar:polarizations": {
188178
"$ref": "#/definitions/sar_polarizations"
189179
},
190-
"sar:product_type": {
191-
"title": "Product type",
192-
"type": "string",
193-
"minLength": 1,
194-
"examples": [
195-
"SSC",
196-
"MGD",
197-
"SGC"
198-
]
199-
},
200180
"sar:resolution_range": {
201181
"title": "Resolution range (m)",
202182
"type": "number",

0 commit comments

Comments
 (0)