sql-ddl-to-json-schema
JSON →Parse SQL DDL statements and convert them to JSON Schema documents and a compact JSON format. Version 6.0.0 supports Node.js >=16 <=24 and ships TypeScript types. Key differentiators: handles multiple SQL dialects, produces both JSON Schema (draft-07) and a compact intermediate format, supports ALTER TABLE, and allows configuration of output options like useRef for schema references. Active development with regular releases.
Resources
packagesql-ddl-to-json-schema ↗
API endpoints
full doc /v1/registry/sql-ddl-to-json-schema