From 1d622bed037c85846a2b3c4be4b0f69f539cff5c Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Tue, 23 Feb 2021 20:13:05 +0100 Subject: [PATCH] TMSS-528: made all properties required, now that they have a proper default --- .../task_template-beamforming_observation-1.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/schemas/task_template-beamforming_observation-1.json b/SAS/TMSS/backend/src/tmss/tmssapp/schemas/task_template-beamforming_observation-1.json index 8c8e8e5ca28..3d95b3a1714 100644 --- a/SAS/TMSS/backend/src/tmss/tmssapp/schemas/task_template-beamforming_observation-1.json +++ b/SAS/TMSS/backend/src/tmss/tmssapp/schemas/task_template-beamforming_observation-1.json @@ -81,6 +81,7 @@ "title": "Beamformer", "headerTemplate": "Beamformer {{ self.index }}", "additionalProperties": false, + "default": {}, "properties": { "name": { "type": "string", @@ -92,6 +93,7 @@ "title": "Coherent Tied-Array Beams", "type": "object", "additionalProperties": false, + "default": {}, "properties": { "settings": { "$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/beamforming/1#/definitions/stokes_settings" @@ -173,6 +175,7 @@ "title": "Incoherent Tied-Array Beams", "type": "object", "additionalProperties": false, + "default": {}, "properties": { "settings": { "$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/beamforming/1#/definitions/stokes_settings" @@ -232,7 +235,14 @@ "default": [], "minItems": 0 } - } + }, + "required": [ + "name", + "coherent", + "incoherent", + "flys eye", + "stations" + ] } } }, -- GitLab