pepperwind / docs /core.md
rasinmuhammed's picture
Pepperwind Trading Co. preview, version 1.0
27ec678 verified
|
Raw History Blame Contribute Delete
33.9 kB

core

The shared master data every other system points at: one party register for everyone Pepperwind deals with (D2C customers, wholesale accounts and their contacts, prospects, suppliers, carriers, vendors and employees), with their people, organisations and addresses; the org chart, its positions and the roster; the catalogue and its dated price book; the warehouses; the three markets and their trading calendar. An employee who is also a CRM user, a helpdesk agent and an email sender is one party here.

Table Rows What it holds
address 1,854 One row per address a party has used, with the date it came into use. A person has a home address and, after a move, a new one; an organisation has its registered address and sometimes a separate shipping address. The latest address is the default. An address of a D2C customer whose deletion the privacy desk completed keeps only its dates, city, state and country.
calendar_day 3,165 The trading calendar: one row per market per day, from the later of 1 October 2023 and the day the market's storefront opened, to 30 September 2026. It carries the market's working days, public holidays, festive seasons, trading events and site-wide sales, and the fiscal calendar.
category 40 One row per product category: forty categories in six departments, with the tax classes their goods carry in each market.
employee 287 One row per person employed at any time between 1 October 2023 and 30 September 2026, including those hired earlier. Grade, title, unit, position and manager are as they stand on the person's last day or at the end of the period; their history is employee_versions.
employee_versions 396 The history of each employee's grade, title, office, unit, position and manager. A version starts on the later of the hire date and 1 April 2019, when the HR system went live, and a new one starts at a promotion, a title change, a change of manager (including a manager's position falling empty or being filled) and the two reorganisations' new reporting lines. Nobody changes position, office or unit.
market 3 One row per market Pepperwind sells in: India, Europe and the United States, each with its own storefront, currency, selling entity and tax regime.
org_unit 13 One row per organisational unit (thirteen in all). The parent links are the tree as it stands at the end of the period; earlier trees are in org_unit_versions.
org_unit_versions 16 The history of each unit's place in the tree, from its creation. A new version starts when a reorganisation moves the unit: on 1 April 2024 (the Europe unit) and on 6 January 2025 (the revenue organisation by region).
organisation 736 One row per party that is an organisation: wholesale accounts, prospects, suppliers, carriers and other vendors, with their names and tax registrations.
party 3,099 One row per person or organisation Pepperwind deals with, in any role: D2C customers, wholesale accounts and their contacts, CRM prospects, suppliers, carriers, other vendors and employees. One person or company is one party, however many systems hold it. Keys are in no meaningful order.
person 2,363 One row per party that is a person: D2C customers, contacts at wholesale accounts and prospects, and employees, with their names and contact details. A D2C customer whose deletion the privacy desk completed keeps the row with names, email and phone empty.
position 180 One row per position (seat) in the org chart. A position is opened once and refilled when its holder leaves; growth and new offices open new positions.
price_list 4,761 The price book: one row per SKU, market and period over which one list price applied. A new row starts at launch, at each price review or commodity-driven change, at a tax pass-through and at an edition's clearance. A market lists only the SKUs it sells.
product 426 One row per product: each evergreen product, and each seasonal edition once per year it is made (a first-flush tea of 2024 and of 2025 are two products). A product's sizes are its SKUs.
sku 900 One row per SKU: a product in one size, pack or variant, with its barcode and shelf life. Nine hundred SKUs across forty categories.
warehouse 5 One row per stock location: Pepperwind's own leased warehouses in Kochi and Rotterdam and the third-party fulfilment centres in New Jersey, Bengaluru and Bhiwandi.

address

One row per address a party has used, with the date it came into use. A person has a home address and, after a move, a new one; an organisation has its registered address and sometimes a separate shipping address. The latest address is the default. An address of a D2C customer whose deletion the privacy desk completed keeps only its dates, city, state and country.

1,854 rows; key address_id.

