Outils JSON

Générateur et validateur JSON Schema

Générez un schéma depuis un exemple ou validez un JSON avec erreurs par champ.

Input JSON

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

La plupart des outils traitent les données localement dans le navigateur. La suppression d’arrière-plan téléverse les images choisies puis supprime l’original.

Mode d’emploi

  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.

Idéal pour

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

À savoir

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

Questions fréquentes

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.

Vous aimerez peut-être aussi