From c7cc48136b60ef9deb4296aa190664d3e86d2bbb Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Thu, 25 Feb 2021 16:43:57 +0100
Subject: [PATCH] TMSS-528: minItems=0 for SAP

---
 .../tmss/tmssapp/schemas/subtask_template-observation-1.json  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/schemas/subtask_template-observation-1.json b/SAS/TMSS/backend/src/tmss/tmssapp/schemas/subtask_template-observation-1.json
index c51fa2d930d..c059694aa92 100644
--- a/SAS/TMSS/backend/src/tmss/tmssapp/schemas/subtask_template-observation-1.json
+++ b/SAS/TMSS/backend/src/tmss/tmssapp/schemas/subtask_template-observation-1.json
@@ -153,7 +153,7 @@
                     "type": "array",
                     "title": "SAPs",
                     "additionalItems": false,
-                    "default": [{}],
+                    "default": [],
                     "items": {
                       "type": "object",
                       "title": "SAP",
@@ -211,7 +211,7 @@
                       "tabs"
                       ]
                     },
-                    "minItems": 1
+                    "minItems": 0
                   },
                   "stations": {
                     "description": "Stations to beam form. This can be a subset of the obervation stations.",
-- 
GitLab