Skip to content

Commit

Permalink
deploy: 9b57094
Browse files Browse the repository at this point in the history
  • Loading branch information
smohiudd committed Dec 19, 2023
1 parent 94236b3 commit da11495
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions v1.0.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@
"anyOf": [
{
"$comment": "This validates the fields in Collection Assets, but does not require them.",
"required": [
"assets"
"anyOf": [
{"type": "object", "required": ["assets"]},
{"type": "object", "required": ["item_assets"]}
],
"properties": {
"renders": {
Expand Down Expand Up @@ -107,7 +108,8 @@
{"type": "object", "required": ["color_formula"]},
{"type": "object", "required": ["resampling"]},
{"type": "object", "required": ["expression"]},
{"type": "object", "required": ["minmax_zoom"]}
{"type": "object", "required": ["minmax_zoom"]},
{"type": "object", "required": ["bidx"]}
]
},
"fields": {
Expand Down Expand Up @@ -136,7 +138,7 @@
}
},
"nodata": {
"type": "number"
"type": ["number","string"]
},
"colormap_name": {
"type": "string"
Expand All @@ -158,6 +160,12 @@
"items": {
"type": "number"
}
},
"bidx":{
"type": "array",
"items": {
"type": "number"
}
}
},
"additionalProperties": true
Expand Down

0 comments on commit da11495

Please sign in to comment.