schema_convert
Convert SQL DDL, Prisma schemas, or JSON payloads into Zod schemas, TypeScript interfaces, or Pydantic v2 models.
Instructions
Convert any database schema (SQL DDL, Prisma) or JSON payload into production-ready Zod schemas, TypeScript interfaces, or Python Pydantic v2 models.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityName | No | Name of the entity/model (default: inferred from schema). | |
| schemaInput | Yes | Raw SQL DDL, Prisma model definition, JSON string, or file path. | |
| targetFormat | Yes | Desired output code format. |