Playground
Explore how schemas move through Shape IR.
Parse, inspect, and generate schemas through Shape IR. Start from a live example, compare the source and output, and use diagnostics to understand where semantics stay intact or degrade.
Loaded from docs
Docs preset: Shape IR
Loaded from the Shape IR concept path so you can compare the live flow with the conceptual model.
Auto-run is on. The workspace refreshes shortly after you change the example or source.
TypeScript -> JSON Schema
Strongest current route, with good object-shape coverage and some advanced TypeScript caveats.
TypeScript parser: Supported
JSON Schema generator: Supported
Working well
Interfaces and object shapes
Primitive fields and arrays
Optional properties
Current limits
Advanced TypeScript semantics still collapse into simpler schema shapes.
Diagnostics should be reviewed for unsupported constructs.
Use the compact workspace switcher on smaller screens to focus on one surface at a time.
See the most relevant guide for this source path:
Open related docSource input
Edits update the current source payload. Use auto-run for continuous feedback or run manually when you want a stable checkpoint.
See the most relevant guide for this source path:
Open related docSource input
Edits update the current source payload. Use auto-run for continuous feedback or run manually when you want a stable checkpoint.
Keep source in view while switching the wider inspection surface between output, Shape IR, and diagnostics.
See the downstream toolkit surface behind this output:
View toolkit surfacesGenerated output will appear here.