opyeb/SchemaForge
ToolGuideFAQ

SchemaForge · About

About SchemaForge

A single-purpose tool for the step between a JSON sample and a contract you can enforce.

SchemaForge is a static page. There is no backend, no database and no build step at runtime: the browser downloads one HTML document, one stylesheet, two scripts and a handful of icons. The inference, the four generators and the validator are plain JavaScript functions, which is also why the page keeps working after the first load with no connection at all.

It was built for the moment when an integration has just been handed a payload and someone has to decide what shape that payload is allowed to have. That work is usually spread across four places: a schema document for the validator, an interface for the editor, a runtime parser for the boundary, and a table definition for storage. Writing all four by hand is slow and, more importantly, they drift. One sample, four renderings, one review.

What it does not do

It does not know your API, it does not fetch anything, and it does not decide which fields are optional. It describes the sample it was given. Anything a sample cannot show, such as a minimum, a maximum length, an enumeration or a rule between two fields, is a line you add. The tool's value is the part that is mechanical, and the judgement it leaves is the part that needs you.

How the output is kept reproducible

Every generator is a pure function of the schema: the same input always produces byte-identical text. The inference, the four renderers and the validator are implemented twice in this project, once in the JavaScript the site ships and once in an independent Python reference, and both are compared on more than thirty scenarios in the build, so a change in behaviour shows up as a difference rather than a surprise. The same comparison is repeated in three viewports for all twenty-one pages in a headless browser before a release.

Privacy in one line

Your JSON never leaves the tab. See the privacy page for the details, including the one advertising script this site loads.