@radicaltools/mcp 0.1.1 → 0.3.0

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.
Files changed (161) hide show
  1. package/README.md +52 -26
  2. package/dist/chunk-Z7THA3L5.js +3200 -0
  3. package/dist/elkLayout-TAUBPPVN.js +8 -0
  4. package/dist/hub-catalogue/concern/concern-api-evolution.radical +935 -0
  5. package/dist/hub-catalogue/concern/concern-architecture-style.radical +1112 -0
  6. package/dist/hub-catalogue/concern/concern-authentication.radical +685 -0
  7. package/dist/hub-catalogue/concern/concern-authorization.radical +1464 -0
  8. package/dist/hub-catalogue/concern/concern-availability.radical +804 -0
  9. package/dist/hub-catalogue/concern/concern-backend-stack.radical +1118 -0
  10. package/dist/hub-catalogue/concern/concern-backup-recovery.radical +1304 -0
  11. package/dist/hub-catalogue/concern/concern-capacity.radical +802 -0
  12. package/dist/hub-catalogue/concern/concern-communication-style.radical +1202 -0
  13. package/dist/hub-catalogue/concern/concern-data-consistency.radical +1081 -0
  14. package/dist/hub-catalogue/concern/concern-data-store.radical +960 -0
  15. package/dist/hub-catalogue/concern/concern-decomposition.radical +1143 -0
  16. package/dist/hub-catalogue/concern/concern-deployment.radical +952 -0
  17. package/dist/hub-catalogue/concern/concern-encryption.radical +1055 -0
  18. package/dist/hub-catalogue/concern/concern-frontend-stack.radical +1340 -0
  19. package/dist/hub-catalogue/concern/concern-infrastructure.radical +1151 -0
  20. package/dist/hub-catalogue/concern/concern-integration-resilience.radical +1079 -0
  21. package/dist/hub-catalogue/concern/concern-messaging.radical +940 -0
  22. package/dist/hub-catalogue/concern/concern-module-boundaries.radical +864 -0
  23. package/dist/hub-catalogue/concern/concern-observability.radical +1048 -0
  24. package/dist/hub-catalogue/concern/concern-personal-data.radical +1434 -0
  25. package/dist/hub-catalogue/concern/concern-rate-limiting.radical +1153 -0
  26. package/dist/hub-catalogue/concern/concern-secrets.radical +1026 -0
  27. package/dist/hub-catalogue/concern/concern-supply-chain.radical +1312 -0
  28. package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +1306 -0
  29. package/dist/hub-catalogue/concern/concern-test-strategy.radical +1193 -0
  30. package/dist/index.js +22690 -6064
  31. package/package.json +1 -1
  32. package/dist/chunk-KI4NVSTU.js +0 -1763
  33. package/dist/elkLayout-WC6AXWOG.js +0 -185
  34. package/dist/hub-catalogue/adr/adr-api-versioning.radical +0 -53
  35. package/dist/hub-catalogue/adr/adr-auth-strategy.radical +0 -53
  36. package/dist/hub-catalogue/adr/adr-caching-strategy.radical +0 -59
  37. package/dist/hub-catalogue/adr/adr-data-consistency-model.radical +0 -40
  38. package/dist/hub-catalogue/adr/adr-data-store.radical +0 -47
  39. package/dist/hub-catalogue/adr/adr-deployment-strategy.radical +0 -53
  40. package/dist/hub-catalogue/adr/adr-event-schema-evolution.radical +0 -53
  41. package/dist/hub-catalogue/adr/adr-integration-style.radical +0 -50
  42. package/dist/hub-catalogue/adr/adr-ledger-reconciliation-strategy.radical +0 -38
  43. package/dist/hub-catalogue/adr/adr-llm-provider-strategy.radical +0 -40
  44. package/dist/hub-catalogue/adr/adr-marketplace-payments-model.radical +0 -39
  45. package/dist/hub-catalogue/adr/adr-multi-region.radical +0 -60
  46. package/dist/hub-catalogue/adr/adr-multi-tenancy-strategy.radical +0 -41
  47. package/dist/hub-catalogue/adr/adr-observability.radical +0 -59
  48. package/dist/hub-catalogue/adr/adr-realtime-transport.radical +0 -38
  49. package/dist/hub-catalogue/adr/adr-tech-stack.radical +0 -45
  50. package/dist/hub-catalogue/adr/adr-zero-trust-network.radical +0 -40
  51. package/dist/hub-catalogue/blueprint/bp-ai-assistant-platform.radical +0 -1641
  52. package/dist/hub-catalogue/blueprint/bp-analytical-data-platform.radical +0 -1428
  53. package/dist/hub-catalogue/blueprint/bp-ecommerce-platform.radical +0 -1989
  54. package/dist/hub-catalogue/blueprint/bp-fintech-ledger-platform.radical +0 -1701
  55. package/dist/hub-catalogue/blueprint/bp-marketplace-platform.radical +0 -1792
  56. package/dist/hub-catalogue/blueprint/bp-realtime-collaboration.radical +0 -1421
  57. package/dist/hub-catalogue/blueprint/bp-saas-b2b-platform.radical +0 -1713
  58. package/dist/hub-catalogue/fitness-function/ff-accessibility-scan.radical +0 -34
  59. package/dist/hub-catalogue/fitness-function/ff-ai-eval-gate.radical +0 -52
  60. package/dist/hub-catalogue/fitness-function/ff-api-contract.radical +0 -36
  61. package/dist/hub-catalogue/fitness-function/ff-capacity-load-test.radical +0 -67
  62. package/dist/hub-catalogue/fitness-function/ff-carbon-footprint-guard.radical +0 -62
  63. package/dist/hub-catalogue/fitness-function/ff-change-failure-rate.radical +0 -45
  64. package/dist/hub-catalogue/fitness-function/ff-chaos-resilience-test.radical +0 -53
  65. package/dist/hub-catalogue/fitness-function/ff-cost-efficiency-guard.radical +0 -64
  66. package/dist/hub-catalogue/fitness-function/ff-coupling-guard.radical +0 -45
  67. package/dist/hub-catalogue/fitness-function/ff-data-integrity-check.radical +0 -51
  68. package/dist/hub-catalogue/fitness-function/ff-data-residency.radical +0 -43
  69. package/dist/hub-catalogue/fitness-function/ff-dependency-rules.radical +0 -37
  70. package/dist/hub-catalogue/fitness-function/ff-deploy-frequency.radical +0 -46
  71. package/dist/hub-catalogue/fitness-function/ff-dr-drill-success.radical +0 -52
  72. package/dist/hub-catalogue/fitness-function/ff-duplication-guard.radical +0 -53
  73. package/dist/hub-catalogue/fitness-function/ff-error-budget.radical +0 -59
  74. package/dist/hub-catalogue/fitness-function/ff-fail-safe-verification.radical +0 -34
  75. package/dist/hub-catalogue/fitness-function/ff-infra-drift.radical +0 -34
  76. package/dist/hub-catalogue/fitness-function/ff-latency-slo.radical +0 -59
  77. package/dist/hub-catalogue/fitness-function/ff-lead-time.radical +0 -44
  78. package/dist/hub-catalogue/fitness-function/ff-ledger-balance-integrity.radical +0 -45
  79. package/dist/hub-catalogue/fitness-function/ff-license-compliance.radical +0 -43
  80. package/dist/hub-catalogue/fitness-function/ff-mttr.radical +0 -45
  81. package/dist/hub-catalogue/fitness-function/ff-noisy-neighbor-guard.radical +0 -66
  82. package/dist/hub-catalogue/fitness-function/ff-sast-scan.radical +0 -35
  83. package/dist/hub-catalogue/fitness-function/ff-scale-out-verification.radical +0 -66
  84. package/dist/hub-catalogue/fitness-function/ff-security-scan.radical +0 -45
  85. package/dist/hub-catalogue/fitness-function/ff-startup-shutdown-check.radical +0 -66
  86. package/dist/hub-catalogue/fitness-function/ff-sync-convergence-test.radical +0 -45
  87. package/dist/hub-catalogue/fitness-function/ff-test-coverage.radical +0 -43
  88. package/dist/hub-catalogue/fitness-function/ff-web-vitals.radical +0 -57
  89. package/dist/hub-catalogue/pattern/pattern-anti-corruption-layer.radical +0 -88
  90. package/dist/hub-catalogue/pattern/pattern-api-gateway.radical +0 -168
  91. package/dist/hub-catalogue/pattern/pattern-bff.radical +0 -179
  92. package/dist/hub-catalogue/pattern/pattern-bulkhead.radical +0 -114
  93. package/dist/hub-catalogue/pattern/pattern-circuit-breaker.radical +0 -219
  94. package/dist/hub-catalogue/pattern/pattern-cqrs.radical +0 -195
  95. package/dist/hub-catalogue/pattern/pattern-crdt-sync.radical +0 -200
  96. package/dist/hub-catalogue/pattern/pattern-event-driven.radical +0 -210
  97. package/dist/hub-catalogue/pattern/pattern-event-sourced-ledger.radical +0 -211
  98. package/dist/hub-catalogue/pattern/pattern-hexagonal.radical +0 -196
  99. package/dist/hub-catalogue/pattern/pattern-microservices.radical +0 -262
  100. package/dist/hub-catalogue/pattern/pattern-rag-pipeline.radical +0 -213
  101. package/dist/hub-catalogue/pattern/pattern-rate-limiter.radical +0 -114
  102. package/dist/hub-catalogue/pattern/pattern-saga.radical +0 -208
  103. package/dist/hub-catalogue/pattern/pattern-sidecar.radical +0 -123
  104. package/dist/hub-catalogue/pattern/pattern-strangler-fig.radical +0 -227
  105. package/dist/hub-catalogue/pattern/pattern-transactional-outbox.radical +0 -209
  106. package/dist/hub-catalogue/requirement/req-accessibility.radical +0 -48
  107. package/dist/hub-catalogue/requirement/req-ai-autonomous-resolution.radical +0 -51
  108. package/dist/hub-catalogue/requirement/req-ai-groundedness.radical +0 -45
  109. package/dist/hub-catalogue/requirement/req-ai-human-handoff.radical +0 -46
  110. package/dist/hub-catalogue/requirement/req-alerting.radical +0 -52
  111. package/dist/hub-catalogue/requirement/req-api-response-time.radical +0 -51
  112. package/dist/hub-catalogue/requirement/req-api-standard.radical +0 -45
  113. package/dist/hub-catalogue/requirement/req-audit-logging.radical +0 -43
  114. package/dist/hub-catalogue/requirement/req-auth-response-time.radical +0 -45
  115. package/dist/hub-catalogue/requirement/req-auth.radical +0 -43
  116. package/dist/hub-catalogue/requirement/req-autoscaling.radical +0 -62
  117. package/dist/hub-catalogue/requirement/req-availability.radical +0 -50
  118. package/dist/hub-catalogue/requirement/req-backward-compatibility.radical +0 -46
  119. package/dist/hub-catalogue/requirement/req-batch-job-completion.radical +0 -50
  120. package/dist/hub-catalogue/requirement/req-carbon-efficiency.radical +0 -64
  121. package/dist/hub-catalogue/requirement/req-centralised-logging.radical +0 -45
  122. package/dist/hub-catalogue/requirement/req-ci-pipeline-time.radical +0 -43
  123. package/dist/hub-catalogue/requirement/req-code-complexity.radical +0 -43
  124. package/dist/hub-catalogue/requirement/req-config-propagation.radical +0 -45
  125. package/dist/hub-catalogue/requirement/req-data-integrity.radical +0 -35
  126. package/dist/hub-catalogue/requirement/req-data-retention.radical +0 -44
  127. package/dist/hub-catalogue/requirement/req-db-query-response.radical +0 -44
  128. package/dist/hub-catalogue/requirement/req-disaster-recovery.radical +0 -59
  129. package/dist/hub-catalogue/requirement/req-distributed-tracing.radical +0 -45
  130. package/dist/hub-catalogue/requirement/req-encryption.radical +0 -49
  131. package/dist/hub-catalogue/requirement/req-error-rate.radical +0 -45
  132. package/dist/hub-catalogue/requirement/req-error-recovery.radical +0 -34
  133. package/dist/hub-catalogue/requirement/req-event-schema-compatibility.radical +0 -37
  134. package/dist/hub-catalogue/requirement/req-fail-safe-default.radical +0 -55
  135. package/dist/hub-catalogue/requirement/req-fast-startup-graceful-shutdown.radical +0 -69
  136. package/dist/hub-catalogue/requirement/req-gdpr-erasure.radical +0 -44
  137. package/dist/hub-catalogue/requirement/req-graceful-degradation.radical +0 -39
  138. package/dist/hub-catalogue/requirement/req-health-checks.radical +0 -43
  139. package/dist/hub-catalogue/requirement/req-iac.radical +0 -36
  140. package/dist/hub-catalogue/requirement/req-idempotency.radical +0 -47
  141. package/dist/hub-catalogue/requirement/req-input-validation.radical +0 -37
  142. package/dist/hub-catalogue/requirement/req-least-privilege.radical +0 -47
  143. package/dist/hub-catalogue/requirement/req-ledger-immutability.radical +0 -38
  144. package/dist/hub-catalogue/requirement/req-mfa.radical +0 -36
  145. package/dist/hub-catalogue/requirement/req-ml-extraction-accuracy.radical +0 -42
  146. package/dist/hub-catalogue/requirement/req-onboarding-time.radical +0 -42
  147. package/dist/hub-catalogue/requirement/req-page-load-time.radical +0 -59
  148. package/dist/hub-catalogue/requirement/req-payout-latency.radical +0 -46
  149. package/dist/hub-catalogue/requirement/req-presence-latency.radical +0 -46
  150. package/dist/hub-catalogue/requirement/req-rate-limiting.radical +0 -45
  151. package/dist/hub-catalogue/requirement/req-report-generation.radical +0 -44
  152. package/dist/hub-catalogue/requirement/req-resource-efficiency.radical +0 -64
  153. package/dist/hub-catalogue/requirement/req-resource-headroom.radical +0 -53
  154. package/dist/hub-catalogue/requirement/req-resource-isolation.radical +0 -37
  155. package/dist/hub-catalogue/requirement/req-search-response-time.radical +0 -44
  156. package/dist/hub-catalogue/requirement/req-secrets-management.radical +0 -45
  157. package/dist/hub-catalogue/requirement/req-task-success-rate.radical +0 -42
  158. package/dist/hub-catalogue/requirement/req-test-coverage.radical +0 -42
  159. package/dist/hub-catalogue/requirement/req-throughput.radical +0 -55
  160. package/dist/hub-catalogue/requirement/req-vulnerability-scanning.radical +0 -52
  161. package/dist/hub-catalogue/requirement/req-zero-downtime-deploy.radical +0 -39
