Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

validate tracks and daynight fields

Jason Kent17135ea24b1e
diff --git a/schemas/layer-config.json b/schemas/layer-config.json
index 959039f85..b30733f84 100644
--- a/schemas/layer-config.json
+++ b/schemas/layer-config.json
@@ -41,12 +41,7 @@
"enum": ["overlays", "baselayers"]
},
"layergroup": {
- "description": "TODO this seems to only be used to check for 'reference_orbits' to determine if a layer is an orbit track",
- "type": "array",
- "uniqueItems": true,
- "items": {
- "type": "string"
- }
+ "type": "string"
},
"product": {
"anyOf": [
@@ -66,6 +61,19 @@
"format": {
"$ref": "#/definitions/format"
},
+ "tracks": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "daynight": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": ["day", "night"]
+ }
+ },
"period": {
"type": "string",
"enum": [