allow empty projection select in schema
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
86da315459
commit
6d6b6ebef6
@ -12,13 +12,18 @@
|
||||
"description": "dataset query projection config",
|
||||
"properties": {
|
||||
"select": {
|
||||
"type": "object",
|
||||
"description": "mongo db selector",
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z0-9_]+(\\.[a-zA-Z0-9]+)*$": {
|
||||
"enum": [0, 1]
|
||||
"oneOf": [
|
||||
{ "type": "null" },
|
||||
{
|
||||
"type": "object",
|
||||
"description": "mongo db selector",
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z0-9_]+(\\.[a-zA-Z0-9]+)*$": {
|
||||
"enum": [0, 1]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user