JSON Input Area
JSON Schema (Draft-07)

JSON Schema Conversion Guide

Tool Features

  • Standard Specification: The generated Schema conforms to the JSON Schema Draft-07 standard and can be directly used in Postman, Swagger (OpenAPI 3.0), AJV, and various frontend form generators (like react-jsonschema-form).
  • Smart Type Inference: Automatically infers int, double, bool, string, and complex List<T> based on JSON values.
  • Extract Example Values: When enabled, it not only infers types but also attaches your input JSON values as default or examples within the Schema nodes, which is very helpful for generating developer-friendly API documentation.

Type Mapping Rules

  • Stringstring
  • Number (Integer)int
  • Number (Float)float
  • Booleanboolean
  • Arrayarray(Type) or array(mixed)
  • Object{"type": "object", "properties": {...}}