Column Type Empty Range or values Meaning
address_id integer, key 0.0% 1 to 1854 The address's key.
party_id integer, → core.party.party_id 0.0% 2 to 3099 The party whose address this is.
valid_from timestamp, local wall clock, no zone 0.0% 2017-03-14 00:00:00 to 2026-09-30 00:00:00 The day the party began using this address; a party's first address dates from the day it was first seen.
kind text 0.0% registered, home, shipping home for a person's address (a later home after a move is also home); registered for an organisation's first, registered address; shipping for an organisation's later delivery address.
line1 text 0.3% 351 Prairie Woods Dr, 103, Lakshmi Bhavan, Library Road, 3, 1st Floor, Royal Chambers, Collectorate Road The street line: house or flat, building and street as the country writes it.
city text 0.0% Roswell, Thrissur, Udaipur The town or city.
state text 0.0% GA, Kerala, Rajasthan The state or region: an Indian state's full name, a US state's two-letter code, and the province or region elsewhere.
postal_code text 0.3% 30075, 680020, 313001 The PIN code in India, the ZIP code in the US, the postcode elsewhere.
country text 0.0% US, IN, NL The address's country, as an ISO 3166-1 two-letter code.
pincode_tier text 28.7% tier_2, tier_3, tier_1 For an Indian address, the city tier of its PIN code by the first three digits: tier_1 for the eight metros (Mumbai, Delhi, Bengaluru, Chennai, Hyderabad, Kolkata, Pune, Ahmedabad), tier_2 for other large cities, tier_3 for the rest. Empty outside India.
is_default boolean 0.0% False to True True on the party's most recent address, the one in use now.

calendar_day

The trading calendar: one row per market per day, from the later of 1 October 2023 and the day the market's storefront opened, to 30 September 2026. It carries the market's working days, public holidays, festive seasons, trading events and site-wide sales, and the fiscal calendar.

3,165 rows; key day_id.

Column Type Empty Range or values Meaning
day_id integer, key 0.0% 1 to 3165 The row's key.
date timestamp, local wall clock, no zone 0.0% 2023-10-01 00:00:00 to 2026-09-30 00:00:00 The calendar day.
market_id integer, → core.market.market_id 0.0% 1 to 3 The market the day belongs to.
market_code text 0.0% IN, US, EU The market's code (IN, EU, US), as on market.
is_working_day boolean 0.0% False to True True on a working day for the market's office: Monday to Saturday in India, Monday to Friday in Europe and the US, public holidays excluded.
holiday_name text 96.0% Mahatma Gandhi's Jayanti, Columbus Day, Dussehra The public holiday on that day in the market's holiday calendar (Kerala for India, the Netherlands for Europe, New Jersey for the US). Empty on other days.
festive_window boolean 0.0% False to True True inside the market's festive selling season: the Diwali season in India, from a week before Black Friday to 24 December in Europe, and from ten days before Thanksgiving to 24 December in the US.
trading_event text 71.5% diwali, thanksgiving_cyber_week, christmas The trading event whose sales pattern covers the day (for example diwali, onam, christmas, black_friday, sinterklaas, thanksgiving_cyber_week, mothers_day, gst_rate_cut). Where two overlap, the one with the larger effect. Empty on ordinary days.
event_phase text 71.5% build, peak, eve Where the day sits in its trading event: build (sales rising toward it), peak (the strongest days before it), eve (days before it when sales run below normal, such as after the last delivery date or while shoppers wait for a tax cut), day (the event day itself), after (the dip that follows), follow_on (raised sales continuing after it). Empty when trading_event is empty.
promotion text 95.7% Festive Sale 2023, Black Friday to Cyber Monday 2023, Republic Day Sale 2024 The name of the storefront's site-wide sale running that day. Empty when none runs.
fiscal_year text 0.0% FY24, FY25, FY26 Pepperwind's fiscal year, April to March, named by the year it ends: FY24 is April 2023 to March 2024. The same in every market.
fiscal_period integer 0.0% 1 to 12 The month of the fiscal year, 1 for April to 12 for March.
iso_week integer 0.0% 1 to 52 The ISO 8601 week number of the date.

category

One row per product category: forty categories in six departments, with the tax classes their goods carry in each market.

40 rows; key category_id.

