Skip to content
Snippets Groups Projects
Commit 7ec0e5c5 authored by Jakub Dylag's avatar Jakub Dylag
Browse files

Allow mulitple files per concept set - Typing Validation

parent 2edc9684
No related branches found
No related tags found
No related merge requests found
...@@ -127,9 +127,11 @@ CONFIG_SCHEMA = { ...@@ -127,9 +127,11 @@ CONFIG_SCHEMA = {
"type": "dict", "type": "dict",
"schema": { "schema": {
"name": {"type": "string", "required": True}, "name": {"type": "string", "required": True},
"file": { "files":{
"type": "list",
"required": True,
"schema":{
"type": "dict", "type": "dict",
"required": False,
"schema": { "schema": {
"path": {"type": "string", "required": True}, "path": {"type": "string", "required": True},
"columns": {"type": "dict", "required": True}, "columns": {"type": "dict", "required": True},
...@@ -141,8 +143,9 @@ CONFIG_SCHEMA = { ...@@ -141,8 +143,9 @@ CONFIG_SCHEMA = {
"schema": {"divide_col": {"type": "string"}}, "schema": {"divide_col": {"type": "string"}},
}, },
}, },
# "metadata": {"type": "dict", "required": True},
}
}, },
"metadata": {"type": "dict", "required": True},
}, },
}, },
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment