@shushed/helpers 0.0.246 → 0.0.247-cat-tree-schema-20260130105151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/contracts/product-draft.schema.json +0 -14
- package/dist/cjs/contracts/product.schema.json +376 -119
- package/dist/cjs/dist-dereferenced/category-tree.js +4 -0
- package/dist/cjs/dist-dereferenced/gift-voucher.js +1 -1
- package/dist/cjs/dist-dereferenced/index.js +3 -1
- package/dist/cjs/dist-dereferenced/messages/order/delivered.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/new.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/processed.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/returned.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/shipped.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/product.js +1 -1
- package/dist/cjs/dist-dereferenced/money.js +1 -1
- package/dist/cjs/dist-dereferenced/order/customer.js +1 -1
- package/dist/cjs/dist-dereferenced/order/item.js +1 -1
- package/dist/cjs/dist-dereferenced/order/orderMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/payment.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/posMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipmentMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/return.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/shippedMain.js +1 -1
- package/dist/cjs/dist-dereferenced/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/product.js +1 -1
- package/dist/cjs/dist-dereferenced/purchase-orderline.js +1 -1
- package/dist/cjs/dist-dereferenced/stock-movement.js +1 -1
- package/dist/cjs/dist-dereferenced/stock.js +1 -1
- package/dist/cjs/dist-dereferenced/total.js +1 -1
- package/dist/cjs/dist-types/category-tree.js +2 -0
- package/dist/types/dist-dereferenced/category-tree.d.ts +59 -0
- package/dist/types/dist-dereferenced/gift-voucher.d.ts +1 -3
- package/dist/types/dist-dereferenced/index.d.ts +1 -0
- package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/new.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/processed.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/returned.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/product-draft.d.ts +6 -194
- package/dist/types/dist-dereferenced/messages/product.d.ts +207 -178
- package/dist/types/dist-dereferenced/money.d.ts +1 -3
- package/dist/types/dist-dereferenced/order/customer.d.ts +1 -98
- package/dist/types/dist-dereferenced/order/index.d.ts +244 -2894
- package/dist/types/dist-dereferenced/order/item.d.ts +7 -221
- package/dist/types/dist-dereferenced/order/orderMain.d.ts +244 -2894
- package/dist/types/dist-dereferenced/order/payment.d.ts +1 -3
- package/dist/types/dist-dereferenced/order/shipment/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +6 -155
- package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/product-draft.d.ts +6 -194
- package/dist/types/dist-dereferenced/product.d.ts +207 -178
- package/dist/types/dist-dereferenced/purchase-orderline.d.ts +1 -3
- package/dist/types/dist-dereferenced/stock-movement.d.ts +1 -3
- package/dist/types/dist-dereferenced/stock.d.ts +1 -3
- package/dist/types/dist-dereferenced/total.d.ts +4 -111
- package/dist/types/dist-types/category-tree.d.ts +14 -0
- package/dist/types/dist-types/index.d.ts +1 -0
- package/dist/types/dist-types/messages/product-draft.d.ts +0 -2
- package/dist/types/dist-types/messages/product.d.ts +66 -29
- package/dist/types/dist-types/product-draft.d.ts +0 -2
- package/dist/types/dist-types/product.d.ts +66 -29
- package/package.json +1 -1
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
],
|
|
16
16
|
"description": "URI of the product eg. leather-jack-barrel-trousers-chocolate-brown/013464-0533.html"
|
|
17
17
|
},
|
|
18
|
+
"style_slug": {
|
|
19
|
+
"type": [
|
|
20
|
+
"string"
|
|
21
|
+
],
|
|
22
|
+
"description": "URI of the style eg. leather-jack-barrel-trousers/013464.html"
|
|
23
|
+
},
|
|
18
24
|
"style_id": {
|
|
19
25
|
"type": [
|
|
20
26
|
"string"
|
|
@@ -32,9 +38,14 @@
|
|
|
32
38
|
"type": "string",
|
|
33
39
|
"description": "Style Name - Example: Puff Sleeve Sweatshirt"
|
|
34
40
|
},
|
|
41
|
+
"product_name": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "Product Name - Example: Puff Sleeve Sweatshirt (Blue)"
|
|
44
|
+
},
|
|
35
45
|
"display_name": {
|
|
36
46
|
"type": [
|
|
37
|
-
"string"
|
|
47
|
+
"string",
|
|
48
|
+
"null"
|
|
38
49
|
],
|
|
39
50
|
"description": "Centra Name - Example: Brown Puff Shirt"
|
|
40
51
|
},
|
|
@@ -59,6 +70,61 @@
|
|
|
59
70
|
"format": "date",
|
|
60
71
|
"description": "The Date (inclusive) from which the product should be available to sell. The string should be used for pre-orders, or product release dates. For the latter, the date should be coordinated with online_from"
|
|
61
72
|
},
|
|
73
|
+
"online_from": {
|
|
74
|
+
"type": [
|
|
75
|
+
"string",
|
|
76
|
+
"null"
|
|
77
|
+
],
|
|
78
|
+
"format": "date-time",
|
|
79
|
+
"description": "The DateTime (inclusive) from which the product should be shown (in any way / design / display type) on the website (direct channel). Every online product should have a date, default to 1970-01-01T00:00:00.000Z"
|
|
80
|
+
},
|
|
81
|
+
"online_to": {
|
|
82
|
+
"type": [
|
|
83
|
+
"string",
|
|
84
|
+
"null"
|
|
85
|
+
],
|
|
86
|
+
"format": "date-time",
|
|
87
|
+
"description": "The DateTime (inclusive) until which product should be shown (in any way / design / display type) on the website."
|
|
88
|
+
},
|
|
89
|
+
"first_online_at": {
|
|
90
|
+
"type": [
|
|
91
|
+
"string",
|
|
92
|
+
"null"
|
|
93
|
+
],
|
|
94
|
+
"format": "date-time",
|
|
95
|
+
"description": "The DateTime of product last online in the direct channel"
|
|
96
|
+
},
|
|
97
|
+
"last_online_at": {
|
|
98
|
+
"type": [
|
|
99
|
+
"string",
|
|
100
|
+
"null"
|
|
101
|
+
],
|
|
102
|
+
"format": "date-time",
|
|
103
|
+
"description": "The DateTime of product last online in the direct channel"
|
|
104
|
+
},
|
|
105
|
+
"first_purchased_at": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"format": "date-time",
|
|
108
|
+
"faker": {
|
|
109
|
+
"date.between": [
|
|
110
|
+
"2024-01-01T00:00:00.000Z",
|
|
111
|
+
"2025-04-30T00:00:00.000Z"
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"first_markdown_at": {
|
|
116
|
+
"type": [
|
|
117
|
+
"string",
|
|
118
|
+
"null"
|
|
119
|
+
],
|
|
120
|
+
"format": "date-time",
|
|
121
|
+
"faker": {
|
|
122
|
+
"date.between": [
|
|
123
|
+
"2024-01-01T00:00:00.000Z",
|
|
124
|
+
"2025-04-30T00:00:00.000Z"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
},
|
|
62
128
|
"created_at": {
|
|
63
129
|
"type": "string",
|
|
64
130
|
"format": "date-time",
|
|
@@ -86,6 +152,10 @@
|
|
|
86
152
|
},
|
|
87
153
|
"description": "New Tags To Add - Example: yellow"
|
|
88
154
|
},
|
|
155
|
+
"colour_code": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "Colours as Text - Example: buttercup-yellow from initial input of Buttercup Yellow"
|
|
158
|
+
},
|
|
89
159
|
"colour_name": {
|
|
90
160
|
"type": "string",
|
|
91
161
|
"description": "Toffee Brown"
|
|
@@ -101,6 +171,10 @@
|
|
|
101
171
|
"type": "string",
|
|
102
172
|
"description": "Size range assigned to this product. Defines sizes to be created"
|
|
103
173
|
},
|
|
174
|
+
"sizerange_name": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"description": "Size range name for this product"
|
|
177
|
+
},
|
|
104
178
|
"variants": {
|
|
105
179
|
"type": "array",
|
|
106
180
|
"items": {
|
|
@@ -118,13 +192,6 @@
|
|
|
118
192
|
"custom.size": []
|
|
119
193
|
},
|
|
120
194
|
"description": "Size label - Example: 10 becomes M"
|
|
121
|
-
},
|
|
122
|
-
"ean": {
|
|
123
|
-
"type": [
|
|
124
|
-
"string",
|
|
125
|
-
"null"
|
|
126
|
-
],
|
|
127
|
-
"description": "EAN of the size"
|
|
128
195
|
}
|
|
129
196
|
},
|
|
130
197
|
"required": [
|
|
@@ -133,6 +200,38 @@
|
|
|
133
200
|
]
|
|
134
201
|
}
|
|
135
202
|
},
|
|
203
|
+
"images": {
|
|
204
|
+
"type": "array",
|
|
205
|
+
"items": {
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"type": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"enum": [
|
|
211
|
+
"Campaign",
|
|
212
|
+
"Ecom",
|
|
213
|
+
"Flatlay",
|
|
214
|
+
"UGC",
|
|
215
|
+
"AI"
|
|
216
|
+
],
|
|
217
|
+
"description": "Image type for product - Example: Campaign"
|
|
218
|
+
},
|
|
219
|
+
"url": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"format": "uri",
|
|
222
|
+
"description": "Image URl for product"
|
|
223
|
+
},
|
|
224
|
+
"description": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"description": "Style Title - Example: Puff Sleeve Sweatshirt"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": [
|
|
230
|
+
"type",
|
|
231
|
+
"url"
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
},
|
|
136
235
|
"vat_rate_uk": {
|
|
137
236
|
"type": [
|
|
138
237
|
"number",
|
|
@@ -163,6 +262,20 @@
|
|
|
163
262
|
"type": "string",
|
|
164
263
|
"description": "Port Of Origin - Example: MUMBAI"
|
|
165
264
|
},
|
|
265
|
+
"supplier_id": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"pattern": "^SUP\\d{5}$",
|
|
268
|
+
"description": "Supplier ID in the format 'SUP00099', where 'SUP' is followed by exactly five digits - Example: SUP00045"
|
|
269
|
+
},
|
|
270
|
+
"supplier_name": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"description": "Supplier Name - Example: Binh Dinh Footwear Joint Stock Company"
|
|
273
|
+
},
|
|
274
|
+
"factory_id": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"pattern": "^FAC\\d{5}$",
|
|
277
|
+
"description": "Factory ID in the format 'FAC00074', where 'FAC' is followed by exactly five digits"
|
|
278
|
+
},
|
|
166
279
|
"packing_method": {
|
|
167
280
|
"type": [
|
|
168
281
|
"string",
|
|
@@ -188,6 +301,14 @@
|
|
|
188
301
|
"type": "string",
|
|
189
302
|
"description": "Strategy Type - Example: Seasonal New"
|
|
190
303
|
},
|
|
304
|
+
"product_type": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"description": "Product Type - Example: Knit"
|
|
307
|
+
},
|
|
308
|
+
"stock_type": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"description": "Stock Type - Example: Knit"
|
|
311
|
+
},
|
|
191
312
|
"category": {
|
|
192
313
|
"type": "string",
|
|
193
314
|
"faker": {
|
|
@@ -202,6 +323,43 @@
|
|
|
202
323
|
},
|
|
203
324
|
"description": "Subcategory - Example: Parka Coat"
|
|
204
325
|
},
|
|
326
|
+
"range": {
|
|
327
|
+
"type": [
|
|
328
|
+
"string",
|
|
329
|
+
"null"
|
|
330
|
+
],
|
|
331
|
+
"enum": [
|
|
332
|
+
"Main Collection",
|
|
333
|
+
"Seasonal"
|
|
334
|
+
],
|
|
335
|
+
"description": "Range - Example: Main Collection"
|
|
336
|
+
},
|
|
337
|
+
"channels_availability": {
|
|
338
|
+
"type": [
|
|
339
|
+
"array"
|
|
340
|
+
],
|
|
341
|
+
"items": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"enum": [
|
|
344
|
+
"DIRECT-UK",
|
|
345
|
+
"DIRECT-INT",
|
|
346
|
+
"DIRECT-US",
|
|
347
|
+
"JL-STORES",
|
|
348
|
+
"JL-WEB",
|
|
349
|
+
"NEXT",
|
|
350
|
+
"MS",
|
|
351
|
+
"FENWICK",
|
|
352
|
+
"MORLEYS"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
"description": "List of channels the product is exclusive to - Example: [MS]"
|
|
356
|
+
},
|
|
357
|
+
"collections": {
|
|
358
|
+
"type": [
|
|
359
|
+
"string"
|
|
360
|
+
],
|
|
361
|
+
"description": "Collections [Centra] - Example: Spring 2025"
|
|
362
|
+
},
|
|
205
363
|
"seasons": {
|
|
206
364
|
"type": [
|
|
207
365
|
"array"
|
|
@@ -219,82 +377,31 @@
|
|
|
219
377
|
"type": "string"
|
|
220
378
|
},
|
|
221
379
|
"description": "Drop - Example: [SS26 - December, SS25 - April]"
|
|
380
|
+
},
|
|
381
|
+
"fashionability": {
|
|
382
|
+
"type": [
|
|
383
|
+
"string",
|
|
384
|
+
"null"
|
|
385
|
+
],
|
|
386
|
+
"description": "Fashionability - Example: Core"
|
|
222
387
|
}
|
|
223
388
|
},
|
|
224
389
|
"required": []
|
|
225
390
|
},
|
|
226
|
-
"category_assignments": {
|
|
227
|
-
"type": "array",
|
|
228
|
-
"items": {
|
|
229
|
-
"type": "object",
|
|
230
|
-
"properties": {
|
|
231
|
-
"display_path": {
|
|
232
|
-
"type": "array",
|
|
233
|
-
"items": {
|
|
234
|
-
"type": "string"
|
|
235
|
-
},
|
|
236
|
-
"description": "Example: ['Clothing', 'Dresses', 'Mini']"
|
|
237
|
-
},
|
|
238
|
-
"path": {
|
|
239
|
-
"type": "array",
|
|
240
|
-
"items": {
|
|
241
|
-
"type": "string"
|
|
242
|
-
},
|
|
243
|
-
"description": "Path based on categories ids. Example: ['clothing', 'dresses', 'mini']"
|
|
244
|
-
},
|
|
245
|
-
"name": {
|
|
246
|
-
"type": "string",
|
|
247
|
-
"description": "Mini"
|
|
248
|
-
},
|
|
249
|
-
"id": {
|
|
250
|
-
"type": "string",
|
|
251
|
-
"description": "fredhopper_id in centra, category/id in airtable). mini"
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
391
|
"attributes": {
|
|
257
392
|
"type": "object",
|
|
258
393
|
"properties": {
|
|
259
|
-
"
|
|
260
|
-
"type": "
|
|
261
|
-
"
|
|
262
|
-
|
|
263
|
-
"stock_availability": {
|
|
264
|
-
"type": "number",
|
|
265
|
-
"description": "50 by default"
|
|
266
|
-
},
|
|
267
|
-
"measurement_chart": {
|
|
268
|
-
"type": [
|
|
269
|
-
"string",
|
|
270
|
-
"null"
|
|
271
|
-
],
|
|
272
|
-
"description": "Shoes, Alpha, Numeric, Dual-Alpha"
|
|
273
|
-
},
|
|
274
|
-
"sizeguide_type": {
|
|
275
|
-
"type": [
|
|
276
|
-
"string",
|
|
277
|
-
"null"
|
|
278
|
-
],
|
|
279
|
-
"description": "Alpha Conversions or null"
|
|
280
|
-
},
|
|
281
|
-
"brand": {
|
|
282
|
-
"type": [
|
|
283
|
-
"string",
|
|
284
|
-
"null"
|
|
285
|
-
]
|
|
394
|
+
"seo_url_name": {
|
|
395
|
+
"type": "string",
|
|
396
|
+
"pattern": "^[a-z-]+$",
|
|
397
|
+
"description": "Part of the URL with the SEO-friendly product name (/${url_name}/${product_id}.html) - Example: for url_name: \"square-neck-texture-bikini-top-sage-green\" the final url will be /square-neck-texture-bikini-top-sage-green/013234-2274.html . Remember that this field will be filled in even before the product is published"
|
|
286
398
|
},
|
|
287
|
-
"
|
|
399
|
+
"embellishment": {
|
|
288
400
|
"type": [
|
|
289
401
|
"string",
|
|
290
402
|
"null"
|
|
291
403
|
]
|
|
292
404
|
},
|
|
293
|
-
"seo_url_name": {
|
|
294
|
-
"type": "string",
|
|
295
|
-
"pattern": "^[a-z-]+$",
|
|
296
|
-
"description": "Part of the URL with the SEO-friendly product name (/${url_name}/${product_id}.html) - Example: for url_name: \"square-neck-texture-bikini-top-sage-green\" the final url will be /square-neck-texture-bikini-top-sage-green/013234-2274.html . Remember that this field will be filled in even before the product is published"
|
|
297
|
-
},
|
|
298
405
|
"seo_title": {
|
|
299
406
|
"type": [
|
|
300
407
|
"string",
|
|
@@ -330,6 +437,13 @@
|
|
|
330
437
|
],
|
|
331
438
|
"description": "Fabric and care accordion on the website"
|
|
332
439
|
},
|
|
440
|
+
"delivery_returns": {
|
|
441
|
+
"type": [
|
|
442
|
+
"string",
|
|
443
|
+
"null"
|
|
444
|
+
],
|
|
445
|
+
"description": "Delivery & Returns accordion on the website"
|
|
446
|
+
},
|
|
333
447
|
"weight": {
|
|
334
448
|
"type": [
|
|
335
449
|
"number",
|
|
@@ -337,6 +451,13 @@
|
|
|
337
451
|
],
|
|
338
452
|
"description": "The average weight of the garmet (across sizes)"
|
|
339
453
|
},
|
|
454
|
+
"weight_statement": {
|
|
455
|
+
"type": [
|
|
456
|
+
"string",
|
|
457
|
+
"null"
|
|
458
|
+
],
|
|
459
|
+
"description": "The weight statement"
|
|
460
|
+
},
|
|
340
461
|
"main_fibre": {
|
|
341
462
|
"type": [
|
|
342
463
|
"string",
|
|
@@ -351,6 +472,61 @@
|
|
|
351
472
|
],
|
|
352
473
|
"description": "Main Metal - Applicable to jewellery - Example: Silver"
|
|
353
474
|
},
|
|
475
|
+
"extra_selling_points": {
|
|
476
|
+
"type": "array",
|
|
477
|
+
"items": {
|
|
478
|
+
"type": "string"
|
|
479
|
+
},
|
|
480
|
+
"description": "Extra Selling Points - Example: [Lovely Print, Recyclable Fabric]"
|
|
481
|
+
},
|
|
482
|
+
"length_measurement": {
|
|
483
|
+
"type": [
|
|
484
|
+
"string",
|
|
485
|
+
"null"
|
|
486
|
+
],
|
|
487
|
+
"description": "Length Measurement - Example: Sole height: 1.5 cm"
|
|
488
|
+
},
|
|
489
|
+
"measurement_table_code": {
|
|
490
|
+
"type": [
|
|
491
|
+
"string"
|
|
492
|
+
],
|
|
493
|
+
"description": "Measurement Table Code"
|
|
494
|
+
},
|
|
495
|
+
"fit": {
|
|
496
|
+
"type": [
|
|
497
|
+
"string",
|
|
498
|
+
"null"
|
|
499
|
+
],
|
|
500
|
+
"description": "Fit of the garmet"
|
|
501
|
+
},
|
|
502
|
+
"pockets": {
|
|
503
|
+
"type": [
|
|
504
|
+
"string",
|
|
505
|
+
"null"
|
|
506
|
+
],
|
|
507
|
+
"description": "Pockets details"
|
|
508
|
+
},
|
|
509
|
+
"pleats_gathers": {
|
|
510
|
+
"type": [
|
|
511
|
+
"string",
|
|
512
|
+
"null"
|
|
513
|
+
],
|
|
514
|
+
"description": "Pleats & Gathers details"
|
|
515
|
+
},
|
|
516
|
+
"lining": {
|
|
517
|
+
"type": [
|
|
518
|
+
"string",
|
|
519
|
+
"null"
|
|
520
|
+
],
|
|
521
|
+
"description": "Lining details"
|
|
522
|
+
},
|
|
523
|
+
"bias_cut": {
|
|
524
|
+
"type": [
|
|
525
|
+
"string",
|
|
526
|
+
"null"
|
|
527
|
+
],
|
|
528
|
+
"description": "Bias cut details"
|
|
529
|
+
},
|
|
354
530
|
"designer": {
|
|
355
531
|
"type": [
|
|
356
532
|
"string",
|
|
@@ -358,12 +534,58 @@
|
|
|
358
534
|
],
|
|
359
535
|
"description": "Designer of the garmet"
|
|
360
536
|
},
|
|
537
|
+
"fabric": {
|
|
538
|
+
"type": [
|
|
539
|
+
"string",
|
|
540
|
+
"null"
|
|
541
|
+
],
|
|
542
|
+
"description": "Main fabric of the garmet"
|
|
543
|
+
},
|
|
544
|
+
"fabric_composition": {
|
|
545
|
+
"type": [
|
|
546
|
+
"string",
|
|
547
|
+
"null"
|
|
548
|
+
],
|
|
549
|
+
"description": "Composition details"
|
|
550
|
+
},
|
|
361
551
|
"certificate_code": {
|
|
362
552
|
"type": [
|
|
363
553
|
"string",
|
|
364
554
|
"null"
|
|
365
555
|
],
|
|
366
|
-
"description": "Certificate
|
|
556
|
+
"description": "Certificate of the fabric"
|
|
557
|
+
},
|
|
558
|
+
"shape": {
|
|
559
|
+
"type": [
|
|
560
|
+
"string",
|
|
561
|
+
"null"
|
|
562
|
+
],
|
|
563
|
+
"description": "Shape of the garmet"
|
|
564
|
+
},
|
|
565
|
+
"development_type": {
|
|
566
|
+
"type": "string",
|
|
567
|
+
"description": "Development Type - Example: Update"
|
|
568
|
+
},
|
|
569
|
+
"occasion": {
|
|
570
|
+
"type": [
|
|
571
|
+
"string",
|
|
572
|
+
"null"
|
|
573
|
+
],
|
|
574
|
+
"description": "Occasion - Example: Party"
|
|
575
|
+
},
|
|
576
|
+
"design": {
|
|
577
|
+
"type": [
|
|
578
|
+
"string",
|
|
579
|
+
"null"
|
|
580
|
+
],
|
|
581
|
+
"description": "Design type"
|
|
582
|
+
},
|
|
583
|
+
"block": {
|
|
584
|
+
"type": [
|
|
585
|
+
"string",
|
|
586
|
+
"null"
|
|
587
|
+
],
|
|
588
|
+
"description": "Block"
|
|
367
589
|
},
|
|
368
590
|
"pattern_name": {
|
|
369
591
|
"type": [
|
|
@@ -379,69 +601,101 @@
|
|
|
379
601
|
],
|
|
380
602
|
"description": "Fit Styling Description(ESP) - Example: Oversized"
|
|
381
603
|
},
|
|
382
|
-
"
|
|
604
|
+
"neckline": {
|
|
383
605
|
"type": [
|
|
384
606
|
"string",
|
|
385
607
|
"null"
|
|
386
608
|
],
|
|
387
|
-
"description": "
|
|
388
|
-
"nullable": true
|
|
609
|
+
"description": "Neckline - Example: Crew"
|
|
389
610
|
},
|
|
390
|
-
"
|
|
611
|
+
"sleeve_length": {
|
|
391
612
|
"type": [
|
|
392
613
|
"string",
|
|
393
614
|
"null"
|
|
394
615
|
],
|
|
395
|
-
"
|
|
616
|
+
"nullable": true,
|
|
617
|
+
"description": "Sleeve Length - Example: Sleeveless"
|
|
396
618
|
},
|
|
397
|
-
"
|
|
619
|
+
"sleeve_type": {
|
|
398
620
|
"type": [
|
|
399
621
|
"string",
|
|
400
622
|
"null"
|
|
401
623
|
],
|
|
402
|
-
"
|
|
624
|
+
"nullable": true,
|
|
625
|
+
"description": "Type of Sleeve i.e. "
|
|
403
626
|
},
|
|
404
|
-
"
|
|
627
|
+
"heel_height": {
|
|
405
628
|
"type": [
|
|
406
629
|
"string",
|
|
407
630
|
"null"
|
|
408
631
|
],
|
|
409
|
-
"description": "
|
|
632
|
+
"description": "Heel Height - Example: 0.5CM"
|
|
410
633
|
},
|
|
411
|
-
"
|
|
634
|
+
"heel_shape": {
|
|
412
635
|
"type": [
|
|
413
636
|
"string",
|
|
414
637
|
"null"
|
|
415
638
|
],
|
|
416
|
-
"description": "
|
|
639
|
+
"description": "Heel Shape - Example: Flat"
|
|
417
640
|
},
|
|
418
|
-
"
|
|
641
|
+
"toe_shape": {
|
|
419
642
|
"type": [
|
|
420
643
|
"string",
|
|
421
644
|
"null"
|
|
422
645
|
],
|
|
423
|
-
"description": "
|
|
646
|
+
"description": "Toe Shape - Example: Round"
|
|
424
647
|
},
|
|
425
|
-
"
|
|
648
|
+
"trouser_fit": {
|
|
426
649
|
"type": [
|
|
427
650
|
"string",
|
|
428
651
|
"null"
|
|
429
652
|
],
|
|
430
|
-
"
|
|
653
|
+
"nullable": true
|
|
431
654
|
},
|
|
432
|
-
"
|
|
655
|
+
"leg_length": {
|
|
433
656
|
"type": [
|
|
434
657
|
"string",
|
|
435
658
|
"null"
|
|
436
659
|
],
|
|
437
|
-
"description": "
|
|
660
|
+
"description": "Leg Length - Example: Long"
|
|
438
661
|
},
|
|
439
|
-
"
|
|
662
|
+
"handle_straps": {
|
|
440
663
|
"type": [
|
|
441
664
|
"string",
|
|
442
665
|
"null"
|
|
443
666
|
],
|
|
444
|
-
"description": "
|
|
667
|
+
"description": "Handle Straps - Example: XBody Strap"
|
|
668
|
+
},
|
|
669
|
+
"straps_features": {
|
|
670
|
+
"type": [
|
|
671
|
+
"string",
|
|
672
|
+
"null"
|
|
673
|
+
],
|
|
674
|
+
"description": "Features of the straps i.e. \"Detachable staps\""
|
|
675
|
+
},
|
|
676
|
+
"fastening": {
|
|
677
|
+
"anyOf": [
|
|
678
|
+
{
|
|
679
|
+
"type": [
|
|
680
|
+
"array",
|
|
681
|
+
"null"
|
|
682
|
+
],
|
|
683
|
+
"items": {
|
|
684
|
+
"type": "string"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"type": "null"
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
"description": "Fastening - Example: Zip Front"
|
|
692
|
+
},
|
|
693
|
+
"sole_material": {
|
|
694
|
+
"type": [
|
|
695
|
+
"string",
|
|
696
|
+
"null"
|
|
697
|
+
],
|
|
698
|
+
"description": "Sole Material - Example: Rubber"
|
|
445
699
|
},
|
|
446
700
|
"care_instructions": {
|
|
447
701
|
"type": "array",
|
|
@@ -453,15 +707,9 @@
|
|
|
453
707
|
},
|
|
454
708
|
"required": []
|
|
455
709
|
},
|
|
456
|
-
"
|
|
457
|
-
"type": "array",
|
|
458
|
-
"items": {
|
|
459
|
-
"type": "string"
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
"markets_overrides": {
|
|
710
|
+
"presentations": {
|
|
463
711
|
"type": "object",
|
|
464
|
-
"description": "
|
|
712
|
+
"description": "Presentation-specific overrides by key (e.g., default, website, email, website-US). Each key maps to an object containing a locale and presentation_type plus optional overrides of selected root fields.",
|
|
465
713
|
"additionalProperties": false,
|
|
466
714
|
"patternProperties": {
|
|
467
715
|
".*": {
|
|
@@ -473,18 +721,22 @@
|
|
|
473
721
|
"pattern": "^[a-z]{2}-[A-Z]{2}$",
|
|
474
722
|
"description": "Locale for this presentation (e.g., en-GB, en-US)."
|
|
475
723
|
},
|
|
476
|
-
"
|
|
724
|
+
"presentation_type": {
|
|
477
725
|
"type": "string",
|
|
478
|
-
"description": "Presentation type, e.g.
|
|
726
|
+
"description": "Presentation type, e.g. website, email, default, website-US.",
|
|
479
727
|
"examples": [
|
|
480
|
-
"
|
|
481
|
-
"
|
|
482
|
-
"
|
|
728
|
+
"default",
|
|
729
|
+
"website",
|
|
730
|
+
"email",
|
|
731
|
+
"website-US"
|
|
483
732
|
]
|
|
484
733
|
},
|
|
485
734
|
"slug": {
|
|
486
735
|
"$ref": "#/properties/slug"
|
|
487
736
|
},
|
|
737
|
+
"style_slug": {
|
|
738
|
+
"$ref": "#/properties/style_slug"
|
|
739
|
+
},
|
|
488
740
|
"style_name": {
|
|
489
741
|
"$ref": "#/properties/style_name"
|
|
490
742
|
},
|
|
@@ -497,6 +749,21 @@
|
|
|
497
749
|
"available_to_sell_from": {
|
|
498
750
|
"$ref": "#/properties/available_to_sell_from"
|
|
499
751
|
},
|
|
752
|
+
"online_from": {
|
|
753
|
+
"$ref": "#/properties/online_from"
|
|
754
|
+
},
|
|
755
|
+
"online_to": {
|
|
756
|
+
"$ref": "#/properties/online_to"
|
|
757
|
+
},
|
|
758
|
+
"last_online_at": {
|
|
759
|
+
"$ref": "#/properties/last_online_at"
|
|
760
|
+
},
|
|
761
|
+
"first_purchased_at": {
|
|
762
|
+
"$ref": "#/properties/first_purchased_at"
|
|
763
|
+
},
|
|
764
|
+
"first_markdown_at": {
|
|
765
|
+
"$ref": "#/properties/first_markdown_at"
|
|
766
|
+
},
|
|
500
767
|
"colour_family_name": {
|
|
501
768
|
"$ref": "#/properties/colour_family_name"
|
|
502
769
|
},
|
|
@@ -506,18 +773,8 @@
|
|
|
506
773
|
"display_tags": {
|
|
507
774
|
"$ref": "#/properties/display_tags"
|
|
508
775
|
},
|
|
509
|
-
"
|
|
510
|
-
"
|
|
511
|
-
"string",
|
|
512
|
-
"null"
|
|
513
|
-
],
|
|
514
|
-
"format": "date-time",
|
|
515
|
-
"faker": {
|
|
516
|
-
"date.between": [
|
|
517
|
-
"2024-01-01T00:00:00.000Z",
|
|
518
|
-
"2025-04-30T00:00:00.000Z"
|
|
519
|
-
]
|
|
520
|
-
}
|
|
776
|
+
"sizerange_name": {
|
|
777
|
+
"$ref": "#/properties/sizerange_name"
|
|
521
778
|
},
|
|
522
779
|
"variants": {
|
|
523
780
|
"type": "array",
|
|
@@ -544,7 +801,7 @@
|
|
|
544
801
|
},
|
|
545
802
|
"required": [
|
|
546
803
|
"locale",
|
|
547
|
-
"
|
|
804
|
+
"presentation_type"
|
|
548
805
|
]
|
|
549
806
|
}
|
|
550
807
|
}
|
|
@@ -553,7 +810,7 @@
|
|
|
553
810
|
"required": [
|
|
554
811
|
"product_id",
|
|
555
812
|
"style_id",
|
|
556
|
-
"
|
|
557
|
-
"
|
|
813
|
+
"product_name",
|
|
814
|
+
"online_from"
|
|
558
815
|
]
|
|
559
816
|
}
|