Skip to main content
devtools24

JSON Schema Generator

Generate JSON Schema from sample JSON data. Automatically detects types, formats (email, date, UUID), and structure.

Eingabe0 chars
Ausgabe
Result appears here

About JSON Schema

  • JSON Schema is a vocabulary for annotating and validating JSON documents
  • Formats detected: date, date-time, email, uri, uuid
  • Numbers are typed as "integer" or "number" based on value
  • Array items are inferred from the first element

JSON Schema - Technische Details

JSON Schema is a vocabulary for annotating and validating JSON documents. It's used for API validation, configuration validation, and documentation. This tool generates Draft-07 compatible schemas.

Kommandozeilen-Alternative

# Validate JSON against schema\nnpx ajv validate -s schema.json -d data.json\n\n# Generate schema with quicktype\nnpx quicktype --lang schema data.json

Referenz

Offizielle Spezifikation ansehen