diff --git a/README.md b/README.md index bf3726f..4a4ce33 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![hackmd-github-sync-badge](https://hackmd.io/lekSD_RVRiquNHRloXRzeg/badge)](https://hackmd.io/lekSD_RVRiquNHRloXRzeg?both) - **Title:** Machine Learning Model Extension -- **Identifier:** [https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json](https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json) +- **Identifier:** [https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json](https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json) - **Field Name Prefix:** mlm - **Scope:** Collection, Item, Asset, Links - **Extension Maturity Classification:** Proposal diff --git a/best-practices.md b/best-practices.md index ab54bf4..fca6e7a 100644 --- a/best-practices.md +++ b/best-practices.md @@ -145,7 +145,7 @@ leading to a new MLM STAC Item definition (see also [STAC Version Extension](#ve { "id": "stac-item-model", "stac_extensions": [ - "https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json", + "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json", "https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json" ], "assets": { @@ -216,7 +216,7 @@ that the model is properly instantiated from the expected weights, or that suffi ```json { "stac_extensions": [ - "https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json", + "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json", "https://stac-extensions.github.io/file/v2.1.0/schema.json" ], "assets": { diff --git a/examples/item_basic.json b/examples/item_basic.json index bfe6eac..0fa5bea 100644 --- a/examples/item_basic.json +++ b/examples/item_basic.json @@ -1,7 +1,7 @@ { "stac_version": "1.0.0", "stac_extensions": [ - "https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json" + "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json" ], "type": "Feature", "id": "example-model", diff --git a/examples/item_eo_bands.json b/examples/item_eo_bands.json index 5f62928..8a13cc9 100644 --- a/examples/item_eo_bands.json +++ b/examples/item_eo_bands.json @@ -1,7 +1,7 @@ { "stac_version": "1.0.0", "stac_extensions": [ - "https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json", + "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/file/v1.0.0/schema.json", diff --git a/examples/item_multi_io.json b/examples/item_multi_io.json index 0bf621d..d2f275d 100644 --- a/examples/item_multi_io.json +++ b/examples/item_multi_io.json @@ -1,7 +1,7 @@ { "stac_version": "1.0.0", "stac_extensions": [ - "https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json", + "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/file/v1.0.0/schema.json", "https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json" diff --git a/examples/item_raster_bands.json b/examples/item_raster_bands.json index bae4429..67f36bd 100644 --- a/examples/item_raster_bands.json +++ b/examples/item_raster_bands.json @@ -1,7 +1,7 @@ { "stac_version": "1.0.0", "stac_extensions": [ - "https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json", + "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/file/v1.0.0/schema.json", "https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json" diff --git a/json-schema/schema.json b/json-schema/schema.json index 9802022..2f55335 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://crim-ca.github.io/mlm-extension/v0.0.0/schema.json", + "$id": "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json", "title": "Machine Learning Model STAC Extension Schema", "description": "This object represents the metadata for a Machine Learning Model (MLM) used in STAC documents.", "oneOf": [ @@ -97,7 +97,7 @@ "stac_extensions": { "type": "array", "contains": { - "const": "https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json" + "const": "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json" } } } diff --git a/package.json b/package.json index acc9dad..d7ee9bc 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "test": "npm run check-markdown && npm run check-examples", "check-markdown": "remark . -f -r .github/remark.yaml -i .remarkignore", "format-markdown": "remark . -f -r .github/remark.yaml -i .remarkignore -o", - "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json=./json-schema/schema.json", - "format-examples": "stac-node-validator . --format --schemaMap https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json=./json-schema/schema.json" + "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json=./json-schema/schema.json", + "format-examples": "stac-node-validator . --format --schemaMap https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json=./json-schema/schema.json" }, "dependencies": { "remark-cli": "^8.0.0", diff --git a/pyproject.toml b/pyproject.toml index 359cdaf..96fe567 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,7 +85,7 @@ ruff = "^0.2.2" bump-my-version = "^0.20.2" [tool.bumpversion] -current_version = "0.0.0" +current_version = "1.0.0" parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" serialize = ["{major}.{minor}.{patch}"] search = "{current_version}" diff --git a/stac_model/schema.py b/stac_model/schema.py index be3ca49..9751fa3 100644 --- a/stac_model/schema.py +++ b/stac_model/schema.py @@ -37,7 +37,7 @@ ) SchemaName = Literal["mlm"] -SCHEMA_URI: str = "https://crim-ca.github.io/mlm-extension/v0.0.0/schema.json" +SCHEMA_URI: str = "https://crim-ca.github.io/mlm-extension/v1.0.0/schema.json" PREFIX = f"{get_args(SchemaName)[0]}:"