gbddl 1 language eng table customers rows 6 ( id int64 autoincrement primarykey name text same(person) fullName() email text same(person) email() ) table products rows 5 ( id int64 autoincrement primarykey name text words(maxWords: 2) price decimal(8, 2) decimal(min: 1, max: 500) ) table orders rows 12 per(customers, 1, 3) ( id int64 autoincrement primarykey customer_id int64 fk(customers.id) status text enum(values: ["draft", "confirmed", "shipped", "delivered"]) ) table order_items rows 24 per(orders, 1, 3) ( id int64 autoincrement primarykey order_id int64 fk(orders.id) product_id int64 fk(products.id) quantity int64 integer(min: 1, max: 5) ) table labels rows 12 per(orders, 0, 3) ( order_id int64 fk(orders.id) label text words(maxWords: 1) ) output json ( pretty: true root orders omit(id) ( object customer_id as customer omit(id) embed order_items as items omit(id) ( object product_id as product ) list labels.label as tags ) )