Column Type Empty Range or values Meaning
category_id integer, key 0.0% 1 to 40 The category's key.
code text 0.0% TBLK, TCTC, TMSL The category's four-letter code, also used in SKU codes (TBLK orthodox black tea, SCAR cardamom, CBEN whole bean coffee).
department text 0.0% TE, SP, CO The department: TE tea, SP spices, CO coffee, BG brewing gear, KH kitchen and home, GF gifting.
name text 0.0% Orthodox black tea, CTC and everyday chai, Masala chai blends The category's name.
hsn text 2.5% 0902, 0904, 0908 The Indian HSN tariff heading its goods are classified under, which sets their GST. Empty for gift cards, which are not goods.
gst_class text 0.0% 5, IN:extracts, IN:chocolate The Indian GST class: a rate in percent (0, 5, 12, 18), or a named class (IN:extracts, IN:chocolate). The 12% class and both named classes moved from 12% or 18% to 5% on 22 September 2025; gift cards carry 0 because a voucher is taxed when redeemed.
vat_class text 0.0% food, standard, none The EU VAT class: food (the reduced rate where a country has one), standard, or none (gift cards).
us_food boolean 0.0% False to True True where the goods count as groceries for US sales tax, so a state that exempts or reduces tax on food applies that to them.

employee

One row per person employed at any time between 1 October 2023 and 30 September 2026, including those hired earlier. Grade, title, unit, position and manager are as they stand on the person's last day or at the end of the period; their history is employee_versions.

287 rows; key employee_id.

Column Type Empty Range or values Meaning
employee_id integer, key 0.0% 1 to 287 The employee's key.
employee_no text 0.0% EMP-10001, EMP-10003, EMP-10004 The employee number, issued in order of hire over the company's life. Numbers before October 2023 have gaps for people who left before then.
party_id integer, → core.party.party_id 0.0% 20 to 3096 The employee's party: the same person in the CRM, the helpdesk, mail and the ledger.
org_unit_id integer, → core.org_unit.org_unit_id 0.0% 1 to 13 The unit the employee's position belongs to.
position_id integer, → core.position.position_id 0.0% 1 to 180 The position (seat) the employee holds. Each person holds one position for their whole employment.
manager_employee_id integer, → core.employee.employee_id 0.4% 1 to 278 The employee's manager on their last day or at the end of the period: the holder of the position they report to, or the next one up while that position is empty. Empty for the chief executive.
grade text 0.0% L7, L5, L4 The pay grade: L1 associate, L2 senior associate, L3 specialist, L4 lead, L5 manager, L6 head, L7 executive.
title text 0.0% Co-founder and CEO, Co-founder and COO, Sourcing Lead The job title.
location text 0.0% HQ, RTM, US-REMOTE The office: HQ (Kochi), BLR (Bengaluru), RTM (Rotterdam) or US-REMOTE (working remotely in the United States).
employing_entity text 0.0% PTPL, PEBV, PINC The legal entity that employs and pays the person: PTPL (India), PEBV (the Netherlands) or PINC (the US).
hire_date timestamp, local wall clock, no zone 0.0% 2017-03-14 00:00:00 to 2026-09-30 00:00:00 The first day of employment.
leave_date timestamp, local wall clock, no zone 62.7% 2023-10-23 00:00:00 to 2026-09-28 00:00:00 The last day of employment. Empty for someone still employed at the end of the period, including anyone then serving notice.
employment_type text 0.0% permanent, fixed_term permanent, or fixed_term for the fixed-term associates and operators hired for the busy seasons.

employee_versions

The history of each employee's grade, title, office, unit, position and manager. A version starts on the later of the hire date and 1 April 2019, when the HR system went live, and a new one starts at a promotion, a title change, a change of manager (including a manager's position falling empty or being filled) and the two reorganisations' new reporting lines. Nobody changes position, office or unit.

396 rows; key version_id.

Column Type Empty Range or values Meaning
version_id integer, key 0.0% 1 to 396 The version's key.
employee_id integer, → core.employee.employee_id 0.0% 1 to 287 The employee this version describes.
valid_from timestamp, local wall clock, no zone 0.0% 2019-04-01 00:00:00 to 2026-09-30 00:00:00 The first day this version applies.
valid_to timestamp, local wall clock, no zone 45.5% 2020-01-01 00:00:00 to 2026-09-29 00:00:00 The day the next version begins, so the version applies up to the day before. For a leaver's last version, the day after their last day. Empty for a version still current.
grade text 0.0% L7, L5, L4 The pay grade in this version (L1 to L7).
title text 0.0% Co-founder and CEO, Co-founder and COO, Sourcing Lead The job title in this version. Someone promoted held a junior title of the same work until the promotion.
location text 0.0% HQ, RTM, US-REMOTE The office: HQ, BLR, RTM or US-REMOTE.
org_unit_id integer, → core.org_unit.org_unit_id 0.0% 1 to 13 The unit of the employee's position.
position_id integer, → core.position.position_id 0.0% 1 to 180 The employee's position.
manager_employee_id integer, → core.employee.employee_id 2.0% 1 to 278 The manager in this version: the holder of the position the employee reports to, or the next one up while it is empty. Empty for the chief executive.

