@shushed/helpers 0.0.245 → 0.0.247-cat-tree-schema-20260130105019
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 +381 -117
- 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 +209 -174
- 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 +209 -174
- 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 -28
- package/dist/types/dist-types/product-draft.d.ts +0 -2
- package/dist/types/dist-types/product.d.ts +66 -28
- package/package.json +1 -1
|
@@ -10,6 +10,9 @@ declare const schema: {
|
|
|
10
10
|
readonly slug: {
|
|
11
11
|
readonly type: readonly ["string"];
|
|
12
12
|
};
|
|
13
|
+
readonly style_slug: {
|
|
14
|
+
readonly type: readonly ["string"];
|
|
15
|
+
};
|
|
13
16
|
readonly style_id: {
|
|
14
17
|
readonly type: readonly ["string"];
|
|
15
18
|
};
|
|
@@ -19,8 +22,11 @@ declare const schema: {
|
|
|
19
22
|
readonly style_name: {
|
|
20
23
|
readonly type: "string";
|
|
21
24
|
};
|
|
25
|
+
readonly product_name: {
|
|
26
|
+
readonly type: "string";
|
|
27
|
+
};
|
|
22
28
|
readonly display_name: {
|
|
23
|
-
readonly type: readonly ["string"];
|
|
29
|
+
readonly type: readonly ["string", "null"];
|
|
24
30
|
};
|
|
25
31
|
readonly buffer_quantity: {
|
|
26
32
|
readonly type: "integer";
|
|
@@ -34,6 +40,30 @@ declare const schema: {
|
|
|
34
40
|
readonly type: readonly ["string", "null"];
|
|
35
41
|
readonly format: "date";
|
|
36
42
|
};
|
|
43
|
+
readonly online_from: {
|
|
44
|
+
readonly type: readonly ["string", "null"];
|
|
45
|
+
readonly format: "date-time";
|
|
46
|
+
};
|
|
47
|
+
readonly online_to: {
|
|
48
|
+
readonly type: readonly ["string", "null"];
|
|
49
|
+
readonly format: "date-time";
|
|
50
|
+
};
|
|
51
|
+
readonly first_online_at: {
|
|
52
|
+
readonly type: readonly ["string", "null"];
|
|
53
|
+
readonly format: "date-time";
|
|
54
|
+
};
|
|
55
|
+
readonly last_online_at: {
|
|
56
|
+
readonly type: readonly ["string", "null"];
|
|
57
|
+
readonly format: "date-time";
|
|
58
|
+
};
|
|
59
|
+
readonly first_purchased_at: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly format: "date-time";
|
|
62
|
+
};
|
|
63
|
+
readonly first_markdown_at: {
|
|
64
|
+
readonly type: readonly ["string", "null"];
|
|
65
|
+
readonly format: "date-time";
|
|
66
|
+
};
|
|
37
67
|
readonly created_at: {
|
|
38
68
|
readonly type: "string";
|
|
39
69
|
readonly format: "date-time";
|
|
@@ -45,6 +75,9 @@ declare const schema: {
|
|
|
45
75
|
readonly colour_family_name: {
|
|
46
76
|
readonly type: "string";
|
|
47
77
|
};
|
|
78
|
+
readonly colour_code: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
};
|
|
48
81
|
readonly colour_name: {
|
|
49
82
|
readonly type: "string";
|
|
50
83
|
};
|
|
@@ -57,6 +90,9 @@ declare const schema: {
|
|
|
57
90
|
readonly sizerange_code: {
|
|
58
91
|
readonly type: "string";
|
|
59
92
|
};
|
|
93
|
+
readonly sizerange_name: {
|
|
94
|
+
readonly type: "string";
|
|
95
|
+
};
|
|
60
96
|
readonly variants: {
|
|
61
97
|
readonly type: "array";
|
|
62
98
|
readonly items: {
|
|
@@ -68,13 +104,27 @@ declare const schema: {
|
|
|
68
104
|
readonly name: {
|
|
69
105
|
readonly type: readonly ["string"];
|
|
70
106
|
};
|
|
71
|
-
readonly ean: {
|
|
72
|
-
readonly type: readonly ["string", "null"];
|
|
73
|
-
};
|
|
74
107
|
};
|
|
75
108
|
readonly required: readonly ["code", "name"];
|
|
76
109
|
};
|
|
77
110
|
};
|
|
111
|
+
readonly images: {
|
|
112
|
+
readonly type: "array";
|
|
113
|
+
readonly items: {
|
|
114
|
+
readonly type: "object";
|
|
115
|
+
readonly properties: {
|
|
116
|
+
readonly type: {
|
|
117
|
+
readonly type: "string";
|
|
118
|
+
readonly enum: readonly ["Campaign", "Ecom", "Flatlay", "UGC", "AI"];
|
|
119
|
+
};
|
|
120
|
+
readonly url: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
readonly format: "uri";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
readonly required: readonly ["type", "url"];
|
|
126
|
+
};
|
|
127
|
+
};
|
|
78
128
|
readonly vat_rate_uk: {
|
|
79
129
|
readonly type: readonly ["number", "null"];
|
|
80
130
|
readonly minimum: 0;
|
|
@@ -97,6 +147,17 @@ declare const schema: {
|
|
|
97
147
|
readonly port_of_origin: {
|
|
98
148
|
readonly type: "string";
|
|
99
149
|
};
|
|
150
|
+
readonly supplier_id: {
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly pattern: "^SUP\\d{5}$";
|
|
153
|
+
};
|
|
154
|
+
readonly supplier_name: {
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
};
|
|
157
|
+
readonly factory_id: {
|
|
158
|
+
readonly type: "string";
|
|
159
|
+
readonly pattern: "^FAC\\d{5}$";
|
|
160
|
+
};
|
|
100
161
|
readonly packing_method: {
|
|
101
162
|
readonly type: readonly ["string", "null"];
|
|
102
163
|
readonly enum: readonly ["Standard", "Hanging"];
|
|
@@ -113,78 +174,60 @@ declare const schema: {
|
|
|
113
174
|
readonly strategy_type: {
|
|
114
175
|
readonly type: "string";
|
|
115
176
|
};
|
|
177
|
+
readonly product_type: {
|
|
178
|
+
readonly type: "string";
|
|
179
|
+
};
|
|
180
|
+
readonly stock_type: {
|
|
181
|
+
readonly type: "string";
|
|
182
|
+
};
|
|
116
183
|
readonly category: {
|
|
117
184
|
readonly type: "string";
|
|
118
185
|
};
|
|
119
186
|
readonly subcategory: {
|
|
120
187
|
readonly type: "string";
|
|
121
188
|
};
|
|
122
|
-
readonly
|
|
189
|
+
readonly range: {
|
|
190
|
+
readonly type: readonly ["string", "null"];
|
|
191
|
+
readonly enum: readonly ["Main Collection", "Seasonal"];
|
|
192
|
+
};
|
|
193
|
+
readonly channels_availability: {
|
|
123
194
|
readonly type: readonly ["array"];
|
|
124
195
|
readonly items: {
|
|
125
196
|
readonly type: "string";
|
|
197
|
+
readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"];
|
|
126
198
|
};
|
|
127
199
|
};
|
|
128
|
-
readonly
|
|
200
|
+
readonly collections: {
|
|
201
|
+
readonly type: readonly ["string"];
|
|
202
|
+
};
|
|
203
|
+
readonly seasons: {
|
|
129
204
|
readonly type: readonly ["array"];
|
|
130
205
|
readonly items: {
|
|
131
206
|
readonly type: "string";
|
|
132
207
|
};
|
|
133
208
|
};
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
readonly category_assignments: {
|
|
138
|
-
readonly type: "array";
|
|
139
|
-
readonly items: {
|
|
140
|
-
readonly type: "object";
|
|
141
|
-
readonly properties: {
|
|
142
|
-
readonly display_path: {
|
|
143
|
-
readonly type: "array";
|
|
144
|
-
readonly items: {
|
|
145
|
-
readonly type: "string";
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
readonly path: {
|
|
149
|
-
readonly type: "array";
|
|
150
|
-
readonly items: {
|
|
151
|
-
readonly type: "string";
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
readonly name: {
|
|
155
|
-
readonly type: "string";
|
|
156
|
-
};
|
|
157
|
-
readonly id: {
|
|
209
|
+
readonly drops: {
|
|
210
|
+
readonly type: readonly ["array"];
|
|
211
|
+
readonly items: {
|
|
158
212
|
readonly type: "string";
|
|
159
213
|
};
|
|
160
214
|
};
|
|
215
|
+
readonly fashionability: {
|
|
216
|
+
readonly type: readonly ["string", "null"];
|
|
217
|
+
};
|
|
161
218
|
};
|
|
219
|
+
readonly required: readonly [];
|
|
162
220
|
};
|
|
163
221
|
readonly attributes: {
|
|
164
222
|
readonly type: "object";
|
|
165
223
|
readonly properties: {
|
|
166
|
-
readonly stock_quantity_score: {
|
|
167
|
-
readonly type: "number";
|
|
168
|
-
};
|
|
169
|
-
readonly stock_availability: {
|
|
170
|
-
readonly type: "number";
|
|
171
|
-
};
|
|
172
|
-
readonly measurement_chart: {
|
|
173
|
-
readonly type: readonly ["string", "null"];
|
|
174
|
-
};
|
|
175
|
-
readonly sizeguide_type: {
|
|
176
|
-
readonly type: readonly ["string", "null"];
|
|
177
|
-
};
|
|
178
|
-
readonly brand: {
|
|
179
|
-
readonly type: readonly ["string", "null"];
|
|
180
|
-
};
|
|
181
|
-
readonly shoes_type: {
|
|
182
|
-
readonly type: readonly ["string", "null"];
|
|
183
|
-
};
|
|
184
224
|
readonly seo_url_name: {
|
|
185
225
|
readonly type: "string";
|
|
186
226
|
readonly pattern: "^[a-z-]+$";
|
|
187
227
|
};
|
|
228
|
+
readonly embellishment: {
|
|
229
|
+
readonly type: readonly ["string", "null"];
|
|
230
|
+
};
|
|
188
231
|
readonly seo_title: {
|
|
189
232
|
readonly type: readonly ["string", "null"];
|
|
190
233
|
};
|
|
@@ -197,50 +240,125 @@ declare const schema: {
|
|
|
197
240
|
readonly fabric_care: {
|
|
198
241
|
readonly type: readonly ["string", "null"];
|
|
199
242
|
};
|
|
243
|
+
readonly delivery_returns: {
|
|
244
|
+
readonly type: readonly ["string", "null"];
|
|
245
|
+
};
|
|
200
246
|
readonly weight: {
|
|
201
247
|
readonly type: readonly ["number", "null"];
|
|
202
248
|
};
|
|
249
|
+
readonly weight_statement: {
|
|
250
|
+
readonly type: readonly ["string", "null"];
|
|
251
|
+
};
|
|
203
252
|
readonly main_fibre: {
|
|
204
253
|
readonly type: readonly ["string", "null"];
|
|
205
254
|
};
|
|
206
255
|
readonly main_metal: {
|
|
207
256
|
readonly type: readonly ["string", "null"];
|
|
208
257
|
};
|
|
258
|
+
readonly extra_selling_points: {
|
|
259
|
+
readonly type: "array";
|
|
260
|
+
readonly items: {
|
|
261
|
+
readonly type: "string";
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
readonly length_measurement: {
|
|
265
|
+
readonly type: readonly ["string", "null"];
|
|
266
|
+
};
|
|
267
|
+
readonly measurement_table_code: {
|
|
268
|
+
readonly type: readonly ["string"];
|
|
269
|
+
};
|
|
270
|
+
readonly fit: {
|
|
271
|
+
readonly type: readonly ["string", "null"];
|
|
272
|
+
};
|
|
273
|
+
readonly pockets: {
|
|
274
|
+
readonly type: readonly ["string", "null"];
|
|
275
|
+
};
|
|
276
|
+
readonly pleats_gathers: {
|
|
277
|
+
readonly type: readonly ["string", "null"];
|
|
278
|
+
};
|
|
279
|
+
readonly lining: {
|
|
280
|
+
readonly type: readonly ["string", "null"];
|
|
281
|
+
};
|
|
282
|
+
readonly bias_cut: {
|
|
283
|
+
readonly type: readonly ["string", "null"];
|
|
284
|
+
};
|
|
209
285
|
readonly designer: {
|
|
210
286
|
readonly type: readonly ["string", "null"];
|
|
211
287
|
};
|
|
288
|
+
readonly fabric: {
|
|
289
|
+
readonly type: readonly ["string", "null"];
|
|
290
|
+
};
|
|
291
|
+
readonly fabric_composition: {
|
|
292
|
+
readonly type: readonly ["string", "null"];
|
|
293
|
+
};
|
|
212
294
|
readonly certificate_code: {
|
|
213
295
|
readonly type: readonly ["string", "null"];
|
|
214
296
|
};
|
|
297
|
+
readonly shape: {
|
|
298
|
+
readonly type: readonly ["string", "null"];
|
|
299
|
+
};
|
|
300
|
+
readonly development_type: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
};
|
|
303
|
+
readonly occasion: {
|
|
304
|
+
readonly type: readonly ["string", "null"];
|
|
305
|
+
};
|
|
306
|
+
readonly design: {
|
|
307
|
+
readonly type: readonly ["string", "null"];
|
|
308
|
+
};
|
|
309
|
+
readonly block: {
|
|
310
|
+
readonly type: readonly ["string", "null"];
|
|
311
|
+
};
|
|
215
312
|
readonly pattern_name: {
|
|
216
313
|
readonly type: readonly ["string", "null"];
|
|
217
314
|
};
|
|
218
315
|
readonly fit_type: {
|
|
219
316
|
readonly type: readonly ["string", "null"];
|
|
220
317
|
};
|
|
221
|
-
readonly
|
|
318
|
+
readonly neckline: {
|
|
319
|
+
readonly type: readonly ["string", "null"];
|
|
320
|
+
};
|
|
321
|
+
readonly sleeve_length: {
|
|
322
|
+
readonly type: readonly ["string", "null"];
|
|
323
|
+
readonly nullable: true;
|
|
324
|
+
};
|
|
325
|
+
readonly sleeve_type: {
|
|
222
326
|
readonly type: readonly ["string", "null"];
|
|
223
327
|
readonly nullable: true;
|
|
224
328
|
};
|
|
225
|
-
readonly
|
|
329
|
+
readonly heel_height: {
|
|
330
|
+
readonly type: readonly ["string", "null"];
|
|
331
|
+
};
|
|
332
|
+
readonly heel_shape: {
|
|
226
333
|
readonly type: readonly ["string", "null"];
|
|
227
334
|
};
|
|
228
|
-
readonly
|
|
335
|
+
readonly toe_shape: {
|
|
229
336
|
readonly type: readonly ["string", "null"];
|
|
230
337
|
};
|
|
231
|
-
readonly
|
|
338
|
+
readonly trouser_fit: {
|
|
232
339
|
readonly type: readonly ["string", "null"];
|
|
340
|
+
readonly nullable: true;
|
|
233
341
|
};
|
|
234
|
-
readonly
|
|
342
|
+
readonly leg_length: {
|
|
235
343
|
readonly type: readonly ["string", "null"];
|
|
236
344
|
};
|
|
237
|
-
readonly
|
|
345
|
+
readonly handle_straps: {
|
|
238
346
|
readonly type: readonly ["string", "null"];
|
|
239
347
|
};
|
|
240
|
-
readonly
|
|
348
|
+
readonly straps_features: {
|
|
241
349
|
readonly type: readonly ["string", "null"];
|
|
242
350
|
};
|
|
243
|
-
readonly
|
|
351
|
+
readonly fastening: {
|
|
352
|
+
readonly anyOf: readonly [{
|
|
353
|
+
readonly type: readonly ["array", "null"];
|
|
354
|
+
readonly items: {
|
|
355
|
+
readonly type: "string";
|
|
356
|
+
};
|
|
357
|
+
}, {
|
|
358
|
+
readonly type: "null";
|
|
359
|
+
}];
|
|
360
|
+
};
|
|
361
|
+
readonly sole_material: {
|
|
244
362
|
readonly type: readonly ["string", "null"];
|
|
245
363
|
};
|
|
246
364
|
readonly care_instructions: {
|
|
@@ -252,13 +370,7 @@ declare const schema: {
|
|
|
252
370
|
};
|
|
253
371
|
readonly required: readonly [];
|
|
254
372
|
};
|
|
255
|
-
readonly
|
|
256
|
-
readonly type: "array";
|
|
257
|
-
readonly items: {
|
|
258
|
-
readonly type: "string";
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
readonly markets_overrides: {
|
|
373
|
+
readonly presentations: {
|
|
262
374
|
readonly type: "object";
|
|
263
375
|
readonly additionalProperties: false;
|
|
264
376
|
readonly patternProperties: {
|
|
@@ -270,41 +382,53 @@ declare const schema: {
|
|
|
270
382
|
readonly type: "string";
|
|
271
383
|
readonly pattern: "^[a-z]{2}-[A-Z]{2}$";
|
|
272
384
|
};
|
|
273
|
-
readonly
|
|
385
|
+
readonly presentation_type: {
|
|
274
386
|
readonly type: "string";
|
|
275
387
|
};
|
|
276
388
|
readonly slug: {
|
|
277
|
-
readonly
|
|
389
|
+
readonly $ref: "#/properties/slug";
|
|
390
|
+
};
|
|
391
|
+
readonly style_slug: {
|
|
392
|
+
readonly $ref: "#/properties/style_slug";
|
|
278
393
|
};
|
|
279
394
|
readonly style_name: {
|
|
280
|
-
readonly
|
|
395
|
+
readonly $ref: "#/properties/style_name";
|
|
281
396
|
};
|
|
282
397
|
readonly display_name: {
|
|
283
|
-
readonly
|
|
398
|
+
readonly $ref: "#/properties/display_name";
|
|
284
399
|
};
|
|
285
400
|
readonly display_type: {
|
|
286
|
-
readonly
|
|
287
|
-
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
401
|
+
readonly $ref: "#/properties/display_type";
|
|
288
402
|
};
|
|
289
403
|
readonly available_to_sell_from: {
|
|
290
|
-
readonly
|
|
291
|
-
|
|
404
|
+
readonly $ref: "#/properties/available_to_sell_from";
|
|
405
|
+
};
|
|
406
|
+
readonly online_from: {
|
|
407
|
+
readonly $ref: "#/properties/online_from";
|
|
408
|
+
};
|
|
409
|
+
readonly online_to: {
|
|
410
|
+
readonly $ref: "#/properties/online_to";
|
|
411
|
+
};
|
|
412
|
+
readonly last_online_at: {
|
|
413
|
+
readonly $ref: "#/properties/last_online_at";
|
|
414
|
+
};
|
|
415
|
+
readonly first_purchased_at: {
|
|
416
|
+
readonly $ref: "#/properties/first_purchased_at";
|
|
417
|
+
};
|
|
418
|
+
readonly first_markdown_at: {
|
|
419
|
+
readonly $ref: "#/properties/first_markdown_at";
|
|
292
420
|
};
|
|
293
421
|
readonly colour_family_name: {
|
|
294
|
-
readonly
|
|
422
|
+
readonly $ref: "#/properties/colour_family_name";
|
|
295
423
|
};
|
|
296
424
|
readonly colour_name: {
|
|
297
|
-
readonly
|
|
425
|
+
readonly $ref: "#/properties/colour_name";
|
|
298
426
|
};
|
|
299
427
|
readonly display_tags: {
|
|
300
|
-
readonly
|
|
301
|
-
readonly items: {
|
|
302
|
-
readonly type: "string";
|
|
303
|
-
};
|
|
428
|
+
readonly $ref: "#/properties/display_tags";
|
|
304
429
|
};
|
|
305
|
-
readonly
|
|
306
|
-
readonly
|
|
307
|
-
readonly format: "date-time";
|
|
430
|
+
readonly sizerange_name: {
|
|
431
|
+
readonly $ref: "#/properties/sizerange_name";
|
|
308
432
|
};
|
|
309
433
|
readonly variants: {
|
|
310
434
|
readonly type: "array";
|
|
@@ -312,114 +436,25 @@ declare const schema: {
|
|
|
312
436
|
readonly type: "object";
|
|
313
437
|
readonly properties: {
|
|
314
438
|
readonly code: {
|
|
315
|
-
readonly
|
|
439
|
+
readonly $ref: "#/properties/variants/items/properties/code";
|
|
316
440
|
};
|
|
317
441
|
readonly name: {
|
|
318
|
-
readonly
|
|
442
|
+
readonly $ref: "#/properties/variants/items/properties/name";
|
|
319
443
|
};
|
|
320
444
|
};
|
|
321
445
|
readonly required: readonly ["code", "name"];
|
|
322
446
|
};
|
|
323
447
|
};
|
|
324
448
|
readonly attributes: {
|
|
325
|
-
readonly
|
|
326
|
-
readonly properties: {
|
|
327
|
-
readonly stock_quantity_score: {
|
|
328
|
-
readonly type: "number";
|
|
329
|
-
};
|
|
330
|
-
readonly stock_availability: {
|
|
331
|
-
readonly type: "number";
|
|
332
|
-
};
|
|
333
|
-
readonly measurement_chart: {
|
|
334
|
-
readonly type: readonly ["string", "null"];
|
|
335
|
-
};
|
|
336
|
-
readonly sizeguide_type: {
|
|
337
|
-
readonly type: readonly ["string", "null"];
|
|
338
|
-
};
|
|
339
|
-
readonly brand: {
|
|
340
|
-
readonly type: readonly ["string", "null"];
|
|
341
|
-
};
|
|
342
|
-
readonly shoes_type: {
|
|
343
|
-
readonly type: readonly ["string", "null"];
|
|
344
|
-
};
|
|
345
|
-
readonly seo_url_name: {
|
|
346
|
-
readonly type: "string";
|
|
347
|
-
readonly pattern: "^[a-z-]+$";
|
|
348
|
-
};
|
|
349
|
-
readonly seo_title: {
|
|
350
|
-
readonly type: readonly ["string", "null"];
|
|
351
|
-
};
|
|
352
|
-
readonly seo_description: {
|
|
353
|
-
readonly type: readonly ["string", "null"];
|
|
354
|
-
};
|
|
355
|
-
readonly fit_description: {
|
|
356
|
-
readonly type: readonly ["string", "null"];
|
|
357
|
-
};
|
|
358
|
-
readonly fabric_care: {
|
|
359
|
-
readonly type: readonly ["string", "null"];
|
|
360
|
-
};
|
|
361
|
-
readonly weight: {
|
|
362
|
-
readonly type: readonly ["number", "null"];
|
|
363
|
-
};
|
|
364
|
-
readonly main_fibre: {
|
|
365
|
-
readonly type: readonly ["string", "null"];
|
|
366
|
-
};
|
|
367
|
-
readonly main_metal: {
|
|
368
|
-
readonly type: readonly ["string", "null"];
|
|
369
|
-
};
|
|
370
|
-
readonly designer: {
|
|
371
|
-
readonly type: readonly ["string", "null"];
|
|
372
|
-
};
|
|
373
|
-
readonly certificate_code: {
|
|
374
|
-
readonly type: readonly ["string", "null"];
|
|
375
|
-
};
|
|
376
|
-
readonly pattern_name: {
|
|
377
|
-
readonly type: readonly ["string", "null"];
|
|
378
|
-
};
|
|
379
|
-
readonly fit_type: {
|
|
380
|
-
readonly type: readonly ["string", "null"];
|
|
381
|
-
};
|
|
382
|
-
readonly trousers_fit: {
|
|
383
|
-
readonly type: readonly ["string", "null"];
|
|
384
|
-
readonly nullable: true;
|
|
385
|
-
};
|
|
386
|
-
readonly trousers_length: {
|
|
387
|
-
readonly type: readonly ["string", "null"];
|
|
388
|
-
};
|
|
389
|
-
readonly dresses_skirts_length: {
|
|
390
|
-
readonly type: readonly ["string", "null"];
|
|
391
|
-
};
|
|
392
|
-
readonly coats_jackets_type: {
|
|
393
|
-
readonly type: readonly ["string", "null"];
|
|
394
|
-
};
|
|
395
|
-
readonly dresses_skirts_type: {
|
|
396
|
-
readonly type: readonly ["string", "null"];
|
|
397
|
-
};
|
|
398
|
-
readonly bag_type: {
|
|
399
|
-
readonly type: readonly ["string", "null"];
|
|
400
|
-
};
|
|
401
|
-
readonly product_category: {
|
|
402
|
-
readonly type: readonly ["string", "null"];
|
|
403
|
-
};
|
|
404
|
-
readonly product_type: {
|
|
405
|
-
readonly type: readonly ["string", "null"];
|
|
406
|
-
};
|
|
407
|
-
readonly care_instructions: {
|
|
408
|
-
readonly type: "array";
|
|
409
|
-
readonly items: {
|
|
410
|
-
readonly type: "string";
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
};
|
|
414
|
-
readonly required: readonly [];
|
|
449
|
+
readonly $ref: "#/properties/attributes";
|
|
415
450
|
};
|
|
416
451
|
};
|
|
417
|
-
readonly required: readonly ["locale", "
|
|
452
|
+
readonly required: readonly ["locale", "presentation_type"];
|
|
418
453
|
};
|
|
419
454
|
};
|
|
420
455
|
};
|
|
421
456
|
};
|
|
422
|
-
readonly required: readonly ["product_id", "style_id", "
|
|
457
|
+
readonly required: readonly ["product_id", "style_id", "product_name", "online_from"];
|
|
423
458
|
readonly $id: "https://shushed.example.com/product.schema.json";
|
|
424
459
|
};
|
|
425
460
|
export default schema;
|
|
@@ -91,10 +91,8 @@ declare const schema: {
|
|
|
91
91
|
readonly minimum: 0;
|
|
92
92
|
};
|
|
93
93
|
readonly lcy_currency: {
|
|
94
|
+
readonly $ref: "#/properties/unit_price/oneOf/0/properties/currency";
|
|
94
95
|
readonly title: "LCY Currency";
|
|
95
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
96
|
-
readonly type: "string";
|
|
97
|
-
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
98
96
|
};
|
|
99
97
|
readonly lcy_decimal_places: {
|
|
100
98
|
readonly type: "integer";
|
|
@@ -71,10 +71,8 @@ declare const schema: {
|
|
|
71
71
|
readonly minimum: 0;
|
|
72
72
|
};
|
|
73
73
|
readonly lcy_currency: {
|
|
74
|
+
readonly $ref: "#/properties/unit_cost/oneOf/0/properties/currency";
|
|
74
75
|
readonly title: "LCY Currency";
|
|
75
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
76
|
-
readonly type: "string";
|
|
77
|
-
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
78
76
|
};
|
|
79
77
|
readonly lcy_decimal_places: {
|
|
80
78
|
readonly type: "integer";
|
|
@@ -51,10 +51,8 @@ declare const schema: {
|
|
|
51
51
|
readonly minimum: 0;
|
|
52
52
|
};
|
|
53
53
|
readonly lcy_currency: {
|
|
54
|
+
readonly $ref: "#/properties/unit_cost/oneOf/0/properties/currency";
|
|
54
55
|
readonly title: "LCY Currency";
|
|
55
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
56
|
-
readonly type: "string";
|
|
57
|
-
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
58
56
|
};
|
|
59
57
|
readonly lcy_decimal_places: {
|
|
60
58
|
readonly type: "integer";
|