Json Schema

The JSON Schema allows for the validation of JSON objects, and is used by OpenAPI & AsyncAPI. JSON Schema is a fundamental building block of the enterprise, and is ubiquitous across operations, whether teams are aware of it or not. JSON Schema is essential to standardizing and streamlining API operations across REST, GraphQL, and event-driven APis.

Also known as: JSON Schema, JSON Schema Draft

Standards

HTTP Headers

HeaderDirectionSpecDescription
Content-Type response RFC 9110 May carry application/schema+json for a schema document, or application/json with a Link header pointing to one for instances.
Link response RFC 8288 Carries a describedby relation pointing to the JSON Schema for the response body.

Media Types

OpenAPI Expression

Link Relations

Governance Rules

Risk & Compliance

OWASP:

Compliance:

Security: Loose schemas (no additionalProperties:false, missing format/pattern, unbounded strings/arrays) cause injection, ReDoS, and mass-assignment bugs. Pin a $schema dialect, validate at the edge, and fail closed on unknown properties.

Tools

Suggested Metrics

Example Implementations

Related Properties

Tags


All Community Properties