mirror of
https://github.com/apache/superset.git
synced 2026-08-04 04:52:32 +00:00
37 lines
942 B
JSON
37 lines
942 B
JSON
{
|
|
"title": "Body",
|
|
"body": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"clause": {
|
|
"description": "SQL clause type for filter expressions",
|
|
"enum": ["WHERE", "HAVING"],
|
|
"type": "string"
|
|
},
|
|
"expression": {
|
|
"description": "The SQL expression to validate",
|
|
"type": "string"
|
|
},
|
|
"expression_type": {
|
|
"default": "where",
|
|
"description": "The type of SQL expression",
|
|
"enum": ["column", "metric", "where", "having"],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["expression"],
|
|
"type": "object"
|
|
},
|
|
"example": {
|
|
"clause": "WHERE",
|
|
"expression": "string",
|
|
"expression_type": "column"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
}
|
|
}
|