Sebastian Frank
590f8233ce
All checks were successful
continuous-integration/drone/push Build is passing
23 lines
716 B
JSON
23 lines
716 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "JSON Schema WMBasic imageFilter configuration",
|
|
"description": "WMBasic imageFilter linter",
|
|
"patternProperties": {
|
|
"^[a-zA-Z0-9_-]$": {
|
|
"type": "object",
|
|
"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]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|