# Structured Outputs
Structured outputs constrain model-generated data to a declared schema. They make downstream validation and tool invocation more reliable than accepting arbitrary prose or loosely formed JSON.
This is the modern AI complement to X's portable contracts and XDO's proposed typed IR. A model can translate natural language into a schema-valid Do plan; the deterministic runtime can then validate names, values, permissions, and effects before execution.
Related: [[wiki/Tool Contract|Tool Contract]], [[wiki/Portable Contract|Portable Contract]], [[wiki/Human-Readable Intermediate Representation|Human-Readable Intermediate Representation]].
Source: [OpenAI — Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)