Good schema design matters more than model choice for reliable structured outputs.Documentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
Start simple
- Prefer flat objects over deeply nested structures.
- Use
requiredfor every field you need. - Set
additionalProperties: falsewhen you need strict shape control.
Request
Response
Common mistakes
- Optional fields that should be required.
- Overly broad string fields instead of enum constraints.
- Schema drift between docs and server-side validator.