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

TMSS-761: enforce minimum of one SAP per observation

parent af4ab272
No related branches found
No related tags found
1 merge request!470TMSS-761: commissioning fixes and patches
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.astron.nl/SIP-Lofar" version="2.7.2" xmlns="http://www.astron.nl/SIP-Lofar" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="http://www.astron.nl/SIP-Lofar" version="2.7.3" xmlns="http://www.astron.nl/SIP-Lofar" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>
XML Schema for data model Submission Information Package LOFAR Long Term Archive
......@@ -364,7 +364,7 @@
<xs:element name="numberOfStations" type="xs:unsignedByte"/>
<xs:element name="stations" type="Stations"/>
<xs:element name="numberOfSubArrayPointings" type="xs:unsignedShort"/>
<xs:element minOccurs="0" name="subArrayPointings" type="SubArrayPointings"/>
<xs:element minOccurs="1" name="subArrayPointings" type="SubArrayPointings"/>
<xs:element name="numberOftransientBufferBoardEvents" type="xs:unsignedShort"/>
<xs:element minOccurs="0" name="transientBufferBoardEvents" type="TransientBufferBoardEvents"/>
<xs:element name="numberOfCorrelatedDataProducts" type="xs:unsignedShort"/>
......@@ -544,7 +544,7 @@
</xs:complexType>
<xs:complexType name="SubArrayPointings">
<xs:sequence>
<xs:element maxOccurs="unbounded" name="subArrayPointing" type="SubArrayPointing"/>
<xs:element minOccurs="1" maxOccurs="unbounded" name="subArrayPointing" type="SubArrayPointing"/>
</xs:sequence>
</xs:complexType>
<xs:annotation>
......
......@@ -215,7 +215,7 @@
"tabs"
]
},
"minItems": 0
"minItems": 1
},
"stations": {
"description": "Stations to beam form. This can be a subset of the obervation stations.",
......
......@@ -111,7 +111,7 @@
"description": "Which SAPs in the observation to beamform.",
"additionalItems": false,
"default": [],
"minItems": 0,
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment