oneie 3.3.4 → 3.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/deploy.md +195 -0
- package/.claude/commands/release.md +50 -30
- package/CLAUDE.md +15 -0
- package/folders.yaml +1 -1
- package/one/groups/nine-padel-customers.md +138 -0
- package/one/groups/nine-padel-data-structure.md +167 -0
- package/one/groups/nine-padel-ontology-specification.md +359 -0
- package/one/groups/nine-padel-ontology.md +143 -0
- package/one/groups/nine-padel-strategy.md +234 -0
- package/one/groups/nine-padel.md +211 -0
- package/one/knowledge/.obsidian/ecommerce-ontology.md +192 -0
- package/one/{.obsidian → knowledge/.obsidian}/workspace.json +6 -6
- package/one/knowledge/nine-padel-playbook.md +211 -0
- package/one/knowledge/ontology-ecommerce.md +251 -0
- package/one/knowledge/todo-template.md +251 -0
- package/one/knowledge/todo.md +1 -1
- package/one/things/cli/cli.md +427 -745
- package/one/things/features/2-cli.md +639 -166
- package/one/things/features-in-english.md +187 -0
- package/one/things/plans/3-groups.md +234 -1
- package/one/things/plans/5-complete.md +17 -0
- package/one/things/todo.md +4 -0
- package/package.json +1 -1
- package/one/knowledge/ontology-6-dimensions.md +0 -0
- /package/one/{.obsidian → knowledge/.obsidian}/app.json +0 -0
- /package/one/{.obsidian → knowledge/.obsidian}/appearance.json +0 -0
- /package/one/{.obsidian → knowledge/.obsidian}/core-plugins.json +0 -0
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
Here is the complete and well-described ontology specification for Nine Padel, designed to transform it from a standard e-commerce store into an intelligent, automated commerce engine.
|
|
2
|
+
|
|
3
|
+
## Nine Padel - Ontology Specification
|
|
4
|
+
|
|
5
|
+
Version: 1.0.0 (Commerce Engine Architecture)
|
|
6
|
+
|
|
7
|
+
Status: Complete
|
|
8
|
+
|
|
9
|
+
Design Principle: This ontology models the entire customer journey and business operations in six dimensions. It serves as the single source of truth for the website, marketing automation, and external integrations like conversational AI agents.
|
|
10
|
+
|
|
11
|
+
### The Philosophy: From Store to Engine
|
|
12
|
+
|
|
13
|
+
A standard e-commerce site is a passive collection of products. An **intelligent commerce engine** is a sentient system that understands its customers, anticipates their needs, and proactively guides them on their journey. This ontology provides the structure for that intelligence.
|
|
14
|
+
|
|
15
|
+
Everything at Nine Padel—every product, every customer, every click, every purchase—is modeled within these six fundamental dimensions.
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
19
|
+
│ 1. GROUP │
|
|
20
|
+
│ The business entity: "Nine Padel Store" │
|
|
21
|
+
└──────────────────────────────────────────────────────────────┘
|
|
22
|
+
↓
|
|
23
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
24
|
+
│ 2. PEOPLE │
|
|
25
|
+
│ The actors: The store owners, staff, and customers │
|
|
26
|
+
└──────────────────────────────────────────────────────────────┘
|
|
27
|
+
↓
|
|
28
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
29
|
+
│ 3. THINGS │
|
|
30
|
+
│ The objects: Rackets, bags, orders, guides, reviews │
|
|
31
|
+
└──────────────────────────────────────────────────────────────┘
|
|
32
|
+
↓
|
|
33
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
34
|
+
│ 4. CONNECTIONS │
|
|
35
|
+
│ The relationships: Customer "places" order, Racket │
|
|
36
|
+
│ "manufactured_by" brand │
|
|
37
|
+
└──────────────────────────────────────────────────────────────┘
|
|
38
|
+
↓
|
|
39
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
40
|
+
│ 5. EVENTS │
|
|
41
|
+
│ The actions: Product "viewed", Order "placed", Review │
|
|
42
|
+
│ "submitted" │
|
|
43
|
+
└──────────────────────────────────────────────────────────────┘
|
|
44
|
+
↓
|
|
45
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
46
|
+
│ 6. KNOWLEDGE │
|
|
47
|
+
│ The meaning: Labels for skill level, playing style, │
|
|
48
|
+
│ customer value, and order status │
|
|
49
|
+
└──────────────────────────────────────────────────────────────┘
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## 1. GROUP: The Business Boundary
|
|
55
|
+
|
|
56
|
+
This dimension provides the top-level container for all of Nine Padel's data, ensuring it is treated as a single, cohesive business unit.
|
|
57
|
+
|
|
58
|
+
### Group Structure
|
|
59
|
+
|
|
60
|
+
TypeScript
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
{
|
|
64
|
+
_id: Id<'groups'>,
|
|
65
|
+
slug: 'nine-padel-store',
|
|
66
|
+
name: 'Nine Padel Store',
|
|
67
|
+
type: 'business',
|
|
68
|
+
metadata: {
|
|
69
|
+
domain: 'ninepadel.com',
|
|
70
|
+
currency: 'GBP',
|
|
71
|
+
country: 'UK'
|
|
72
|
+
},
|
|
73
|
+
status: 'active',
|
|
74
|
+
createdAt: number
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 2. PEOPLE: The Actors
|
|
81
|
+
|
|
82
|
+
This dimension defines who is interacting with the store and what their role is.
|
|
83
|
+
|
|
84
|
+
### Person Roles
|
|
85
|
+
|
|
86
|
+
1. **`store_owner`**: Has full administrative access to manage products, view analytics, and configure the system.
|
|
87
|
+
|
|
88
|
+
2. **`staff`**: Can manage orders, respond to customer inquiries, and update content.
|
|
89
|
+
|
|
90
|
+
3. **`customer`**: A user who browses, buys, and interacts with the store's content.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Person Structure
|
|
94
|
+
|
|
95
|
+
TypeScript
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
{
|
|
99
|
+
_id: Id<'people'>,
|
|
100
|
+
email: string,
|
|
101
|
+
role: 'store_owner' | 'staff' | 'customer',
|
|
102
|
+
displayName?: string,
|
|
103
|
+
shippingAddress?: { /* ... */ },
|
|
104
|
+
billingAddress?: { /* ... */ },
|
|
105
|
+
createdAt: number
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 3. THINGS: The Nouns of the Business 🎾
|
|
112
|
+
|
|
113
|
+
This is the largest dimension, representing every tangible and conceptual object in the Nine Padel ecosystem.
|
|
114
|
+
|
|
115
|
+
### Thing Types (`ThingType`)
|
|
116
|
+
|
|
117
|
+
- **Catalog & Inventory (6 types):**
|
|
118
|
+
|
|
119
|
+
- `product_racket`: A padel racket with detailed specifications.
|
|
120
|
+
|
|
121
|
+
- `product_bag`: A padel bag or backpack.
|
|
122
|
+
|
|
123
|
+
- `product_shoe`: Specialized padel footwear.
|
|
124
|
+
|
|
125
|
+
- `product_apparel`: Shirts, shorts, wristbands, etc.
|
|
126
|
+
|
|
127
|
+
- `product_accessory`: Balls, grips, protectors, etc.
|
|
128
|
+
|
|
129
|
+
- `brand`: The manufacturer of a product (e.g., Head, Babolat, Nox).
|
|
130
|
+
|
|
131
|
+
- **Commerce & Orders (4 types):**
|
|
132
|
+
|
|
133
|
+
- `order`: A record of a completed customer purchase.
|
|
134
|
+
|
|
135
|
+
- `shopping_cart`: A temporary container for a user's session.
|
|
136
|
+
|
|
137
|
+
- `payment`: A record of a financial transaction.
|
|
138
|
+
|
|
139
|
+
- `discount_code`: A promotional code for a discount.
|
|
140
|
+
|
|
141
|
+
- **Content & Engagement (4 types):**
|
|
142
|
+
|
|
143
|
+
- `guide`: An informational article or buying guide.
|
|
144
|
+
|
|
145
|
+
- `customer_review`: A customer's rating and feedback on a product.
|
|
146
|
+
|
|
147
|
+
- `quiz`: The Racket Finder Quiz itself.
|
|
148
|
+
|
|
149
|
+
- `quiz_result`: A personalized racket recommendation for a specific user.
|
|
150
|
+
|
|
151
|
+
- **Marketing & Analytics (3 types):**
|
|
152
|
+
|
|
153
|
+
- `insight`: An AI-generated observation about business performance.
|
|
154
|
+
|
|
155
|
+
- `customer_segment`: A dynamic group of customers (e.g., "High-Value Whales").
|
|
156
|
+
|
|
157
|
+
- `ad_campaign`: A record of a marketing campaign.
|
|
158
|
+
|
|
159
|
+
- **System & Integration (1 type):**
|
|
160
|
+
|
|
161
|
+
- `external_agent`: Represents a connection to an external platform like ChatGPT or Gemini.
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### Properties by Key Thing Type
|
|
165
|
+
|
|
166
|
+
- **`product_racket` Properties:**
|
|
167
|
+
|
|
168
|
+
TypeScript
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
{
|
|
172
|
+
sku: string,
|
|
173
|
+
brandId: Id<'things'>, // Connection to the 'brand' Thing
|
|
174
|
+
price: number,
|
|
175
|
+
weight: number, // In grams
|
|
176
|
+
shape: 'round' | 'teardrop' | 'diamond',
|
|
177
|
+
balance: 'head-light' | 'even' | 'head-heavy',
|
|
178
|
+
coreMaterial: 'soft_eva' | 'medium_eva' | 'hard_eva',
|
|
179
|
+
surfaceMaterial: 'fiberglass' | 'carbon_fiber_3k' | 'carbon_fiber_12k',
|
|
180
|
+
stockQuantity: number,
|
|
181
|
+
// ... other properties like images, description
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
- **`order` Properties:**
|
|
186
|
+
|
|
187
|
+
TypeScript
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
{
|
|
191
|
+
orderNumber: string,
|
|
192
|
+
customerId: Id<'people'>,
|
|
193
|
+
items: [{ productId: Id<'things'>, quantity: number, price: number }],
|
|
194
|
+
subtotal: number,
|
|
195
|
+
shippingCost: number,
|
|
196
|
+
totalAmount: number,
|
|
197
|
+
shippingAddress: { /* ... */ },
|
|
198
|
+
orderDate: number,
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
- **`customer_segment` Properties:**
|
|
203
|
+
|
|
204
|
+
TypeScript
|
|
205
|
+
|
|
206
|
+
```
|
|
207
|
+
{
|
|
208
|
+
segmentName: 'Whales' | 'Loyalists' | 'Evangelists',
|
|
209
|
+
description: 'Customers with LTV > £1000',
|
|
210
|
+
criteria: { /* JSON defining the rules for this segment */ },
|
|
211
|
+
memberCount: number,
|
|
212
|
+
}
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## 4. CONNECTIONS: The Relationships
|
|
219
|
+
|
|
220
|
+
This dimension describes how `Things` and `People` relate to each other, forming the business's knowledge graph.
|
|
221
|
+
|
|
222
|
+
### Connection Types (`ConnectionType`)
|
|
223
|
+
|
|
224
|
+
- **Ownership & Creation (2):** `created_by`, `manufactured_by`
|
|
225
|
+
|
|
226
|
+
- **Commerce (4):** `places` (customer → order), `contains` (order → product), `uses` (order → discount_code), `purchased` (customer → product)
|
|
227
|
+
|
|
228
|
+
- **Engagement (5):** `writes` (customer → review), `is_about` (review → product), `receives` (customer → quiz_result), `viewed` (customer → guide), `targets` (campaign → segment)
|
|
229
|
+
|
|
230
|
+
- **System (1):** `communicates_with` (sales_agent → external_agent)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### Common Connection Patterns
|
|
234
|
+
|
|
235
|
+
- **A Customer Makes a Purchase:**
|
|
236
|
+
|
|
237
|
+
- `customer` → `places` → `order`
|
|
238
|
+
|
|
239
|
+
- `order` → `contains` → `product_racket`
|
|
240
|
+
|
|
241
|
+
- **A Brand Makes a Product:**
|
|
242
|
+
|
|
243
|
+
- `product_racket` → `manufactured_by` → `brand`
|
|
244
|
+
|
|
245
|
+
- **A Customer Leaves Feedback:**
|
|
246
|
+
|
|
247
|
+
- `customer` → `writes` → `customer_review`
|
|
248
|
+
|
|
249
|
+
- `customer_review` → `is_about` → `product_racket`
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## 5. EVENTS: The Actions
|
|
255
|
+
|
|
256
|
+
This dimension is the immutable log of every action that has ever happened, providing a perfect audit trail for analytics and automation.
|
|
257
|
+
|
|
258
|
+
### Event Types (`EventType`)
|
|
259
|
+
|
|
260
|
+
- **Discovery Events:** `session_started`, `product_viewed`, `guide_viewed`, `quiz_completed`
|
|
261
|
+
|
|
262
|
+
- **Commerce Events:** `product_added_to_cart`, `cart_abandoned`, `order_placed`, `payment_processed`
|
|
263
|
+
|
|
264
|
+
- **Post-Purchase Events:** `order_shipped`, `order_delivered`, `review_submitted`
|
|
265
|
+
|
|
266
|
+
- **System & AI Events:** `insight_generated`, `customer_segment_updated`, `stock_level_low`
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Event Patterns
|
|
270
|
+
|
|
271
|
+
- **`order_placed` Event:**
|
|
272
|
+
|
|
273
|
+
TypeScript
|
|
274
|
+
|
|
275
|
+
```
|
|
276
|
+
{
|
|
277
|
+
type: 'order_placed',
|
|
278
|
+
actorId: customerId, // The person who acted
|
|
279
|
+
targetId: orderId, // The thing that was acted upon
|
|
280
|
+
timestamp: Date.now(),
|
|
281
|
+
metadata: {
|
|
282
|
+
totalAmount: 150.00,
|
|
283
|
+
currency: 'GBP',
|
|
284
|
+
itemCount: 2,
|
|
285
|
+
shippingMethod: 'standard_delivery',
|
|
286
|
+
protocol: 'website' // Or 'acp' if from ChatGPT
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## 6. KNOWLEDGE: The Meaning and Intelligence
|
|
295
|
+
|
|
296
|
+
This is the "brain." It provides the labels, tags, and semantic context that power search, personalization, and AI agents.
|
|
297
|
+
|
|
298
|
+
### Knowledge Types
|
|
299
|
+
|
|
300
|
+
- `label`: A simple, categorical tag.
|
|
301
|
+
|
|
302
|
+
- `chunk`: A piece of text with a vector embedding for semantic search (e.g., a paragraph from a `guide` or a `customer_review`).
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
### Key Knowledge Labels
|
|
306
|
+
|
|
307
|
+
- **Product Attributes:** `skill_level:beginner`, `racket_style:control`, `player_trait:elbow_sensitive`.
|
|
308
|
+
|
|
309
|
+
- **Customer Segments:** `customer_archetype:whale`, `customer_archetype:loyalist`, `playing_style:aggressive_baseliner`.
|
|
310
|
+
|
|
311
|
+
- **Operational Statuses:** `order_status:shipped`, `stock_status:in_stock`, `review_status:approved`.
|
|
312
|
+
|
|
313
|
+
- **Content Topics:** `topic:technique`, `topic:equipment_care`, `goal:improve_control`.
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## How Features Map to the Ontology
|
|
319
|
+
|
|
320
|
+
### Feature: The Racket Finder Quiz
|
|
321
|
+
|
|
322
|
+
1. **Things:** A `quiz` `Thing` (the questions) and a `quiz_result` `Thing` (the recommendation).
|
|
323
|
+
|
|
324
|
+
2. **Connections:** The `customer` **receives** the `quiz_result`.
|
|
325
|
+
|
|
326
|
+
3. **Events:** `quiz_completed` is logged when the user submits their answers.
|
|
327
|
+
|
|
328
|
+
4. **Knowledge:** The quiz maps user answers to **Knowledge** labels (`player_trait:elbow_sensitive`, `playing_style:defensive`) to find the perfectly matching `product_racket`.
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
### Feature: Purchase in ChatGPT
|
|
332
|
+
|
|
333
|
+
1. **Things:** An `external_agent` `Thing` represents the connection. A new `customer` and `order` `Thing` are created.
|
|
334
|
+
|
|
335
|
+
2. **Connections:** `sales_agent` **communicates_with** `external_agent`.
|
|
336
|
+
|
|
337
|
+
3. **Events:** An `order_placed` `Event` is logged with `metadata.protocol: 'acp'`.
|
|
338
|
+
|
|
339
|
+
4. **Knowledge:** The user's chat query ("racket for elbow pain") is used to filter products with the `player_trait:elbow_sensitive` label.
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
---
|
|
343
|
+
|
|
344
|
+
## Summary Statistics
|
|
345
|
+
|
|
346
|
+
- **Dimensions:** 6
|
|
347
|
+
|
|
348
|
+
- **Thing Types:** 18
|
|
349
|
+
|
|
350
|
+
- **Connection Types:** 12
|
|
351
|
+
|
|
352
|
+
- **Event Types:** 13
|
|
353
|
+
|
|
354
|
+
- **Key Knowledge Vocabularies:** 4 (Product, Customer, Operations, Content)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
### For Implementers
|
|
358
|
+
|
|
359
|
+
This ontology is your blueprint. Every new feature, marketing campaign, or analytics dashboard should start with the question: "How does this map to our six dimensions?" By adhering to this structure, you ensure that every piece of data you collect makes the entire system smarter, more automated, and more valuable to the customer.
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
### The Core: A Minimal E-Commerce System
|
|
2
|
+
|
|
3
|
+
At its heart, any online store can be described with this simple structure:
|
|
4
|
+
|
|
5
|
+
1. **Group:** The store itself (`Nine Padel Store`).
|
|
6
|
+
|
|
7
|
+
2. **People:** The `store_owner` and the `customer`.
|
|
8
|
+
|
|
9
|
+
3. **Things:** The `product` being sold and the `order` to purchase it.
|
|
10
|
+
|
|
11
|
+
4. **Connections:** The customer `places` an order. The order `contains` a product.
|
|
12
|
+
|
|
13
|
+
5. **Events:** A `product_viewed` event, leading to an `order_placed` event.
|
|
14
|
+
|
|
15
|
+
6. **Knowledge:** The `order_status` (e.g., `pending`, `shipped`).
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
This minimal model provides the foundation. Now, we'll expand it with the specific details from ninepadel.com to create a complete and tailored ontology.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
### Ontology for NinePadel.com 🎾
|
|
23
|
+
|
|
24
|
+
This ontology models the specific operations of the Nine Padel e-commerce store, from its product catalog to customer interactions.
|
|
25
|
+
|
|
26
|
+
#### 1. Group
|
|
27
|
+
|
|
28
|
+
The highest-level container that represents the entire business entity.
|
|
29
|
+
|
|
30
|
+
- **`Nine Padel Store`**: This group provides the multi-tenant boundary for all data, including products, customers, and orders related to the store.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
#### 2. People
|
|
34
|
+
|
|
35
|
+
The actors who interact with and within the store.
|
|
36
|
+
|
|
37
|
+
- **`store_owner`**: The individuals who run the business. They have full access to manage products, view analytics, and oversee operations.
|
|
38
|
+
|
|
39
|
+
- **`staff`**: Employees responsible for customer service, fulfilling orders, and managing website content.
|
|
40
|
+
|
|
41
|
+
- **`customer`**: Padel players who browse the site, use the tools, and purchase equipment.
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
#### 3. Things
|
|
45
|
+
|
|
46
|
+
These are all the distinct "nouns" or entities that exist within the Nine Padel ecosystem.
|
|
47
|
+
|
|
48
|
+
- **Products & Catalog:**
|
|
49
|
+
|
|
50
|
+
- `product_racket`: The core product. Properties include `brand`, `weight`, `shape`, and `balance`.
|
|
51
|
+
|
|
52
|
+
- `product_bag`: Padel bags and backpacks.
|
|
53
|
+
|
|
54
|
+
- `product_shoe`: Specialized footwear.
|
|
55
|
+
|
|
56
|
+
- `product_apparel`: Shirts, shorts, and other clothing.
|
|
57
|
+
|
|
58
|
+
- `product_accessory`: Includes balls, grips, and protective gear.
|
|
59
|
+
|
|
60
|
+
- `brand`: The manufacturer of a product (e.g., Head, Babolat, Nox).
|
|
61
|
+
|
|
62
|
+
- **Commerce & Engagement:**
|
|
63
|
+
|
|
64
|
+
- `order`: A record of a customer's purchase, containing items, shipping details, and payment status.
|
|
65
|
+
|
|
66
|
+
- `shopping_cart`: A temporary container for items a customer intends to buy.
|
|
67
|
+
|
|
68
|
+
- `customer_review`: Feedback and ratings provided by a customer for a specific product.
|
|
69
|
+
|
|
70
|
+
- `guide`: An informational resource, like the "Racket Buying Guide."
|
|
71
|
+
|
|
72
|
+
- `quiz_result`: The personalized racket recommendation generated for a customer after they complete the quiz.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
#### 4. Connections
|
|
76
|
+
|
|
77
|
+
These are the relationships that describe how the "Things" interact with each other and with "People."
|
|
78
|
+
|
|
79
|
+
- `customer` **places** `order`.
|
|
80
|
+
|
|
81
|
+
- `order` **contains** `product_racket` (and other products).
|
|
82
|
+
|
|
83
|
+
- `product_racket` is **manufactured_by** `brand`.
|
|
84
|
+
|
|
85
|
+
- `customer` **writes** `customer_review`.
|
|
86
|
+
|
|
87
|
+
- `customer_review` **is_about** `product_racket`.
|
|
88
|
+
|
|
89
|
+
- `customer` **receives** `quiz_result`.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
#### 5. Events
|
|
93
|
+
|
|
94
|
+
These are the time-stamped actions that occur within the system, providing a complete audit trail.
|
|
95
|
+
|
|
96
|
+
- **User & Discovery Events:**
|
|
97
|
+
|
|
98
|
+
- `user_registered`: A customer creates an account on the site.
|
|
99
|
+
|
|
100
|
+
- `product_viewed`: A user views the details of a specific item.
|
|
101
|
+
|
|
102
|
+
- `quiz_completed`: A user submits their answers to the racket finder quiz.
|
|
103
|
+
|
|
104
|
+
- **Commerce Events:**
|
|
105
|
+
|
|
106
|
+
- `product_added_to_cart`: An item is added to the shopping cart.
|
|
107
|
+
|
|
108
|
+
- `order_placed`: A customer successfully completes the checkout process.
|
|
109
|
+
|
|
110
|
+
- `payment_event`: The payment is successfully processed.
|
|
111
|
+
|
|
112
|
+
- `order_shipped`: The order has been dispatched from the warehouse.
|
|
113
|
+
|
|
114
|
+
- **Post-Purchase Events:**
|
|
115
|
+
|
|
116
|
+
- `review_submitted`: A customer posts a new product review.
|
|
117
|
+
|
|
118
|
+
- `customer_support_request`: A customer contacts support via WhatsApp.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
#### 6. Knowledge
|
|
122
|
+
|
|
123
|
+
This dimension provides the metadata, tags, and semantic meaning that make the data searchable, filterable, and intelligent.
|
|
124
|
+
|
|
125
|
+
- **Product Attributes:**
|
|
126
|
+
|
|
127
|
+
- `skill_level`: `beginner`, `intermediate`, `advanced`.
|
|
128
|
+
|
|
129
|
+
- `racket_style`: `control`, `balanced`, `power`.
|
|
130
|
+
|
|
131
|
+
- `product_category`: `rackets`, `bags`, `apparel`.
|
|
132
|
+
|
|
133
|
+
- **Operational Statuses:**
|
|
134
|
+
|
|
135
|
+
- `order_status`: `pending`, `processing`, `shipped`, `delivered`, `cancelled`.
|
|
136
|
+
|
|
137
|
+
- `stock_status`: `in_stock`, `out_of_stock`, `pre_order`.
|
|
138
|
+
|
|
139
|
+
- **Taxonomy:**
|
|
140
|
+
|
|
141
|
+
- `brand_name`: `adidas`, `bullpadel`, `head`, `nox`.
|
|
142
|
+
|
|
143
|
+
- `gender`: `men`, `women`, `junior`.
|