market

One row per market Pepperwind sells in: India, Europe and the United States, each with its own storefront, currency, selling entity and tax regime.

3 rows; key market_id.

Column Type Empty Range or values Meaning
market_id integer, key 0.0% 1 to 3 The market's key.
market_code text 0.0% IN, US, EU The market's code: IN, EU or US.
name text 0.0% India, United States, Europe The market's name.
currency text 0.0% INR, USD, EUR The market's currency (ISO 4217): INR, EUR or USD. Money on the market's storefront orders and prices is in it.
entity_code text 0.0% PTPL, PINC, PEBV The legal entity that sells in the market: PTPL (India), PEBV (Europe) or PINC (the US). The US storefront was run cross-border by PTPL until PINC took it over on 6 January 2025.
tax_regime text 0.0% GST, sales tax, VAT (OSS) The indirect tax the market's sales carry: GST in India, VAT under the EU One-Stop Shop in Europe, state sales tax in the US.
default_timezone text 0.0% Asia/Kolkata, America/New_York, Europe/Amsterdam The IANA time zone the market's storefront and calendar keep.
live_from timestamp, local wall clock, no zone 0.0% 2017-09-01 00:00:00 to 2024-02-01 00:00:00 The day the market's storefront opened.
storefront_domain text 0.0% in.pepperwind.example, us.pepperwind.example, eu.pepperwind.example The storefront's web domain.

org_unit

One row per organisational unit (thirteen in all). The parent links are the tree as it stands at the end of the period; earlier trees are in org_unit_versions.

13 rows; key org_unit_id.

Column Type Empty Range or values Meaning
org_unit_id integer, key 0.0% 1 to 13 The unit's key.
code text 0.0% EXEC, FIN, SALES-IN The unit's short code (EXEC, FIN, SALES-IN).
name text 0.0% Leadership, Finance and accounts, B2B sales India and export The unit's name.
parent_org_unit_id integer, → core.org_unit.org_unit_id 7.7% 1 to 5 The unit it sits under at the end of the period. Empty for Leadership, the top of the tree.
location text 0.0% HQ, RTM, US-REMOTE The unit's main office: HQ (Kochi), BLR (Bengaluru), RTM (Rotterdam) or US-REMOTE. Some units also have people in other offices.
cost_centre text 0.0% CC-1000, CC-4100, CC-7100 The cost centre the unit's costs are booked to in the ledger.
created_at timestamp, local wall clock, no zone 0.0% 2017-03-14 00:00:00 to 2024-12-20 00:00:00 The day the unit was set up in the HR system: its founding, or for a new office the day its first position was opened, some weeks before the office itself.

org_unit_versions

The history of each unit's place in the tree, from its creation. A new version starts when a reorganisation moves the unit: on 1 April 2024 (the Europe unit) and on 6 January 2025 (the revenue organisation by region).

16 rows; key version_id.

Column Type Empty Range or values Meaning
version_id integer, key 0.0% 1 to 16 The version's key.
org_unit_id integer, → core.org_unit.org_unit_id 0.0% 1 to 13 The unit this version describes.
valid_from timestamp, local wall clock, no zone 0.0% 2017-03-14 00:00:00 to 2025-01-06 00:00:00 The first day this version applies: the unit's creation or a reorganisation.
valid_to timestamp, local wall clock, no zone 81.2% 2024-04-01 00:00:00 to 2025-01-06 00:00:00 The day the next version begins, so the version applies up to the day before. Empty for the version still current.
parent_org_unit_id integer, → core.org_unit.org_unit_id 6.2% 1 to 5 The unit it sat under in this version. Empty for Leadership.
name text 0.0% Leadership, Finance and accounts, B2B sales India and export The unit's name in this version.
cost_centre text 0.0% CC-1000, CC-4100, CC-7100 The unit's cost centre in this version.

