A rulebook, itself written in JSON, that describes what a piece of JSON data must look like so software can automatically check it is valid.
Technically: JSON Schema is a vocabulary for annotating and validating JSON documents by declaring required fields, types, formats, enums, and nested constraints. In AI tool use and function calling, the model receives a JSON Schema for each tool's parameters; the runtime validates the model's output against it before execution, preventing malformed calls.
Category: APIs & Integration