> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatJSONSchemaConfig - Python SDK

> ChatJSONSchemaConfig method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

JSON Schema configuration object

## Fields

| Field         | Type                         | Required             | Description                                                    | Example                                                                                                                       |
| ------------- | ---------------------------- | -------------------- | -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `description` | *Optional\[str]*             | :heavy\_minus\_sign: | Schema description for the model                               | A mathematical response                                                                                                       |
| `name`        | *str*                        | :heavy\_check\_mark: | Schema name (a-z, A-Z, 0-9, underscores, dashes, max 64 chars) | math\_response                                                                                                                |
| `schema_`     | Dict\[str, *Nullable\[Any]*] | :heavy\_minus\_sign: | JSON Schema object                                             | `{"properties": {"answer": {"type": "number"}`<br />},<br />"required": \[<br />"answer"<br />],<br />"type": "object"<br />} |
| `strict`      | *OptionalNullable\[bool]*    | :heavy\_minus\_sign: | Enable strict schema adherence                                 | false                                                                                                                         |
