Skip to content

Commit f107520

Browse files
authored
Merge pull request #924 from radiantearth/fix-providers
Fixed JSON Schema for `providers`
2 parents b9d6464 + da3238a commit f107520

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2121
### Fixed
2222

2323
- Label extension: `label:classes` was flagged as required in JSON Schema, but is only required for categorical data.
24+
- Fixed JSON Schema for `providers` (Collections and Items) to be an object and require a `name`.
2425
- JSON Schema for `sar:polarizations` in `assets` fixed
2526

2627
## [v1.0.0-beta.2] - 2020-07-08

collection-spec/json-schema/collection.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
"providers": {
5555
"type": "array",
5656
"items": {
57+
"type": "object",
58+
"required": [
59+
"name"
60+
],
5761
"properties": {
5862
"name": {
5963
"title": "Organization name",

item-spec/json-schema/provider.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"title": "Providers",
99
"type": "array",
1010
"items": {
11+
"type": "object",
12+
"required": [
13+
"name"
14+
],
1115
"properties": {
1216
"name": {
1317
"title": "Organization name",

0 commit comments

Comments
 (0)