Skip to content
Everything *[NYC] 2026: see what we announced. →

JSON Schema definition

JSON Schema is a specification for describing the structure of JSON data using JSON itself, declaring which fields a document may contain, what types and formats those values must take, and which are required. A schema can then be used to validate data automatically, generate documentation, and drive forms or code.


A diagram explaining JSON Schema in terms of related concepts.

What does a JSON Schema actually look like?

What is JSON Schema used for?

What are JSON Schema drafts and which one should I use?

How is JSON Schema different from a CMS content schema?

What are the limits of JSON Schema?

Unlock New Possibilities with Sanity

With JSON Schema under your belt, it's time to see what Sanity can do for you. Explore our features and tools to take your content to the next level.

Last updated: