Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Schema

Also: schemas

In plain words

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.

How it fits together
  1. Field

    source_id

  2. Type

    String

  3. 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

Where it is taught

APIs and JSON: connect a model to a small program

Source and further reading

MDN · Web technology glossary

The 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.

Lessons, terms, practical guides and sources ESC