organisation

One row per party that is an organisation: wholesale accounts, prospects, suppliers, carriers and other vendors, with their names and tax registrations.

736 rows; key organisation_id.

Column Type Empty Range or values Meaning
organisation_id integer, key 0.0% 1 to 736 The organisation's key.
party_id integer, → core.party.party_id 0.0% 2 to 3099 The organisation's party.
legal_name text 0.0% Ironwood Grocers Inc., Ottupura Coffee House Pvt Ltd, Elaichi Gourmet Pvt Ltd The registered legal name, with its legal form (Pvt Ltd, B.V., Inc.).
trade_name text 0.0% Ironwood Grocers, Ottupura Coffee House, Elaichi Gourmet The name it trades under.
org_kind text 0.0% grocer, cafe, grocer_deli What kind of business it is: for a wholesale account or prospect its segment (cafe, grocer, grocer_deli, hotel_restaurant, corporate_gifting, deli_concept_store, distributor); for a supplier what it supplies (tea_estate, spice, coffee_estate, maker, packaging, logistics_and_services); carrier; or, for another vendor, what it provides.
country text 0.0% US, IN, NL The country it is registered in, as an ISO 3166-1 two-letter code.
gstin text 37.2% 32GUUCE9763G1ZS, 08KOKCX8066R1Z1, 27OQFCN9470I1ZO The Indian GST identification number: the two-digit state code of its registered address, its PAN and a check character. Empty for organisations outside India and Indian ones not registered for GST.
vat_number text 86.0% NL552813047B11, NL215260400B67, IE6400328UH The EU VAT number, for organisations in the Netherlands, Germany, France, Belgium, Ireland, Denmark and Luxembourg. Empty elsewhere.
msme_registered boolean 0.0% False to True True for an Indian organisation registered as a micro, small or medium enterprise, which must be paid within 45 days. Always false outside India.
created_at timestamp, local wall clock, no zone 0.0% 2017-04-18 08:45:03 to 2026-09-29 19:52:36 When the organisation was first recorded in any of Pepperwind's systems, on its own local clock; the same as its party's first_seen_at.

party

One row per person or organisation Pepperwind deals with, in any role: D2C customers, wholesale accounts and their contacts, CRM prospects, suppliers, carriers, other vendors and employees. One person or company is one party, however many systems hold it. Keys are in no meaningful order.

3,099 rows; key party_id.

Column Type Empty Range or values Meaning
party_id integer, key 0.0% 1 to 3099 The party's key, used by every system that refers to a person or organisation.
party_code text 0.0% PTY-10000336, PTY-10002978, PTY-10000524 The party's code, issued in the order parties were first seen.
party_type text 0.0% person, organisation person or organisation. Each party has one row in person or in organisation.
first_seen_at timestamp, local wall clock, no zone 0.0% 2017-03-14 10:16:16 to 2026-09-30 19:58:24 When the party was first recorded in any system, on its own local clock: a customer's market, an employee's office, a supplier's office.
first_seen_in text 0.0% crm, commerce, hr The system that first recorded the party: commerce (D2C customers), crm (wholesale accounts, prospects and their contacts), hr (employees), logistics (suppliers and carriers) or ledger (other vendors).

person

One row per party that is a person: D2C customers, contacts at wholesale accounts and prospects, and employees, with their names and contact details. A D2C customer whose deletion the privacy desk completed keeps the row with names, email and phone empty.

2,363 rows; key person_id.

Column Type Empty Range or values Meaning
person_id integer, key 0.0% 1 to 2363 The person's key.
party_id integer, → core.party.party_id 0.0% 1 to 3098 The person's party.
first_name text 0.2% Nimisha, Poonam, Kavya The given name.
last_name text 0.2% Sudhakaran, Ladani, Pandian The family name.
email text 0.2% nimisha.sudhakaran@courier.example, poonam.ladani@inbox.example, kavya.pandian49@letterbox.example The person's own email address.
phone text 0.2% +91 96XXXXX626, +44 7700 900438, +91 97XXXXX299 The phone number, masked: the country code, the first two and the last three digits, the rest shown as X.
country text 0.0% IN, GB, NL The person's country, as an ISO 3166-1 two-letter code; for an employee, the country of their office.
locale text 0.0% en-IN, en-GB, nl-NL The language and country the person deals with Pepperwind in, as a language tag (en-IN, nl-NL, fr-BE, de-DE).
created_at timestamp, local wall clock, no zone 0.0% 2017-03-14 10:16:16 to 2026-09-30 19:58:24 When the person was first recorded in any system, on their own local clock; the same as their party's first_seen_at.

