Free & Private Online Browser Utility
JSON Schema Validator: Draft-07
Validate JSON payloads against structured JSON Schema specifications directly in your browser. This tool uses a client-side JavaScript schema evaluation engine designed around the IETF Draft-07 standard. It evaluates structural criteria including type verification (string, number, integer, boolean, object, array, null), required keys, string constraints (minLength, maxLength, regex patterns, email/uri/uuid formats), numerical boundaries (minimum, maximum, exclusive ranges, multipleOf), and array restrictions (minItems, maxItems, uniqueItems). Unsupported drafts include Draft 2020-12, Draft 2019-09, and modern keywords like prefixItems, unevaluatedProperties, and dynamic references, which this built-in engine does not support. Validation executes client-side without transmitting schema contracts or proprietary payloads across external networks.
How to use
-
Step 1: Provide JSON Schema
Paste your Draft-07 JSON Schema contract into the schema editor or select the built-in preset.
-
Step 2: Provide Data Payload
Input the JSON document you wish to test against the schema definition into the data editor.
-
Step 3: Review Diagnostic Results
Inspect real-time validation feedback detailing exact field paths and violation messages.
Worked example
Input: Schema: {"type": "object", "required": ["user"], "properties": {"user": {"type": "string"}}} Data: {"user": "alice"}
Output: Valid: zero errors detected across payload against Draft-07 schema specifications
Example validation; output status reflects adherence of data fields to specified schema rules.
Tips & limits
- Draft 2020-12 keywords like prefixItems are not supported; use items array syntax for Draft-07 schemas.
- Ensure both the schema pane and data pane contain valid JSON syntax before evaluating contracts.
- Because validation executes locally in browser RAM, sensitive payload structures remain private.
Common problems
- Schema shows invalid syntax error
Verify that your schema definition is itself valid RFC 8259 JSON before testing data payloads against it.
- Modern 2020-12 schema keywords do not validate
This engine supports Draft-07; convert newer keywords to Draft-07 equivalents such as items.
Frequently Asked Questions (FAQ)
Which JSON Schema drafts are supported by this validator?
This tool implements a custom client-side validation engine supporting IETF JSON Schema Draft-07. It does not support Draft 2020-12 or Draft 2019-09 keywords.
Does this tool use an external validation library like Ajv?
No. The validator uses a lightweight client-side JavaScript recursive validation function implemented directly in the application source code.
Are my schema files or JSON payloads transmitted over the internet?
No. All parsing, traversal, regular expression matching, and error reporting take place entirely within your browser memory.
Which string formats does the validator check?
The engine validates common string formats including email addresses, HTTP/HTTPS URIs, RFC 4122 UUIDs, ISO 8601 date-times, and IPv4 addresses.