Skip to main content
Use "type": "object" for keyed JSON structures.

Core object keywords

unevaluatedProperties is not supported right now. If you have a use case that requires it, reach out to us.

Example

Set additionalProperties: false when you want strict, predictable output shape.

patternProperties

Use regex-based key validation for dynamic maps:
JSON Schema
Pydantic and Zod examples are omitted here because there is no direct keyword mapping for patternProperties.

title, description, default, and examples

Use annotation keywords to document intent and provide generation hints:
These annotation keywords are ignored by structured generation and do not constrain the output. However, they can influence generation if they are included in the prompt.