Use schemas to make outputs inspectable

Define required fields, allowed values and missing states so downstream work can handle AI output safely.

A schema can require shape, types and allowed values. It cannot verify that a claim is true. Combine structured output with source fields, validation rules and an explicit unknown state.

More in this section