{"kind":"document","schemaVersion":1,"id":"nodetto-product-shop","title":"Shop"}
{"kind":"page","id":"schema","name":"Schema","pageKind":"erd"}
{"kind":"element","id":"shop-3","page":"schema","type":"erd.table","index":"V","semantic":{"tableName":"customers","columns":[{"id":"id","name":"id","dataType":"uuid","pk":true},{"id":"name","name":"name","dataType":"text"},{"id":"email","name":"email","dataType":"text"}]},"visual":{"x":0,"y":0,"width":260}}
{"kind":"element","id":"shop-4","page":"schema","type":"erd.table","index":"l","semantic":{"tableName":"orders","columns":[{"id":"id","name":"id","dataType":"uuid","pk":true},{"id":"customer","name":"customer_id","dataType":"uuid"},{"id":"status","name":"status","dataType":"text"}]},"visual":{"x":350,"y":0,"width":260}}
{"kind":"element","id":"shop-5","page":"schema","type":"erd.table","index":"t","semantic":{"tableName":"products","columns":[{"id":"id","name":"id","dataType":"uuid","pk":true},{"id":"name","name":"name","dataType":"text"},{"id":"price","name":"price","dataType":"decimal"}]},"visual":{"x":0,"y":235,"width":260}}
{"kind":"element","id":"shop-6","page":"schema","type":"erd.table","index":"x","semantic":{"tableName":"order_lines","columns":[{"id":"id","name":"id","dataType":"uuid","pk":true},{"id":"order","name":"order_id","dataType":"uuid"},{"id":"product","name":"product_id","dataType":"uuid"},{"id":"quantity","name":"quantity","dataType":"integer"}]},"visual":{"x":350,"y":235,"width":260}}
{"kind":"element","id":"shop-7","page":"schema","type":"erd.relation","index":"z","semantic":{"from":{"table":"shop-4","column":"customer"},"to":{"table":"shop-3","column":"id"},"cardinality":"*:1"}}
{"kind":"element","id":"shop-8","page":"schema","type":"erd.relation","index":"zV","semantic":{"from":{"table":"shop-6","column":"order"},"to":{"table":"shop-4","column":"id"},"cardinality":"*:1"}}
{"kind":"element","id":"shop-9","page":"schema","type":"erd.relation","index":"zl","semantic":{"from":{"table":"shop-6","column":"product"},"to":{"table":"shop-5","column":"id"},"cardinality":"*:1"}}
