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

TMSS-000: (temp?) fix for self-referencing schemas. Copied the QA and stations...

TMSS-000: (temp?) fix for self-referencing schemas. Copied the QA and stations definitions into task template
parent 0c8f570e
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,15 @@
"type": "object",
"properties": {
"stations": {
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/stations/1/#/definitions/stations",
"title":"stations",
"description":"Use either the fixed station list, or one of the dynamic station sets.",
"oneOf": [ {
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/stations/1#/definitions/station_list"
},
{
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/stations/1#/definitions/station_set"
}
],
"default": ["CS001"]
},
"antenna_set": {
......@@ -124,8 +132,24 @@
]
},
"QA": {
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/QA/1/#/definitions/QA",
"default": {}
"type":"object",
"title":"QA",
"description":"Perform all Quality Assurance (QA) tasks, including file conversion and plotting.",
"default":{},
"properties": {
"file_conversion" : {
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/QA/1#/definitions/file_conversion",
"default": {}
},
"plots" : {
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/QA/1#/definitions/plots",
"default": {}
}
},
"additionalProperties":false,
"required": [
"file_conversion",
"plots"]
}
},
"required": [
......
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