sql-ddl-to-json-schema
Parses MySQL and MariaDB DDL into a compact table model and JSON Schema draft-07 documents, one per table. Statements replay against an in-memory database, so ALTER TABLE, CREATE INDEX and DROP TABLE change the tables they touch. Only DDL is supported.
Install
cargo add sql-ddl-to-json-schema