OnlineFreeTools.org
  • Home
  • Image editing tools
    • Add Text Watermark to Photo — Local Browser Tool
    • Extract Colors from Image — Palette & Click Pick
    • Flip Image — Mirror Horizontally or Vertically
    • Add Border to Image — Color & Width Online
    • Image Compressor — Resize, Quality & Target Size Local
    • Crop & Resize Image — Local Aspect Presets
    • Photo EXIF Viewer & Remover — GPS, Camera & Local Strip
    • Image Format Converter — PNG JPEG WebP AVIF BMP GIF ICO SVG
    • Convert Image to Grayscale — Black & White Online
    • Merge Images — Combine Photos into One Collage
    • Image Optimizer — WebP, AVIF & MozJPEG Local
    • Overlay Images — Put a Logo on a Photo
    • Image to Base64 Converter — Encode & Decode Locally
    • Images to GIF — Make an Animated GIF Locally
    • Images to PDF — Combine Photos into One File
    • Images to PowerPoint — Photos to PPTX Slides
    • Images to Word — Build a DOCX from Photos
  • Design tools
    • Generate Brand Color Scale — 50–950 Palette & CSS Tokens
    • Brand Style Guide — Generate a Modular Draft You Can Edit
    • Smart Website Color Scheme — Semantic CSS Tokens
    • WCAG Contrast Checker — AA/AAA Ratio Online
  • Developer tools
    • Add WWW to DNS — A/CNAME, Apex Rules & Provider Guides
    • CSV ↔ JSON Converter — Types, Delimiters & Local
    • HTML Entity Encoder & Decoder — Escape, Unescape & Local
    • IndexNow — Bing URL Submit, Key Check & Status Codes
    • What Is My IP Address — See Your Public IP (IPv4 or IPv6)
    • JSON Schema Validator — Draft-07 Paths & Local
    • Markdown ↔ HTML Converter — Sanitize & Preview
    • Compare Two Texts Online — Text Diff Checker
    • Check HTTP Response Headers Online
    • YAML ↔ JSON Converter — Types, Multi-doc & Local
  • Calculators
    • BMI Calculator — How to Calculate Body Mass Index
    • Gradient Calculator — Multivariable ∇f (Partial Derivatives)
    • How to Calculate Marginal Revenue — MR Calculator (ΔTR / ΔQ)
    • Percentage Change Calculator — From Old Value to New
    • ROI Calculator — How to Calculate Return on Investment
    • Square Feet to Square Meters — Area Converter for Homes & Renovation
  • English
  • 中文
  • Español
  • العربية
  • Português
  • Bahasa Indonesia
  • Français
  • 日本語
  • Русский
  • Deutsch

Tools

Add Text Watermark to Photo — Local Browser ToolAdd WWW to DNS — A/CNAME, Apex Rules & Provider GuidesGenerate Brand Color Scale — 50–950 Palette & CSS TokensBrand Style Guide — Generate a Modular Draft You Can EditExtract Colors from Image — Palette & Click PickCSV ↔ JSON Converter — Types, Delimiters & LocalFlip Image — Mirror Horizontally or VerticallyBMI Calculator — How to Calculate Body Mass IndexGradient Calculator — Multivariable ∇f (Partial Derivatives)How to Calculate Marginal Revenue — MR Calculator (ΔTR / ΔQ)Percentage Change Calculator — From Old Value to NewROI Calculator — How to Calculate Return on InvestmentHTML Entity Encoder & Decoder — Escape, Unescape & LocalAdd Border to Image — Color & Width OnlineImage Compressor — Resize, Quality & Target Size LocalCrop & Resize Image — Local Aspect PresetsPhoto EXIF Viewer & Remover — GPS, Camera & Local StripImage Format Converter — PNG JPEG WebP AVIF BMP GIF ICO SVGConvert Image to Grayscale — Black & White OnlineMerge Images — Combine Photos into One CollageImage Optimizer — WebP, AVIF & MozJPEG LocalOverlay Images — Put a Logo on a PhotoImage to Base64 Converter — Encode & Decode LocallyImages to GIF — Make an Animated GIF LocallyImages to PDF — Combine Photos into One FileImages to PowerPoint — Photos to PPTX SlidesImages to Word — Build a DOCX from PhotosIndexNow — Bing URL Submit, Key Check & Status CodesWhat Is My IP Address — See Your Public IP (IPv4 or IPv6)JSON Schema Validator — Draft-07 Paths & LocalMarkdown ↔ HTML Converter — Sanitize & PreviewSmart Website Color Scheme — Semantic CSS TokensSquare Feet to Square Meters — Area Converter for Homes & RenovationCompare Two Texts Online — Text Diff CheckerWCAG Contrast Checker — AA/AAA Ratio OnlineCheck HTTP Response Headers OnlineYAML ↔ JSON Converter — Types, Multi-doc & Local

