tibi-types/schemas/api-config/projections.json
Sebastian Frank 590f8233ce
All checks were successful
continuous-integration/drone/push Build is passing
api config schemas
2022-02-01 18:59:17 +01:00

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]
}
}
}
}
}
}
}