diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f5d5ec55..16b232dff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Label extension: `label:classes` was flagged as required in JSON Schema, but is only required for categorical data. +- Fixed JSON Schema for `providers` (Collections and Items) to be an object and require a `name`. - JSON Schema for `sar:polarizations` in `assets` fixed ## [v1.0.0-beta.2] - 2020-07-08 diff --git a/collection-spec/json-schema/collection.json b/collection-spec/json-schema/collection.json index 34e7a64f6..e6d1fcb08 100644 --- a/collection-spec/json-schema/collection.json +++ b/collection-spec/json-schema/collection.json @@ -54,6 +54,10 @@ "providers": { "type": "array", "items": { + "type": "object", + "required": [ + "name" + ], "properties": { "name": { "title": "Organization name", diff --git a/item-spec/json-schema/provider.json b/item-spec/json-schema/provider.json index f061598b9..ec90c05c2 100644 --- a/item-spec/json-schema/provider.json +++ b/item-spec/json-schema/provider.json @@ -8,6 +8,10 @@ "title": "Providers", "type": "array", "items": { + "type": "object", + "required": [ + "name" + ], "properties": { "name": { "title": "Organization name",