@shushed/helpers 0.0.247-cat-tree-schema-20260130105151 → 0.0.247-main-20260130130323

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 (74) hide show
  1. package/dist/cjs/contracts/product-draft.schema.json +14 -0
  2. package/dist/cjs/contracts/product.schema.json +119 -376
  3. package/dist/cjs/dist-dereferenced/gift-voucher.js +1 -1
  4. package/dist/cjs/dist-dereferenced/index.js +1 -3
  5. package/dist/cjs/dist-dereferenced/messages/order/delivered.js +1 -1
  6. package/dist/cjs/dist-dereferenced/messages/order/new.js +1 -1
  7. package/dist/cjs/dist-dereferenced/messages/order/processed.js +1 -1
  8. package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +1 -1
  9. package/dist/cjs/dist-dereferenced/messages/order/returned.js +1 -1
  10. package/dist/cjs/dist-dereferenced/messages/order/shipped.js +1 -1
  11. package/dist/cjs/dist-dereferenced/messages/product-draft.js +1 -1
  12. package/dist/cjs/dist-dereferenced/messages/product.js +1 -1
  13. package/dist/cjs/dist-dereferenced/money.js +1 -1
  14. package/dist/cjs/dist-dereferenced/order/customer.js +1 -1
  15. package/dist/cjs/dist-dereferenced/order/item.js +1 -1
  16. package/dist/cjs/dist-dereferenced/order/orderMain.js +1 -1
  17. package/dist/cjs/dist-dereferenced/order/payment.js +1 -1
  18. package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +1 -1
  19. package/dist/cjs/dist-dereferenced/order/shipment/pos/posMain.js +1 -1
  20. package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +1 -1
  21. package/dist/cjs/dist-dereferenced/order/shipment/shipmentMain.js +1 -1
  22. package/dist/cjs/dist-dereferenced/order/shipment/shipped/outbound.js +1 -1
  23. package/dist/cjs/dist-dereferenced/order/shipment/shipped/return.js +1 -1
  24. package/dist/cjs/dist-dereferenced/order/shipment/shipped/shippedMain.js +1 -1
  25. package/dist/cjs/dist-dereferenced/product-draft.js +1 -1
  26. package/dist/cjs/dist-dereferenced/product.js +1 -1
  27. package/dist/cjs/dist-dereferenced/purchase-orderline.js +1 -1
  28. package/dist/cjs/dist-dereferenced/stock-movement.js +1 -1
  29. package/dist/cjs/dist-dereferenced/stock.js +1 -1
  30. package/dist/cjs/dist-dereferenced/total.js +1 -1
  31. package/dist/cjs/src-public/airtable.js +17 -7
  32. package/dist/types/dist-dereferenced/gift-voucher.d.ts +3 -1
  33. package/dist/types/dist-dereferenced/index.d.ts +0 -1
  34. package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +2903 -253
  35. package/dist/types/dist-dereferenced/messages/order/new.d.ts +2903 -253
  36. package/dist/types/dist-dereferenced/messages/order/processed.d.ts +2903 -253
  37. package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +2903 -253
  38. package/dist/types/dist-dereferenced/messages/order/returned.d.ts +2903 -253
  39. package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +2903 -253
  40. package/dist/types/dist-dereferenced/messages/product-draft.d.ts +194 -6
  41. package/dist/types/dist-dereferenced/messages/product.d.ts +178 -207
  42. package/dist/types/dist-dereferenced/money.d.ts +3 -1
  43. package/dist/types/dist-dereferenced/order/customer.d.ts +98 -1
  44. package/dist/types/dist-dereferenced/order/index.d.ts +2903 -253
  45. package/dist/types/dist-dereferenced/order/item.d.ts +221 -7
  46. package/dist/types/dist-dereferenced/order/orderMain.d.ts +2903 -253
  47. package/dist/types/dist-dereferenced/order/payment.d.ts +3 -1
  48. package/dist/types/dist-dereferenced/order/shipment/index.d.ts +125 -5
  49. package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +125 -5
  50. package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +139 -6
  51. package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +125 -5
  52. package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +155 -6
  53. package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +125 -5
  54. package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +125 -5
  55. package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +139 -6
  56. package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +139 -6
  57. package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +125 -5
  58. package/dist/types/dist-dereferenced/product-draft.d.ts +194 -6
  59. package/dist/types/dist-dereferenced/product.d.ts +178 -207
  60. package/dist/types/dist-dereferenced/purchase-orderline.d.ts +3 -1
  61. package/dist/types/dist-dereferenced/stock-movement.d.ts +3 -1
  62. package/dist/types/dist-dereferenced/stock.d.ts +3 -1
  63. package/dist/types/dist-dereferenced/total.d.ts +111 -4
  64. package/dist/types/dist-types/index.d.ts +0 -1
  65. package/dist/types/dist-types/messages/product-draft.d.ts +2 -0
  66. package/dist/types/dist-types/messages/product.d.ts +30 -67
  67. package/dist/types/dist-types/product-draft.d.ts +2 -0
  68. package/dist/types/dist-types/product.d.ts +30 -67
  69. package/dist/types/src-public/airtable.d.ts +3 -3
  70. package/package.json +1 -1
  71. package/dist/cjs/dist-dereferenced/category-tree.js +0 -4
  72. package/dist/cjs/dist-types/category-tree.js +0 -2
  73. package/dist/types/dist-dereferenced/category-tree.d.ts +0 -59
  74. package/dist/types/dist-types/category-tree.d.ts +0 -14
