Skip to tool
Data & formats

JSON Schema & OpenAPI Studio

Validate instances against JSON Schema and inspect OpenAPI 3.1 structure.

Input0 characters
Reference0 characters
Result0 characters
Ready

Prefer a native workflow?

Keep JSON Schema & OpenAPI Studio one shortcut away.

DevSexy for Mac puts the same private workflow in a focused desktop app, with global shortcuts and no browser tab to manage.

Global shortcutOffline-readyLocal processing
Try the Mac app free

This browser tool remains free.

Contract laboratory

JSON Schema & OpenAPI Validator Online — Check Contracts

Validate JSON instances against JSON Schema online, inspect schema and instance paths, and review OpenAPI 3.1 structure without mixing separate layers of evidence.

  1. 01

    Parse document

    Is the JSON or YAML syntax readable?

  2. 02

    Check schema

    Does the schema follow its selected dialect?

  3. 03

    Validate instance

    Does the data satisfy that schema?

  4. 04

    Inspect API

    Do paths, operations, components, and references form a reviewable contract?

Draft choice changes vocabulary and reference behavior

QuestionDraft-072020-12 / OpenAPI 3.1
Reusable definitionsdefinitions$defs
Array tuple rulesitems arrayprefixItems
OpenAPI relationshipOlder 3.0-style subsetOpenAPI 3.1 uses the vocabulary

Instance error trace

Follow the instance path and the schema path together.

/items/1/price  must be >= 0
↳ schema /properties/items/items/properties/price/minimum

The instance pointer identifies the failing value. The schema pointer identifies the rule. Keeping both prevents a vague error list from becoming a scavenger hunt.

OpenAPI 3.1 connects HTTP operations to JSON Schema

Path + methodParametersRequest bodyResponsesComponents / schemas

Inspect the graph before comparing contracts: a component can be reused by many operations, and a local reference can amplify one change across the API.

Local references are deterministic; remote references are a trust decision

DevSexy resolves references already present in the supplied document. It does not fetch arbitrary remote URLs and does not claim an unresolved reference passed validation.

#/components/schemas/Order → resolved locally
https://…/common.json → reported as remote

Breaking-change review needs judgment

  • Removed path or operation
  • New required parameter or property
  • Narrower enum or numeric range
  • Response status or media-type change
  • Changed authentication requirements

The checklist highlights candidates; compatibility still depends on consumers, defaults, and deployment policy.

Schema and OpenAPI questions

Is valid JSON automatically valid against a schema?
No. Parsing only proves syntax. Instance validation applies the types, required fields, formats, and constraints defined by a schema.
Is OpenAPI 3.1 JSON Schema?
OpenAPI 3.1 aligns its Schema Object with JSON Schema 2020-12, while the full OpenAPI document also defines paths, operations, parameters, responses, and other API structure.
Does the tool load remote references?
No. Remote references are reported rather than fetched so validation remains local and deterministic.

Run a reproducible example

Validate an instance against a local contract, then compare API path sets without overstating compatibility.

Using an example replaces the current input, reference input, operation, and options. Public demonstration data only.

Validate a required string property

Use JSON Schema 2020-12 and paste the schema in the reference pane.

Input

{"name":"Ada"}

Reference

{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}

The instance passes the supplied required-name and string-type rules.

Valid

Compare removed and added API paths

Compare two paths objects. This operation reports path-set changes only.

Input

{"paths":{"/old":{"get":{}}}}

Reference

{"paths":{"/new":{"get":{}}}}

One old path is removed and one new path is added; method or payload compatibility is not established.

Removed paths (1)
/old
Added paths (1)
/new

Continue with a related task

JSON Formatter & Validator

Format, validate, minify, inspect, and query JSON with precise syntax diagnostics.

YAML & TOML Configuration Studio

Format and translate configuration data while exposing type and comment-loss boundaries.

Text Diff

Compare two texts by line, word, or character in a local worker.

Repeat the task in DevSexy for Mac

Use the native app for repeated offline work and direct Option shortcuts.

Direct answer

What is JSON Schema & OpenAPI Studio?

Validate JSON instances against JSON Schema online, inspect schema and instance paths, and review OpenAPI 3.1 structure without mixing separate layers of evidence.

What can it do?

  • Validate
  • Navigate
  • Contract diff

How to use JSON Schema & OpenAPI Studio

  1. 01

    Prepare the input

    Put the instance in the input and a local schema in the reference pane.

  2. 02

    Choose the operation

    Choose the schema dialect and Validate; use Diff only for path-set candidates.

  3. 03

    Review the evidence

    Read validation failures and review methods, required fields, responses, and authentication separately.