blob: 2743a477562bd2370bc5c0417740703c922a19a7 [file]
{
"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
}
}