tibi-types/schemas/api-config/projections.json

23 lines
724 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON Schema tibi-server imageFilter configuration",
"description": "tibi-server 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]
}
}
}
}
}
}
}