{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/QueryRequest", "title": "QueryRequest", "type": "object", "description": "SQL++ query execution request", "required": [ "statement" ], "properties": { "statement": { "type": "string", "description": "The SQL++ statement to execute" }, "timeout": { "type": "string", "description": "Maximum execution time (e.g., 10s, 5m)" }, "readonly": { "type": "boolean", "description": "Whether to restrict to read-only operations" }, "pretty": { "type": "boolean", "description": "Whether to format results with indentation" }, "scan_consistency": { "type": "string", "description": "Consistency requirement for the query", "enum": [ "not_bounded", "at_plus", "request_plus", "statement_plus" ] }, "args": { "type": "array", "description": "Positional parameters for the query", "items": {} }, "prepared": { "type": "string", "description": "Name of a prepared statement to execute" }, "client_context_id": { "type": "string", "description": "Client-provided context identifier for tracking" }, "max_parallelism": { "type": "string", "description": "Maximum parallelism for the query" }, "metrics": { "type": "boolean", "description": "Whether to include metrics in the response" } } }