Skip to content

Release v1 #10

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

Merged
merged 2 commits 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
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0]

### Removed

- `osc:name`

## [1.0.0-rc.4]

### Added
Expand Down Expand Up @@ -42,7 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- First release

[Unreleased]: <https://github.com/stac-extensions/osc/compare/v1.0.0-rc.4...HEAD>
[Unreleased]: <https://github.com/stac-extensions/osc/compare/v1.0.0...HEAD>
[1.0.0]: <https://github.com/stac-extensions/osc/compare/v1.0.0-rc.4...v1.0.0>
[1.0.0-rc.4]: <https://github.com/stac-extensions/osc/compare/v1.0.0-rc.3...v1.0.0-rc.4>
[1.0.0-rc.3]: <https://github.com/stac-extensions/osc/compare/v1.0.0-rc.2...v1.0.0-rc.3>
[1.0.0-rc.2]: <https://github.com/stac-extensions/osc/compare/v1.0.0-rc.1...v1.0.0-rc.2>
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Open Science Catalog Extension Specification

- **Title:** Open Science Catalog
- **Identifier:** <https://stac-extensions.github.io/osc/v1.0.0-rc.4/schema.json>
- **Identifier:** <https://stac-extensions.github.io/osc/v1.0.0/schema.json>
- **Field Name Prefix:** osc
- **Scope:** Catalog, Collection, Item
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Proposal
Expand Down 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
2 changes: 1 addition & 1 deletion examples/product/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
}
],
"stac_extensions": [
"https://stac-extensions.github.io/osc/v1.0.0-rc.4/schema.json",
"https://stac-extensions.github.io/osc/v1.0.0/schema.json",
"https://stac-extensions.github.io/themes/v1.0.0/schema.json",
"https://stac-extensions.github.io/cf/v0.2.0/schema.json"
],
Expand Down
2 changes: 1 addition & 1 deletion examples/product/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "example",
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/osc/v1.0.0-rc.4/schema.json",
"https://stac-extensions.github.io/osc/v1.0.0/schema.json",
"https://stac-extensions.github.io/themes/v1.0.0/schema.json"
],
"geometry": null,
Expand Down
3 changes: 1 addition & 2 deletions examples/project/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@
}
],
"stac_extensions": [
"https://stac-extensions.github.io/osc/v1.0.0-rc.4/schema.json",
"https://stac-extensions.github.io/osc/v1.0.0/schema.json",
"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
14 changes: 2 additions & 12 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://stac-extensions.github.io/osc/v1.0.0-rc.4/schema.json#",
"$id": "https://stac-extensions.github.io/osc/v1.0.0/schema.json#",
"title": "Open Science Catalog Extension",
"description": "STAC Open Science Catalog Extension for STAC Items and STAC Collections.",
"type": "object",
Expand All @@ -11,7 +11,7 @@
"stac_extensions": {
"type": "array",
"contains": {
"const": "https://stac-extensions.github.io/osc/v1.0.0-rc.4/schema.json"
"const": "https://stac-extensions.github.io/osc/v1.0.0/schema.json"
}
}
},
Expand Down 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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "stac-extensions",
"version": "1.0.0-rc.4",
"version": "1.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 examples --lint --verbose --schemaMap https://stac-extensions.github.io/osc/v1.0.0-rc.4/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator examples --format --schemaMap https://stac-extensions.github.io/osc/v1.0.0-rc.4/schema.json=./json-schema/schema.json"
"check-examples": "stac-node-validator examples --lint --verbose --schemaMap https://stac-extensions.github.io/osc/v1.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator examples --format --schemaMap https://stac-extensions.github.io/osc/v1.0.0/schema.json=./json-schema/schema.json"
},
"dependencies": {
"remark-cli": "^8.0.0",
Expand Down