# SCHEMETA (MVP) AI-Native Schematic Compiler & Visual Teaching Platform. This MVP implements: - Schemeta JSON Model validation - ERC checks (power/output conflicts, floating pins, ground-net checks) - Deterministic component placement + Manhattan routing - SVG rendering with interactive data attributes - HTTP API: `POST /compile`, `POST /analyze` ## Run ```bash npm install npm run dev ``` Server defaults to `http://localhost:8787`. ## API ### `POST /analyze` Input: SJM JSON Output: validation/ERC errors + warnings + topology summary ### `POST /compile` Input: SJM JSON Output: all `analyze` fields + rendered `svg` ## Example ```bash curl -sS -X POST http://localhost:8787/compile \ -H 'content-type: application/json' \ --data-binary @examples/esp32-audio.json ``` ## Notes - Deterministic rendering is guaranteed by stable sorting (`ref`, `net.name`) and fixed layout constants. - Wires are derived from net truth; nets remain source-of-truth. - Current layout is constraint-aware only at basic group ordering level in this MVP.