This commit is contained in:
22
schemas/api-config/projections.json
Normal file
22
schemas/api-config/projections.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$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]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user