diff --git a/CHANGELOG.md b/CHANGELOG.md index 2668bbc2..3af63aba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Renamed `text_merge` to `text_concat` for better alignment with `array_concat` and existing implementations. - `apply_neighborhood`: Allow `null` as default value for units. - `run_udf`: Allow all data types instead of just objects in the `context` parameter. [#376](https://github.com/Open-EO/openeo-processes/issues/376) +- `load_collection` and `load_result`: Require at least one band if not set to `null`. [#372](https://github.com/Open-EO/openeo-processes/issues/372) ### Removed diff --git a/load_collection.json b/load_collection.json index dfdb72ca..d6615f21 100644 --- a/load_collection.json +++ b/load_collection.json @@ -161,6 +161,7 @@ "schema": [ { "type": "array", + "minItems": 1, "items": { "type": "string", "subtype": "band-name" @@ -303,4 +304,4 @@ "title": "List of common band names as specified by the STAC specification" } ] -} \ No newline at end of file +} diff --git a/proposals/load_result.json b/proposals/load_result.json index d8b70c6a..fa056b48 100644 --- a/proposals/load_result.json +++ b/proposals/load_result.json @@ -176,6 +176,7 @@ "schema": [ { "type": "array", + "minItems": 1, "items": { "type": "string", "subtype": "band-name" @@ -198,4 +199,4 @@ "subtype": "raster-cube" } } -} \ No newline at end of file +}