Specification
Docs
Tools
Blog
Community
Search
System
Light
Dark
Star on GitHub
Overview
Overview
What is JSON Schema?
Sponsors
Use Cases
Case Studies
FAQ
Similar Technologies
Landscape
Code of Conduct
Getting Started
Creating your first schema
Examples
Miscellaneous examples
Modelling a file system
Other examples
Reference
JSON Schema Glossary
Learn JSON Schema
Understanding JSON Schema
Conventions used
What is a schema?
The basics
JSON Schema Reference
Type-specific keywords
string
regular expressions
numeric types
object
array
boolean
null
Generic keywords
Annotations
Comments
Enumerated values
Constant values
Media: string-encoding non-JSON data
Schema Composition
Applying Subschemas Conditionally
Declaring a Dialect
Structuring a complex schema
For implementers
Common Interfaces across Implementations
Specification
Overview
Specification Links
2020-12 notes
2019-09 notes
draft-07 notes
draft-06 notes
draft-05 notes
JSON Hyper-Schema
2019-09 notes
draft-07 notes
draft-06 notes
Overview
What is JSON Schema?
Sponsors
Use Cases
Case Studies
FAQ
Similar Technologies
Landscape
Code of Conduct
Getting Started
Creating your first schema
Examples
Miscellaneous examples
Modelling a file system
Other examples
Reference
JSON Schema Glossary
Learn JSON Schema
Understanding JSON Schema
Conventions used
What is a schema?
The basics
JSON Schema Reference
Type-specific keywords
string
regular expressions
numeric types
object
array
boolean
null
Generic keywords
Annotations
Comments
Enumerated values
Constant values
Media: string-encoding non-JSON data
Schema Composition
Applying Subschemas Conditionally
Declaring a Dialect
Structuring a complex schema
For implementers
Common Interfaces across Implementations
Specification
Overview
Specification Links
2020-12 notes
2019-09 notes
draft-07 notes
draft-06 notes
draft-05 notes
JSON Hyper-Schema
2019-09 notes
draft-07 notes
draft-06 notes
FAQ
Below you'll find answers to questions we get asked the most about JSON Schema.
GENERAL
What is JSON Schema?
+
How do I create a simple JSON Schema?
+
What is the purpose of 'type' in JSON Schema?
+
How can I define default values in a JSON Schema?
+
What is the significance of 'required' in JSON Schema?
+
How can I validate a JSON document against a JSON Schema?
+
What is the difference between 'object' and 'array' types in JSON Schema?
+
Can I use JSON Schema to describe nested structures?
+