position

One row per position (seat) in the org chart. A position is opened once and refilled when its holder leaves; growth and new offices open new positions.

180 rows; key position_id.

Column Type Empty Range or values Meaning
position_id integer, key 0.0% 1 to 180 The position's key, in order of opening.
title text 0.0% Co-founder and CEO, Co-founder and COO, Senior Accountant The position's job title.
org_unit_id integer, → core.org_unit.org_unit_id 0.0% 1 to 13 The unit the position belongs to.
grade text 0.0% L7, L4, L3 The position's pay grade (L1 to L7).
is_manager boolean 0.0% False to True True for a position that manages others.
location text 0.0% HQ, RTM, US-REMOTE The office the position sits in: HQ, BLR, RTM or US-REMOTE.
opened_at timestamp, local wall clock, no zone 0.0% 2017-03-14 00:00:00 to 2026-06-25 00:00:00 The day the position was opened: its requisition was approved, some weeks before its first holder joined.
closed_at timestamp, local wall clock, no zone 100.0% The day the position was closed. Empty: no position was closed between October 2023 and September 2026.

price_list

The price book: one row per SKU, market and period over which one list price applied. A new row starts at launch, at each price review or commodity-driven change, at a tax pass-through and at an edition's clearance. A market lists only the SKUs it sells.

4,761 rows; key price_id.

