Skip to content

Glossary: Running Open Models Locally

JSON schema

Also written: schema, model_json_schema

A description of the exact shape JSON must have (keys, types, allowed values). Pydantic's `Triage.model_json_schema()` builds one from a class, and local engines enforce it while generating.

Where the book teaches it

Related terms

PydanticConstrained decodingLiteral type