AI Glossary

Schema validation

What does “Schema validation” mean?

Schema validation: Checking that structured output follows required field names, types, and constraints.

Schema validation visual guide: Checking that structured output follows required field names, types, and constraints.
Visual guide Open full size (new tab)

What is an example of “Schema validation”?

A validator rejects an order response whose quantity is a string instead of a number.