Skip to tool
Data & formats

JSON Schema & OpenAPI Studio

Validate instances against JSON Schema and inspect OpenAPI 3.1 structure.

Web Worker Local onlyTools
Input0 characters
Reference0 characters
Result0 characters
Ready

Contract laboratory

JSON Schema & OpenAPI Validator — Validate Instances and Contracts

JSON parsing, schema correctness, instance validation, and OpenAPI contract inspection are separate jobs. This workspace keeps their evidence separate.

  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.

Direct answer

What is JSON Schema & OpenAPI Studio?

JSON parsing, schema correctness, instance validation, and OpenAPI contract inspection are separate jobs. This workspace keeps their evidence separate.

What can it do?

  • Validate
  • Navigate
  • Contract diff

How to use JSON Schema & OpenAPI Studio

  1. 01

    Choose a task

    Select Validate, Navigate, and Contract diff in the workspace.

  2. 02

    Provide the input

    Paste a JSON instance. The input stays in the browser processing path.

  3. 03

    Review the result

    Run the tool, inspect its result and diagnostics, then copy or download the output when the page offers that action.

Frequently asked questions

What is JSON Schema & OpenAPI Studio?
JSON parsing, schema correctness, instance validation, and OpenAPI contract inspection are separate jobs. This workspace keeps their evidence separate.
What can JSON Schema & OpenAPI Studio do?
JSON Schema & OpenAPI Studio supports Validate, Navigate, and Contract diff. Each mode is available directly in the page workspace.
Does JSON Schema & OpenAPI Studio upload my data?
JSON Schema & OpenAPI Studio processes your input locally in the browser. DevSexy does not add an upload, account, or server-processing step to this workflow.
DevSexy processes tool input locally. No paste tracking, accounts, or upload step.