Schema Generator
generate_schemaCreate JSON Schema, TypeScript interfaces, or Zod validation schemas from natural language descriptions of data structures like user profiles or product listings.
Instructions
Generate a JSON Schema, TypeScript interface, or Zod validation schema from a natural language description of a data structure. Examples: 'a user profile with name, email, and signup date', 'a product listing with title, price, and inventory count'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | Natural language description of the data structure you want a schema for | |
| format | No | Output format: json_schema (standard JSON Schema), typescript (TS interface), or zod (Zod validation schema) | json_schema |
| strict | No | If true, all fields are required. If false, optional fields are marked as optional |