example
Northwind Supply Co
Intermediate: 8 tables, 10 relationships, 6 scenarios — a complete recipe you can run as shipped.
Last updated 2026-09-13 · Generated from examples/whole-company.wl.json · Markdown
Summary
Northwind Supply Co — a whole company. 8 tables (Office, Employee, Customer, Supplier, Product, Order, OrderLine, Invoice), 20,861 rows as declared, 10 relationships, 6 scenarios. Seed 20260826, so running it reproduces exactly the data described here.
examples/whole-company.wl.json8 tables
worklens bundleseed 20260826
Run folderdata + proof
Tables
- Office — 7 fields, 6 rows
- Employee — 11 fields, 90 rows, 1 constraint
- Customer — 11 fields, 1,200 rows
- Supplier — 6 fields, 25 rows
- Product — 7 fields, 340 rows
- Order — 10 fields, 4,800 rows, 2 constraints
- OrderLine — 6 fields, 9,600 rows, 2 constraints
- Invoice — 10 fields, 4,800 rows, 2 constraints
Relationships
- Order.office_id → Office.office_id (fk)
- Employee.office_id → Office.office_id (fk)
- Employee.manager_id → Employee.employee_id (fk)
- Customer.office_id → Office.office_id (fk)
- Product.supplier_id → Supplier.supplier_id (fk)
- Order.customer_id → Customer.customer_id (fk)
- Order.sales_rep_id → Employee.employee_id (fk)
- OrderLine.order_id → Order.order_id (fk)
- OrderLine.product_id → Product.product_id (fk)
- Invoice.order_id → Order.order_id (fk)
Scenarios
- clean — as declared, no rates changed
- sparse — sets null_rate
- approval_boundary — sets rows, defects
- orphans_and_mess — sets null_rate, defects
- empty — sets rows
- boundary — sets mode
Recipe keys used
- column, constraints, derive, max, min, params_when, pattern, ref, relationships, rows, scenarios, scope, seed, sensitivity, shape, table, type, type_def, unique, values, weights, weights_when
Run it
node packages/sdk-node/bin/worklens.js bundle examples/whole-company.wl.json --out-dir runSeed 20260826 is in the file, so the bytes are the same on every machine.
Related
ExamplesSee how real requirements become WorkLens recipes: four complete recipes shipped with the engine, each on its own page.Prove & bundleworklens prove and worklens bundle — a verifiable proof as JSON, or a whole run folder with data, recipe, proof and manifest.Homepage demoStarter: 2 tables, 1 relationship, 0 scenarios — a complete recipe you can run as shipped.Suncorp-shaped general insurance groupAdvanced: 20 tables, 23 relationships, 8 scenarios — a complete recipe you can run as shipped.