Skip to main content

getQueryJsonSchema

Generates a JSON Schema describing valid query objects for a given configuration.

Functions​

FunctionDescription
getQueryJsonSchemaGenerates a JSON Schema describing valid queries for the given fields. Suitable for LLM structured output/tool input schemas, MCP inputSchema, and generic validators (Ajv, etc.).

Interfaces​

InterfaceDescription
GetQueryJsonSchemaOptionsOptions for getQueryJsonSchema.

caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.