@@ -10,9 +10,6 @@ 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
- };
16
13
  readonly style_id: {
17
14
  readonly type: readonly ["string"];
18
15
  };
@@ -22,11 +19,8 @@ declare const schema: {
22
19
  readonly style_name: {
23
20
  readonly type: "string";
24
21
  };
25
- readonly product_name: {
26
- readonly type: "string";
27
- };
28
22
  readonly display_name: {
29
- readonly type: readonly ["string", "null"];
23
+ readonly type: readonly ["string"];
30
24
  };
31
25
  readonly buffer_quantity: {
32
26
  readonly type: "integer";
@@ -40,30 +34,6 @@ declare const schema: {
40
34
  readonly type: readonly ["string", "null"];
41
35
  readonly format: "date";
42
36
  };
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
- };
67
37
  readonly created_at: {
68
38
  readonly type: "string";
69
39
  readonly format: "date-time";
@@ -75,9 +45,6 @@ declare const schema: {
75
45
  readonly colour_family_name: {
76
46
  readonly type: "string";
77
47
  };
78
- readonly colour_code: {
79
- readonly type: "string";
80
- };
81
48
  readonly colour_name: {
82
49
  readonly type: "string";
83
50
  };
@@ -90,9 +57,6 @@ declare const schema: {
90
57
  readonly sizerange_code: {
91
58
  readonly type: "string";
92
59
  };
93
- readonly sizerange_name: {
94
- readonly type: "string";
95
- };
96
60
  readonly variants: {
97
61
  readonly type: "array";
98
62
  readonly items: {
@@ -104,25 +68,11 @@ declare const schema: {
104
68
  readonly name: {
105
69
  readonly type: readonly ["string"];
106
70
  };
107
- };
108
- readonly required: readonly ["code", "name"];
109
- };
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";
71
+ readonly ean: {
72
+ readonly type: readonly ["string", "null"];
123
73
  };
124
74
  };
125
- readonly required: readonly ["type", "url"];
75
+ readonly required: readonly ["code", "name"];
126
76
  };
127
77
  };
128
78
  readonly vat_rate_uk: {
@@ -147,17 +97,6 @@ declare const schema: {
147
97
  readonly port_of_origin: {
148
98
  readonly type: "string";
149
99
  };
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
- };
161
100
  readonly packing_method: {
162
101
  readonly type: readonly ["string", "null"];
163
102
  readonly enum: readonly ["Standard", "Hanging"];
@@ -174,32 +113,12 @@ declare const schema: {
174
113
  readonly strategy_type: {
175
114
  readonly type: "string";
176
115
  };
177
- readonly product_type: {
178
- readonly type: "string";
179
- };
180
- readonly stock_type: {
181
- readonly type: "string";
182
- };
183
116
  readonly category: {
184
117
  readonly type: "string";
185
118
  };
186
119
  readonly subcategory: {
187
120
  readonly type: "string";
188
121
  };
189
- readonly range: {
190
- readonly type: readonly ["string", "null"];
191
- readonly enum: readonly ["Main Collection", "Seasonal"];
192
- };
193
- readonly channels_availability: {
194
- readonly type: readonly ["array"];
195
- readonly items: {
196
- readonly type: "string";
197
- readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"];
198
- };
199
- };
200
- readonly collections: {
201
- readonly type: readonly ["string"];
202
- };
203
122
  readonly seasons: {
204
123
  readonly type: readonly ["array"];
205
124
  readonly items: {
@@ -212,22 +131,60 @@ declare const schema: {
212
131
  readonly type: "string";
213
132
  };
214
133
  };
215
- readonly fashionability: {
216
- readonly type: readonly ["string", "null"];
217
- };
218
134
  };
219
135
  readonly required: readonly [];
220
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: {
158
+ readonly type: "string";
159
+ };
160
+ };
161
+ };
162
+ };
221
163
  readonly attributes: {
222
164
  readonly type: "object";
223
165
  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
+ };
224
184
  readonly seo_url_name: {
225
185
  readonly type: "string";
226
186
  readonly pattern: "^[a-z-]+$";
227
187
  };
228
- readonly embellishment: {
229
- readonly type: readonly ["string", "null"];
230
- };
231
188
  readonly seo_title: {
232
189
  readonly type: readonly ["string", "null"];
233
190
  };
@@ -240,125 +197,53 @@ declare const schema: {
240
197
  readonly fabric_care: {
241
198
  readonly type: readonly ["string", "null"];
242
199
  };
243
- readonly delivery_returns: {
244
- readonly type: readonly ["string", "null"];
245
- };
246
200
  readonly weight: {
247
201
  readonly type: readonly ["number", "null"];
248
202
  };
249
- readonly weight_statement: {
250
- readonly type: readonly ["string", "null"];
251
- };
252
203
  readonly main_fibre: {
253
204
  readonly type: readonly ["string", "null"];
254
205
  };
255
206
  readonly main_metal: {
256
207
  readonly type: readonly ["string", "null"];
257
208
  };
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
- };
285
209
  readonly designer: {
286
210
  readonly type: readonly ["string", "null"];
287
211
  };
288
- readonly fabric: {
289
- readonly type: readonly ["string", "null"];
290
- };
291
- readonly fabric_composition: {
292
- readonly type: readonly ["string", "null"];
293
- };
294
212
  readonly certificate_code: {
295
213
  readonly type: readonly ["string", "null"];
296
214
  };
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
- };
312
215
  readonly pattern_name: {
313
216
  readonly type: readonly ["string", "null"];
314
217
  };
315
218
  readonly fit_type: {
316
219
  readonly type: readonly ["string", "null"];
317
220
  };
318
- readonly neckline: {
319
- readonly type: readonly ["string", "null"];
320
- };
321
- readonly sleeve_length: {
221
+ readonly trousers_fit: {
322
222
  readonly type: readonly ["string", "null"];
323
223
  readonly nullable: true;
324
224
  };
325
- readonly sleeve_type: {
326
- readonly type: readonly ["string", "null"];
327
- readonly nullable: true;
328
- };
329
- readonly heel_height: {
225
+ readonly trousers_length: {
330
226
  readonly type: readonly ["string", "null"];
331
227
  };
332
- readonly heel_shape: {
228
+ readonly dresses_skirts_length: {
333
229
  readonly type: readonly ["string", "null"];
334
230
  };
335
- readonly toe_shape: {
231
+ readonly coats_jackets_type: {
336
232
  readonly type: readonly ["string", "null"];
337
233
  };
338
- readonly trouser_fit: {
234
+ readonly dresses_skirts_type: {
339
235
  readonly type: readonly ["string", "null"];
340
- readonly nullable: true;
341
236
  };
342
- readonly leg_length: {
237
+ readonly bag_type: {
343
238
  readonly type: readonly ["string", "null"];
344
239
  };
345
- readonly handle_straps: {
240
+ readonly product_category: {
346
241
  readonly type: readonly ["string", "null"];
347
242
  };
348
- readonly straps_features: {
243
+ readonly product_type: {
349
244
  readonly type: readonly ["string", "null"];
350
245
  };
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: {
246
+ readonly metal: {
362
247
  readonly type: readonly ["string", "null"];
363
248
  };
364
249
  readonly care_instructions: {
@@ -370,7 +255,13 @@ declare const schema: {
370
255
  };
371
256
  readonly required: readonly [];
372
257
  };
373
- readonly presentations: {
258
+ readonly markets: {
259
+ readonly type: "array";
260
+ readonly items: {
261
+ readonly type: "string";
262
+ };
263
+ };
264
+ readonly markets_overrides: {
374
265
  readonly type: "object";
375
266
  readonly additionalProperties: false;
376
267
  readonly patternProperties: {
@@ -382,53 +273,41 @@ declare const schema: {
382
273
  readonly type: "string";
383
274
  readonly pattern: "^[a-z]{2}-[A-Z]{2}$";
384
275
  };
385
- readonly presentation_type: {
276
+ readonly market: {
386
277
  readonly type: "string";
387
278
  };
388
279
  readonly slug: {
389
- readonly $ref: "#/properties/slug";
390
- };
391
- readonly style_slug: {
392
- readonly $ref: "#/properties/style_slug";
280
+ readonly type: readonly ["string"];
393
281
  };
394
282
  readonly style_name: {
395
- readonly $ref: "#/properties/style_name";
283
+ readonly type: "string";
396
284
  };
397
285
  readonly display_name: {
398
- readonly $ref: "#/properties/display_name";
286
+ readonly type: readonly ["string"];
399
287
  };
400
288
  readonly display_type: {
401
- readonly $ref: "#/properties/display_type";
289
+ readonly type: "string";
290
+ readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
402
291
  };
403
292
  readonly available_to_sell_from: {
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";
293
+ readonly type: readonly ["string", "null"];
294
+ readonly format: "date";
420
295
  };
421
296
  readonly colour_family_name: {
422
- readonly $ref: "#/properties/colour_family_name";
297
+ readonly type: "string";
423
298
  };
424
299
  readonly colour_name: {
425
- readonly $ref: "#/properties/colour_name";
300
+ readonly type: "string";
426
301
  };
427
302
  readonly display_tags: {
428
- readonly $ref: "#/properties/display_tags";
303
+ readonly type: "array";
304
+ readonly items: {
305
+ readonly type: "string";
306
+ };
429
307
  };
430
- readonly sizerange_name: {
431
- readonly $ref: "#/properties/sizerange_name";
308
+ readonly last_online_at: {
309
+ readonly type: readonly ["string", "null"];
310
+ readonly format: "date-time";
432
311
  };
433
312
  readonly variants: {
434
313
  readonly type: "array";
@@ -436,25 +315,117 @@ declare const schema: {
436
315
  readonly type: "object";
437
316
  readonly properties: {
438
317
  readonly code: {
439
- readonly $ref: "#/properties/variants/items/properties/code";
318
+ readonly type: "string";
440
319
  };
441
320
  readonly name: {
442
- readonly $ref: "#/properties/variants/items/properties/name";
321
+ readonly type: readonly ["string"];
443
322
  };
444
323
  };
445
324
  readonly required: readonly ["code", "name"];
446
325
  };
447
326
  };
448
327
  readonly attributes: {
449
- readonly $ref: "#/properties/attributes";
328
+ readonly type: "object";
329
+ readonly properties: {
330
+ readonly stock_quantity_score: {
331
+ readonly type: "number";
332
+ };
333
+ readonly stock_availability: {
334
+ readonly type: "number";
335
+ };
336
+ readonly measurement_chart: {
337
+ readonly type: readonly ["string", "null"];
338
+ };
339
+ readonly sizeguide_type: {
340
+ readonly type: readonly ["string", "null"];
341
+ };
342
+ readonly brand: {
343
+ readonly type: readonly ["string", "null"];
344
+ };
345
+ readonly shoes_type: {
346
+ readonly type: readonly ["string", "null"];
347
+ };
348
+ readonly seo_url_name: {
349
+ readonly type: "string";
350
+ readonly pattern: "^[a-z-]+$";
351
+ };
352
+ readonly seo_title: {
353
+ readonly type: readonly ["string", "null"];
354
+ };
355
+ readonly seo_description: {
356
+ readonly type: readonly ["string", "null"];
357
+ };
358
+ readonly fit_description: {
359
+ readonly type: readonly ["string", "null"];
360
+ };
361
+ readonly fabric_care: {
362
+ readonly type: readonly ["string", "null"];
363
+ };
364
+ readonly weight: {
365
+ readonly type: readonly ["number", "null"];
366
+ };
367
+ readonly main_fibre: {
368
+ readonly type: readonly ["string", "null"];
369
+ };
370
+ readonly main_metal: {
371
+ readonly type: readonly ["string", "null"];
372
+ };
373
+ readonly designer: {
374
+ readonly type: readonly ["string", "null"];
375
+ };
376
+ readonly certificate_code: {
377
+ readonly type: readonly ["string", "null"];
378
+ };
379
+ readonly pattern_name: {
380
+ readonly type: readonly ["string", "null"];
381
+ };
382
+ readonly fit_type: {
383
+ readonly type: readonly ["string", "null"];
384
+ };
385
+ readonly trousers_fit: {
386
+ readonly type: readonly ["string", "null"];
387
+ readonly nullable: true;
388
+ };
389
+ readonly trousers_length: {
390
+ readonly type: readonly ["string", "null"];
391
+ };
392
+ readonly dresses_skirts_length: {
393
+ readonly type: readonly ["string", "null"];
394
+ };
395
+ readonly coats_jackets_type: {
396
+ readonly type: readonly ["string", "null"];
397
+ };
398
+ readonly dresses_skirts_type: {
399
+ readonly type: readonly ["string", "null"];
400
+ };
401
+ readonly bag_type: {
402
+ readonly type: readonly ["string", "null"];
403
+ };
404
+ readonly product_category: {
405
+ readonly type: readonly ["string", "null"];
406
+ };
407
+ readonly product_type: {
408
+ readonly type: readonly ["string", "null"];
409
+ };
410
+ readonly metal: {
411
+ readonly type: readonly ["string", "null"];
412
+ };
413
+ readonly care_instructions: {
414
+ readonly type: "array";
415
+ readonly items: {
416
+ readonly type: "string";
417
+ };
418
+ };
419
+ };
420
+ readonly required: readonly [];
450
421
  };
451
422
  };
452
- readonly required: readonly ["locale", "presentation_type"];
423
+ readonly required: readonly ["locale", "market"];
453
424
  };
454
425
  };
455
426
  };
456
427
  };
457
- readonly required: readonly ["product_id", "style_id", "product_name", "online_from"];
428
+ readonly required: readonly ["product_id", "style_id", "colour_id", "display_name"];
458
429
  readonly $id: "https://shushed.example.com/product.schema.json";
459
430
  };
460
431
  export default schema;
@@ -91,8 +91,10 @@ 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";
95
94
  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"];
96
98
  };
97
99
  readonly lcy_decimal_places: {
98
100
  readonly type: "integer";
@@ -71,8 +71,10 @@ 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";
75
74
  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"];
76
78
  };
77
79
  readonly lcy_decimal_places: {
78
80
  readonly type: "integer";
@@ -51,8 +51,10 @@ 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";
55
54
  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"];
56
58
  };
57
59
  readonly lcy_decimal_places: {
58
60
  readonly type: "integer";