-
Notifications
You must be signed in to change notification settings - Fork 0
/
soko-erd.drawio
673 lines (673 loc) · 83.2 KB
/
soko-erd.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
<mxfile host="app.diagrams.net" modified="2021-09-10T14:50:01.944Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" etag="jyai6amktO73yBsPRG1q" version="15.1.4" type="github">
<diagram id="p4hcM83d8j11S7aXxWR0" name="Page-1">
<mxGraphModel dx="2646" dy="2846" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="9piP-qMQjMW-x3T_Rdiz-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;endArrow=ERzeroToMany;endFill=1;" parent="1" source="49kWa-taQujCRStD-I59-1" target="A97aOiuL6e9JtIXtelht-17" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-1" value="Product::Variant" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="730" y="-830" width="460" height="754" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-2" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="26" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-3" value="product_id (FK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="52" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-4" value="title (string) e.g "A Promised Land", "Gordon the Giant Sloth"" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="78" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="xNZ4ATSNOMt5Z4T5nZos-5" value="subtitle (string) e.g "by Barack Obama", "This sleepy sloth is anything but a yawn."" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="104" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-5" value="description (rich text powered by Action Text)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="130" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="xNZ4ATSNOMt5Z4T5nZos-7" value="details ? (rich text powered by Action Text)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="156" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-7" value="sku (string) : stock keeping unit" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="182" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-10" value="variant_type (enum): A variant can either be physical or digital e.g A 
book may have an format option type with values as 
HardCover, PaperBack and Audio Book. The Audio Book variant has a
digital variant_type. " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="208" width="460" height="64" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-8" value="master (boolean): A master variant serves a template that other 
variants are based on." style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="272" width="460" height="38" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-6" value="search_tags (text:array) : searchable keywords associated with the variant." style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="310" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-9" value="care_tags (text:array)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="336" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-11" value="visible_on_storefront (boolean)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="362" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-1" value="track_inventory (boolean)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="388" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-12" value="backorderable (boolean): The sales are so great you start struggling to keep up 
with the demand. How do you address this? Obviously, you can’t just stop selling – 
that would drive your customers straight into the arms of a competitor. 
This is where you introduce back orders! Allowing to backorder means giving your 
customers an option to still purchase your products even when you don’t have 
enough in stock – creating backordered items." style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="414" width="460" height="96" as="geometry" />
</mxCell>
<mxCell id="xNZ4ATSNOMt5Z4T5nZos-3" value="giftable (boolean) : default to true" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="510" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-13" value="images (activestorage) " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="536" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="xNZ4ATSNOMt5Z4T5nZos-4" value="downloads (activestorage) : Variants of digital variant_type should 
have downloads. Physical products may also have digital attachments i.e
Michelle Obama Autobiography (with audio file)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="562" width="460" height="62" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-28" value="weight (float)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="624" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-21" value="weight_unit (enum) : Options include g, kg, lb, oz" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="650" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-4" value="inventory_multiplier (float) : inventory reduction per quantity sold" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="676" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-5" value="inventory_multiplier_unit (enum) : Options include pcs, g, kg, lb, oz
 " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="702" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-20" value="data (jsonb)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-1" vertex="1">
<mxGeometry y="728" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="9piP-qMQjMW-x3T_Rdiz-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.48;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERoneToMany;endFill=0;" parent="1" source="49kWa-taQujCRStD-I59-14" target="RL_wMTlk4jhRtlJ_5OAq-20" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="951" y="-60" />
<mxPoint x="951" y="-60" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="9piP-qMQjMW-x3T_Rdiz-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.425;entryY=0.964;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERzeroToMany;endFill=1;" parent="1" source="49kWa-taQujCRStD-I59-14" target="IhNO1zzbE4TS1bx1REmc-3" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1399" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=-0.003;entryY=0.762;entryDx=0;entryDy=0;endArrow=ERzeroToMany;endFill=1;entryPerimeter=0;" parent="1" source="49kWa-taQujCRStD-I59-14" target="IhNO1zzbE4TS1bx1REmc-39" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1270" />
<mxPoint x="1270" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-14" value="Product" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="730" y="-34" width="460" height="226" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-15" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-14" vertex="1">
<mxGeometry y="26" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="xNZ4ATSNOMt5Z4T5nZos-2" value="product_type (enum) : Options include standard, gift_card" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-14" vertex="1">
<mxGeometry y="52" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-20" value="status (enum): Options include "drafted", "published", "archived". Explanation: We
can save new products as a draft and work on them iteratively until they’re complete 
and ready to be made available to selected sales channels with a published status. 
We, also archive products we're no longer selling to keep your product list
organised and free of clutter, while retaining all product information." style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="49kWa-taQujCRStD-I59-14" vertex="1">
<mxGeometry y="78" width="460" height="82" as="geometry" />
</mxCell>
<mxCell id="TjSfER7dUz7gS5TxNhZZ-3" value="brand_id (FK- optional) : Brand is product level since it remains the same across 
all variants.
 " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-14" vertex="1">
<mxGeometry y="160" width="460" height="40" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-27" value="data (jsonb)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-14" vertex="1">
<mxGeometry y="200" width="460" height="26" as="geometry" />
</mxCell>
<mxCell id="9piP-qMQjMW-x3T_Rdiz-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERoneToMany;endFill=0;" parent="1" source="49kWa-taQujCRStD-I59-29" target="IhNO1zzbE4TS1bx1REmc-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-29" value="Product::Option" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="1280" y="-600" width="280" height="192" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-30" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-29" vertex="1">
<mxGeometry y="26" width="280" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-33" value="product_id (FK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="49kWa-taQujCRStD-I59-29" vertex="1">
<mxGeometry y="52" width="280" height="26" as="geometry" />
</mxCell>
<mxCell id="49kWa-taQujCRStD-I59-31" value="name (string) e.g (Format: HardCover, PaperBack)
(Condition: New, Used, Refurbished)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="49kWa-taQujCRStD-I59-29" vertex="1">
<mxGeometry y="78" width="280" height="42" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-19" value="description (text) : This acts as a help text for the 
customer" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="49kWa-taQujCRStD-I59-29" vertex="1">
<mxGeometry y="120" width="280" height="44" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-3" value="position (integer)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="49kWa-taQujCRStD-I59-29" vertex="1">
<mxGeometry y="164" width="280" height="28" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.498;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERzeroToMany;endFill=1;" parent="1" source="-MTvJyrtgdokTE8N0LGK-1" target="klfT1imaq3ajDBt7HlX_-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-1" value="Location " style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="120" y="120" width="440" height="270" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-2" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-1" vertex="1">
<mxGeometry y="26" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-2" value="name (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-1" vertex="1">
<mxGeometry y="52" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-3" value="pickup_instructions (rich text powered by ActionText) : You can detail open
business hours for Location::LocalPickup (nil if local_pickup is false)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-1" vertex="1">
<mxGeometry y="78" width="440" height="42" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-10" value="inventory (boolean) : when true then the store staff can stock 
inventory and fulfil orders" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-1" vertex="1">
<mxGeometry y="120" width="440" height="42" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-20" value="local_pickup (boolean) : does the location offer local pickup" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-1" vertex="1">
<mxGeometry y="162" width="440" height="28" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-11" value="default (boolean) : Think of it as main depot/warehouse or main retail store " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-1" vertex="1">
<mxGeometry y="190" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-4" value="fulfillment_priority (integer) : For Location::Inventory, when orders are placed 
through any online sales channel, they are assigned to a location where they 
should be fulfilled from based on the priority list and available inventory. " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-1" vertex="1">
<mxGeometry y="216" width="440" height="54" as="geometry" />
</mxCell>
<mxCell id="9piP-qMQjMW-x3T_Rdiz-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;endArrow=ERoneToMany;endFill=0;" parent="1" source="-MTvJyrtgdokTE8N0LGK-5" target="A97aOiuL6e9JtIXtelht-17" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-5" value="Product::OptionValue" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="1280" y="-800" width="280" height="134" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-6" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-5" vertex="1">
<mxGeometry y="26" width="280" height="26" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-7" value="product_option_id (FK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="-MTvJyrtgdokTE8N0LGK-5" vertex="1">
<mxGeometry y="52" width="280" height="26" as="geometry" />
</mxCell>
<mxCell id="-MTvJyrtgdokTE8N0LGK-8" value="value (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="-MTvJyrtgdokTE8N0LGK-5" vertex="1">
<mxGeometry y="78" width="280" height="28" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-1" value="position (integer)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="-MTvJyrtgdokTE8N0LGK-5" vertex="1">
<mxGeometry y="106" width="280" height="28" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;endArrow=ERmandOne;endFill=0;" parent="1" source="A97aOiuL6e9JtIXtelht-1" target="NdFbpm1k1_LlCCe0Vx4J-2" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1380" y="449" />
<mxPoint x="1380" y="449" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=ERoneToMany;endFill=0;" parent="1" source="A97aOiuL6e9JtIXtelht-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1585" y="40" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-1" value="Collection (could be an STI based on collection_type)" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="1400" y="300" width="370" height="222" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-2" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-1" vertex="1">
<mxGeometry y="26" width="370" height="26" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-3" value="name (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-1" vertex="1">
<mxGeometry y="52" width="370" height="26" as="geometry" />
</mxCell>
<mxCell id="TjSfER7dUz7gS5TxNhZZ-1" value="status (enum) : Options include "drafted", "published",
"archived"" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-1" vertex="1">
<mxGeometry y="78" width="370" height="42" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-4" value="description (rich text powered by Action Text): " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-1" vertex="1">
<mxGeometry y="120" width="370" height="32" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-5" value="background_image (activestorage) : optional" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-1" vertex="1">
<mxGeometry y="152" width="370" height="26" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-6" value="collection_type (enum) : Options include "manual", 
"automated"" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-1" vertex="1">
<mxGeometry y="178" width="370" height="44" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-7" value="Navigation::MenuItem (polymorphic)" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="1915" y="180" width="420" height="328" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-8" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-7" vertex="1">
<mxGeometry y="26" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-13" value="navigation_menu_itemable_id (bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-7" vertex="1">
<mxGeometry y="52" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-14" value="navigation_menu_itemable_type (string): could be "Collection" or a 
"Page (future)"" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-7" vertex="1">
<mxGeometry y="78" width="420" height="42" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-9" value="name (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-7" vertex="1">
<mxGeometry y="120" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-12" value="path (string) : uses path enumeration/materialized paths on the ids e.g 1/2/3 
would mean the current menu item is a child of menu item with id 2 and 
menu item 2 is a child of menu item with id 1. Basically this stores its entire 
ancestral path, from the root node, down to the node itself " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-7" vertex="1">
<mxGeometry y="146" width="420" height="70" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-42" value="url (text) : The URL of the page that the navigation item links to. This
is optional and when not provided, the url is constructed based on
the navigation_menu_itemable_type." style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-7" vertex="1">
<mxGeometry y="216" width="420" height="60" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-43" value="sibling_position (integer)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-7" vertex="1">
<mxGeometry y="276" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="TjSfER7dUz7gS5TxNhZZ-2" value="visible (boolean)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-7" vertex="1">
<mxGeometry y="302" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-15" value="Product::OptionValueVariant" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="1080" y="-990" width="280" height="106" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-16" value="id (PK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-15" vertex="1">
<mxGeometry y="26" width="280" height="26" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-17" value="product_variant (FK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="A97aOiuL6e9JtIXtelht-15" vertex="1">
<mxGeometry y="52" width="280" height="26" as="geometry" />
</mxCell>
<mxCell id="A97aOiuL6e9JtIXtelht-18" value="product_option_value_id (FK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="A97aOiuL6e9JtIXtelht-15" vertex="1">
<mxGeometry y="78" width="280" height="28" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-2" value="Customer::Price (polymorphic)" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="110" y="-1270" width="450" height="428" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-3" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="26" width="450" height="26" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-4" value="customer_priceable_id (FK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="52" width="450" height="26" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-8" value="customer_priceable_type (string) : "Product::Variant" or "ProductBundle" 
or "Product::Variant::PersonalizationField"" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="78" width="450" height="42" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-5" value="price_type (enum) : Options include "basic", "volume" and "tiered" - potentially STI" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="120" width="450" height="26" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-6" value="minimum_order_quantity (integer) : customers need to order enough to 
apply this price list. The minimum quantity for which this Customer::Price 
applies. If there is a Customer::Price with higher starting quantity that still 
applies to this." style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="146" width="450" height="70" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-9" value="increment_order_quantity (integer) : purchase in multiples of x" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="216" width="450" height="26" as="geometry" />
</mxCell>
<mxCell id="xNZ4ATSNOMt5Z4T5nZos-1" value="display_price (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="242" width="450" height="26" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-7" value="price_cents (integer)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="268" width="450" height="26" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-10" value="price_currency (string) : Used by both price_cents and compare_at_price_cents" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="294" width="450" height="26" as="geometry" />
</mxCell>
<mxCell id="TjSfER7dUz7gS5TxNhZZ-11" value="compare_at_price_cents (integer)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="320" width="450" height="26" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-3" value="default (boolean): For each variant there is one default customer price e.g for 
guests" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="346" width="450" height="44" as="geometry" />
</mxCell>
<mxCell id="5EAPZrsPtRcHzYcJFA_N-11" value="customer_type (? future - enum) : value should be retrieved from the
customer_types enum " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="5EAPZrsPtRcHzYcJFA_N-2" vertex="1">
<mxGeometry y="390" width="450" height="38" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1.005;entryY=-0.077;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERzeroToMany;endFill=1;" parent="1" source="IhNO1zzbE4TS1bx1REmc-4" target="IhNO1zzbE4TS1bx1REmc-14" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="90" y="-630" />
<mxPoint x="90" y="-630" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-4" value="Product::Variant::PersonalizationField (sti)" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="120" y="-800" width="440" height="330" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-5" value="id (PK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="26" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-11" value="product_variant_id (FK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="52" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-6" value="label (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="78" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-7" value="help_text (text) : Text that appears as a sub-heading to the field label or 
as a tooltip, but doesn’t appear in the field entry area. " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="104" width="440" height="36" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-9" value="placeholder (string) : Text in the field entry area that isn’t submitted if the field 
is left untouched by the user. Applies to text_field, text_area" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="140" width="440" height="40" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-31" value="options (text: array) : Applies to select_field, multi_select_field" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="180" width="440" height="30" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-8" value="required (boolean) : Whether or not this modifier field should be filled in 
before adding variant to cart
" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="210" width="440" height="40" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-10" value="field_type (enum) : Options include "text_field", "text_area", "number_field", 
"date_field", "file_field", "select_field", "multi_select_field"" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="250" width="440" height="40" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-35" value="position (integer) : The order the personalization fields display on the 
product detail page.
" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-4" vertex="1">
<mxGeometry y="290" width="440" height="40" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-12" value="Product::Variant::PersonalizationFieldValue" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="-420" y="-680" width="420" height="164" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-13" value="id (PK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-12" vertex="1">
<mxGeometry y="26" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-14" value="product_variant_personalization_field_id (FK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-12" vertex="1">
<mxGeometry y="52" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-15" value="sales_order_line_item_id (FK) : FUTURE, ONCE WE ADD ORDER 
FULFILLMENT RELATED MODELS" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-12" vertex="1">
<mxGeometry y="78" width="420" height="42" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-16" value="value (jsonb)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-12" vertex="1">
<mxGeometry y="120" width="420" height="22" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-8" value="files (activestorage)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-12" vertex="1">
<mxGeometry y="142" width="420" height="22" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.498;entryY=1.038;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERzeroToMany;endFill=1;" parent="1" source="IhNO1zzbE4TS1bx1REmc-26" target="klfT1imaq3ajDBt7HlX_-15" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-26" value="Product::Inventory" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="120" y="-190" width="440" height="252" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-27" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-26" vertex="1">
<mxGeometry y="26" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-28" value="location_id (FK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-26" vertex="1">
<mxGeometry y="52" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-29" value="quantity_on_hand (float) :number of units (pcs or g or kg or lb or oz) in 
inventory location (UPDATED IN LOCK) " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-26" vertex="1">
<mxGeometry y="78" width="440" height="42" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-30" value="quantity_reserved (float) : number of units (pcs or g or kg or lb or oz)
 committed to order that are not fulfilled (UPDATED IN LOCK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-26" vertex="1">
<mxGeometry y="120" width="440" height="40" as="geometry" />
</mxCell>
<mxCell id="JafjkQ3NCWFQFSb00nGx-1" value="low_stock_threshold (float) : This helps in notifying the merchant team any 
time a product falls below a specified stock level." style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-26" vertex="1">
<mxGeometry y="160" width="440" height="40" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-15" value="stocking_unit (enum): Options include pcs, g, kg, lb, oz, future (l, ml)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-26" vertex="1">
<mxGeometry y="200" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-1" value="expires_on (date) : nil indicates NEVER EXPIRES" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-26" vertex="1">
<mxGeometry y="226" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-36" value="Collection::Item (polymorphic)" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="1510" y="-110" width="300" height="146" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-37" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-36" vertex="1">
<mxGeometry y="26" width="300" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-38" value="collection_itemable_id (bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-36" vertex="1">
<mxGeometry y="52" width="300" height="26" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-39" value="collection_itemable_type (string) : "Product" or 
"Product::Variant" or "ProductBundle"" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-36" vertex="1">
<mxGeometry y="78" width="300" height="42" as="geometry" />
</mxCell>
<mxCell id="IhNO1zzbE4TS1bx1REmc-40" value="collection_id (FK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="IhNO1zzbE4TS1bx1REmc-36" vertex="1">
<mxGeometry y="120" width="300" height="26" as="geometry" />
</mxCell>
<mxCell id="NdFbpm1k1_LlCCe0Vx4J-1" value="SearchEngineOptimization::Listing (polymorphic)" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="400" y="410" width="400" height="172" as="geometry" />
</mxCell>
<mxCell id="NdFbpm1k1_LlCCe0Vx4J-2" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="NdFbpm1k1_LlCCe0Vx4J-1" vertex="1">
<mxGeometry y="26" width="400" height="26" as="geometry" />
</mxCell>
<mxCell id="NdFbpm1k1_LlCCe0Vx4J-3" value="search_engine_optimization_listable_id (bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="NdFbpm1k1_LlCCe0Vx4J-1" vertex="1">
<mxGeometry y="52" width="400" height="28" as="geometry" />
</mxCell>
<mxCell id="NdFbpm1k1_LlCCe0Vx4J-4" value="search_engine_optimization_listable_type (string) : e.g Product::Variant, 
Collection " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="NdFbpm1k1_LlCCe0Vx4J-1" vertex="1">
<mxGeometry y="80" width="400" height="40" as="geometry" />
</mxCell>
<mxCell id="NdFbpm1k1_LlCCe0Vx4J-5" value="meta_title (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="NdFbpm1k1_LlCCe0Vx4J-1" vertex="1">
<mxGeometry y="120" width="400" height="26" as="geometry" />
</mxCell>
<mxCell id="NdFbpm1k1_LlCCe0Vx4J-6" value="meta_description (text)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="NdFbpm1k1_LlCCe0Vx4J-1" vertex="1">
<mxGeometry y="146" width="400" height="26" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-14" value="Enumerations" style="shape=table;html=1;whiteSpace=wrap;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fontStyle=1;align=center;" parent="1" vertex="1">
<mxGeometry x="-850" y="-1100" width="320" height="610" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-15" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="30" width="320" height="50" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-16" value="1." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-15" vertex="1">
<mxGeometry width="53" height="50" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-17" value="collection_type" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-15" vertex="1">
<mxGeometry x="53" width="125" height="50" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-18" value="• manual<br>• automated" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-15" vertex="1">
<mxGeometry x="178" width="142" height="50" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-22" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="80" width="320" height="50" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-23" value="2." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="RL_wMTlk4jhRtlJ_5OAq-22" vertex="1">
<mxGeometry width="53" height="50" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-24" value="collection_status" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="RL_wMTlk4jhRtlJ_5OAq-22" vertex="1">
<mxGeometry x="53" width="125" height="50" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-25" value="<span>• drafted</span><br><span>• published</span><br><span>• archived</span>" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="RL_wMTlk4jhRtlJ_5OAq-22" vertex="1">
<mxGeometry x="178" width="142" height="50" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-19" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="130" width="320" height="63" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-20" value="3." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-19" vertex="1">
<mxGeometry width="53" height="63" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-21" value="product_status" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-19" vertex="1">
<mxGeometry x="53" width="125" height="63" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-22" value="• drafted<br>• published<br>• archived" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-19" vertex="1">
<mxGeometry x="178" width="142" height="63" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-23" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="193" width="320" height="49" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-24" value="4." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-23" vertex="1">
<mxGeometry width="53" height="49" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-25" value="product_type" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-23" vertex="1">
<mxGeometry x="53" width="125" height="49" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-26" value="• standard<br>• gift_card" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-23" vertex="1">
<mxGeometry x="178" width="142" height="49" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-31" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="242" width="320" height="48" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-32" value="5." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-31" vertex="1">
<mxGeometry width="53" height="48" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-33" value="product_variant_type" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-31" vertex="1">
<mxGeometry x="53" width="125" height="48" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-34" value="• physical (default)<br>• digital" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-31" vertex="1">
<mxGeometry x="178" width="142" height="48" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-26" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="290" width="320" height="70" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-27" value="6." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="RL_wMTlk4jhRtlJ_5OAq-26" vertex="1">
<mxGeometry width="53" height="70" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-28" value="weight_unit" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="RL_wMTlk4jhRtlJ_5OAq-26" vertex="1">
<mxGeometry x="53" width="125" height="70" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-29" value="• g<br>• kg<br>• lb<br>• oz" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="RL_wMTlk4jhRtlJ_5OAq-26" vertex="1">
<mxGeometry x="178" width="142" height="70" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-35" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="360" width="320" height="110" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-36" value="7." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-35" vertex="1">
<mxGeometry width="53" height="110" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-37" value="field_type" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-35" vertex="1">
<mxGeometry x="53" width="125" height="110" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-38" value="• text_field<br>• text_area<br>• number_field<br>• date_field<br>• file_field<br>• select_field<br>• multi_select_field" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-35" vertex="1">
<mxGeometry x="178" width="142" height="110" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-39" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="470" width="320" height="70" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-40" value="8." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-39" vertex="1">
<mxGeometry width="53" height="70" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-41" value="price_type" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-39" vertex="1">
<mxGeometry x="53" width="125" height="70" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-42" value="• basic<br>• volume<br>• tiered" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-39" vertex="1">
<mxGeometry x="178" width="142" height="70" as="geometry" />
</mxCell>
<mxCell id="9piP-qMQjMW-x3T_Rdiz-1" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-14" vertex="1">
<mxGeometry y="540" width="320" height="70" as="geometry" />
</mxCell>
<mxCell id="9piP-qMQjMW-x3T_Rdiz-2" value="9." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="9piP-qMQjMW-x3T_Rdiz-1" vertex="1">
<mxGeometry width="53" height="70" as="geometry" />
</mxCell>
<mxCell id="9piP-qMQjMW-x3T_Rdiz-3" value="customer_types" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="9piP-qMQjMW-x3T_Rdiz-1" vertex="1">
<mxGeometry x="53" width="125" height="70" as="geometry" />
</mxCell>
<mxCell id="9piP-qMQjMW-x3T_Rdiz-4" value="• consumer<br>• retailer" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="9piP-qMQjMW-x3T_Rdiz-1" vertex="1">
<mxGeometry x="178" width="142" height="70" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-43" value="Sequences" style="shape=table;html=1;whiteSpace=wrap;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fontStyle=1;align=center;" parent="1" vertex="1">
<mxGeometry x="-1280" y="-1100" width="290" height="80" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-44" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="93qC_zg4oYfhFcOvwt_j-43" vertex="1">
<mxGeometry y="30" width="290" height="50" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-45" value="1." style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-44" vertex="1">
<mxGeometry width="48" height="50" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-46" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-44" vertex="1">
<mxGeometry x="48" width="113" height="50" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-47" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="93qC_zg4oYfhFcOvwt_j-44" vertex="1">
<mxGeometry x="161" width="129" height="50" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-72" value="Event (polymorphic) " style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="1600" y="-1100" width="420" height="284" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-73" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="26" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-75" value="eventable_id (FK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="52" width="420" height="28" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-76" value="eventable_type (string) : Model names e.g Product" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="80" width="420" height="28" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-74" value="name (string) : " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="108" width="420" height="26" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-78" value="creator_id (FK) : Optional when creator_type is System " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="134" width="420" height="28" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-79" value="creator_type (string): "Customer", "MerchantTeam::Member", "Supplier", 
"System"" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="162" width="420" height="38" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-80" value="data (jsonb) : eventable payload" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="200" width="420" height="28" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-19" value="request_details (jsonb) : { request_id:, user_agent:, ip_address: }" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="228" width="420" height="28" as="geometry" />
</mxCell>
<mxCell id="93qC_zg4oYfhFcOvwt_j-81" value="metadata (jsonb)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="93qC_zg4oYfhFcOvwt_j-72" vertex="1">
<mxGeometry y="256" width="420" height="28" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.674;entryY=1.038;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERzeroToMany;endFill=1;" parent="1" source="TjSfER7dUz7gS5TxNhZZ-4" target="49kWa-taQujCRStD-I59-27" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1040" y="290" />
<mxPoint x="1040" y="290" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="TjSfER7dUz7gS5TxNhZZ-4" value="Brand" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="900" y="320" width="310" height="110" as="geometry" />
</mxCell>
<mxCell id="TjSfER7dUz7gS5TxNhZZ-5" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="TjSfER7dUz7gS5TxNhZZ-4" vertex="1">
<mxGeometry y="26" width="310" height="26" as="geometry" />
</mxCell>
<mxCell id="TjSfER7dUz7gS5TxNhZZ-6" value="name (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="TjSfER7dUz7gS5TxNhZZ-4" vertex="1">
<mxGeometry y="52" width="310" height="26" as="geometry" />
</mxCell>
<mxCell id="TjSfER7dUz7gS5TxNhZZ-8" value="description (rich text powered by Action Text - optional) " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="TjSfER7dUz7gS5TxNhZZ-4" vertex="1">
<mxGeometry y="78" width="310" height="32" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-1" value="ActiveStorageBlob (provided by Rails ActiveStorage - stores 
all the details of the file) " style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#b85450;fillColor=#f8cecc;" parent="1" vertex="1">
<mxGeometry x="2160" y="-1020" width="440" height="228" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-2" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="cO2tETcKRf7dVT8c7hpW-1" vertex="1">
<mxGeometry y="40" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-3" value="key (string) : encoded value that points to the file in the Active Storage service." style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="cO2tETcKRf7dVT8c7hpW-1" vertex="1">
<mxGeometry y="66" width="440" height="28" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-5" value="filename (string) : " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="cO2tETcKRf7dVT8c7hpW-1" vertex="1">
<mxGeometry y="94" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-10" value="content_type (string) : " style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="cO2tETcKRf7dVT8c7hpW-1" vertex="1">
<mxGeometry y="120" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-11" value="metadata (text) :" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="cO2tETcKRf7dVT8c7hpW-1" vertex="1">
<mxGeometry y="146" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-8" value="service_name (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="cO2tETcKRf7dVT8c7hpW-1" vertex="1">
<mxGeometry y="172" width="440" height="28" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-9" value="checksum (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="cO2tETcKRf7dVT8c7hpW-1" vertex="1">
<mxGeometry y="200" width="440" height="28" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-12" value="ActiveStorageAttachment (polymorphic: provided by Rails 
ActiveStorage ) " style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#b85450;fillColor=#f8cecc;" parent="1" vertex="1">
<mxGeometry x="2160" y="-680" width="440" height="172" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-13" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="cO2tETcKRf7dVT8c7hpW-12" vertex="1">
<mxGeometry y="40" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-15" value="active_storage_blob_id (FK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="cO2tETcKRf7dVT8c7hpW-12" vertex="1">
<mxGeometry y="66" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-16" value="record_id (FK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="cO2tETcKRf7dVT8c7hpW-12" vertex="1">
<mxGeometry y="92" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-17" value="record_type (string)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="cO2tETcKRf7dVT8c7hpW-12" vertex="1">
<mxGeometry y="118" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="cO2tETcKRf7dVT8c7hpW-19" value="position (integer) : Custom column added to track sort order in certain models" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;fontStyle=0" parent="cO2tETcKRf7dVT8c7hpW-12" vertex="1">
<mxGeometry y="144" width="440" height="28" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;endArrow=ERoneToMany;endFill=0;" parent="1" source="49kWa-taQujCRStD-I59-10" target="5EAPZrsPtRcHzYcJFA_N-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.525;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERmandOne;endFill=0;" parent="1" source="xNZ4ATSNOMt5Z4T5nZos-4" target="NdFbpm1k1_LlCCe0Vx4J-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RL_wMTlk4jhRtlJ_5OAq-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=-0.005;entryY=0.05;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERzeroToMany;endFill=1;" parent="1" source="TjSfER7dUz7gS5TxNhZZ-1" target="IhNO1zzbE4TS1bx1REmc-42" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1.002;entryY=0.1;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=ERzeroToMany;endFill=1;" parent="1" source="49kWa-taQujCRStD-I59-6" target="IhNO1zzbE4TS1bx1REmc-9" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="620" y="-507" />
<mxPoint x="620" y="-656" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-7" value="Product::VariantInventory" style="swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;strokeColor=#9673a6;fillColor=#FFE599;" parent="1" vertex="1">
<mxGeometry x="120" y="-390" width="440" height="104" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-8" value="id (PK)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="klfT1imaq3ajDBt7HlX_-7" vertex="1">
<mxGeometry y="26" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-9" value="product_variant_id (FK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="klfT1imaq3ajDBt7HlX_-7" vertex="1">
<mxGeometry y="52" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-15" value="product_inventory_id (FK, bigint)" style="text;strokeColor=#000000;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" parent="klfT1imaq3ajDBt7HlX_-7" vertex="1">
<mxGeometry y="78" width="440" height="26" as="geometry" />
</mxCell>
<mxCell id="klfT1imaq3ajDBt7HlX_-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=ERzeroToMany;endFill=1;" parent="1" source="49kWa-taQujCRStD-I59-12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="560" y="-350" as="targetPoint" />
<Array as="points">
<mxPoint x="690" y="-350" />
<mxPoint x="690" y="-350" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>