Konvertieren
Lokal · Kein Upload

JSON Schema Validator

draft-07 / 2020-12 subset · Local · Zero upload

YAML Umbau

Bereit

Originaleingabe

                                
                            
Ausgabe analysieren

                                
Fixed height; long code scrolls inside die panel

ABOUT

About JSON Schema Validator

Check whether a JSON document matches a JSON Schema: types, required properties, extra keys, arrays, enum and const. This is structural validation, not syntax checking.

Paste the instance on the left and the schema on the right. Errors list a JSON Pointer path. $ref and format are not evaluated in this first version.

DEEP DIVE

JSON Schema Validator

API contracts and agent tool parameters are usually JSON Schema. Formatter only tells you the text is valid JSON. This page tells you whether the object fits the contract.

Use Code Generator when you need a schema from a sample. Come back here to test instances against that schema. Blog notes on why agents need Schema stay on the blog, not in this title.

FEATURES

JSON Schema Validator

01

Instance + Schema

Two panes: JSON on the left, Schema on the right.

02

Path-listed errors

required, type, additionalProperties, items, enum, const, min/max.

03

Draft subset

draft-07 / 2020-12 keywords we implement; no $ref hop yet.

04

Local only

Instance and schema never leave the browser.

05

Not a syntax checker

Broken JSON still belongs on Formatter / Auto Fix.

06

Pairs with Codegen

Generate a schema there, validate instances here.

URL

Von URL laden

Ein ganzes öffentliches Schema in die rechte Spalte laden. Remote-$ref wird nicht aufgelöst.

HOW TO USE

How to use

  1. 1

    Paste instance (left) and Schema (right), or Load from URL into the Schema pane (CORS; no remote $ref).

  2. 2

    Click Sample for the fictional A-1042 object.

  3. 3

    Read valid / errorCount / errors[].path.

  4. 4

    Fix the instance or the schema, then run again.

FAQ

FAQ

Is this a JSON syntax validator?

No. If parse fails, use Formatter. This page checks structure against a schema.

Which drafts are covered?

A shared subset of draft-07 and 2020-12: type, properties, required, additionalProperties, items, enum, const, min/max lengths and numbers.

Do you follow $ref?

This version does not follow remote $ref. Use Load from URL to fill a whole public Schema into the right pane, or inline nested schemas.

Is format (email, uri) checked?

No. format is annotation-only here.

Kann ich JSON von einer URL laden?

Ja. „Von URL laden“ holt öffentliche HTTPS-Adressen direkt im Browser. Ohne CORS schlägt das fehl — Antwort einfügen. Nichts geht an JSONSort.

Ist Laden von URL ein Upload?

Kein Upload zu JSONSort. Nur Ihr Browser ruft die Adresse auf; der Zielhost sieht Ihre IP.

Is data uploaded?

No. Validation runs in your browser.

Where do I generate a schema?

Code Generator still has a Schema button; its title stays TypeScript/Java/Go. A dedicated generator page is a later phase.

Copied zu clipboard