utils/getQueryJsonSchema
Functions
| Function | Description |
|---|---|
| getQueryJsonSchema | Generates 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
| Interface | Description |
|---|---|
| GetQueryJsonSchemaOptions | Options 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.