Sebastian Frank
6d6b6ebef6
All checks were successful
continuous-integration/drone/push Build is passing
32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "JSON Schema tibi-server imageFilter configuration",
|
|
"description": "tibi-server projections linter",
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^x\\-": {
|
|
"description": "template property"
|
|
},
|
|
"^[a-zA-Z0-9_-]+$": {
|
|
"type": "object",
|
|
"description": "dataset query projection config",
|
|
"properties": {
|
|
"select": {
|
|
"oneOf": [
|
|
{ "type": "null" },
|
|
{
|
|
"type": "object",
|
|
"description": "mongo db selector",
|
|
"patternProperties": {
|
|
"^[a-zA-Z0-9_]+(\\.[a-zA-Z0-9]+)*$": {
|
|
"enum": [0, 1]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|