@@ -1,1989 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "bp-ecommerce-platform",
4
- "category": "blueprint",
5
- "name": "E-commerce Platform",
6
- "description": "Modular commerce backend — storefront, catalogue, cart and checkout, orders, payments and fulfilment — with the controls a payment-handling system needs. Generic requirements, fitness functions and decisions are linked as related concepts.",
7
- "tags": [
8
- "e-commerce",
9
- "retail",
10
- "payments",
11
- "microservices",
12
- "event-driven"
13
- ],
14
- "requiredMetamodel": "c4-ddd-governance-builtin",
15
- "templateParams": [
16
- {
17
- "key": "CHECKOUT_P95_MS",
18
- "label": "p95 checkout step latency (ms)",
19
- "hint": "800",
20
- "type": "number",
21
- "defaultValue": "800"
22
- },
23
- {
24
- "key": "RESERVATION_MINUTES",
25
- "label": "Reservation hold (min)",
26
- "hint": "15",
27
- "type": "number",
28
- "defaultValue": "15"
29
- },
30
- {
31
- "key": "MAX_DROP_PP",
32
- "label": "Max step-conversion drop vs 7-day baseline (pp)",
33
- "hint": "3",
34
- "type": "number",
35
- "defaultValue": "3"
36
- },
37
- {
38
- "key": "INDEX_LAG_SECONDS",
39
- "label": "Max catalogue-to-index lag (s)",
40
- "hint": "30",
41
- "type": "number",
42
- "defaultValue": "30"
43
- }
44
- ],
45
- "hubRefs": [
46
- "req-availability",
47
- "req-api-response-time",
48
- "req-page-load-time",
49
- "req-idempotency",
50
- "req-auth",
51
- "req-encryption",
52
- "req-rate-limiting",
53
- "req-audit-logging",
54
- "ff-latency-slo",
55
- "ff-error-budget",
56
- "ff-web-vitals",
57
- "ff-security-scan",
58
- "adr-integration-style",
59
- "adr-deployment-strategy",
60
- "adr-caching-strategy",
61
- "pattern-api-gateway",
62
- "pattern-transactional-outbox",
63
- "pattern-circuit-breaker"
64
- ]
65
- },
66
- "nodes": [
67
- {
68
- "id": "shopper",
69
- "type": "person",
70
- "label": "Shopper",
71
- "description": "Browses, adds to cart, pays.",
72
- "x": 0,
73
- "y": 0,
74
- "width": 150,
75
- "height": 170,
76
- "collapsed": false
77
- },
78
- {
79
- "id": "ops",
80
- "type": "person",
81
- "label": "Operations Staff",
82
- "description": "Manages catalogue, prices and fulfilment exceptions.",
83
- "x": 210,
84
- "y": 0,
85
- "width": 150,
86
- "height": 170,
87
- "collapsed": false
88
- },
89
- {
90
- "id": "platform",
91
- "type": "system",
92
- "label": "Commerce Platform",
93
- "description": "Independently deployable services behind a gateway; state changes flow as events.",
94
- "x": 0,
95
- "y": 290,
96
- "width": 1720,
97
- "height": 750,
98
- "collapsed": false
99
- },
100
- {
101
- "id": "storefront",
102
- "type": "webapp",
103
- "label": "Storefront",
104
- "description": "Server-rendered storefront with client-side cart.",
105
- "technology": "Next.js",
106
- "parentId": "platform",
107
- "x": 30,
108
- "y": 110,
109
- "width": 210,
110
- "height": 140,
111
- "collapsed": false
112
- },
113
- {
114
- "id": "backoffice",
115
- "type": "webapp",
116
- "label": "Back Office",
117
- "description": "Catalogue, pricing and order management UI.",
118
- "technology": "React",
119
- "parentId": "platform",
120
- "x": 370,
121
- "y": 110,
122
- "width": 210,
123
- "height": 140,
124
- "collapsed": false
125
- },
126
- {
127
- "id": "gateway",
128
- "type": "container",
129
- "label": "API Gateway",
130
- "description": "TLS, authentication, rate limiting, routing.",
131
- "technology": "Envoy",
132
- "parentId": "platform",
133
- "x": 710,
134
- "y": 110,
135
- "width": 300,
136
- "height": 200,
137
- "collapsed": false
138
- },
139
- {
140
- "id": "bus",
141
- "type": "queue",
142
- "label": "Event Bus",
143
- "description": "OrderPlaced, PaymentCaptured, ShipmentDispatched, …",
144
- "technology": "Apache Kafka",
145
- "parentId": "platform",
146
- "x": 1050,
147
- "y": 110,
148
- "width": 220,
149
- "height": 95,
150
- "collapsed": false
151
- },
152
- {
153
- "id": "catalog",
154
- "type": "container",
155
- "label": "Catalog Service",
156
- "description": "Products, variants, prices, stock; publishes a search projection.",
157
- "technology": "Go",
158
- "parentId": "platform",
159
- "x": 1390,
160
- "y": 110,
161
- "width": 300,
162
- "height": 200,
163
- "collapsed": false
164
- },
165
- {
166
- "id": "cart",
167
- "type": "container",
168
- "label": "Cart & Checkout Service",
169
- "description": "Cart state, promotions, tax and shipping quotes; creates the order.",
170
- "technology": "Node.js",
171
- "parentId": "platform",
172
- "x": 30,
173
- "y": 350,
174
- "width": 300,
175
- "height": 200,
176
- "collapsed": false
177
- },
178
- {
179
- "id": "orders",
180
- "type": "container",
181
- "label": "Order Service",
182
- "description": "Order lifecycle and status; source of truth for orders.",
183
- "technology": "Java / Spring Boot",
184
- "parentId": "platform",
185
- "x": 370,
186
- "y": 350,
187
- "width": 300,
188
- "height": 200,
189
- "collapsed": false
190
- },
191
- {
192
- "id": "payments",
193
- "type": "container",
194
- "label": "Payment Service",
195
- "description": "Tokenised payments via the provider; never stores card data (PCI DSS scope reduction).",
196
- "technology": "Kotlin",
197
- "parentId": "platform",
198
- "x": 710,
199
- "y": 350,
200
- "width": 300,
201
- "height": 200,
202
- "collapsed": false
203
- },
204
- {
205
- "id": "fulfilment",
206
- "type": "container",
207
- "label": "Fulfilment Service",
208
- "description": "Picks warehouse, books carrier, tracks shipment.",
209
- "technology": "C# / .NET",
210
- "parentId": "platform",
211
- "x": 1050,
212
- "y": 350,
213
- "width": 300,
214
- "height": 200,
215
- "collapsed": false
216
- },
217
- {
218
- "id": "catalog-db",
219
- "type": "database",
220
- "label": "Catalog DB",
221
- "description": "Owned by Catalog Service.",
222
- "technology": "PostgreSQL",
223
- "parentId": "platform",
224
- "x": 1390,
225
- "y": 350,
226
- "width": 190,
227
- "height": 130,
228
- "collapsed": false
229
- },
230
- {
231
- "id": "cart-db",
232
- "type": "database",
233
- "label": "Cart Store",
234
- "description": "Short-lived carts with TTL.",
235
- "technology": "Redis",
236
- "parentId": "platform",
237
- "x": 30,
238
- "y": 590,
239
- "width": 190,
240
- "height": 130,
241
- "collapsed": false
242
- },
243
- {
244
- "id": "orders-db",
245
- "type": "database",
246
- "label": "Orders DB",
247
- "description": "Orders plus outbox table.",
248
- "technology": "PostgreSQL",
249
- "parentId": "platform",
250
- "x": 370,
251
- "y": 590,
252
- "width": 190,
253
- "height": 130,
254
- "collapsed": false
255
- },
256
- {
257
- "id": "payments-db",
258
- "type": "database",
259
- "label": "Payments DB",
260
- "description": "Payment intents and provider references.",
261
- "technology": "PostgreSQL",
262
- "parentId": "platform",
263
- "x": 710,
264
- "y": 590,
265
- "width": 190,
266
- "height": 130,
267
- "collapsed": false
268
- },
269
- {
270
- "id": "search",
271
- "type": "database",
272
- "label": "Search Index",
273
- "description": "Product search projection.",
274
- "technology": "OpenSearch",
275
- "parentId": "platform",
276
- "x": 1050,
277
- "y": 590,
278
- "width": 190,
279
- "height": 130,
280
- "collapsed": false
281
- },
282
- {
283
- "id": "psp",
284
- "type": "system",
285
- "label": "Payment Provider",
286
- "description": "Card authorisation and capture.",
287
- "external": true,
288
- "x": 0,
289
- "y": 1160,
290
- "width": 360,
291
- "height": 260,
292
- "collapsed": false
293
- },
294
- {
295
- "id": "carrier",
296
- "type": "system",
297
- "label": "Carrier API",
298
- "description": "Shipping labels and tracking.",
299
- "external": true,
300
- "x": 420,
301
- "y": 1160,
302
- "width": 360,
303
- "height": 260,
304
- "collapsed": false
305
- },
306
- {
307
- "id": "email",
308
- "type": "system",
309
- "label": "E-mail Provider",
310
- "description": "Transactional e-mail.",
311
- "external": true,
312
- "x": 840,
313
- "y": 1160,
314
- "width": 360,
315
- "height": 260,
316
- "collapsed": false
317
- },
318
- {
319
- "id": "req-checkout-latency",
320
- "type": "requirement",
321
- "label": "Checkout Step Latency",
322
- "x": 0,
323
- "y": 1540,
324
- "width": 260,
325
- "height": 80,
326
- "collapsed": false,
327
- "ears_type": "event-driven",
328
- "status": "draft",
329
- "priority": "must",
330
- "trigger": "a shopper submits a checkout step (address, shipping, payment)",
331
- "action": "respond within {{CHECKOUT_P95_MS}} ms at the 95th percentile including tax, shipping and payment-provider calls",
332
- "rationale": "Checkout is where latency converts directly into abandoned carts; every step has a visible cost.",
333
- "templateParams": [
334
- {
335
- "key": "CHECKOUT_P95_MS",
336
- "label": "p95 checkout step latency (ms)",
337
- "hint": "800",
338
- "type": "number",
339
- "defaultValue": "800"
340
- }
341
- ]
342
- },
343
- {
344
- "id": "req-payment-once",
345
- "type": "requirement",
346
- "label": "Exactly-Once Payment Capture",
347
- "x": 320,
348
- "y": 1540,
349
- "width": 260,
350
- "height": 80,
351
- "collapsed": false,
352
- "ears_type": "ubiquitous",
353
- "status": "draft",
354
- "priority": "must",
355
- "action": "capture payment for an order at most once, using the provider's idempotency key derived from the order id, and reconcile captures against orders daily",
356
- "rationale": "Double charges are the most damaging defect a shop can ship; idempotency at the provider boundary plus reconciliation makes them detectable and preventable."
357
- },
358
- {
359
- "id": "req-stock-reservation",
360
- "type": "requirement",
361
- "label": "Stock Reservation",
362
- "x": 640,
363
- "y": 1540,
364
- "width": 260,
365
- "height": 80,
366
- "collapsed": false,
367
- "ears_type": "event-driven",
368
- "status": "draft",
369
- "priority": "must",
370
- "trigger": "an order is placed",
371
- "action": "reserve stock for each line within the same transaction that records the order and release it automatically if payment is not captured within {{RESERVATION_MINUTES}} minutes",
372
- "rationale": "Overselling creates cancellations and support load; unbounded reservations starve other shoppers.",
373
- "templateParams": [
374
- {
375
- "key": "RESERVATION_MINUTES",
376
- "label": "Reservation hold (min)",
377
- "hint": "15",
378
- "type": "number",
379
- "defaultValue": "15"
380
- }
381
- ]
382
- },
383
- {
384
- "id": "req-pci-scope",
385
- "type": "requirement",
386
- "label": "No Card Data at Rest",
387
- "x": 960,
388
- "y": 1540,
389
- "width": 260,
390
- "height": 80,
391
- "collapsed": false,
392
- "ears_type": "ubiquitous",
393
- "status": "draft",
394
- "priority": "must",
395
- "action": "never store, log or transmit primary account numbers through platform services; use provider tokenisation and hosted payment fields so card data reaches only the provider",
396
- "rationale": "Keeping card data out of the platform reduces PCI DSS scope from the whole system to the integration boundary."
397
- },
398
- {
399
- "id": "ff-checkout-conversion",
400
- "type": "fitness-fn",
401
- "label": "Checkout Funnel Guard",
402
- "description": "Compares per-step checkout conversion from product analytics with the trailing 7-day baseline after each deployment; a significant drop triggers rollback review.",
403
- "x": 0,
404
- "y": 1740,
405
- "width": 260,
406
- "height": 52,
407
- "collapsed": false,
408
- "category": "holistic",
409
- "automated": true,
410
- "trigger": "continuous",
411
- "threshold": "No checkout step conversion more than {{MAX_DROP_PP}} pp below baseline in the hour after a release",
412
- "status": "proposed",
413
- "templateParams": [
414
- {
415
- "key": "MAX_DROP_PP",
416
- "label": "Max step-conversion drop vs 7-day baseline (pp)",
417
- "hint": "3",
418
- "type": "number",
419
- "defaultValue": "3"
420
- }
421
- ]
422
- },
423
- {
424
- "id": "ff-payment-reconciliation",
425
- "type": "fitness-fn",
426
- "label": "Payment Reconciliation",
427
- "description": "Nightly job matches provider settlement reports against captured payments and orders; unmatched records are reported to finance and on-call.",
428
- "x": 320,
429
- "y": 1740,
430
- "width": 260,
431
- "height": 52,
432
- "collapsed": false,
433
- "category": "operational",
434
- "automated": true,
435
- "trigger": "periodic",
436
- "threshold": "0 unmatched captures or orders older than 24 h",
437
- "status": "proposed"
438
- },
439
- {
440
- "id": "ff-search-freshness",
441
- "type": "fitness-fn",
442
- "label": "Search Index Freshness",
443
- "description": "Measures the lag between catalogue changes and their appearance in the search projection via a canary product updated every minute.",
444
- "x": 640,
445
- "y": 1740,
446
- "width": 260,
447
- "height": 52,
448
- "collapsed": false,
449
- "category": "operational",
450
- "automated": true,
451
- "trigger": "continuous",
452
- "threshold": "Index lag ≤ {{INDEX_LAG_SECONDS}} s",
453
- "status": "proposed",
454
- "templateParams": [
455
- {
456
- "key": "INDEX_LAG_SECONDS",
457
- "label": "Max catalogue-to-index lag (s)",
458
- "hint": "30",
459
- "type": "number",
460
- "defaultValue": "30"
461
- }
462
- ]
463
- },
464
- {
465
- "id": "adr-hosted-payments",
466
- "type": "adr",
467
- "label": "ADR: Hosted payment fields",
468
- "x": 0,
469
- "y": 1912,
470
- "width": 260,
471
- "height": 52,
472
- "collapsed": false,
473
- "status": "accepted",
474
- "date": "",
475
- "context": "Handling card data directly puts the entire platform in PCI DSS scope with yearly audits and strict controls.",
476
- "decision": "Use the provider's hosted fields and tokenisation; the platform stores only payment tokens and intent ids.",
477
- "consequences": "PCI scope shrinks to SAQ A-EP level; checkout UI is partially controlled by the provider; switching providers requires re-tokenisation.",
478
- "alternatives": "1. Own card form with server-side tokenisation — more control, full PCI scope. 2. Redirect to provider page — smallest scope, visibly worse UX."
479
- },
480
- {
481
- "id": "adr-database-per-service",
482
- "type": "adr",
483
- "label": "ADR: Database per service",
484
- "x": 320,
485
- "y": 1912,
486
- "width": 260,
487
- "height": 52,
488
- "collapsed": false,
489
- "status": "accepted",
490
- "date": "",
491
- "context": "A shared schema couples deployment of all services and makes ownership of data ambiguous.",
492
- "decision": "Each service owns its store; other services get data through APIs or events, never through the database.",
493
- "consequences": "Independent deployment and scaling; cross-service reports require projections or a data platform; joins across services are not possible in SQL.",
494
- "alternatives": "1. Shared database — simple joins, tight coupling. 2. Shared schema with per-service tables — coupling through migrations remains."
495
- },
496
- {
497
- "id": "flow-shopper",
498
- "type": "group",
499
- "label": "Shopper journey",
500
- "description": "From landing on the shop to tracking a delivered order.",
501
- "x": 0,
502
- "y": 2084,
503
- "width": 1560,
504
- "height": 630,
505
- "collapsed": false
506
- },
507
- {
508
- "id": "mockup-home",
509
- "type": "mockup",
510
- "label": "Home",
511
- "description": "Landing page: search, campaigns and categories.",
512
- "parentId": "flow-shopper",
513
- "x": 30,
514
- "y": 110,
515
- "width": 220,
516
- "height": 190,
517
- "collapsed": false,
518
- "screen": "/",
519
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Cart (0)</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Account</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Search</text>\n <rect x=\"16\" y=\"40\" width=\"368\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"52.0\" font-size=\"8\" fill=\"#999\">Search shoes, jackets, brands…</text>\n <rect x=\"16\" y=\"68\" width=\"368\" height=\"92\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"68\" x2=\"384\" y2=\"160\" stroke=\"#ccc\"/>\n <line x1=\"384\" y1=\"68\" x2=\"16\" y2=\"160\" stroke=\"#ccc\"/>\n <text x=\"30\" y=\"110\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Spring running collection</text>\n <rect x=\"30\" y=\"122\" width=\"100\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"80.0\" y=\"135.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Shop now</text>\n <text x=\"16\" y=\"180\" font-size=\"10\" fill=\"#333\" font-weight=\"bold\">Popular categories</text>\n <rect x=\"16\" y=\"188\" width=\"86\" height=\"60\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"188\" x2=\"102\" y2=\"248\" stroke=\"#ccc\"/>\n <line x1=\"102\" y1=\"188\" x2=\"16\" y2=\"248\" stroke=\"#ccc\"/>\n <text x=\"59\" y=\"262\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Running</text>\n <rect x=\"110\" y=\"188\" width=\"86\" height=\"60\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"110\" y1=\"188\" x2=\"196\" y2=\"248\" stroke=\"#ccc\"/>\n <line x1=\"196\" y1=\"188\" x2=\"110\" y2=\"248\" stroke=\"#ccc\"/>\n <text x=\"153\" y=\"262\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Hiking</text>\n <rect x=\"204\" y=\"188\" width=\"86\" height=\"60\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"204\" y1=\"188\" x2=\"290\" y2=\"248\" stroke=\"#ccc\"/>\n <line x1=\"290\" y1=\"188\" x2=\"204\" y2=\"248\" stroke=\"#ccc\"/>\n <text x=\"247\" y=\"262\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Jackets</text>\n <rect x=\"298\" y=\"188\" width=\"86\" height=\"60\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"298\" y1=\"188\" x2=\"384\" y2=\"248\" stroke=\"#ccc\"/>\n <line x1=\"384\" y1=\"188\" x2=\"298\" y2=\"248\" stroke=\"#ccc\"/>\n <text x=\"341\" y=\"262\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Accessories</text>\n <rect x=\"16\" y=\"278\" width=\"200\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n</svg>"
520
- },
521
- {
522
- "id": "mockup-search-results",
523
- "type": "mockup",
524
- "label": "Search Results",
525
- "description": "Filtered results from the search index (at most {{INDEX_LAG_SECONDS}} s behind the catalogue).",
526
- "parentId": "flow-shopper",
527
- "x": 350,
528
- "y": 110,
529
- "width": 220,
530
- "height": 190,
531
- "collapsed": false,
532
- "screen": "/search",
533
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Cart (0)</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Account</text>\n <rect x=\"16\" y=\"40\" width=\"368\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"52.0\" font-size=\"8\" fill=\"#999\">trail running shoe</text>\n <text x=\"16\" y=\"76\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">128 results</text>\n <rect x=\"90\" y=\"66\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"116.5\" y=\"76\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Size 40 ✕</text>\n <rect x=\"149\" y=\"66\" width=\"67\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"182.5\" y=\"76\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Under €150 ✕</text>\n <rect x=\"222\" y=\"66\" width=\"48\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"246.0\" y=\"76\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">In stock</text>\n <rect x=\"16\" y=\"88\" width=\"116\" height=\"66\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"88\" x2=\"132\" y2=\"154\" stroke=\"#ccc\"/>\n <line x1=\"132\" y1=\"88\" x2=\"16\" y2=\"154\" stroke=\"#ccc\"/>\n <rect x=\"16\" y=\"160\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"16\" y=\"169\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"16\" y=\"186\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">€129.00</text>\n <rect x=\"140\" y=\"88\" width=\"116\" height=\"66\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"140\" y1=\"88\" x2=\"256\" y2=\"154\" stroke=\"#ccc\"/>\n <line x1=\"256\" y1=\"88\" x2=\"140\" y2=\"154\" stroke=\"#ccc\"/>\n <rect x=\"140\" y=\"160\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"140\" y=\"169\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"140\" y=\"186\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">€99.00</text>\n <rect x=\"264\" y=\"88\" width=\"116\" height=\"66\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"264\" y1=\"88\" x2=\"380\" y2=\"154\" stroke=\"#ccc\"/>\n <line x1=\"380\" y1=\"88\" x2=\"264\" y2=\"154\" stroke=\"#ccc\"/>\n <rect x=\"264\" y=\"160\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"264\" y=\"169\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"264\" y=\"186\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">€145.00</text>\n <rect x=\"16\" y=\"192\" width=\"116\" height=\"66\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"192\" x2=\"132\" y2=\"258\" stroke=\"#ccc\"/>\n <line x1=\"132\" y1=\"192\" x2=\"16\" y2=\"258\" stroke=\"#ccc\"/>\n <rect x=\"16\" y=\"264\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"16\" y=\"273\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"16\" y=\"290\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">€119.00</text>\n <rect x=\"140\" y=\"192\" width=\"116\" height=\"66\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"140\" y1=\"192\" x2=\"256\" y2=\"258\" stroke=\"#ccc\"/>\n <line x1=\"256\" y1=\"192\" x2=\"140\" y2=\"258\" stroke=\"#ccc\"/>\n <rect x=\"140\" y=\"264\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"140\" y=\"273\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"140\" y=\"290\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">€89.00</text>\n <rect x=\"264\" y=\"192\" width=\"116\" height=\"66\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"264\" y1=\"192\" x2=\"380\" y2=\"258\" stroke=\"#ccc\"/>\n <line x1=\"380\" y1=\"192\" x2=\"264\" y2=\"258\" stroke=\"#ccc\"/>\n <rect x=\"264\" y=\"264\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"264\" y=\"273\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"264\" y=\"290\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">€139.00</text>\n</svg>"
534
- },
535
- {
536
- "id": "mockup-product-page",
537
- "type": "mockup",
538
- "label": "Product Page",
539
- "description": "Product detail with live availability from the catalogue; \"Add to cart\" leads into checkout.",
540
- "parentId": "flow-shopper",
541
- "x": 670,
542
- "y": 110,
543
- "width": 220,
544
- "height": 190,
545
- "collapsed": false,
546
- "screen": "/products/:slug",
547
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Cart (0)</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Account</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Search</text>\n <rect x=\"16\" y=\"44\" width=\"168\" height=\"140\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"44\" x2=\"184\" y2=\"184\" stroke=\"#ccc\"/>\n <line x1=\"184\" y1=\"44\" x2=\"16\" y2=\"184\" stroke=\"#ccc\"/>\n <rect x=\"16\" y=\"190\" width=\"39\" height=\"30\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"190\" x2=\"55\" y2=\"220\" stroke=\"#ccc\"/>\n <line x1=\"55\" y1=\"190\" x2=\"16\" y2=\"220\" stroke=\"#ccc\"/>\n <rect x=\"59\" y=\"190\" width=\"39\" height=\"30\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"59\" y1=\"190\" x2=\"98\" y2=\"220\" stroke=\"#ccc\"/>\n <line x1=\"98\" y1=\"190\" x2=\"59\" y2=\"220\" stroke=\"#ccc\"/>\n <rect x=\"102\" y=\"190\" width=\"39\" height=\"30\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"102\" y1=\"190\" x2=\"141\" y2=\"220\" stroke=\"#ccc\"/>\n <line x1=\"141\" y1=\"190\" x2=\"102\" y2=\"220\" stroke=\"#ccc\"/>\n <rect x=\"145\" y=\"190\" width=\"39\" height=\"30\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"145\" y1=\"190\" x2=\"184\" y2=\"220\" stroke=\"#ccc\"/>\n <line x1=\"184\" y1=\"190\" x2=\"145\" y2=\"220\" stroke=\"#ccc\"/>\n <text x=\"200\" y=\"58\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Trail Running Shoe</text>\n <text x=\"200\" y=\"76\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">€129.00</text>\n <rect x=\"200\" y=\"84\" width=\"94\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"247.0\" y=\"94\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">In stock — 12 left</text>\n <text x=\"200\" y=\"116\" font-size=\"8\" fill=\"#666\">Size</text>\n <rect x=\"200\" y=\"121\" width=\"24\" height=\"18\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"212\" y=\"133\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">38</text>\n <rect x=\"228\" y=\"121\" width=\"24\" height=\"18\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"240\" y=\"133\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">39</text>\n <rect x=\"256\" y=\"121\" width=\"24\" height=\"18\" rx=\"3\" fill=\"#dbeafe\" stroke=\"#2563eb\"/>\n <text x=\"268\" y=\"133\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">40</text>\n <rect x=\"284\" y=\"121\" width=\"24\" height=\"18\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"296\" y=\"133\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">41</text>\n <rect x=\"312\" y=\"121\" width=\"24\" height=\"18\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"324\" y=\"133\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">42</text>\n <rect x=\"200\" y=\"150\" width=\"184\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"200\" y=\"159\" width=\"184\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"200\" y=\"168\" width=\"110\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"200\" y=\"184\" width=\"184\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"292.0\" y=\"197.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Add to cart</text>\n <text x=\"16\" y=\"244\" font-size=\"10\" fill=\"#333\" font-weight=\"bold\">You may also like</text>\n <rect x=\"16\" y=\"252\" width=\"86\" height=\"40\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"252\" x2=\"102\" y2=\"292\" stroke=\"#ccc\"/>\n <line x1=\"102\" y1=\"252\" x2=\"16\" y2=\"292\" stroke=\"#ccc\"/>\n <rect x=\"110\" y=\"252\" width=\"86\" height=\"40\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"110\" y1=\"252\" x2=\"196\" y2=\"292\" stroke=\"#ccc\"/>\n <line x1=\"196\" y1=\"252\" x2=\"110\" y2=\"292\" stroke=\"#ccc\"/>\n <rect x=\"204\" y=\"252\" width=\"86\" height=\"40\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"204\" y1=\"252\" x2=\"290\" y2=\"292\" stroke=\"#ccc\"/>\n <line x1=\"290\" y1=\"252\" x2=\"204\" y2=\"292\" stroke=\"#ccc\"/>\n <rect x=\"298\" y=\"252\" width=\"86\" height=\"40\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"298\" y1=\"252\" x2=\"384\" y2=\"292\" stroke=\"#ccc\"/>\n <line x1=\"384\" y1=\"252\" x2=\"298\" y2=\"292\" stroke=\"#ccc\"/>\n</svg>"
548
- },
549
- {
550
- "id": "mockup-cart",
551
- "type": "mockup",
552
- "label": "Cart",
553
- "description": "Cart with quantities and promo code; shipping is quoted at the next step.",
554
- "parentId": "flow-shopper",
555
- "x": 990,
556
- "y": 110,
557
- "width": 220,
558
- "height": 190,
559
- "collapsed": false,
560
- "screen": "/cart",
561
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Cart (1)</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Account</text>\n <text x=\"16\" y=\"54\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Your cart</text>\n <rect x=\"16\" y=\"66\" width=\"48\" height=\"48\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"66\" x2=\"64\" y2=\"114\" stroke=\"#ccc\"/>\n <line x1=\"64\" y1=\"66\" x2=\"16\" y2=\"114\" stroke=\"#ccc\"/>\n <rect x=\"74\" y=\"72\" width=\"150\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"74\" y=\"82\" width=\"90\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"236\" y=\"78\" width=\"50\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"242\" y=\"90.0\" font-size=\"8\" fill=\"#999\">1</text>\n <path d=\"M274 85 l4 4 l4 -4\" fill=\"none\" stroke=\"#666\"/>\n <text x=\"384\" y=\"92\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"end\">€129.00</text>\n <line x1=\"16\" y1=\"120\" x2=\"384\" y2=\"120\" stroke=\"#e5e7eb\"/>\n <text x=\"16\" y=\"194\" font-size=\"8\" fill=\"#666\">Promo code</text>\n <rect x=\"16\" y=\"198\" width=\"200\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"210.0\" font-size=\"8\" fill=\"#999\">SPRING10</text>\n <rect x=\"222\" y=\"198\" width=\"60\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"252.0\" y=\"211.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Apply</text>\n <text x=\"290\" y=\"206\" font-size=\"8\" fill=\"#666\">Subtotal</text>\n <text x=\"384\" y=\"206\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"end\">€129.00</text>\n <text x=\"290\" y=\"222\" font-size=\"8\" fill=\"#666\">Shipping</text>\n <text x=\"384\" y=\"222\" font-size=\"8\" fill=\"#666\" text-anchor=\"end\">at next step</text>\n <rect x=\"254\" y=\"250\" width=\"130\" height=\"24\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"319.0\" y=\"265.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Checkout</text>\n <text x=\"16\" y=\"266\" font-size=\"8\" fill=\"#2563eb\">← Continue shopping</text>\n</svg>"
562
- },
563
- {
564
- "id": "mockup-checkout-address",
565
- "type": "mockup",
566
- "label": "Checkout — Address",
567
- "description": "First checkout step; like every step it answers within {{CHECKOUT_P95_MS}} ms at p95.",
568
- "parentId": "flow-shopper",
569
- "x": 1310,
570
- "y": 110,
571
- "width": 220,
572
- "height": 190,
573
- "collapsed": false,
574
- "screen": "/checkout/address",
575
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop — Checkout</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Help</text>\n <rect x=\"16\" y=\"40\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"42.5\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">1 Address</text>\n <rect x=\"75\" y=\"40\" width=\"58\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"104.0\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">2 Shipping</text>\n <rect x=\"139\" y=\"40\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"165.5\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">3 Payment</text>\n <rect x=\"266\" y=\"40\" width=\"118\" height=\"150\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"276\" y=\"58\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Order summary</text>\n <rect x=\"276\" y=\"70\" width=\"90\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"276\" y=\"80\" width=\"90\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"276\" y=\"90\" width=\"54\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"276\" y=\"130\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Subtotal</text>\n <text x=\"374\" y=\"130\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"end\">€129.00</text>\n <text x=\"16\" y=\"76\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Delivery address</text>\n <text x=\"16\" y=\"88\" font-size=\"8\" fill=\"#666\">Full name</text>\n <rect x=\"16\" y=\"92\" width=\"236\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"104.0\" font-size=\"8\" fill=\"#999\">Jane Doe</text>\n <text x=\"16\" y=\"122\" font-size=\"8\" fill=\"#666\">Street and number</text>\n <rect x=\"16\" y=\"126\" width=\"236\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"138.0\" font-size=\"8\" fill=\"#999\">Main St 12</text>\n <text x=\"16\" y=\"156\" font-size=\"8\" fill=\"#666\">Postcode</text>\n <rect x=\"16\" y=\"160\" width=\"110\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"172.0\" font-size=\"8\" fill=\"#999\">10115</text>\n <text x=\"136\" y=\"156\" font-size=\"8\" fill=\"#666\">City</text>\n <rect x=\"136\" y=\"160\" width=\"116\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"142\" y=\"172.0\" font-size=\"8\" fill=\"#999\">Berlin</text>\n <text x=\"16\" y=\"190\" font-size=\"8\" fill=\"#666\">Country</text>\n <rect x=\"16\" y=\"194\" width=\"236\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"206.0\" font-size=\"8\" fill=\"#999\">Germany</text>\n <path d=\"M240 201 l4 4 l4 -4\" fill=\"none\" stroke=\"#666\"/>\n <rect x=\"16\" y=\"232\" width=\"236\" height=\"24\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"134.0\" y=\"247.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Continue to shipping</text>\n</svg>"
576
- },
577
- {
578
- "id": "mockup-checkout-shipping",
579
- "type": "mockup",
580
- "label": "Checkout — Shipping",
581
- "description": "Live carrier quotes; still inside the checkout latency budget.",
582
- "parentId": "flow-shopper",
583
- "x": 30,
584
- "y": 410,
585
- "width": 220,
586
- "height": 190,
587
- "collapsed": false,
588
- "screen": "/checkout/shipping",
589
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop — Checkout</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Help</text>\n <rect x=\"16\" y=\"40\" width=\"62\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"47.0\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">1 Address ✓</text>\n <rect x=\"84\" y=\"40\" width=\"58\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"113.0\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">2 Shipping</text>\n <rect x=\"148\" y=\"40\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"174.5\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">3 Payment</text>\n <rect x=\"266\" y=\"40\" width=\"118\" height=\"150\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"276\" y=\"58\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Order summary</text>\n <rect x=\"276\" y=\"70\" width=\"90\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"276\" y=\"80\" width=\"90\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"276\" y=\"90\" width=\"54\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"276\" y=\"130\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Subtotal</text>\n <text x=\"374\" y=\"130\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"end\">€129.00</text>\n <text x=\"16\" y=\"76\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Shipping method</text>\n <rect x=\"16\" y=\"88\" width=\"236\" height=\"30\" rx=\"3\" fill=\"#eef2ff\" stroke=\"#2563eb\"/>\n <circle cx=\"28.5\" cy=\"102.5\" r=\"4.5\" fill=\"#fff\" stroke=\"#999\"/>\n <circle cx=\"28.5\" cy=\"102.5\" r=\"2.2\" fill=\"#2563eb\"/>\n <text x=\"39\" y=\"106\" font-size=\"8\" fill=\"#333\">Standard · 3–5 days</text>\n <text x=\"244\" y=\"106\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"end\">€4.90</text>\n <rect x=\"16\" y=\"124\" width=\"236\" height=\"30\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <circle cx=\"28.5\" cy=\"138.5\" r=\"4.5\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"39\" y=\"142\" font-size=\"8\" fill=\"#333\">Express · next day</text>\n <text x=\"244\" y=\"142\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"end\">€12.90</text>\n <rect x=\"16\" y=\"160\" width=\"236\" height=\"30\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <circle cx=\"28.5\" cy=\"174.5\" r=\"4.5\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"39\" y=\"178\" font-size=\"8\" fill=\"#333\">Pick-up point · 2–4 days</text>\n <text x=\"244\" y=\"178\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"end\">free</text>\n <text x=\"16\" y=\"214\" font-size=\"8\" fill=\"#666\">Rates are quoted live from the carrier.</text>\n <rect x=\"16\" y=\"232\" width=\"236\" height=\"24\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"134.0\" y=\"247.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Continue to payment</text>\n</svg>"
590
- },
591
- {
592
- "id": "mockup-checkout",
593
- "type": "mockup",
594
- "label": "Checkout — Payment",
595
- "description": "Final checkout step. Card fields are the provider's hosted fields, so card data never touches platform services; every step must answer within {{CHECKOUT_P95_MS}} ms at p95.",
596
- "parentId": "flow-shopper",
597
- "x": 350,
598
- "y": 410,
599
- "width": 220,
600
- "height": 190,
601
- "collapsed": false,
602
- "screen": "/checkout/payment",
603
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop — Checkout</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Help</text>\n <rect x=\"16\" y=\"40\" width=\"62\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"47.0\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">1 Address ✓</text>\n <rect x=\"84\" y=\"40\" width=\"67\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"117.5\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">2 Shipping ✓</text>\n <rect x=\"157\" y=\"40\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"183.5\" y=\"50\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">3 Payment</text>\n <text x=\"16\" y=\"76\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Payment</text>\n <rect x=\"16\" y=\"84\" width=\"236\" height=\"110\" rx=\"3\" fill=\"#fff\" stroke=\"#999\" stroke-dasharray=\"4 3\"/>\n <text x=\"24\" y=\"98\" font-size=\"8\" fill=\"#666\">Card details — hosted by the payment provider</text>\n <text x=\"24\" y=\"108\" font-size=\"8\" fill=\"#666\">Card number</text>\n <rect x=\"24\" y=\"112\" width=\"220\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"30\" y=\"124.0\" font-size=\"8\" fill=\"#999\">•••• •••• •••• ••••</text>\n <text x=\"24\" y=\"142\" font-size=\"8\" fill=\"#666\">Expiry</text>\n <rect x=\"24\" y=\"146\" width=\"104\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"30\" y=\"158.0\" font-size=\"8\" fill=\"#999\">MM / YY</text>\n <text x=\"140\" y=\"142\" font-size=\"8\" fill=\"#666\">CVC</text>\n <rect x=\"140\" y=\"146\" width=\"104\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"146\" y=\"158.0\" font-size=\"8\" fill=\"#999\">•••</text>\n <text x=\"16\" y=\"210\" font-size=\"7.5\" fill=\"#666\">Card data goes straight to the provider — never through our servers.</text>\n <rect x=\"16\" y=\"222\" width=\"236\" height=\"24\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"134.0\" y=\"237.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Pay €141.90</text>\n <text x=\"16\" y=\"262\" font-size=\"8\" fill=\"#2563eb\">← Back to shipping</text>\n <rect x=\"266\" y=\"40\" width=\"118\" height=\"206\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"276\" y=\"58\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Order summary</text>\n <rect x=\"276\" y=\"68\" width=\"30\" height=\"30\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"276\" y1=\"68\" x2=\"306\" y2=\"98\" stroke=\"#ccc\"/>\n <line x1=\"306\" y1=\"68\" x2=\"276\" y2=\"98\" stroke=\"#ccc\"/>\n <rect x=\"312\" y=\"74\" width=\"62\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"312\" y=\"83\" width=\"37\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"276\" y=\"108\" width=\"30\" height=\"30\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"276\" y1=\"108\" x2=\"306\" y2=\"138\" stroke=\"#ccc\"/>\n <line x1=\"306\" y1=\"108\" x2=\"276\" y2=\"138\" stroke=\"#ccc\"/>\n <rect x=\"312\" y=\"114\" width=\"62\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"312\" y=\"123\" width=\"37\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <line x1=\"276\" y1=\"156\" x2=\"374\" y2=\"156\" stroke=\"#ccc\"/>\n <text x=\"276\" y=\"172\" font-size=\"8\" fill=\"#666\">Subtotal</text>\n <text x=\"374\" y=\"172\" font-size=\"8\" fill=\"#333\" text-anchor=\"end\">€129.00</text>\n <text x=\"276\" y=\"188\" font-size=\"8\" fill=\"#666\">Shipping</text>\n <text x=\"374\" y=\"188\" font-size=\"8\" fill=\"#333\" text-anchor=\"end\">€4.90</text>\n <text x=\"276\" y=\"204\" font-size=\"8\" fill=\"#666\">Tax</text>\n <text x=\"374\" y=\"204\" font-size=\"8\" fill=\"#333\" text-anchor=\"end\">€8.00</text>\n <text x=\"276\" y=\"228\" font-size=\"10\" fill=\"#333\" font-weight=\"bold\">Total</text>\n <text x=\"374\" y=\"228\" font-size=\"10\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"end\">€141.90</text>\n</svg>"
604
- },
605
- {
606
- "id": "mockup-payment-declined",
607
- "type": "mockup",
608
- "label": "Payment Declined",
609
- "description": "Declined payment: nothing was captured, items stay reserved for the rest of the {{RESERVATION_MINUTES}}-minute hold, and retrying reuses the same idempotency key.",
610
- "parentId": "flow-shopper",
611
- "x": 670,
612
- "y": 410,
613
- "width": 220,
614
- "height": 190,
615
- "collapsed": false,
616
- "screen": "/checkout/payment?declined",
617
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop — Checkout</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Help</text>\n <circle cx=\"200\" cy=\"88\" r=\"18\" fill=\"none\" stroke=\"#333\" stroke-width=\"2\"/>\n <text x=\"200\" y=\"94\" font-size=\"18\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">!</text>\n <text x=\"200\" y=\"132\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Your card was declined</text>\n <text x=\"200\" y=\"150\" font-size=\"9\" fill=\"#666\" text-anchor=\"middle\">You haven't been charged. Nothing was captured for this order.</text>\n <rect x=\"100\" y=\"166\" width=\"200\" height=\"44\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"112\" y=\"184\" font-size=\"9\" fill=\"#333\">Order #10482 · €141.90</text>\n <text x=\"112\" y=\"200\" font-size=\"8\" fill=\"#666\">Items stay reserved for 14:32 more</text>\n <rect x=\"100\" y=\"226\" width=\"200\" height=\"24\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"200.0\" y=\"241.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Try another card</text>\n <text x=\"200\" y=\"270\" font-size=\"8\" fill=\"#666\" text-anchor=\"middle\">Retrying never charges you twice.</text>\n</svg>"
618
- },
619
- {
620
- "id": "mockup-order-confirmation",
621
- "type": "mockup",
622
- "label": "Order Confirmation",
623
- "description": "Shown once payment is captured. Refreshing or retrying never charges again — capture is keyed by the order id — and stock stays reserved for the order.",
624
- "parentId": "flow-shopper",
625
- "x": 990,
626
- "y": 410,
627
- "width": 220,
628
- "height": 190,
629
- "collapsed": false,
630
- "screen": "/orders/:id",
631
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Cart (0)</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Account</text>\n <circle cx=\"40\" cy=\"62\" r=\"12\" fill=\"none\" stroke=\"#2563eb\" stroke-width=\"2\"/>\n <path d=\"M35 62 l3.5 3.5 l6.5 -7\" fill=\"none\" stroke=\"#2563eb\" stroke-width=\"2\"/>\n <text x=\"64\" y=\"60\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Thank you — order #10482 is placed</text>\n <text x=\"64\" y=\"76\" font-size=\"9\" fill=\"#666\">Payment captured once · confirmation e-mail on its way</text>\n <rect x=\"16\" y=\"96\" width=\"48\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"40.0\" y=\"106\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Placed ✓</text>\n <rect x=\"70\" y=\"96\" width=\"39\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"89.5\" y=\"106\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Paid ✓</text>\n <rect x=\"115\" y=\"96\" width=\"39\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"134.5\" y=\"106\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Packed</text>\n <rect x=\"160\" y=\"96\" width=\"44\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"182.0\" y=\"106\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Shipped</text>\n <rect x=\"210\" y=\"96\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"236.5\" y=\"106\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Delivered</text>\n <rect x=\"16\" y=\"122\" width=\"368\" height=\"104\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <rect x=\"26\" y=\"132\" width=\"36\" height=\"36\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"26\" y1=\"132\" x2=\"62\" y2=\"168\" stroke=\"#ccc\"/>\n <line x1=\"62\" y1=\"132\" x2=\"26\" y2=\"168\" stroke=\"#ccc\"/>\n <rect x=\"72\" y=\"140\" width=\"180\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"72\" y=\"150\" width=\"108\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"300\" y=\"152\" font-size=\"8\" fill=\"#666\">1 ×</text>\n <text x=\"374\" y=\"152\" font-size=\"8\" fill=\"#333\" text-anchor=\"end\">€129.00</text>\n <rect x=\"26\" y=\"176\" width=\"36\" height=\"36\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"26\" y1=\"176\" x2=\"62\" y2=\"212\" stroke=\"#ccc\"/>\n <line x1=\"62\" y1=\"176\" x2=\"26\" y2=\"212\" stroke=\"#ccc\"/>\n <rect x=\"72\" y=\"184\" width=\"180\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"72\" y=\"194\" width=\"108\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"300\" y=\"196\" font-size=\"8\" fill=\"#666\">1 ×</text>\n <text x=\"374\" y=\"196\" font-size=\"8\" fill=\"#333\" text-anchor=\"end\">€4.90</text>\n <text x=\"16\" y=\"246\" font-size=\"8\" fill=\"#666\">Items are reserved for you — nothing else can be sold against them.</text>\n <rect x=\"16\" y=\"262\" width=\"120\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"76.0\" y=\"275.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Track order</text>\n <rect x=\"264\" y=\"262\" width=\"120\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"324.0\" y=\"275.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Continue shopping</text>\n</svg>"
632
- },
633
- {
634
- "id": "mockup-order-tracking",
635
- "type": "mockup",
636
- "label": "Order Tracking",
637
- "description": "Order status and carrier events after fulfilment books the shipment.",
638
- "parentId": "flow-shopper",
639
- "x": 1310,
640
- "y": 410,
641
- "width": 220,
642
- "height": 190,
643
- "collapsed": false,
644
- "screen": "/account/orders/:id",
645
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Shop</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Cart (0)</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Account</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Orders</text>\n <text x=\"16\" y=\"54\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Order #10482</text>\n <text x=\"16\" y=\"70\" font-size=\"8\" fill=\"#666\">Placed 2 Apr · paid · 2 items</text>\n <rect x=\"16\" y=\"80\" width=\"48\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"40.0\" y=\"90\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Placed ✓</text>\n <rect x=\"70\" y=\"80\" width=\"39\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"89.5\" y=\"90\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Paid ✓</text>\n <rect x=\"115\" y=\"80\" width=\"48\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"139.0\" y=\"90\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Packed ✓</text>\n <rect x=\"169\" y=\"80\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"195.5\" y=\"90\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Shipped ✓</text>\n <rect x=\"228\" y=\"80\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"254.5\" y=\"90\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Delivered</text>\n <line x1=\"30\" y1=\"120\" x2=\"30\" y2=\"220\" stroke=\"#ccc\" stroke-width=\"2\"/>\n <circle cx=\"30\" cy=\"120\" r=\"5\" fill=\"#2563eb\"/>\n <text x=\"44\" y=\"123\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Out for delivery</text>\n <text x=\"384\" y=\"123\" font-size=\"8\" fill=\"#666\" text-anchor=\"end\">Today 09:12</text>\n <circle cx=\"30\" cy=\"150\" r=\"5\" fill=\"#ccc\"/>\n <text x=\"44\" y=\"153\" font-size=\"9\" fill=\"#333\">Arrived at local depot</text>\n <text x=\"384\" y=\"153\" font-size=\"8\" fill=\"#666\" text-anchor=\"end\">Yesterday 18:40</text>\n <circle cx=\"30\" cy=\"180\" r=\"5\" fill=\"#ccc\"/>\n <text x=\"44\" y=\"183\" font-size=\"9\" fill=\"#333\">Handed to carrier</text>\n <text x=\"384\" y=\"183\" font-size=\"8\" fill=\"#666\" text-anchor=\"end\">3 Apr 14:05</text>\n <circle cx=\"30\" cy=\"210\" r=\"5\" fill=\"#ccc\"/>\n <text x=\"44\" y=\"213\" font-size=\"9\" fill=\"#333\">Packed at warehouse</text>\n <text x=\"384\" y=\"213\" font-size=\"8\" fill=\"#666\" text-anchor=\"end\">3 Apr 10:21</text>\n <rect x=\"16\" y=\"256\" width=\"150\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"91.0\" y=\"269.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Carrier tracking page</text>\n <rect x=\"274\" y=\"256\" width=\"110\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"329.0\" y=\"269.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Return an item</text>\n</svg>"
646
- },
647
- {
648
- "id": "flow-operations",
649
- "type": "group",
650
- "label": "Operations journey",
651
- "description": "Back-office work: catalogue upkeep and order exceptions.",
652
- "x": 0,
653
- "y": 2794,
654
- "width": 1240,
655
- "height": 330,
656
- "collapsed": false
657
- },
658
- {
659
- "id": "mockup-bo-catalogue",
660
- "type": "mockup",
661
- "label": "Catalogue",
662
- "description": "Products with price, stock and publication state.",
663
- "parentId": "flow-operations",
664
- "x": 30,
665
- "y": 110,
666
- "width": 220,
667
- "height": 190,
668
- "collapsed": false,
669
- "screen": "/admin/catalogue",
670
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Back Office</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Customers</text>\n <text x=\"327\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Catalogue</text>\n <text x=\"266\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Orders</text>\n <text x=\"16\" y=\"54\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Catalogue</text>\n <rect x=\"290\" y=\"40\" width=\"94\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"337.0\" y=\"53.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">+ New product</text>\n <rect x=\"16\" y=\"64\" width=\"250\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"76.0\" font-size=\"8\" fill=\"#999\">Search products or SKUs</text>\n <rect x=\"16\" y=\"92\" width=\"368\" height=\"30\" fill=\"#f3f4f6\"/>\n <text x=\"22\" y=\"110.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\"></text>\n <text x=\"52\" y=\"110.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Product</text>\n <text x=\"202\" y=\"110.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Price</text>\n <text x=\"262\" y=\"110.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Stock</text>\n <text x=\"312\" y=\"110.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Status</text>\n <rect x=\"16\" y=\"122\" width=\"368\" height=\"30\" fill=\"#eef2ff\"/>\n <line x1=\"16\" y1=\"152\" x2=\"384\" y2=\"152\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"140.0\" font-size=\"8\" fill=\"#333\"></text>\n <text x=\"52\" y=\"140.0\" font-size=\"8\" fill=\"#333\">Trail Running Shoe</text>\n <text x=\"202\" y=\"140.0\" font-size=\"8\" fill=\"#333\">€129.00</text>\n <text x=\"262\" y=\"140.0\" font-size=\"8\" fill=\"#333\">12</text>\n <rect x=\"310\" y=\"130.0\" width=\"30\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"325.0\" y=\"140.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">live</text>\n <line x1=\"16\" y1=\"182\" x2=\"384\" y2=\"182\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"170.0\" font-size=\"8\" fill=\"#333\"></text>\n <rect x=\"52\" y=\"164.5\" width=\"110\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"170.0\" font-size=\"8\" fill=\"#333\">€99.00</text>\n <text x=\"262\" y=\"170.0\" font-size=\"8\" fill=\"#333\">0</text>\n <rect x=\"310\" y=\"160.0\" width=\"67\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"343.5\" y=\"170.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">out of stock</text>\n <line x1=\"16\" y1=\"212\" x2=\"384\" y2=\"212\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"200.0\" font-size=\"8\" fill=\"#333\"></text>\n <rect x=\"52\" y=\"194.5\" width=\"90\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"200.0\" font-size=\"8\" fill=\"#333\">€145.00</text>\n <text x=\"262\" y=\"200.0\" font-size=\"8\" fill=\"#333\">34</text>\n <rect x=\"310\" y=\"190.0\" width=\"30\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"325.0\" y=\"200.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">live</text>\n <line x1=\"16\" y1=\"242\" x2=\"384\" y2=\"242\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"230.0\" font-size=\"8\" fill=\"#333\"></text>\n <rect x=\"52\" y=\"224.5\" width=\"120\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"230.0\" font-size=\"8\" fill=\"#333\">€59.00</text>\n <text x=\"262\" y=\"230.0\" font-size=\"8\" fill=\"#333\">7</text>\n <rect x=\"310\" y=\"220.0\" width=\"35\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"327.5\" y=\"230.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">draft</text>\n <line x1=\"16\" y1=\"272\" x2=\"384\" y2=\"272\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"260.0\" font-size=\"8\" fill=\"#333\"></text>\n <rect x=\"52\" y=\"254.5\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"260.0\" font-size=\"8\" fill=\"#333\">€89.00</text>\n <text x=\"262\" y=\"260.0\" font-size=\"8\" fill=\"#333\">21</text>\n <rect x=\"310\" y=\"250.0\" width=\"30\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"325.0\" y=\"260.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">live</text>\n <rect x=\"20\" y=\"126\" width=\"22\" height=\"22\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"20\" y1=\"126\" x2=\"42\" y2=\"148\" stroke=\"#ccc\"/>\n <line x1=\"42\" y1=\"126\" x2=\"20\" y2=\"148\" stroke=\"#ccc\"/>\n <rect x=\"20\" y=\"156\" width=\"22\" height=\"22\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"20\" y1=\"156\" x2=\"42\" y2=\"178\" stroke=\"#ccc\"/>\n <line x1=\"42\" y1=\"156\" x2=\"20\" y2=\"178\" stroke=\"#ccc\"/>\n <rect x=\"20\" y=\"186\" width=\"22\" height=\"22\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"20\" y1=\"186\" x2=\"42\" y2=\"208\" stroke=\"#ccc\"/>\n <line x1=\"42\" y1=\"186\" x2=\"20\" y2=\"208\" stroke=\"#ccc\"/>\n <rect x=\"20\" y=\"216\" width=\"22\" height=\"22\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"20\" y1=\"216\" x2=\"42\" y2=\"238\" stroke=\"#ccc\"/>\n <line x1=\"42\" y1=\"216\" x2=\"20\" y2=\"238\" stroke=\"#ccc\"/>\n <rect x=\"20\" y=\"246\" width=\"22\" height=\"22\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"20\" y1=\"246\" x2=\"42\" y2=\"268\" stroke=\"#ccc\"/>\n <line x1=\"42\" y1=\"246\" x2=\"20\" y2=\"268\" stroke=\"#ccc\"/>\n</svg>"
671
- },
672
- {
673
- "id": "mockup-bo-product-editor",
674
- "type": "mockup",
675
- "label": "Product Editor",
676
- "description": "Edit price, stock and copy; changes reach the search index within {{INDEX_LAG_SECONDS}} s.",
677
- "parentId": "flow-operations",
678
- "x": 350,
679
- "y": 110,
680
- "width": 220,
681
- "height": 190,
682
- "collapsed": false,
683
- "screen": "/admin/catalogue/:sku",
684
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Back Office</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Customers</text>\n <text x=\"327\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Catalogue</text>\n <text x=\"266\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Orders</text>\n <text x=\"16\" y=\"46\" font-size=\"8\" fill=\"#2563eb\">← Catalogue</text>\n <text x=\"16\" y=\"66\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Trail Running Shoe</text>\n <rect x=\"16\" y=\"78\" width=\"110\" height=\"90\" rx=\"3\" fill=\"#eee\" stroke=\"#ccc\"/>\n <line x1=\"16\" y1=\"78\" x2=\"126\" y2=\"168\" stroke=\"#ccc\"/>\n <line x1=\"126\" y1=\"78\" x2=\"16\" y2=\"168\" stroke=\"#ccc\"/>\n <text x=\"140\" y=\"78\" font-size=\"8\" fill=\"#666\">Title</text>\n <rect x=\"140\" y=\"82\" width=\"244\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"146\" y=\"94.0\" font-size=\"8\" fill=\"#999\">Trail Running Shoe</text>\n <text x=\"140\" y=\"112\" font-size=\"8\" fill=\"#666\">Price</text>\n <rect x=\"140\" y=\"116\" width=\"116\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"146\" y=\"128.0\" font-size=\"8\" fill=\"#999\">€ 129.00</text>\n <text x=\"268\" y=\"112\" font-size=\"8\" fill=\"#666\">Stock on hand</text>\n <rect x=\"268\" y=\"116\" width=\"116\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"274\" y=\"128.0\" font-size=\"8\" fill=\"#999\">12</text>\n <text x=\"140\" y=\"146\" font-size=\"8\" fill=\"#666\">Description</text>\n <rect x=\"140\" y=\"150\" width=\"244\" height=\"44\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"146\" y=\"175.0\" font-size=\"8\" fill=\"#999\">Grippy outsole, 8 mm drop…</text>\n <text x=\"16\" y=\"218\" font-size=\"8\" fill=\"#666\">Changes reach search within ~30 s.</text>\n <rect x=\"16\" y=\"256\" width=\"110\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"71.0\" y=\"269.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Unpublish</text>\n <rect x=\"274\" y=\"256\" width=\"110\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"329.0\" y=\"269.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Save changes</text>\n</svg>"
685
- },
686
- {
687
- "id": "mockup-bo-orders",
688
- "type": "mockup",
689
- "label": "Orders",
690
- "description": "Order list filtered to the exceptions staff act on.",
691
- "parentId": "flow-operations",
692
- "x": 670,
693
- "y": 110,
694
- "width": 220,
695
- "height": 190,
696
- "collapsed": false,
697
- "screen": "/admin/orders",
698
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Back Office</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Customers</text>\n <text x=\"327\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Catalogue</text>\n <text x=\"266\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Orders</text>\n <text x=\"16\" y=\"54\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Orders</text>\n <rect x=\"80\" y=\"42\" width=\"25\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"92.5\" y=\"52\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">All</text>\n <rect x=\"111\" y=\"42\" width=\"85\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"153.5\" y=\"52\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Payment failed 3</text>\n <rect x=\"202\" y=\"42\" width=\"85\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"244.5\" y=\"52\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Awaiting stock 2</text>\n <rect x=\"293\" y=\"42\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"319.5\" y=\"52\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">Returns 5</text>\n <rect x=\"16\" y=\"66\" width=\"368\" height=\"22\" fill=\"#f3f4f6\"/>\n <text x=\"22\" y=\"80.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Order</text>\n <text x=\"92\" y=\"80.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Customer</text>\n <text x=\"202\" y=\"80.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Total</text>\n <text x=\"272\" y=\"80.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Status</text>\n <line x1=\"16\" y1=\"110\" x2=\"384\" y2=\"110\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"102.0\" font-size=\"8\" fill=\"#333\">#10482</text>\n <text x=\"92\" y=\"102.0\" font-size=\"8\" fill=\"#333\">Jane Doe</text>\n <text x=\"202\" y=\"102.0\" font-size=\"8\" fill=\"#333\">€141.90</text>\n <rect x=\"270\" y=\"92.0\" width=\"30\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"285.0\" y=\"102.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">paid</text>\n <rect x=\"16\" y=\"110\" width=\"368\" height=\"22\" fill=\"#eef2ff\"/>\n <line x1=\"16\" y1=\"132\" x2=\"384\" y2=\"132\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"124.0\" font-size=\"8\" fill=\"#333\">#10481</text>\n <rect x=\"92\" y=\"118.5\" width=\"70\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"124.0\" font-size=\"8\" fill=\"#333\">€89.00</text>\n <rect x=\"270\" y=\"114.0\" width=\"76\" height=\"14\" rx=\"7\" fill=\"#333\"/>\n <text x=\"308.0\" y=\"124.0\" font-size=\"8\" fill=\"#fff\" text-anchor=\"middle\">payment failed</text>\n <line x1=\"16\" y1=\"154\" x2=\"384\" y2=\"154\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"146.0\" font-size=\"8\" fill=\"#333\">#10480</text>\n <rect x=\"92\" y=\"140.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"146.0\" font-size=\"8\" fill=\"#333\">€212.40</text>\n <rect x=\"270\" y=\"136.0\" width=\"44\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"292.0\" y=\"146.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">shipped</text>\n <line x1=\"16\" y1=\"176\" x2=\"384\" y2=\"176\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"168.0\" font-size=\"8\" fill=\"#333\">#10479</text>\n <rect x=\"92\" y=\"162.5\" width=\"80\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"168.0\" font-size=\"8\" fill=\"#333\">€54.00</text>\n <rect x=\"270\" y=\"158.0\" width=\"76\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"308.0\" y=\"168.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">awaiting stock</text>\n <line x1=\"16\" y1=\"198\" x2=\"384\" y2=\"198\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"190.0\" font-size=\"8\" fill=\"#333\">#10478</text>\n <rect x=\"92\" y=\"184.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"190.0\" font-size=\"8\" fill=\"#333\">€129.00</text>\n <rect x=\"270\" y=\"180.0\" width=\"53\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"296.5\" y=\"190.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">delivered</text>\n <line x1=\"16\" y1=\"220\" x2=\"384\" y2=\"220\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"212.0\" font-size=\"8\" fill=\"#333\">#10477</text>\n <rect x=\"92\" y=\"206.5\" width=\"70\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"202\" y=\"212.0\" font-size=\"8\" fill=\"#333\">€99.00</text>\n <rect x=\"270\" y=\"202.0\" width=\"85\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"312.5\" y=\"212.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">return requested</text>\n</svg>"
699
- },
700
- {
701
- "id": "mockup-bo-order-detail",
702
- "type": "mockup",
703
- "label": "Order Detail",
704
- "description": "Payment attempts share one idempotency key, so staff can see nothing was captured twice; stock is released automatically when the hold expires.",
705
- "parentId": "flow-operations",
706
- "x": 990,
707
- "y": 110,
708
- "width": 220,
709
- "height": 190,
710
- "collapsed": false,
711
- "screen": "/admin/orders/:id",
712
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Back Office</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Customers</text>\n <text x=\"327\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Catalogue</text>\n <text x=\"266\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Orders</text>\n <text x=\"16\" y=\"46\" font-size=\"8\" fill=\"#2563eb\">← Orders</text>\n <text x=\"16\" y=\"66\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Order #10481</text>\n <rect x=\"120\" y=\"56\" width=\"76\" height=\"14\" rx=\"7\" fill=\"#333\"/>\n <text x=\"158.0\" y=\"66\" font-size=\"8\" fill=\"#fff\" text-anchor=\"middle\">payment failed</text>\n <rect x=\"16\" y=\"78\" width=\"240\" height=\"96\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"26\" y=\"94\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Payments</text>\n <rect x=\"26\" y=\"100\" width=\"220\" height=\"18\" fill=\"#f3f4f6\"/>\n <text x=\"32\" y=\"112.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Attempt</text>\n <text x=\"92\" y=\"112.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Key</text>\n <text x=\"182\" y=\"112.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Result</text>\n <line x1=\"26\" y1=\"136\" x2=\"246\" y2=\"136\" stroke=\"#e5e7eb\"/>\n <text x=\"32\" y=\"130.0\" font-size=\"8\" fill=\"#333\">1</text>\n <text x=\"92\" y=\"130.0\" font-size=\"8\" fill=\"#333\">ord-10481</text>\n <text x=\"182\" y=\"130.0\" font-size=\"8\" fill=\"#333\">declined</text>\n <line x1=\"26\" y1=\"154\" x2=\"246\" y2=\"154\" stroke=\"#e5e7eb\"/>\n <text x=\"32\" y=\"148.0\" font-size=\"8\" fill=\"#333\">2</text>\n <text x=\"92\" y=\"148.0\" font-size=\"8\" fill=\"#333\">ord-10481</text>\n <text x=\"182\" y=\"148.0\" font-size=\"8\" fill=\"#333\">declined</text>\n <text x=\"26\" y=\"166\" font-size=\"7.5\" fill=\"#666\">Same idempotency key → never captured twice</text>\n <rect x=\"266\" y=\"78\" width=\"118\" height=\"96\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"276\" y=\"94\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Stock</text>\n <text x=\"276\" y=\"112\" font-size=\"8\" fill=\"#333\">Reserved until 10:47</text>\n <text x=\"276\" y=\"128\" font-size=\"8\" fill=\"#666\">auto-release on expiry</text>\n <rect x=\"16\" y=\"190\" width=\"300\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"16\" y=\"201\" width=\"300\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"16\" y=\"212\" width=\"180\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"16\" y=\"256\" width=\"120\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"76.0\" y=\"269.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Contact customer</text>\n <rect x=\"264\" y=\"256\" width=\"120\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"324.0\" y=\"269.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Cancel order</text>\n</svg>"
713
- }
714
- ],
715
- "relations": [
716
- {
717
- "id": "shopper--storefront",
718
- "sourceId": "shopper",
719
- "targetId": "storefront",
720
- "label": "Shops",
721
- "technology": "HTTPS"
722
- },
723
- {
724
- "id": "ops--backoffice",
725
- "sourceId": "ops",
726
- "targetId": "backoffice",
727
- "label": "Manages catalogue and orders",
728
- "technology": "HTTPS"
729
- },
730
- {
731
- "id": "storefront--gateway",
732
- "sourceId": "storefront",
733
- "targetId": "gateway",
734
- "label": "Calls API",
735
- "technology": "HTTPS / JSON"
736
- },
737
- {
738
- "id": "backoffice--gateway",
739
- "sourceId": "backoffice",
740
- "targetId": "gateway",
741
- "label": "Calls API",
742
- "technology": "HTTPS / JSON"
743
- },
744
- {
745
- "id": "gateway--catalog",
746
- "sourceId": "gateway",
747
- "targetId": "catalog",
748
- "label": "Routes /catalog/**",
749
- "technology": "gRPC"
750
- },
751
- {
752
- "id": "gateway--cart",
753
- "sourceId": "gateway",
754
- "targetId": "cart",
755
- "label": "Routes /cart/**, /checkout/**",
756
- "technology": "HTTP"
757
- },
758
- {
759
- "id": "gateway--orders",
760
- "sourceId": "gateway",
761
- "targetId": "orders",
762
- "label": "Routes /orders/**",
763
- "technology": "HTTP"
764
- },
765
- {
766
- "id": "catalog--catalog-db",
767
- "sourceId": "catalog",
768
- "targetId": "catalog-db",
769
- "label": "Reads / writes",
770
- "technology": "SQL"
771
- },
772
- {
773
- "id": "catalog--search",
774
- "sourceId": "catalog",
775
- "targetId": "search",
776
- "label": "Updates search projection",
777
- "technology": "HTTP bulk"
778
- },
779
- {
780
- "id": "cart--cart-db",
781
- "sourceId": "cart",
782
- "targetId": "cart-db",
783
- "label": "Reads / writes carts",
784
- "technology": "Redis protocol"
785
- },
786
- {
787
- "id": "cart--catalog",
788
- "sourceId": "cart",
789
- "targetId": "catalog",
790
- "label": "Fetches prices and availability",
791
- "technology": "gRPC"
792
- },
793
- {
794
- "id": "cart--orders",
795
- "sourceId": "cart",
796
- "targetId": "orders",
797
- "label": "Creates order",
798
- "technology": "HTTP"
799
- },
800
- {
801
- "id": "orders--orders-db",
802
- "sourceId": "orders",
803
- "targetId": "orders-db",
804
- "label": "Writes order + outbox",
805
- "technology": "SQL"
806
- },
807
- {
808
- "id": "orders--bus",
809
- "sourceId": "orders",
810
- "targetId": "bus",
811
- "label": "Publishes OrderPlaced (via outbox)",
812
- "technology": "Avro"
813
- },
814
- {
815
- "id": "bus--payments",
816
- "sourceId": "bus",
817
- "targetId": "payments",
818
- "label": "Delivers OrderPlaced",
819
- "technology": "Consumer group"
820
- },
821
- {
822
- "id": "payments--payments-db",
823
- "sourceId": "payments",
824
- "targetId": "payments-db",
825
- "label": "Reads / writes intents",
826
- "technology": "SQL"
827
- },
828
- {
829
- "id": "payments--psp",
830
- "sourceId": "payments",
831
- "targetId": "psp",
832
- "label": "Authorises and captures",
833
- "technology": "HTTPS"
834
- },
835
- {
836
- "id": "payments--bus",
837
- "sourceId": "payments",
838
- "targetId": "bus",
839
- "label": "Publishes PaymentCaptured / PaymentFailed",
840
- "technology": "Avro"
841
- },
842
- {
843
- "id": "bus--orders",
844
- "sourceId": "bus",
845
- "targetId": "orders",
846
- "label": "Delivers payment and shipment events",
847
- "technology": "Consumer group"
848
- },
849
- {
850
- "id": "bus--fulfilment",
851
- "sourceId": "bus",
852
- "targetId": "fulfilment",
853
- "label": "Delivers PaymentCaptured",
854
- "technology": "Consumer group"
855
- },
856
- {
857
- "id": "fulfilment--carrier",
858
- "sourceId": "fulfilment",
859
- "targetId": "carrier",
860
- "label": "Books shipment",
861
- "technology": "HTTPS"
862
- },
863
- {
864
- "id": "fulfilment--bus",
865
- "sourceId": "fulfilment",
866
- "targetId": "bus",
867
- "label": "Publishes ShipmentDispatched",
868
- "technology": "Avro"
869
- },
870
- {
871
- "id": "orders--email",
872
- "sourceId": "orders",
873
- "targetId": "email",
874
- "label": "Sends order confirmation",
875
- "technology": "HTTPS"
876
- },
877
- {
878
- "id": "req-checkout-latency--cart",
879
- "sourceId": "req-checkout-latency",
880
- "targetId": "cart",
881
- "relationType": "constrains"
882
- },
883
- {
884
- "id": "req-payment-once--payments",
885
- "sourceId": "req-payment-once",
886
- "targetId": "payments",
887
- "relationType": "constrains"
888
- },
889
- {
890
- "id": "req-stock-reservation--orders",
891
- "sourceId": "req-stock-reservation",
892
- "targetId": "orders",
893
- "relationType": "constrains"
894
- },
895
- {
896
- "id": "req-pci-scope--payments",
897
- "sourceId": "req-pci-scope",
898
- "targetId": "payments",
899
- "relationType": "constrains"
900
- },
901
- {
902
- "id": "req-checkout-latency--ff-checkout-conversion",
903
- "sourceId": "req-checkout-latency",
904
- "targetId": "ff-checkout-conversion",
905
- "relationType": "traces-to"
906
- },
907
- {
908
- "id": "req-payment-once--ff-payment-reconciliation",
909
- "sourceId": "req-payment-once",
910
- "targetId": "ff-payment-reconciliation",
911
- "relationType": "traces-to"
912
- },
913
- {
914
- "id": "ff-search-freshness--search",
915
- "sourceId": "ff-search-freshness",
916
- "targetId": "search",
917
- "relationType": "constrains"
918
- },
919
- {
920
- "id": "adr-hosted-payments--payments",
921
- "sourceId": "adr-hosted-payments",
922
- "targetId": "payments",
923
- "relationType": "constrains"
924
- },
925
- {
926
- "id": "adr-database-per-service--platform",
927
- "sourceId": "adr-database-per-service",
928
- "targetId": "platform",
929
- "relationType": "constrains"
930
- },
931
- {
932
- "id": "req-pci-scope--adr-hosted-payments",
933
- "sourceId": "req-pci-scope",
934
- "targetId": "adr-hosted-payments",
935
- "relationType": "traces-to"
936
- },
937
- {
938
- "id": "mockup-home--storefront",
939
- "sourceId": "mockup-home",
940
- "targetId": "storefront",
941
- "relationType": "presented-by"
942
- },
943
- {
944
- "id": "mockup-home--mockup-search-results",
945
- "sourceId": "mockup-home",
946
- "targetId": "mockup-search-results",
947
- "relationType": "navigates-to",
948
- "label": "Search"
949
- },
950
- {
951
- "id": "mockup-search-results--storefront",
952
- "sourceId": "mockup-search-results",
953
- "targetId": "storefront",
954
- "relationType": "presented-by"
955
- },
956
- {
957
- "id": "mockup-search-results--mockup-product-page",
958
- "sourceId": "mockup-search-results",
959
- "targetId": "mockup-product-page",
960
- "relationType": "navigates-to",
961
- "label": "Open product"
962
- },
963
- {
964
- "id": "mockup-product-page--storefront",
965
- "sourceId": "mockup-product-page",
966
- "targetId": "storefront",
967
- "relationType": "presented-by"
968
- },
969
- {
970
- "id": "mockup-product-page--mockup-cart",
971
- "sourceId": "mockup-product-page",
972
- "targetId": "mockup-cart",
973
- "relationType": "navigates-to",
974
- "label": "Add to cart"
975
- },
976
- {
977
- "id": "mockup-cart--storefront",
978
- "sourceId": "mockup-cart",
979
- "targetId": "storefront",
980
- "relationType": "presented-by"
981
- },
982
- {
983
- "id": "mockup-cart--mockup-checkout-address",
984
- "sourceId": "mockup-cart",
985
- "targetId": "mockup-checkout-address",
986
- "relationType": "navigates-to",
987
- "label": "Checkout"
988
- },
989
- {
990
- "id": "mockup-checkout-address--req-checkout-latency",
991
- "sourceId": "mockup-checkout-address",
992
- "targetId": "req-checkout-latency",
993
- "relationType": "illustrates"
994
- },
995
- {
996
- "id": "mockup-checkout-address--storefront",
997
- "sourceId": "mockup-checkout-address",
998
- "targetId": "storefront",
999
- "relationType": "presented-by"
1000
- },
1001
- {
1002
- "id": "mockup-checkout-address--mockup-checkout-shipping",
1003
- "sourceId": "mockup-checkout-address",
1004
- "targetId": "mockup-checkout-shipping",
1005
- "relationType": "navigates-to",
1006
- "label": "Continue"
1007
- },
1008
- {
1009
- "id": "mockup-checkout-shipping--req-checkout-latency",
1010
- "sourceId": "mockup-checkout-shipping",
1011
- "targetId": "req-checkout-latency",
1012
- "relationType": "illustrates"
1013
- },
1014
- {
1015
- "id": "mockup-checkout-shipping--storefront",
1016
- "sourceId": "mockup-checkout-shipping",
1017
- "targetId": "storefront",
1018
- "relationType": "presented-by"
1019
- },
1020
- {
1021
- "id": "mockup-checkout-shipping--mockup-checkout",
1022
- "sourceId": "mockup-checkout-shipping",
1023
- "targetId": "mockup-checkout",
1024
- "relationType": "navigates-to",
1025
- "label": "Continue"
1026
- },
1027
- {
1028
- "id": "mockup-checkout--req-checkout-latency",
1029
- "sourceId": "mockup-checkout",
1030
- "targetId": "req-checkout-latency",
1031
- "relationType": "illustrates"
1032
- },
1033
- {
1034
- "id": "mockup-checkout--req-pci-scope",
1035
- "sourceId": "mockup-checkout",
1036
- "targetId": "req-pci-scope",
1037
- "relationType": "illustrates"
1038
- },
1039
- {
1040
- "id": "mockup-checkout--req-stock-reservation",
1041
- "sourceId": "mockup-checkout",
1042
- "targetId": "req-stock-reservation",
1043
- "relationType": "illustrates"
1044
- },
1045
- {
1046
- "id": "mockup-checkout--storefront",
1047
- "sourceId": "mockup-checkout",
1048
- "targetId": "storefront",
1049
- "relationType": "presented-by"
1050
- },
1051
- {
1052
- "id": "mockup-checkout--mockup-order-confirmation",
1053
- "sourceId": "mockup-checkout",
1054
- "targetId": "mockup-order-confirmation",
1055
- "relationType": "navigates-to",
1056
- "label": "Pay"
1057
- },
1058
- {
1059
- "id": "mockup-checkout--mockup-payment-declined",
1060
- "sourceId": "mockup-checkout",
1061
- "targetId": "mockup-payment-declined",
1062
- "relationType": "navigates-to",
1063
- "label": "Card declined"
1064
- },
1065
- {
1066
- "id": "mockup-payment-declined--req-payment-once",
1067
- "sourceId": "mockup-payment-declined",
1068
- "targetId": "req-payment-once",
1069
- "relationType": "illustrates"
1070
- },
1071
- {
1072
- "id": "mockup-payment-declined--req-stock-reservation",
1073
- "sourceId": "mockup-payment-declined",
1074
- "targetId": "req-stock-reservation",
1075
- "relationType": "illustrates"
1076
- },
1077
- {
1078
- "id": "mockup-payment-declined--storefront",
1079
- "sourceId": "mockup-payment-declined",
1080
- "targetId": "storefront",
1081
- "relationType": "presented-by"
1082
- },
1083
- {
1084
- "id": "mockup-payment-declined--mockup-checkout",
1085
- "sourceId": "mockup-payment-declined",
1086
- "targetId": "mockup-checkout",
1087
- "relationType": "navigates-to",
1088
- "label": "Try another card"
1089
- },
1090
- {
1091
- "id": "mockup-order-confirmation--req-payment-once",
1092
- "sourceId": "mockup-order-confirmation",
1093
- "targetId": "req-payment-once",
1094
- "relationType": "illustrates"
1095
- },
1096
- {
1097
- "id": "mockup-order-confirmation--req-stock-reservation",
1098
- "sourceId": "mockup-order-confirmation",
1099
- "targetId": "req-stock-reservation",
1100
- "relationType": "illustrates"
1101
- },
1102
- {
1103
- "id": "mockup-order-confirmation--storefront",
1104
- "sourceId": "mockup-order-confirmation",
1105
- "targetId": "storefront",
1106
- "relationType": "presented-by"
1107
- },
1108
- {
1109
- "id": "mockup-order-confirmation--mockup-order-tracking",
1110
- "sourceId": "mockup-order-confirmation",
1111
- "targetId": "mockup-order-tracking",
1112
- "relationType": "navigates-to",
1113
- "label": "Track order"
1114
- },
1115
- {
1116
- "id": "mockup-order-confirmation--mockup-home",
1117
- "sourceId": "mockup-order-confirmation",
1118
- "targetId": "mockup-home",
1119
- "relationType": "navigates-to",
1120
- "label": "Continue shopping"
1121
- },
1122
- {
1123
- "id": "mockup-order-tracking--storefront",
1124
- "sourceId": "mockup-order-tracking",
1125
- "targetId": "storefront",
1126
- "relationType": "presented-by"
1127
- },
1128
- {
1129
- "id": "mockup-bo-catalogue--backoffice",
1130
- "sourceId": "mockup-bo-catalogue",
1131
- "targetId": "backoffice",
1132
- "relationType": "presented-by"
1133
- },
1134
- {
1135
- "id": "mockup-bo-catalogue--mockup-bo-product-editor",
1136
- "sourceId": "mockup-bo-catalogue",
1137
- "targetId": "mockup-bo-product-editor",
1138
- "relationType": "navigates-to",
1139
- "label": "Edit product"
1140
- },
1141
- {
1142
- "id": "mockup-bo-catalogue--mockup-bo-orders",
1143
- "sourceId": "mockup-bo-catalogue",
1144
- "targetId": "mockup-bo-orders",
1145
- "relationType": "navigates-to",
1146
- "label": "Orders"
1147
- },
1148
- {
1149
- "id": "mockup-bo-product-editor--backoffice",
1150
- "sourceId": "mockup-bo-product-editor",
1151
- "targetId": "backoffice",
1152
- "relationType": "presented-by"
1153
- },
1154
- {
1155
- "id": "mockup-bo-product-editor--mockup-bo-catalogue",
1156
- "sourceId": "mockup-bo-product-editor",
1157
- "targetId": "mockup-bo-catalogue",
1158
- "relationType": "navigates-to",
1159
- "label": "Save changes"
1160
- },
1161
- {
1162
- "id": "mockup-bo-orders--backoffice",
1163
- "sourceId": "mockup-bo-orders",
1164
- "targetId": "backoffice",
1165
- "relationType": "presented-by"
1166
- },
1167
- {
1168
- "id": "mockup-bo-orders--mockup-bo-order-detail",
1169
- "sourceId": "mockup-bo-orders",
1170
- "targetId": "mockup-bo-order-detail",
1171
- "relationType": "navigates-to",
1172
- "label": "Open order"
1173
- },
1174
- {
1175
- "id": "mockup-bo-order-detail--req-payment-once",
1176
- "sourceId": "mockup-bo-order-detail",
1177
- "targetId": "req-payment-once",
1178
- "relationType": "illustrates"
1179
- },
1180
- {
1181
- "id": "mockup-bo-order-detail--req-stock-reservation",
1182
- "sourceId": "mockup-bo-order-detail",
1183
- "targetId": "req-stock-reservation",
1184
- "relationType": "illustrates"
1185
- },
1186
- {
1187
- "id": "mockup-bo-order-detail--backoffice",
1188
- "sourceId": "mockup-bo-order-detail",
1189
- "targetId": "backoffice",
1190
- "relationType": "presented-by"
1191
- },
1192
- {
1193
- "id": "mockup-bo-order-detail--mockup-bo-orders",
1194
- "sourceId": "mockup-bo-order-detail",
1195
- "targetId": "mockup-bo-orders",
1196
- "relationType": "navigates-to",
1197
- "label": "Back to orders"
1198
- }
1199
- ],
1200
- "sequences": [
1201
- {
1202
- "id": "seq-technical",
1203
- "name": "Place an order and pay",
1204
- "relationIds": [
1205
- "shopper--storefront",
1206
- "storefront--gateway",
1207
- "gateway--cart",
1208
- "cart--catalog",
1209
- "cart--orders",
1210
- "orders--orders-db",
1211
- "orders--bus",
1212
- "bus--payments",
1213
- "payments--psp",
1214
- "payments--bus",
1215
- "bus--orders",
1216
- "orders--email",
1217
- "bus--fulfilment",
1218
- "fulfilment--carrier"
1219
- ],
1220
- "stepDescriptions": [
1221
- "Shopper adds the item to the cart and checks out.",
1222
- "Storefront submits the checkout step through the API gateway.",
1223
- "Gateway routes /checkout/** to Cart & Checkout.",
1224
- "Cart re-checks prices and availability.",
1225
- "Cart creates the order.",
1226
- "Order and outbox event are written in one transaction; stock is reserved.",
1227
- "OrderPlaced is published via the outbox.",
1228
- "Payment Service consumes OrderPlaced.",
1229
- "Payment is captured once, keyed by the order id.",
1230
- "PaymentCaptured is published.",
1231
- "Order Service marks the order paid.",
1232
- "Order confirmation e-mail goes to the shopper.",
1233
- "Fulfilment consumes PaymentCaptured.",
1234
- "Fulfilment books the shipment with the carrier."
1235
- ]
1236
- },
1237
- {
1238
- "id": "seq-flow-shopper",
1239
- "name": "Shopper journey",
1240
- "relationIds": [
1241
- "mockup-home--mockup-search-results",
1242
- "mockup-search-results--mockup-product-page",
1243
- "mockup-product-page--mockup-cart",
1244
- "mockup-cart--mockup-checkout-address",
1245
- "mockup-checkout-address--mockup-checkout-shipping",
1246
- "mockup-checkout-shipping--mockup-checkout",
1247
- "mockup-checkout--mockup-order-confirmation",
1248
- "mockup-order-confirmation--mockup-order-tracking",
1249
- "mockup-checkout--mockup-payment-declined",
1250
- "mockup-payment-declined--mockup-checkout",
1251
- "mockup-order-confirmation--mockup-home"
1252
- ],
1253
- "stepDescriptions": [
1254
- "Search → Search Results. Filtered results from the search index (at most {{INDEX_LAG_SECONDS}} s behind the catalogue).",
1255
- "Open product → Product Page. Product detail with live availability from the catalogue; \"Add to cart\" leads into checkout.",
1256
- "Add to cart → Cart. Cart with quantities and promo code; shipping is quoted at the next step.",
1257
- "Checkout → Checkout — Address. First checkout step; like every step it answers within {{CHECKOUT_P95_MS}} ms at p95.",
1258
- "Continue → Checkout — Shipping. Live carrier quotes; still inside the checkout latency budget.",
1259
- "Continue → Checkout — Payment. Final checkout step.",
1260
- "Pay → Order Confirmation. Shown once payment is captured.",
1261
- "Track order → Order Tracking. Order status and carrier events after fulfilment books the shipment.",
1262
- "Card declined → Payment Declined. Declined payment: nothing was captured, items stay reserved for the rest of the {{RESERVATION_MINUTES}}-minute hold, and retrying reuses the same idempotency key.",
1263
- "Try another card → Checkout — Payment. Final checkout step.",
1264
- "Continue shopping → Home. Landing page: search, campaigns and categories."
1265
- ]
1266
- },
1267
- {
1268
- "id": "seq-flow-operations",
1269
- "name": "Operations journey",
1270
- "relationIds": [
1271
- "mockup-bo-catalogue--mockup-bo-product-editor",
1272
- "mockup-bo-product-editor--mockup-bo-catalogue",
1273
- "mockup-bo-catalogue--mockup-bo-orders",
1274
- "mockup-bo-orders--mockup-bo-order-detail",
1275
- "mockup-bo-order-detail--mockup-bo-orders"
1276
- ],
1277
- "stepDescriptions": [
1278
- "Edit product → Product Editor. Edit price, stock and copy; changes reach the search index within {{INDEX_LAG_SECONDS}} s.",
1279
- "Save changes → Catalogue. Products with price, stock and publication state.",
1280
- "Orders → Orders. Order list filtered to the exceptions staff act on.",
1281
- "Open order → Order Detail. Payment attempts share one idempotency key, so staff can see nothing was captured twice; stock is released automatically when the hold expires.",
1282
- "Back to orders → Orders. Order list filtered to the exceptions staff act on."
1283
- ]
1284
- }
1285
- ],
1286
- "views": [
1287
- {
1288
- "id": "view-context",
1289
- "name": "System context",
1290
- "kind": "static",
1291
- "nodeIds": [
1292
- "shopper",
1293
- "ops",
1294
- "platform",
1295
- "psp",
1296
- "carrier",
1297
- "email"
1298
- ],
1299
- "collapsedNodeIds": [
1300
- "platform"
1301
- ],
1302
- "positions": {
1303
- "ops": {
1304
- "x": 210,
1305
- "y": 0,
1306
- "width": 150,
1307
- "height": 170
1308
- },
1309
- "platform": {
1310
- "x": 0,
1311
- "y": 290,
1312
- "width": 280,
1313
- "height": 180
1314
- },
1315
- "shopper": {
1316
- "x": 0,
1317
- "y": 0,
1318
- "width": 150,
1319
- "height": 170
1320
- },
1321
- "psp": {
1322
- "x": 400,
1323
- "y": 290,
1324
- "width": 360,
1325
- "height": 260
1326
- },
1327
- "carrier": {
1328
- "x": 820,
1329
- "y": 290,
1330
- "width": 360,
1331
- "height": 260
1332
- },
1333
- "email": {
1334
- "x": 1240,
1335
- "y": 290,
1336
- "width": 360,
1337
- "height": 260
1338
- }
1339
- }
1340
- },
1341
- {
1342
- "id": "view-containers",
1343
- "name": "Containers",
1344
- "kind": "static",
1345
- "nodeIds": [
1346
- "shopper",
1347
- "ops",
1348
- "platform",
1349
- "storefront",
1350
- "backoffice",
1351
- "gateway",
1352
- "bus",
1353
- "catalog",
1354
- "cart",
1355
- "orders",
1356
- "payments",
1357
- "fulfilment",
1358
- "catalog-db",
1359
- "cart-db",
1360
- "orders-db",
1361
- "payments-db",
1362
- "search",
1363
- "psp",
1364
- "carrier",
1365
- "email"
1366
- ],
1367
- "positions": {
1368
- "backoffice": {
1369
- "x": 370,
1370
- "y": 110,
1371
- "width": 210,
1372
- "height": 140
1373
- },
1374
- "bus": {
1375
- "x": 1050,
1376
- "y": 110,
1377
- "width": 220,
1378
- "height": 95
1379
- },
1380
- "carrier": {
1381
- "x": 420,
1382
- "y": 1160,
1383
- "width": 360,
1384
- "height": 260
1385
- },
1386
- "cart": {
1387
- "x": 30,
1388
- "y": 350,
1389
- "width": 300,
1390
- "height": 200
1391
- },
1392
- "cart-db": {
1393
- "x": 30,
1394
- "y": 590,
1395
- "width": 190,
1396
- "height": 130
1397
- },
1398
- "catalog": {
1399
- "x": 1390,
1400
- "y": 110,
1401
- "width": 300,
1402
- "height": 200
1403
- },
1404
- "catalog-db": {
1405
- "x": 1390,
1406
- "y": 350,
1407
- "width": 190,
1408
- "height": 130
1409
- },
1410
- "email": {
1411
- "x": 840,
1412
- "y": 1160,
1413
- "width": 360,
1414
- "height": 260
1415
- },
1416
- "fulfilment": {
1417
- "x": 1050,
1418
- "y": 350,
1419
- "width": 300,
1420
- "height": 200
1421
- },
1422
- "gateway": {
1423
- "x": 710,
1424
- "y": 110,
1425
- "width": 300,
1426
- "height": 200
1427
- },
1428
- "ops": {
1429
- "x": 210,
1430
- "y": 0,
1431
- "width": 150,
1432
- "height": 170
1433
- },
1434
- "orders": {
1435
- "x": 370,
1436
- "y": 350,
1437
- "width": 300,
1438
- "height": 200
1439
- },
1440
- "orders-db": {
1441
- "x": 370,
1442
- "y": 590,
1443
- "width": 190,
1444
- "height": 130
1445
- },
1446
- "payments": {
1447
- "x": 710,
1448
- "y": 350,
1449
- "width": 300,
1450
- "height": 200
1451
- },
1452
- "payments-db": {
1453
- "x": 710,
1454
- "y": 590,
1455
- "width": 190,
1456
- "height": 130
1457
- },
1458
- "platform": {
1459
- "x": 0,
1460
- "y": 290,
1461
- "width": 1720,
1462
- "height": 750
1463
- },
1464
- "psp": {
1465
- "x": 0,
1466
- "y": 1160,
1467
- "width": 360,
1468
- "height": 260
1469
- },
1470
- "search": {
1471
- "x": 1050,
1472
- "y": 590,
1473
- "width": 190,
1474
- "height": 130
1475
- },
1476
- "shopper": {
1477
- "x": 0,
1478
- "y": 0,
1479
- "width": 150,
1480
- "height": 170
1481
- },
1482
- "storefront": {
1483
- "x": 30,
1484
- "y": 110,
1485
- "width": 210,
1486
- "height": 140
1487
- }
1488
- }
1489
- },
1490
- {
1491
- "id": "view-technical-flow",
1492
- "name": "Place an order and pay",
1493
- "kind": "dynamic",
1494
- "sequenceId": "seq-technical",
1495
- "nodeIds": [
1496
- "shopper",
1497
- "storefront",
1498
- "gateway",
1499
- "cart",
1500
- "catalog",
1501
- "orders",
1502
- "orders-db",
1503
- "bus",
1504
- "payments",
1505
- "psp",
1506
- "email",
1507
- "fulfilment",
1508
- "carrier"
1509
- ],
1510
- "positions": {
1511
- "bus": {
1512
- "x": 1050,
1513
- "y": 110,
1514
- "width": 220,
1515
- "height": 95
1516
- },
1517
- "carrier": {
1518
- "x": 420,
1519
- "y": 1160,
1520
- "width": 360,
1521
- "height": 260
1522
- },
1523
- "cart": {
1524
- "x": 30,
1525
- "y": 350,
1526
- "width": 300,
1527
- "height": 200
1528
- },
1529
- "catalog": {
1530
- "x": 1390,
1531
- "y": 110,
1532
- "width": 300,
1533
- "height": 200
1534
- },
1535
- "email": {
1536
- "x": 840,
1537
- "y": 1160,
1538
- "width": 360,
1539
- "height": 260
1540
- },
1541
- "fulfilment": {
1542
- "x": 1050,
1543
- "y": 350,
1544
- "width": 300,
1545
- "height": 200
1546
- },
1547
- "gateway": {
1548
- "x": 710,
1549
- "y": 110,
1550
- "width": 300,
1551
- "height": 200
1552
- },
1553
- "orders": {
1554
- "x": 370,
1555
- "y": 350,
1556
- "width": 300,
1557
- "height": 200
1558
- },
1559
- "orders-db": {
1560
- "x": 370,
1561
- "y": 590,
1562
- "width": 190,
1563
- "height": 130
1564
- },
1565
- "payments": {
1566
- "x": 710,
1567
- "y": 350,
1568
- "width": 300,
1569
- "height": 200
1570
- },
1571
- "platform": {
1572
- "x": 0,
1573
- "y": 290,
1574
- "width": 1720,
1575
- "height": 750
1576
- },
1577
- "psp": {
1578
- "x": 0,
1579
- "y": 1160,
1580
- "width": 360,
1581
- "height": 260
1582
- },
1583
- "shopper": {
1584
- "x": 0,
1585
- "y": 0,
1586
- "width": 150,
1587
- "height": 170
1588
- },
1589
- "storefront": {
1590
- "x": 30,
1591
- "y": 110,
1592
- "width": 210,
1593
- "height": 140
1594
- }
1595
- }
1596
- },
1597
- {
1598
- "id": "view-governance",
1599
- "name": "Governance map",
1600
- "kind": "static",
1601
- "nodeIds": [
1602
- "req-checkout-latency",
1603
- "req-payment-once",
1604
- "req-stock-reservation",
1605
- "req-pci-scope",
1606
- "ff-checkout-conversion",
1607
- "ff-payment-reconciliation",
1608
- "ff-search-freshness",
1609
- "adr-hosted-payments",
1610
- "adr-database-per-service",
1611
- "cart",
1612
- "payments",
1613
- "orders",
1614
- "search",
1615
- "platform"
1616
- ],
1617
- "positions": {
1618
- "adr-database-per-service": {
1619
- "x": 320,
1620
- "y": 1912,
1621
- "width": 260,
1622
- "height": 52
1623
- },
1624
- "adr-hosted-payments": {
1625
- "x": 0,
1626
- "y": 1912,
1627
- "width": 260,
1628
- "height": 52
1629
- },
1630
- "cart": {
1631
- "x": 30,
1632
- "y": 350,
1633
- "width": 300,
1634
- "height": 200
1635
- },
1636
- "ff-checkout-conversion": {
1637
- "x": 0,
1638
- "y": 1740,
1639
- "width": 260,
1640
- "height": 52
1641
- },
1642
- "ff-payment-reconciliation": {
1643
- "x": 320,
1644
- "y": 1740,
1645
- "width": 260,
1646
- "height": 52
1647
- },
1648
- "ff-search-freshness": {
1649
- "x": 640,
1650
- "y": 1740,
1651
- "width": 260,
1652
- "height": 52
1653
- },
1654
- "orders": {
1655
- "x": 370,
1656
- "y": 350,
1657
- "width": 300,
1658
- "height": 200
1659
- },
1660
- "payments": {
1661
- "x": 710,
1662
- "y": 350,
1663
- "width": 300,
1664
- "height": 200
1665
- },
1666
- "platform": {
1667
- "x": 0,
1668
- "y": 290,
1669
- "width": 1720,
1670
- "height": 750
1671
- },
1672
- "req-checkout-latency": {
1673
- "x": 0,
1674
- "y": 1540,
1675
- "width": 260,
1676
- "height": 80
1677
- },
1678
- "req-payment-once": {
1679
- "x": 320,
1680
- "y": 1540,
1681
- "width": 260,
1682
- "height": 80
1683
- },
1684
- "req-pci-scope": {
1685
- "x": 960,
1686
- "y": 1540,
1687
- "width": 260,
1688
- "height": 80
1689
- },
1690
- "req-stock-reservation": {
1691
- "x": 640,
1692
- "y": 1540,
1693
- "width": 260,
1694
- "height": 80
1695
- },
1696
- "search": {
1697
- "x": 1050,
1698
- "y": 590,
1699
- "width": 190,
1700
- "height": 130
1701
- }
1702
- }
1703
- },
1704
- {
1705
- "id": "view-mockups",
1706
- "name": "Mockups",
1707
- "kind": "static",
1708
- "nodeIds": [
1709
- "flow-shopper",
1710
- "flow-operations",
1711
- "mockup-home",
1712
- "mockup-search-results",
1713
- "mockup-product-page",
1714
- "mockup-cart",
1715
- "mockup-checkout-address",
1716
- "mockup-checkout-shipping",
1717
- "mockup-checkout",
1718
- "mockup-payment-declined",
1719
- "mockup-order-confirmation",
1720
- "mockup-order-tracking",
1721
- "mockup-bo-catalogue",
1722
- "mockup-bo-product-editor",
1723
- "mockup-bo-orders",
1724
- "mockup-bo-order-detail"
1725
- ],
1726
- "positions": {
1727
- "flow-operations": {
1728
- "x": 0,
1729
- "y": 2794,
1730
- "width": 1240,
1731
- "height": 330
1732
- },
1733
- "flow-shopper": {
1734
- "x": 0,
1735
- "y": 2084,
1736
- "width": 1560,
1737
- "height": 630
1738
- },
1739
- "mockup-bo-catalogue": {
1740
- "x": 30,
1741
- "y": 110,
1742
- "width": 220,
1743
- "height": 190
1744
- },
1745
- "mockup-bo-order-detail": {
1746
- "x": 990,
1747
- "y": 110,
1748
- "width": 220,
1749
- "height": 190
1750
- },
1751
- "mockup-bo-orders": {
1752
- "x": 670,
1753
- "y": 110,
1754
- "width": 220,
1755
- "height": 190
1756
- },
1757
- "mockup-bo-product-editor": {
1758
- "x": 350,
1759
- "y": 110,
1760
- "width": 220,
1761
- "height": 190
1762
- },
1763
- "mockup-cart": {
1764
- "x": 990,
1765
- "y": 110,
1766
- "width": 220,
1767
- "height": 190
1768
- },
1769
- "mockup-checkout": {
1770
- "x": 350,
1771
- "y": 410,
1772
- "width": 220,
1773
- "height": 190
1774
- },
1775
- "mockup-checkout-address": {
1776
- "x": 1310,
1777
- "y": 110,
1778
- "width": 220,
1779
- "height": 190
1780
- },
1781
- "mockup-checkout-shipping": {
1782
- "x": 30,
1783
- "y": 410,
1784
- "width": 220,
1785
- "height": 190
1786
- },
1787
- "mockup-home": {
1788
- "x": 30,
1789
- "y": 110,
1790
- "width": 220,
1791
- "height": 190
1792
- },
1793
- "mockup-order-confirmation": {
1794
- "x": 990,
1795
- "y": 410,
1796
- "width": 220,
1797
- "height": 190
1798
- },
1799
- "mockup-order-tracking": {
1800
- "x": 1310,
1801
- "y": 410,
1802
- "width": 220,
1803
- "height": 190
1804
- },
1805
- "mockup-payment-declined": {
1806
- "x": 670,
1807
- "y": 410,
1808
- "width": 220,
1809
- "height": 190
1810
- },
1811
- "mockup-product-page": {
1812
- "x": 670,
1813
- "y": 110,
1814
- "width": 220,
1815
- "height": 190
1816
- },
1817
- "mockup-search-results": {
1818
- "x": 350,
1819
- "y": 110,
1820
- "width": 220,
1821
- "height": 190
1822
- }
1823
- }
1824
- },
1825
- {
1826
- "id": "view-flow-shopper",
1827
- "name": "Shopper journey",
1828
- "kind": "dynamic",
1829
- "sequenceId": "seq-flow-shopper",
1830
- "nodeIds": [
1831
- "flow-shopper",
1832
- "mockup-home",
1833
- "mockup-search-results",
1834
- "mockup-product-page",
1835
- "mockup-cart",
1836
- "mockup-checkout-address",
1837
- "mockup-checkout-shipping",
1838
- "mockup-checkout",
1839
- "mockup-payment-declined",
1840
- "mockup-order-confirmation",
1841
- "mockup-order-tracking"
1842
- ],
1843
- "positions": {
1844
- "flow-shopper": {
1845
- "x": 0,
1846
- "y": 2084,
1847
- "width": 1560,
1848
- "height": 630
1849
- },
1850
- "mockup-cart": {
1851
- "x": 990,
1852
- "y": 110,
1853
- "width": 220,
1854
- "height": 190
1855
- },
1856
- "mockup-checkout": {
1857
- "x": 350,
1858
- "y": 410,
1859
- "width": 220,
1860
- "height": 190
1861
- },
1862
- "mockup-checkout-address": {
1863
- "x": 1310,
1864
- "y": 110,
1865
- "width": 220,
1866
- "height": 190
1867
- },
1868
- "mockup-checkout-shipping": {
1869
- "x": 30,
1870
- "y": 410,
1871
- "width": 220,
1872
- "height": 190
1873
- },
1874
- "mockup-home": {
1875
- "x": 30,
1876
- "y": 110,
1877
- "width": 220,
1878
- "height": 190
1879
- },
1880
- "mockup-order-confirmation": {
1881
- "x": 990,
1882
- "y": 410,
1883
- "width": 220,
1884
- "height": 190
1885
- },
1886
- "mockup-order-tracking": {
1887
- "x": 1310,
1888
- "y": 410,
1889
- "width": 220,
1890
- "height": 190
1891
- },
1892
- "mockup-payment-declined": {
1893
- "x": 670,
1894
- "y": 410,
1895
- "width": 220,
1896
- "height": 190
1897
- },
1898
- "mockup-product-page": {
1899
- "x": 670,
1900
- "y": 110,
1901
- "width": 220,
1902
- "height": 190
1903
- },
1904
- "mockup-search-results": {
1905
- "x": 350,
1906
- "y": 110,
1907
- "width": 220,
1908
- "height": 190
1909
- }
1910
- }
1911
- },
1912
- {
1913
- "id": "view-flow-operations",
1914
- "name": "Operations journey",
1915
- "kind": "dynamic",
1916
- "sequenceId": "seq-flow-operations",
1917
- "nodeIds": [
1918
- "flow-operations",
1919
- "mockup-bo-catalogue",
1920
- "mockup-bo-product-editor",
1921
- "mockup-bo-orders",
1922
- "mockup-bo-order-detail"
1923
- ],
1924
- "positions": {
1925
- "flow-operations": {
1926
- "x": 0,
1927
- "y": 2794,
1928
- "width": 1240,
1929
- "height": 330
1930
- },
1931
- "mockup-bo-catalogue": {
1932
- "x": 30,
1933
- "y": 110,
1934
- "width": 220,
1935
- "height": 190
1936
- },
1937
- "mockup-bo-order-detail": {
1938
- "x": 990,
1939
- "y": 110,
1940
- "width": 220,
1941
- "height": 190
1942
- },
1943
- "mockup-bo-orders": {
1944
- "x": 670,
1945
- "y": 110,
1946
- "width": 220,
1947
- "height": 190
1948
- },
1949
- "mockup-bo-product-editor": {
1950
- "x": 350,
1951
- "y": 110,
1952
- "width": 220,
1953
- "height": 190
1954
- }
1955
- }
1956
- },
1957
- {
1958
- "id": "view-wiki-governance",
1959
- "name": "Governance",
1960
- "kind": "wiki",
1961
- "nodeIds": [
1962
- "req-checkout-latency",
1963
- "req-payment-once",
1964
- "req-stock-reservation",
1965
- "req-pci-scope",
1966
- "ff-checkout-conversion",
1967
- "ff-payment-reconciliation",
1968
- "ff-search-freshness",
1969
- "adr-hosted-payments",
1970
- "adr-database-per-service"
1971
- ],
1972
- "positions": {},
1973
- "wikiFocusId": null
1974
- },
1975
- {
1976
- "id": "view-wiki-requirements",
1977
- "name": "Requirements",
1978
- "kind": "wiki",
1979
- "nodeIds": [
1980
- "req-checkout-latency",
1981
- "req-payment-once",
1982
- "req-stock-reservation",
1983
- "req-pci-scope"
1984
- ],
1985
- "positions": {},
1986
- "wikiFocusId": null
1987
- }
1988
- ]
1989
- }