Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove osc:name #9

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Removed

- `osc:name`

## [1.0.0-rc.4]

### Added
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ As such the extension does not validate Collection summaries.
| Field Name | Type | Description |
| ------------- | --------- | ----------- |
| 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. |
| osc:name | string | The descriptive name. Can be distinct from `title` or `id`, but is available for historic reasons. |
| osc:status | string | **REQUIRED.** This field details whether the project or product is `planned`, `ongoing`, or has been `completed`. |
| osc:project | string | **REQUIRED (for products).** The name of the project the product is associated with. |
| osc:region | string | The name of the geographic region the project or product is dealing with if any, e.g `"Arctic"` or `"Agulhas"`. |
Expand All @@ -76,7 +75,6 @@ As such the extension does not validate Collection summaries.

Fields that apply when the `osc:type` is set to `product`:

- osc:name
- osc:status - **REQUIRED**
- osc:project - **REQUIRED**
- osc:region
Expand All @@ -86,7 +84,6 @@ Fields that apply when the `osc:type` is set to `product`:

Fields that apply when the `osc:type` is set to `project`:

- osc:name
- osc:status - **REQUIRED**
- osc:region
- [themes](#themes)
Expand Down
1 change: 0 additions & 1 deletion examples/project/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"https://stac-extensions.github.io/themes/v1.0.0/schema.json",
"https://stac-extensions.github.io/contacts/v0.1.1/schema.json"
],
"osc:name": "3D-Earth",
"osc:status": "completed",
"themes": [
{
Expand Down
10 changes: 0 additions & 10 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@
"type": "string",
"const": "project"
},
"osc:name": {
"$ref": "#/definitions/name"
},
"osc:status": {
"$ref": "#/definitions/status"
},
Expand All @@ -102,9 +99,6 @@
"type": "string",
"const": "product"
},
"osc:name": {
"$ref": "#/definitions/name"
},
"osc:status": {
"$ref": "#/definitions/status"
},
Expand All @@ -126,10 +120,6 @@
},
"additionalProperties": false
},
"name": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"enum": [
Expand Down