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 complexList<T>based on JSON values. - Extract Example Values: When enabled, it not only infers types but also attaches your input JSON values as
defaultorexampleswithin the Schema nodes, which is very helpful for generating developer-friendly API documentation.
Type Mapping Rules
- String ➜
string - Number (Integer) ➜
int - Number (Float) ➜
float - Boolean ➜
boolean - Array ➜
array(Type)orarray(mixed) - Object ➜
{"type": "object", "properties": {...}}
