Supplier business identity and address
A supplier master with company names, a contact person, address, tax identity and an activity flag.
- Languages
eng- Formats
csv
Recipe
gbddl 1
language eng
table suppliers rows 12 (
id int64 autoincrement primarykey
name text unique company()
contact_name text same(person) fullName()
contact_email text unique same(person) email()
phone text same(geo) phone()
street text street()
city text same(geo) city()
country text same(geo) country()
country_code text same(geo) countryCode()
vat_id text unique vatId()
active boolean boolean(trueRate: 90%)
)
output csv
This is the exact recipe.gbddl committed to the repository. Copy it, or download the raw source.
About this recipe
Suppliers
A single-table recipe that generates a supplier master: company identity, a contact person, address and tax identity for twelve synthetic businesses.
What it demonstrates
- Business identity —
nameis acompanyname andvat_idavatIdwith a valid check digit, bothunique. - Contact person —
contact_nameandcontact_emailshare asame(person)group, so they describe one coherent person. - Address —
phone,city,countryandcountry_codeshare asame(geo)group, so they describe one place;streetis a street name.
Run it
Submit the recipe body to POST /api/v1/jobs?input_format=gbddl, or paste it
into Chef, to generate the data. The repository's local runner (run by
task test) also generates it and verifies its output.
The recipe outputs one CSV table file, suppliers.csv, holding twelve rows.
Adapt it
- Raise
rowsfor a larger supplier list. - Add
legalForm()to include the supplier's legal form.
Guarantees
Every row has a unique id, name, contact_email and vat_id; the contact
fields are coherent per person and the address fields coherent per place.
Identifiers and names are synthetic.
Tested features
Smart types, physical types, rules and formats this recipe exercises and verifies.
companyfullNameemailphonestreetcitycountrycountryCodevatIdsame:personsame:geographyuniqueautoincrementprimary-key