JSON Schema
Vocabulary for annotating and validating the structure of JSON documents.
JSON Schema describes the expected shape of JSON data — types, required properties, formats, constraints — so it can be validated and documented automatically. It underpins OpenAPI 3.1 schemas, configuration validation in editors and structured outputs from LLMs. Validators exist for virtually every language.
- Type
- Standard
- Category
- APIs
- Maintainer
- JSON Schema organisation
- First released
- 2009
- License
- Open source (BSD-3-Clause)
- Pricing
- Free
- Level
- Intermediate
- Technologies
- json, api, validation
- GitHub stars
- 5,245
- Last verified
- 26 Nov 2026
What JSON Schema is used for
- Validating API payloads
- Config file validation
- Structured LLM output
Strengths
- Language-agnostic
- Widely supported
- Integrates with OpenAPI
Limitations
- Multiple drafts with differences
- Complex schemas are hard to read
How it relates to other tools
- JSON Schema part of OpenAPI Specification
- Works with JSON Schema: AsyncAPI