Convert JSON Schema to Prisma without rewriting types by hand

JSON Schema is great for validation. Your database layer speaks Prisma. Bridging the two by hand means guessing type mappings, duplicating enums, and hoping you did not miss an index.

SchemaForge converts JSON Schema definitions into Prisma schema files directly.

Install

pip install git+https://github.com/Coding-Dev-Tools/schemaforge.git
schemaforge convert --from json_schema --to prisma --input schema.json --output schema.prisma

What it does

Why it works

Every format converts through a shared internal representation. It preserves tables, columns, types, defaults, indexes, unique constraints, and enums. Foreign-key constraints and ORM relationship fields are not retained, so review them after conversion. SchemaForge supports 11 formats and 100 documented conversion directions; Alembic is output-only.

Install is not public PyPI. Working path: pip install git+https://github.com/Coding-Dev-Tools/schemaforge.git. Claims verified against schemaforge/README.md; foreign-key and ORM relationship limits are disclosed per its Limitations section.