Document an API payload
Create an initial schema while documenting an existing request, response or event format.
Generate tool
Generate a practical JSON Schema from sample JSON locally in your browser. Review inferred types and required fields before use.
Your input and result are not sent to JSON Hearth or stored on a server.
When to use it
Schema inference turns a representative JSON example into a starting contract. It can save time, but the result should be reviewed against real business rules.
Create an initial schema while documenting an existing request, response or event format.
Generate a first draft before adding required fields, ranges, patterns and descriptions manually.
Summarize nested types and properties in a machine-readable form.
Important limitations
Common questions
Treat it as a draft. Add domain rules and test it against multiple valid and invalid examples.
A single sample cannot reliably distinguish optional fields from fields that simply happened to be present.