What this does
Paste a JSON Schema to generate TypeScript declarations. Object properties become interfaces, local definitions get named exports, and choices become type unions.
Example
Schema:
{"type":"object","properties":{"id":{"type":"integer"}},"required":["id"]}
TypeScript:
export interface Root {
id: number;
}Limits and behavior
- Value constraints such as minimum and pattern are not represented in TypeScript types.
- Only local references resolve; input is limited to 1 MiB.