JSON Schema

JSON Schema is a declarative language for annotating and validating JSON documents. It is the foundational schema language for most modern API specifications (OpenAPI 3.1, AsyncAPI 3, and others embed it directly). The current stable dialect is Draft 2020-12. Governance is moving toward a chartered standards body (JSON Schema Foundation), with the IETF as the historical sponsor; reference implementations and tooling are MIT and BSD-licensed.

API entry from apis.yml

apis.yml Raw ↑
aid: specifications:json-schema
name: JSON Schema
description: JSON Schema is a declarative language for annotating and validating JSON documents. It is
  the foundational schema language for most modern API specifications (OpenAPI 3.1, AsyncAPI 3, and others
  embed it directly). The current stable dialect is Draft 2020-12. Governance is moving toward a chartered
  standards body (JSON Schema Foundation), with the IETF as the historical sponsor; reference implementations
  and tooling are MIT and BSD-licensed.
humanURL: https://json-schema.org/
baseURL: https://json-schema.org/draft/2020-12
tags:
- JSON Schema
- Validation
- Schema
- IETF
- Specification Language
properties:
- type: Documentation
  url: https://json-schema.org/learn/getting-started-step-by-step
- type: Specification
  url: https://json-schema.org/draft/2020-12/release-notes
  title: JSON Schema Draft 2020-12 Release Notes
- type: Specification
  url: https://json-schema.org/draft/2020-12/json-schema-core
  title: JSON Schema Core (2020-12)
- type: GitHubOrganization
  url: https://github.com/json-schema-org
- type: GitHubRepository
  url: https://github.com/json-schema-org/json-schema-spec
- type: Governance
  url: https://json-schema.org/specification
  title: JSON Schema Specification Governance
- type: License
  url: https://opensource.org/license/bsd-3-clause
  title: BSD-3-Clause (reference tooling)
- type: Tools
  url: https://json-schema.org/tools
  title: JSON Schema Tooling Ecosystem
- type: Example
  url: https://raw.githubusercontent.com/api-evangelist/specifications/refs/heads/main/examples/json-schema-example.json
  title: JSON Schema Specification Record Example