Structured output
Structured output means getting a model to return data in a fixed shape, usually JSON that matches a schema, instead of free prose.
Some providers can constrain generation to a schema. In every case you should still validate the result in code, because a valid shape does not mean correct values.
Typed output turns a model call into something the rest of your program can use. Define the schema once, with required fields and allowed values, and share it between the prompt and the validator.
Common mistake. Parsing JSON with a regular expression and hoping. One extra sentence before the opening brace breaks the pipeline in production.
In practice. Validate with a schema library, return a clear error to the model or the caller when it fails, retry once with the error message, and count validation failures as a quality metric.