Skip to content

Commit 4c7d842

Browse files
Merge pull request #7 from stac-extensions/planned
Added `planned` to allowed values for `osc:status`
2 parents 80e8194 + b20ffa2 commit 4c7d842

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

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

99
### Added
1010

11+
- Added `planned` to allowed values for `osc:status`
12+
1113
### Changed
1214

1315
### Deprecated

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ As such the extension does not validate Collection summaries.
6666
| ------------- | --------- | ----------- |
6767
| osc:type | string | **REQUIRED.** The underlying type of this resource. Either `"project"` or `"product"`. This field then defines what other fields are allowed and required. |
6868
| osc:name | string | The descriptive name. Can be distinct from `title` or `id`, but is available for historic reasons. |
69-
| osc:status | string | **REQUIRED.** This field details whether the project or product has already been completed (`"completed"`) or whether it is still ongoing (`"ongoing"`). |
69+
| osc:status | string | **REQUIRED.** This field details whether the project or product is `planned`, `ongoing`, or has been `completed`. |
7070
| osc:project | string | **REQUIRED (for products).** The name of the project the product is associated with. |
7171
| osc:region | string | The name of the geographic region the project or product is dealing with if any, e.g `"Arctic"` or `"Agulhas"`. |
7272
| osc:variables | \[string] | The names of the variables the product is observing, e.g `"Wind stress"` or `"Geomagnetic field"`. |

json-schema/schema.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@
141141
},
142142
"status": {
143143
"type": "string",
144-
"enum": ["ongoing", "completed"]
144+
"enum": [
145+
"planned",
146+
"ongoing",
147+
"completed"
148+
]
145149
},
146150
"project": {
147151
"type": "string",

0 commit comments

Comments
 (0)