Closed sophieherrmann closed 3 years ago
In Collection summaries, you always provide an array with values or an object with statistics (min/max). So the validator is fine, you need to wrap the constellation value(s) in an array (same for platform). See the STAC summaries documentation for details: https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#collection-fields
Thanks! Somehow I must have missed this.
Dear Devs!
I added the instrument fields
platform
andconstellation
to thesummaries
section in the/collections
and/collections/{collection_id}
endpoint. (see/collections/s2b_prd_msil1c
response at the bottom) Now when running the validation I get the following error msg:This indicates that the
constellation
field should be an array but according to the STAC Common Metadata instrument documentation it should be a string - as it is in my case.Am I missing something or is this a bug in the code?