JSON Schema Validator — Draft-07 Paths & Local

Validate JSON against a JSON Schema (draft-07) in your browser. Steps: paste Schema and instance, validate, then read JSON Pointer paths for each failure. Example: a product object missing price fails with a missingProperty path. Paste stays in the tab — Ajv loads from a CDN as library code only.

Validator engine: Ajv 8 · JSON Schema draft-07 (default).


    

How it works

Paste a JSON Schema on the left and an instance on the right. Validation compiles the Schema with Ajv (draft-07), runs the instance, and lists every error with a JSON Pointer into the instance. Failing and valid samples are one click away; the page loads a failing sample on entry so you see real paths immediately.

Rules you should expect

What Ajv does on this page: parse → compile draft-07 Schema → validate instance → emit Pointer paths for each error.

  • Parse: both panels must be JSON.parse-able. Schema compile errors and instance syntax errors are shown separately from validation failures.
  • Validate: Ajv allErrors collects every failure (not only the first). Each line is instancePath + message (+ missingProperty when relevant).
  • Draft: default dialect is draft-07. Do not assume 2020-12 vocabulary keywords work here.
  • Privacy: paste stays in the tab. CDN fetch loads Ajv code only — it is not an upload of your Schema or instance.

Example

Schema requires sku (string) and price (number ≥ 0). Valid instance: {"sku":"A-1","price":9.5}. Failing instance: {"sku":"A-1"} — validation reports a missingProperty for price at the object root (shown as / with the missing key in params).

Good fits

  • AI / agents: check whether model structured JSON is missing fields before you trust it in a pipeline.
  • Commerce feeds: validate product JSON against a Schema before import or syndication.
  • API debugging: paste a request/response body against a Schema fragment extracted from your contract.

Frequently asked questions

Why did validation fail?

Common causes: missing required keys, wrong types, or additionalProperties:false rejecting extras. Read the JSON Pointer line and the keyword message.

How do I read a JSON Pointer error?

instancePath is a JSON Pointer into the instance (empty path shows as /). For missing required properties Ajv also lists missingProperty in params.

Which draft does this page use?

This page uses Ajv’s draft-07 dialect by default. Newer drafts (2019-09 / 2020-12) need different Ajv builds and are not selected here.

Does my JSON leave the browser?

Your Schema and JSON text are not uploaded. Loading Ajv from a CDN only downloads library code, not your paste.

How do I check LLM structured output?

Paste the Schema and the model JSON, validate, then fix each Pointer path until the status shows pass — useful before sending structured output downstream.

Related tools

  • YAML ↔ JSON Converter — Types, Multi-doc & Local
  • CSV ↔ JSON Converter — Types, Delimiters & Local

Share this tool

Share on social networks, copy the page link, or use your device share sheet.

XFacebookLinkedInRedditWhatsAppTelegram

https://onlinefreetools.org/tools/json-schema-validator

Questions or feedback

Something unclear, broken, or missing? Draft a message below — we read every note about these tools.

Email: dailyonetools@outlook.com

References

  • JSON Schema
  • Understanding JSON Schema
  • RFC 8259 — JSON
  • Ajv
OnlineFreeTools.org · Learning project · Iterating
About·Dev Logs·Privacy·Terms·Contact