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

TMSS-528: removed obsolete schema

parent 70e5afc5
Branches
Tags
1 merge request!366Resolve TMSS-528 "Beamformer support"
{
"$id": "http://tmss.lofar.org/api/schemas/commonschematemplate/optionalobject/1#",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "optionalobject",
"description": "This schema defines short hands for having an 'enabled' bool toggle the presence of other fields.",
"version": 1,
"type": "object",
"definitions": {
"enabled": {
"type": "boolean",
"title": "Enabled",
"default": true,
"options": {
"hidden": true
},
"enum": [
true
]
},
"disabled": {
"type": "boolean",
"title": "Disabled",
"default": false,
"options": {
"hidden": true
},
"enum": [
false
]
},
"disabled_object": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"$ref": "#/definitions/disabled"
}
},
"required":[
"enabled"
]
}
}
}
......@@ -7,10 +7,6 @@
"file_name": "common_schema_template-datetime-1.json",
"template": "common_schema_template"
},
{
"file_name": "common_schema_template-optional-object-1.json",
"template": "common_schema_template"
},
{
"file_name": "common_schema_template-pointing-1.json",
"template": "common_schema_template"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment