Skip to content
Snippets Groups Projects
Commit 1d622bed authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-528: made all properties required, now that they have a proper default

parent 648c6069
Branches
Tags
1 merge request!366Resolve TMSS-528 "Beamformer support"
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
"title": "Beamformer", "title": "Beamformer",
"headerTemplate": "Beamformer {{ self.index }}", "headerTemplate": "Beamformer {{ self.index }}",
"additionalProperties": false, "additionalProperties": false,
"default": {},
"properties": { "properties": {
"name": { "name": {
"type": "string", "type": "string",
...@@ -92,6 +93,7 @@ ...@@ -92,6 +93,7 @@
"title": "Coherent Tied-Array Beams", "title": "Coherent Tied-Array Beams",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"default": {},
"properties": { "properties": {
"settings": { "settings": {
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/beamforming/1#/definitions/stokes_settings" "$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/beamforming/1#/definitions/stokes_settings"
...@@ -173,6 +175,7 @@ ...@@ -173,6 +175,7 @@
"title": "Incoherent Tied-Array Beams", "title": "Incoherent Tied-Array Beams",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"default": {},
"properties": { "properties": {
"settings": { "settings": {
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/beamforming/1#/definitions/stokes_settings" "$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/beamforming/1#/definitions/stokes_settings"
...@@ -232,7 +235,14 @@ ...@@ -232,7 +235,14 @@
"default": [], "default": [],
"minItems": 0 "minItems": 0
} }
} },
"required": [
"name",
"coherent",
"incoherent",
"flys eye",
"stations"
]
} }
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment