Skip to main content
WorkspaceJSON Schema & Model Generator
Workspaces1/10

Active workspace: Personal. Open tools and saved data belong to this workspace.

JSON Schema & Model Generator

Local processing
Infer Draft 2020-12 schemas and generate typed models for nine languages from sample JSON

Infer JSON Schema

Generate a schema to inspect or download it here.

Integer and number types are classified from the original JSON tokens, including values beyond JavaScript numeric precision.

Required properties are the intersection across observed objects. Empty arrays leave item types open. Samples cannot establish every allowed type, constraint, format or optional field; review the schema before using it as a contract.

Generate typed models

Generate models to inspect individual files and export them here.

Models are inferred with quicktype in a local worker. Output may require the language libraries named in its comments. Review nullable fields, numeric precision, date handling and naming before using it in a project.