Валидатор JSON Schema
draft-07 / 2020-12 subset · Local · Zero upload
Конвертация YAML
Готово
ABOUT
About Валидатор JSON Schema
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
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
Instance + Schema
Two panes: JSON on the left, Schema on the right.
Path-listed errors
required, type, additionalProperties, items, enum, const, min/max.
Draft subset
draft-07 / 2020-12 keywords we implement; no $ref hop yet.
Local only
Instance and schema never leave the browser.
Not a syntax checker
Broken JSON still belongs on Formatter / Auto Fix.
Pairs with Codegen
Generate a schema there, validate instances here.
HOW TO USE
How to use
-
1
Paste a JSON instance (left) and a JSON Schema (right).
-
2
Click Sample for the fictional A-1042 object.
-
3
Read valid / errorCount / errors[].path.
-
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?
Not in this version. Inline the referenced subschema or wait for a later pass.
Is format (email, uri) checked?
No. format is annotation-only here.
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.