Free JSON Schema generator and validator. Infer a schema from a sample, check a document against a schema you paste, and export TypeScript types and a Zod object. Errors include the path that failed.
1Paste JSONA sample is enough to infer a schema, TypeScript, and Zod.
2Or paste a schemaSwitch to Validate and add a schema. Each error names a path such as /year.
3Copy the exportThe TypeScript type and the Zod object can be copied on their own.