| { |
| "parameters": [ |
| { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { |
| "columns": { "items": { "type": "string" }, "type": "array" }, |
| "filters": { |
| "items": { |
| "properties": { |
| "col": { "type": "string" }, |
| "opr": { "type": "string" }, |
| "value": { |
| "anyOf": [ |
| { "type": "number" }, |
| { "type": "string" }, |
| { "type": "boolean" }, |
| { |
| "items": { |
| "anyOf": [ |
| { "type": "number" }, |
| { "type": "string" }, |
| { "type": "boolean" } |
| ] |
| }, |
| "type": "array" |
| } |
| ] |
| } |
| }, |
| "required": ["col", "opr", "value"], |
| "type": "object" |
| }, |
| "type": "array" |
| }, |
| "keys": { |
| "items": { |
| "enum": [ |
| "list_columns", |
| "order_columns", |
| "label_columns", |
| "description_columns", |
| "list_title", |
| "none" |
| ], |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "order_column": { "type": "string" }, |
| "order_direction": { "enum": ["asc", "desc"], "type": "string" }, |
| "page": { "type": "integer" }, |
| "page_size": { "type": "integer" }, |
| "select_columns": { |
| "items": { "type": "string" }, |
| "type": "array" |
| } |
| }, |
| "type": "object", |
| "title": "get_list_schema" |
| } |
| } |
| }, |
| "in": "query", |
| "name": "q" |
| } |
| ] |
| } |