Pular para o conteúdo

📐 Validação JSON Schema

Valide JSON usando JSON Schema. Exibe erros com informações de localização, incluindo desajustes de tipo, propriedades obrigatórias ausentes, valores fora do enum e violações de expressão regular. Suporta Draft 7, 2019-09 e 2020-12.

100% Free No signup Browser-only 5 languages Dark mode

Os resultados serão exibidos aqui.

🔗 Ferramentas relacionadas

📖 Como usar

  1. 1
    Enter your JSON Schema
    Paste your JSON Schema (Draft 7 / 2019-09 / 2020-12) into the left textarea. Click Sample to load a working example.
  2. 2
    Enter the JSON data to validate
    Paste the JSON data you want to validate into the right textarea. Validation runs automatically whenever either side is edited.
  3. 3
    Review errors and fix them
    If errors exist, they are listed with the field path, message, and params. Use them to fix either your JSON data or the schema.

❓ Perguntas frequentes

Which Draft versions are supported?
This tool uses Ajv 8 and supports JSON Schema Draft 7, 2019-09, and 2020-12. The version is auto-detected from the $schema field.
Does format validation (email, date, etc.) work?
This tool treats format as an annotation by default and does not fail on format violations. Strict format validation requires an extension like ajv-formats.
What is JSON Schema?
JSON Schema is a specification for describing the structure, types, and constraints of JSON data. It is widely used for API request/response validation, config file validation, and form validation.
🐛 Você encontrou um problema com esta ferramenta?

Completamente gratuito e sem registro. Até as etapas de reprodução são suficientes. Os relatos recebidos chegam diretamente aos operadores e servem como referência para correções.

※ Para reproduzir problemas, informações do navegador (UA / tamanho de tela / idioma / URL) são enviadas automaticamente