Herramientas JSON

Generador y validador JSON Schema

Genera un esquema desde datos de ejemplo o valida JSON con errores por campo.

Input JSON

All data is processed locally in your browser. Nothing is uploaded or sent to analytics.

La mayoría de las herramientas procesa todo localmente en el navegador. La eliminación de fondos sube las imágenes seleccionadas y borra el original al terminar.

Cómo usarlo

  1. Choose Generate or Validate.
  2. For generation, paste sample JSON and choose the draft and required-field option.
  3. For validation, paste both JSON and Schema to see every detected error.

Ideal para

  • Documenting an API contract
  • Checking imported data
  • Creating a starting schema for a project

Información útil

Generation infers types from one sample. Validation covers common type, required, enum, length, pattern and nested property rules.

Preguntas frecuentes

Which drafts are available?

Draft-07 and 2020-12 identifiers are available for generated schemas.

Does validation stop at the first error?

No. All supported nested errors are collected and shown together.

También te puede interesar