Skip to content
All projects
Developer ToolsCompletedShipped Sep 2026

JSON Schema Playground

Validate JSON against a schema, generate a schema from sample JSON, and run JSONPath queries — all client-side.

Proposed stack

  • Next.js
  • TypeScript
  • Tailwind CSS
  • ajv / jsonpath-plus

Goal

A fast scratchpad for working with JSON Schema and JSONPath without a backend.

Overview

Three modes in one app: validate a JSON document against a JSON Schema (draft 2020-12) with path-level errors; generate a schema from a sample document; and run JSONPath queries against JSON.

Each mode has formatting, clear parse errors, sample data, and copy buttons.

Everything runs in the browser.

Architecture

JSON + Schema → Validate / Generate / Query → Results

Validation, schema generation, and JSONPath queries all run client-side.

Key features

  • Validate JSON against a schema with path-level errors.
  • Generate a schema from sample JSON.
  • Run JSONPath queries.
  • Format JSON and show parse errors.
  • Sample data and copy buttons per mode.

Technical challenges

  • Surfacing JSON Schema errors with useful instance paths.
  • Reasonable schema inference from a single sample.
  • Clean handling of malformed JSON input.

How it's built

  • 1Next.js + TypeScript + Tailwind using ajv and jsonpath-plus.
  • 2Three modes behind one shared editor.
  • 3Fully client-side.

Interested in this work?

Happy to talk through the design, trade-offs, and implementation plan.

Get in touch