Skip to content
Snippets Groups Projects
Commit 118a8110 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

make jsonschema less strict

parent d1720411
Branches
Tags 0.60
No related merge requests found
......@@ -106,7 +106,7 @@ INTERFACE_LIST_SCHEMA = {
'type': 'object',
'properties': {
'name': {'type': 'string'},
'interface_type': {'enum': _INTERFACE_TYPES}
'interface_type': {'type': 'string'},
},
'required': ['name', 'interface_type']
},
......@@ -118,7 +118,7 @@ INTERFACE_LIST_SCHEMA = {
'description': {'type': 'string'},
'dashboards': {
'type': 'array',
'items': {'enum': _DASHBOARD_IDS}
'items': {'type': 'string'}
},
'dashboards_info': {
'type': 'array',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment