radiantearth / stac-spec

SpatioTemporal Asset Catalog specification - making geospatial assets openly searchable and crawlable
https://stacspec.org
Apache License 2.0
794 stars 178 forks source link

Prevent empty strings for required fields #1048

Closed m-mohr closed 3 years ago

m-mohr commented 3 years ago

Several string fields are required, e.g. "id" in item or "description" in Collections. Although those fields are required, they can be provided as empty strings. Should we enforce a minimum length of 1 in JSON Schemas for required strings?

cholmes commented 3 years ago

I'm +1 on this.

m-mohr commented 3 years ago