JSON-Tools

JSON-Schema-Generator und Validator

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

Eingabe-JSON

Alle Daten werden lokal im Browser verarbeitet. Nichts wird hochgeladen oder an Analysen gesendet.

Die meisten Tools arbeiten lokal. Hintergrundentfernung und Dokument-zu-Markdown laden Dateien zum Server hoch und löschen sie 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