JSON-Tools

JSON-Schema-Generator und Validator

Erstellen Sie ein Schema aus Beispieldaten oder validieren Sie JSON mit Feldfehlern.

Input JSON

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

Die meisten Tools verarbeiten alles lokal im Browser. Die Hintergrundentfernung lädt ausgewählte Bilder hoch und löscht das Original nach der Verarbeitung.

Anleitung

  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.

Geeignet für

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

Gut zu wissen

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

Häufige Fragen

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.

Das könnte Ihnen auch gefallen