Schema
Also: schemas
A description of the shape data must have: which fields exist and what goes in each.
The fuller definition
A schema describes the expected structure of data, including fields, types, required values, and constraints.
- Field
source_id
- Type
String
- Rule
Must identify an existing source
A simplified relationship, not a screenshot or a complete design.
A concrete example
A chronology schema requires source_id as text and permits date to be null when the record does not establish it.
The distinction that matters
A schema can require a citation field without proving that the citation supports the proposition.
Related terms
JSON — JavaScript Object Notation
A tidy text format for data, made of labels and values in curly brackets. Programs use it to pass information around.
Prompting & contextStructured output
An answer in a set format, such as named fields. Software can check the format, but the facts still need review.
Reliability & securityValidation
Checking that something is correct or in the right form before relying on it.
Where it is taught
APIs and JSON: connect a model to a small programSource and further reading
MDN · Web technology glossaryThe definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.