Column Type Empty Range or values Meaning
price_id integer, key 0.0% 1 to 4761 The price row's key.
sku_id integer, → core.sku.sku_id 0.0% 1 to 900 The SKU priced.
market_id integer, → core.market.market_id 0.0% 1 to 3 The market the price applies in.
market_code text 0.0% IN, US, EU The market's code (IN, EU, US).
currency text 0.0% INR, USD, EUR The price's currency, the market's.
list_price number 0.0% 2.75 to 11099.0 The list price per unit, in currency (major units, not cents or paise). A gift card's is its face value.
tax_inclusive boolean 0.0% False to True True where the list price includes tax: India (the MRP includes GST) and Europe (prices include VAT). False in the US, where sales tax is added at checkout.
valid_from timestamp, local wall clock, no zone 0.0% 2017-09-03 00:00:00 to 2026-09-24 00:00:00 The first day the price applies.
valid_to timestamp, local wall clock, no zone 35.2% 2020-08-31 00:00:00 to 2026-09-27 00:00:00 The last day the price applies, inclusive. Empty while the price is still in force.
change_code text 0.0% BASE, TEA0, CAR0 Why this price started: BASE (the earliest price on record), LAUNCH (a SKU launched after 1 October 2023), a price review (PC0, PC1, PC2), a commodity-driven change (TEA, PEP, CAR, COF, COC with a number: tea, pepper, cardamom, coffee, cocoa), GST2 (the 22 September 2025 GST cut passed on so the price before tax is unchanged), USDOM (US prices when the US storefront moved to domestic fulfilment on 6 January 2025), USDUTY (gear and kitchen goods relisted in the US on 16 March 2026 after the 2025 duties), or CLR (an edition's clearance).

product

One row per product: each evergreen product, and each seasonal edition once per year it is made (a first-flush tea of 2024 and of 2025 are two products). A product's sizes are its SKUs.

426 rows; key product_id.

Column Type Empty Range or values Meaning
product_id integer, key 0.0% 1 to 426 The product's key.
product_code text 0.0% PRD-10001, PRD-10002, PRD-10003 The product's code, issued in order of launch.
name text 0.0% Moonlight White, Goda Masala, Mango Wood Serving Board The product's name as the storefronts show it.
category_id integer, → core.category.category_id 0.0% 1 to 40 The product's category.
origin_region text 0.0% Munnar, Idukki, Kannur Where the product comes from: the growing region for tea, spices and coffee (Munnar, Idukki, Darjeeling, Chikmagalur), the craft town for gear and kitchen goods (Moradabad, Kannur), Kochi for gift packs.
supplier_party_id integer, → core.party.party_id 0.0% 52 to 3071 The supplier the product is bought from.
launched_at timestamp, local wall clock, no zone 0.0% 2017-09-03 00:00:00 to 2026-09-24 00:00:00 The day the product went on sale.
retired_at timestamp, local wall clock, no zone 77.9% 2023-10-24 00:00:00 to 2026-09-28 00:00:00 The day the product was withdrawn from sale. Empty while it is still on sale.

sku

One row per SKU: a product in one size, pack or variant, with its barcode and shelf life. Nine hundred SKUs across forty categories.

900 rows; key sku_id.

Column Type Empty Range or values Meaning
sku_id integer, key 0.0% 1 to 900 The SKU's key.
sku_code text 0.0% SKU-TWHT-10002, SKU-TWHT-10003, SKU-SBLD-10001 The SKU code: SKU-, the category code and a number counting within the category in order of creation. Numbers taken by drafts that never launched leave gaps.
product_id integer, → core.product.product_id 0.0% 1 to 426 The product the SKU is a size or variant of.
category_code text 0.0% TWHT, SBLD, KWOD The code of the product's category, as on category.
edition text 93.3% first_flush, diwali, christmas For a seasonal edition, which season it belongs to: first_flush, autumn_flush, new_crop_cardamom, onam, diwali or christmas. Empty for evergreen SKUs.
size_label text 0.0% 100 g, 250 g, 200 g The size or variant as the storefront shows it: a pack weight (100 g; 1 kg packs are wholesale), a count (25 bags, set of 2), a size (large), or a gift card's face value with its currency.
net_weight_g integer 0.0% 0 to 7040 The weight in grams: the contents for food, the piece's own weight for gear and kitchen goods, 0 for gift cards.
gtin text 0.9% 9524108000027, 9524108000034, 9524108000041 The GTIN-13 barcode printed on the pack. Empty for gift cards, which are sent by email.
launched_at timestamp, local wall clock, no zone 0.0% 2017-09-03 00:00:00 to 2026-09-24 00:00:00 The day the SKU went on sale.
retired_at timestamp, local wall clock, no zone 83.1% 2023-10-24 00:00:00 to 2026-09-28 00:00:00 The day the SKU was withdrawn from sale. Empty while it is still on sale.
is_perishable boolean 0.0% False to True True for food with a best-before date: tea, spices and coffee, spiced chocolate and instant coffee among them.
shelf_days number 31.1% 120.0 to 730.0 The shelf life in days from packing to best-before. Empty for goods that do not expire.

warehouse

One row per stock location: Pepperwind's own leased warehouses in Kochi and Rotterdam and the third-party fulfilment centres in New Jersey, Bengaluru and Bhiwandi.

5 rows; key warehouse_id.

Column Type Empty Range or values Meaning
warehouse_id integer, key 0.0% 1 to 5 The warehouse's key.
code text 0.0% KOC1, RTM1, NJ3P The warehouse's short code (KOC1, RTM1, NJ3P).
name text 0.0% Kochi processing and fulfilment centre, Rotterdam warehouse, New Jersey 3PL The warehouse's name.
kind text 0.0% leased, third-party leased (run by Pepperwind's own staff) or third-party (run by a logistics provider).
city text 0.0% Kochi, Rotterdam, Edison The city it is in.
state text 20.0% KL, NJ, KA The state code: an Indian state (KL, KA, MH) or a US state (NJ). Empty for Rotterdam.
country text 0.0% IN, NL, US The country, as an ISO 3166-1 two-letter code.
entity_code text 0.0% PTPL, PEBV, PINC The legal entity that holds the stock there: PTPL, PEBV or PINC.
opens timestamp, local wall clock, no zone 0.0% 2017-04-01 00:00:00 to 2025-10-01 00:00:00 The day the warehouse started operating.
timezone text 0.0% Asia/Kolkata, Europe/Amsterdam, America/New_York The IANA time zone of the warehouse's local clock, on which its operations are recorded.