@shushed/helpers 0.0.8 → 0.0.9
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/index.d.ts +29663 -3
- package/dist/index.js +348 -3
- package/dist/package.json +1 -3
- package/package.json +2 -4
- package/dist/dist-dereferenced/country.d.ts +0 -8
- package/dist/dist-dereferenced/country.js +0 -2
- package/dist/dist-dereferenced/currency.d.ts +0 -8
- package/dist/dist-dereferenced/currency.js +0 -2
- package/dist/dist-dereferenced/index.d.ts +0 -7
- package/dist/dist-dereferenced/index.js +0 -7
- package/dist/dist-dereferenced/messages/index.d.ts +0 -1
- package/dist/dist-dereferenced/messages/index.js +0 -1
- package/dist/dist-dereferenced/messages/order/delivered.d.ts +0 -3410
- package/dist/dist-dereferenced/messages/order/delivered.js +0 -2
- package/dist/dist-dereferenced/messages/order/index.d.ts +0 -6
- package/dist/dist-dereferenced/messages/order/index.js +0 -6
- package/dist/dist-dereferenced/messages/order/new.d.ts +0 -3410
- package/dist/dist-dereferenced/messages/order/new.js +0 -2
- package/dist/dist-dereferenced/messages/order/processed.d.ts +0 -3404
- package/dist/dist-dereferenced/messages/order/processed.js +0 -2
- package/dist/dist-dereferenced/messages/order/return-initiated.d.ts +0 -3410
- package/dist/dist-dereferenced/messages/order/return-initiated.js +0 -2
- package/dist/dist-dereferenced/messages/order/returned.d.ts +0 -3410
- package/dist/dist-dereferenced/messages/order/returned.js +0 -2
- package/dist/dist-dereferenced/messages/order/shipped.d.ts +0 -3410
- package/dist/dist-dereferenced/messages/order/shipped.js +0 -2
- package/dist/dist-dereferenced/money.d.ts +0 -43
- package/dist/dist-dereferenced/money.js +0 -2
- package/dist/dist-dereferenced/order/address.d.ts +0 -51
- package/dist/dist-dereferenced/order/address.js +0 -2
- package/dist/dist-dereferenced/order/customer.d.ts +0 -10
- package/dist/dist-dereferenced/order/customer.js +0 -2
- package/dist/dist-dereferenced/order/index.d.ts +0 -7
- package/dist/dist-dereferenced/order/index.js +0 -7
- package/dist/dist-dereferenced/order/item.d.ts +0 -450
- package/dist/dist-dereferenced/order/item.js +0 -2
- package/dist/dist-dereferenced/order/orderMain.d.ts +0 -3394
- package/dist/dist-dereferenced/order/orderMain.js +0 -2
- package/dist/dist-dereferenced/order/payment.d.ts +0 -90
- package/dist/dist-dereferenced/order/payment.js +0 -2
- package/dist/dist-dereferenced/order/shipment/index.d.ts +0 -5
- package/dist/dist-dereferenced/order/shipment/index.js +0 -5
- package/dist/dist-dereferenced/order/shipment/item/index.d.ts +0 -3
- package/dist/dist-dereferenced/order/shipment/item/index.js +0 -3
- package/dist/dist-dereferenced/order/shipment/item/itemMain.d.ts +0 -19
- package/dist/dist-dereferenced/order/shipment/item/itemMain.js +0 -2
- package/dist/dist-dereferenced/order/shipment/item/returned.d.ts +0 -38
- package/dist/dist-dereferenced/order/shipment/item/returned.js +0 -2
- package/dist/dist-dereferenced/order/shipment/pos/index.d.ts +0 -4
- package/dist/dist-dereferenced/order/shipment/pos/index.js +0 -4
- package/dist/dist-dereferenced/order/shipment/pos/outbound.d.ts +0 -351
- package/dist/dist-dereferenced/order/shipment/pos/outbound.js +0 -2
- package/dist/dist-dereferenced/order/shipment/pos/posMain.d.ts +0 -308
- package/dist/dist-dereferenced/order/shipment/pos/posMain.js +0 -2
- package/dist/dist-dereferenced/order/shipment/pos/return.d.ts +0 -365
- package/dist/dist-dereferenced/order/shipment/pos/return.js +0 -2
- package/dist/dist-dereferenced/order/shipment/shipmentMain.d.ts +0 -275
- package/dist/dist-dereferenced/order/shipment/shipmentMain.js +0 -2
- package/dist/dist-dereferenced/order/shipment/shipped/index.d.ts +0 -4
- package/dist/dist-dereferenced/order/shipment/shipped/index.js +0 -4
- package/dist/dist-dereferenced/order/shipment/shipped/outbound.d.ts +0 -348
- package/dist/dist-dereferenced/order/shipment/shipped/outbound.js +0 -2
- package/dist/dist-dereferenced/order/shipment/shipped/return.d.ts +0 -369
- package/dist/dist-dereferenced/order/shipment/shipped/return.js +0 -2
- package/dist/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +0 -307
- package/dist/dist-dereferenced/order/shipment/shipped/shippedMain.js +0 -2
- package/dist/dist-dereferenced/productDraft.d.ts +0 -523
- package/dist/dist-dereferenced/productDraft.js +0 -2
- package/dist/dist-dereferenced/total.d.ts +0 -185
- package/dist/dist-dereferenced/total.js +0 -2
- package/dist/dist-types/country.d.ts +0 -2
- package/dist/dist-types/country.js +0 -1
- package/dist/dist-types/currency.d.ts +0 -2
- package/dist/dist-types/currency.js +0 -1
- package/dist/dist-types/index.d.ts +0 -7
- package/dist/dist-types/index.js +0 -2
- package/dist/dist-types/messages/index.d.ts +0 -1
- package/dist/dist-types/messages/index.js +0 -1
- package/dist/dist-types/messages/order/delivered.d.ts +0 -178
- package/dist/dist-types/messages/order/delivered.js +0 -1
- package/dist/dist-types/messages/order/index.d.ts +0 -6
- package/dist/dist-types/messages/order/index.js +0 -1
- package/dist/dist-types/messages/order/new.d.ts +0 -178
- package/dist/dist-types/messages/order/new.js +0 -1
- package/dist/dist-types/messages/order/processed.d.ts +0 -176
- package/dist/dist-types/messages/order/processed.js +0 -1
- package/dist/dist-types/messages/order/return-initiated.d.ts +0 -178
- package/dist/dist-types/messages/order/return-initiated.js +0 -1
- package/dist/dist-types/messages/order/returned.d.ts +0 -178
- package/dist/dist-types/messages/order/returned.js +0 -1
- package/dist/dist-types/messages/order/shipped.d.ts +0 -178
- package/dist/dist-types/messages/order/shipped.js +0 -1
- package/dist/dist-types/money.d.ts +0 -11
- package/dist/dist-types/money.js +0 -1
- package/dist/dist-types/order/address.d.ts +0 -12
- package/dist/dist-types/order/address.js +0 -1
- package/dist/dist-types/order/customer.d.ts +0 -3
- package/dist/dist-types/order/customer.js +0 -1
- package/dist/dist-types/order/index.d.ts +0 -7
- package/dist/dist-types/order/index.js +0 -1
- package/dist/dist-types/order/item.d.ts +0 -70
- package/dist/dist-types/order/item.js +0 -1
- package/dist/dist-types/order/orderMain.d.ts +0 -175
- package/dist/dist-types/order/orderMain.js +0 -1
- package/dist/dist-types/order/payment.d.ts +0 -25
- package/dist/dist-types/order/payment.js +0 -1
- package/dist/dist-types/order/shipment/index.d.ts +0 -5
- package/dist/dist-types/order/shipment/index.js +0 -3
- package/dist/dist-types/order/shipment/item/index.d.ts +0 -3
- package/dist/dist-types/order/shipment/item/index.js +0 -1
- package/dist/dist-types/order/shipment/item/itemMain.d.ts +0 -5
- package/dist/dist-types/order/shipment/item/itemMain.js +0 -1
- package/dist/dist-types/order/shipment/item/returned.d.ts +0 -9
- package/dist/dist-types/order/shipment/item/returned.js +0 -1
- package/dist/dist-types/order/shipment/pos/index.d.ts +0 -4
- package/dist/dist-types/order/shipment/pos/index.js +0 -1
- package/dist/dist-types/order/shipment/pos/outbound.d.ts +0 -71
- package/dist/dist-types/order/shipment/pos/outbound.js +0 -1
- package/dist/dist-types/order/shipment/pos/posMain.d.ts +0 -66
- package/dist/dist-types/order/shipment/pos/posMain.js +0 -1
- package/dist/dist-types/order/shipment/pos/return.d.ts +0 -70
- package/dist/dist-types/order/shipment/pos/return.js +0 -1
- package/dist/dist-types/order/shipment/shipmentMain.d.ts +0 -58
- package/dist/dist-types/order/shipment/shipmentMain.js +0 -1
- package/dist/dist-types/order/shipment/shipped/index.d.ts +0 -4
- package/dist/dist-types/order/shipment/shipped/index.js +0 -1
- package/dist/dist-types/order/shipment/shipped/outbound.d.ts +0 -71
- package/dist/dist-types/order/shipment/shipped/outbound.js +0 -1
- package/dist/dist-types/order/shipment/shipped/return.d.ts +0 -70
- package/dist/dist-types/order/shipment/shipped/return.js +0 -1
- package/dist/dist-types/order/shipment/shipped/shippedMain.d.ts +0 -65
- package/dist/dist-types/order/shipment/shipped/shippedMain.js +0 -1
- package/dist/dist-types/productDraft.d.ts +0 -87
- package/dist/dist-types/productDraft.js +0 -1
- package/dist/dist-types/total.d.ts +0 -43
- package/dist/dist-types/total.js +0 -1
- package/dist/src-public/index.d.ts +0 -2
- package/dist/src-public/index.js +0 -2
- package/dist/src-public/sanitize.d.ts +0 -4
- package/dist/src-public/sanitize.js +0 -21
- package/dist/src-public/validate.d.ts +0 -9
- package/dist/src-public/validate.js +0 -28
|
@@ -1,523 +0,0 @@
|
|
|
1
|
-
declare const schema: {
|
|
2
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
3
|
-
readonly $id: "https://shushed.example.com/productDraft.schema.json";
|
|
4
|
-
readonly title: "ProductDraft";
|
|
5
|
-
readonly type: "object";
|
|
6
|
-
readonly additionalProperties: false;
|
|
7
|
-
readonly properties: {
|
|
8
|
-
readonly product_name: {
|
|
9
|
-
readonly type: "string";
|
|
10
|
-
};
|
|
11
|
-
readonly colour_label: {
|
|
12
|
-
readonly type: readonly ["string"];
|
|
13
|
-
};
|
|
14
|
-
readonly developement_colourway_id: {
|
|
15
|
-
readonly type: "string";
|
|
16
|
-
readonly pattern: "^[A-Z]{2}\\d{2}[A-Z]{3}-\\d{6}-\\d{4}$";
|
|
17
|
-
};
|
|
18
|
-
readonly colour_id: {
|
|
19
|
-
readonly type: readonly ["string"];
|
|
20
|
-
};
|
|
21
|
-
readonly style_id: {
|
|
22
|
-
readonly type: readonly ["string"];
|
|
23
|
-
};
|
|
24
|
-
readonly season_name: {
|
|
25
|
-
readonly type: "string";
|
|
26
|
-
readonly pattern: "^[A-Z]{2}\\d{2}$";
|
|
27
|
-
};
|
|
28
|
-
readonly drop_name: {
|
|
29
|
-
readonly type: "string";
|
|
30
|
-
readonly enum: readonly ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "Carryover"];
|
|
31
|
-
};
|
|
32
|
-
readonly development_style_id: {
|
|
33
|
-
readonly type: "string";
|
|
34
|
-
readonly pattern: "^[A-Z]{2}\\d{2}[A-Z]{3}-\\d{6}$";
|
|
35
|
-
};
|
|
36
|
-
readonly stock_type: {
|
|
37
|
-
readonly type: "string";
|
|
38
|
-
};
|
|
39
|
-
readonly block: {
|
|
40
|
-
readonly type: "string";
|
|
41
|
-
};
|
|
42
|
-
readonly packing_method: {
|
|
43
|
-
readonly type: readonly ["string", "null"];
|
|
44
|
-
readonly enum: readonly ["Standard"];
|
|
45
|
-
};
|
|
46
|
-
readonly is_bought_in_product: {
|
|
47
|
-
readonly type: "boolean";
|
|
48
|
-
};
|
|
49
|
-
readonly reprocess_method: {
|
|
50
|
-
readonly type: readonly ["string", "null"];
|
|
51
|
-
};
|
|
52
|
-
readonly is_carry_over: {
|
|
53
|
-
readonly type: "boolean";
|
|
54
|
-
};
|
|
55
|
-
readonly image_url: {
|
|
56
|
-
readonly type: "string";
|
|
57
|
-
readonly format: "uri";
|
|
58
|
-
};
|
|
59
|
-
readonly attributes: {
|
|
60
|
-
readonly type: "object";
|
|
61
|
-
readonly additionalProperties: false;
|
|
62
|
-
readonly properties: {
|
|
63
|
-
readonly product_type: {
|
|
64
|
-
readonly type: "string";
|
|
65
|
-
};
|
|
66
|
-
readonly product_category: {
|
|
67
|
-
readonly type: "string";
|
|
68
|
-
};
|
|
69
|
-
readonly product_subcategory: {
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
};
|
|
72
|
-
readonly division: {
|
|
73
|
-
readonly type: readonly ["string", "null"];
|
|
74
|
-
readonly enum: readonly ["Women"];
|
|
75
|
-
};
|
|
76
|
-
readonly care_instructions: {
|
|
77
|
-
readonly type: "string";
|
|
78
|
-
};
|
|
79
|
-
readonly range: {
|
|
80
|
-
readonly type: readonly ["string", "null"];
|
|
81
|
-
readonly enum: readonly ["Main Collection", "Seasonal"];
|
|
82
|
-
};
|
|
83
|
-
readonly main_fibre: {
|
|
84
|
-
readonly type: "string";
|
|
85
|
-
};
|
|
86
|
-
readonly size_range: {
|
|
87
|
-
readonly type: readonly ["string"];
|
|
88
|
-
};
|
|
89
|
-
readonly sizes: {
|
|
90
|
-
readonly type: "string";
|
|
91
|
-
readonly pattern: "^\\d+(,\\d+)*$";
|
|
92
|
-
};
|
|
93
|
-
readonly occasion: {
|
|
94
|
-
readonly type: "string";
|
|
95
|
-
};
|
|
96
|
-
readonly strategy_type: {
|
|
97
|
-
readonly type: "string";
|
|
98
|
-
};
|
|
99
|
-
readonly pattern_name: {
|
|
100
|
-
readonly type: "string";
|
|
101
|
-
};
|
|
102
|
-
readonly neckline: {
|
|
103
|
-
readonly type: "string";
|
|
104
|
-
};
|
|
105
|
-
readonly sleeve_length: {
|
|
106
|
-
readonly type: "integer";
|
|
107
|
-
};
|
|
108
|
-
readonly leg_length: {
|
|
109
|
-
readonly type: "integer";
|
|
110
|
-
};
|
|
111
|
-
readonly heel_height: {
|
|
112
|
-
readonly type: "integer";
|
|
113
|
-
};
|
|
114
|
-
readonly heel_shape: {
|
|
115
|
-
readonly type: "string";
|
|
116
|
-
};
|
|
117
|
-
readonly toe_shape: {
|
|
118
|
-
readonly type: "string";
|
|
119
|
-
};
|
|
120
|
-
readonly handle_straps: {
|
|
121
|
-
readonly type: "string";
|
|
122
|
-
};
|
|
123
|
-
readonly fastening: {
|
|
124
|
-
readonly type: "string";
|
|
125
|
-
};
|
|
126
|
-
readonly sole_code: {
|
|
127
|
-
readonly type: "string";
|
|
128
|
-
};
|
|
129
|
-
readonly fashionability: {
|
|
130
|
-
readonly type: readonly ["string", "null"];
|
|
131
|
-
readonly enum: readonly ["Core"];
|
|
132
|
-
};
|
|
133
|
-
readonly fashion_type: {
|
|
134
|
-
readonly type: "string";
|
|
135
|
-
};
|
|
136
|
-
readonly development_type: {
|
|
137
|
-
readonly type: "string";
|
|
138
|
-
};
|
|
139
|
-
readonly weight: {
|
|
140
|
-
readonly type: "integer";
|
|
141
|
-
readonly minimum: 1;
|
|
142
|
-
};
|
|
143
|
-
readonly average_weight_grams: {
|
|
144
|
-
readonly type: "number";
|
|
145
|
-
readonly minimum: 1;
|
|
146
|
-
};
|
|
147
|
-
readonly extra_selling_point: {
|
|
148
|
-
readonly type: "string";
|
|
149
|
-
};
|
|
150
|
-
readonly length_measurement: {
|
|
151
|
-
readonly type: "integer";
|
|
152
|
-
};
|
|
153
|
-
readonly fabric_composition_footwear: {
|
|
154
|
-
readonly type: "string";
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
readonly cost: {
|
|
159
|
-
readonly type: "object";
|
|
160
|
-
readonly additionalProperties: false;
|
|
161
|
-
readonly properties: {
|
|
162
|
-
readonly retail_price: {
|
|
163
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
164
|
-
readonly title: "Money";
|
|
165
|
-
readonly type: "object";
|
|
166
|
-
readonly additionalProperties: false;
|
|
167
|
-
readonly $id: "https://shushed.example.com/money.schema.json";
|
|
168
|
-
readonly properties: {
|
|
169
|
-
readonly value: {
|
|
170
|
-
readonly type: "integer";
|
|
171
|
-
readonly minimum: 1;
|
|
172
|
-
};
|
|
173
|
-
readonly decimal_places: {
|
|
174
|
-
readonly type: "integer";
|
|
175
|
-
readonly minimum: 0;
|
|
176
|
-
readonly maximum: 4;
|
|
177
|
-
};
|
|
178
|
-
readonly currency: {
|
|
179
|
-
readonly title: "Currency";
|
|
180
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
181
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
182
|
-
readonly type: "string";
|
|
183
|
-
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"];
|
|
184
|
-
};
|
|
185
|
-
readonly lcy_value: {
|
|
186
|
-
readonly type: "integer";
|
|
187
|
-
readonly minimum: 1;
|
|
188
|
-
};
|
|
189
|
-
readonly lcy_currency: {
|
|
190
|
-
readonly title: "LCY Currency";
|
|
191
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
192
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
193
|
-
readonly type: "string";
|
|
194
|
-
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"];
|
|
195
|
-
};
|
|
196
|
-
readonly lcy_decimal_places: {
|
|
197
|
-
readonly type: "integer";
|
|
198
|
-
readonly minimum: 0;
|
|
199
|
-
readonly maximum: 4;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
203
|
-
};
|
|
204
|
-
readonly current_cost: {
|
|
205
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
206
|
-
readonly title: "Money";
|
|
207
|
-
readonly type: "object";
|
|
208
|
-
readonly additionalProperties: false;
|
|
209
|
-
readonly $id: "https://shushed.example.com/money.schema.json";
|
|
210
|
-
readonly properties: {
|
|
211
|
-
readonly value: {
|
|
212
|
-
readonly type: "integer";
|
|
213
|
-
readonly minimum: 1;
|
|
214
|
-
};
|
|
215
|
-
readonly decimal_places: {
|
|
216
|
-
readonly type: "integer";
|
|
217
|
-
readonly minimum: 0;
|
|
218
|
-
readonly maximum: 4;
|
|
219
|
-
};
|
|
220
|
-
readonly currency: {
|
|
221
|
-
readonly title: "Currency";
|
|
222
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
223
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
224
|
-
readonly type: "string";
|
|
225
|
-
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"];
|
|
226
|
-
};
|
|
227
|
-
readonly lcy_value: {
|
|
228
|
-
readonly type: "integer";
|
|
229
|
-
readonly minimum: 1;
|
|
230
|
-
};
|
|
231
|
-
readonly lcy_currency: {
|
|
232
|
-
readonly title: "LCY Currency";
|
|
233
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
234
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
235
|
-
readonly type: "string";
|
|
236
|
-
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"];
|
|
237
|
-
};
|
|
238
|
-
readonly lcy_decimal_places: {
|
|
239
|
-
readonly type: "integer";
|
|
240
|
-
readonly minimum: 0;
|
|
241
|
-
readonly maximum: 4;
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
245
|
-
};
|
|
246
|
-
readonly moq: {
|
|
247
|
-
readonly type: "number";
|
|
248
|
-
readonly minimum: 1;
|
|
249
|
-
};
|
|
250
|
-
readonly finishing_cost: {
|
|
251
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
252
|
-
readonly title: "Money";
|
|
253
|
-
readonly type: "object";
|
|
254
|
-
readonly additionalProperties: false;
|
|
255
|
-
readonly $id: "https://shushed.example.com/money.schema.json";
|
|
256
|
-
readonly properties: {
|
|
257
|
-
readonly value: {
|
|
258
|
-
readonly type: "integer";
|
|
259
|
-
readonly minimum: 1;
|
|
260
|
-
};
|
|
261
|
-
readonly decimal_places: {
|
|
262
|
-
readonly type: "integer";
|
|
263
|
-
readonly minimum: 0;
|
|
264
|
-
readonly maximum: 4;
|
|
265
|
-
};
|
|
266
|
-
readonly currency: {
|
|
267
|
-
readonly title: "Currency";
|
|
268
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
269
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
270
|
-
readonly type: "string";
|
|
271
|
-
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"];
|
|
272
|
-
};
|
|
273
|
-
readonly lcy_value: {
|
|
274
|
-
readonly type: "integer";
|
|
275
|
-
readonly minimum: 1;
|
|
276
|
-
};
|
|
277
|
-
readonly lcy_currency: {
|
|
278
|
-
readonly title: "LCY Currency";
|
|
279
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
280
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
281
|
-
readonly type: "string";
|
|
282
|
-
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"];
|
|
283
|
-
};
|
|
284
|
-
readonly lcy_decimal_places: {
|
|
285
|
-
readonly type: "integer";
|
|
286
|
-
readonly minimum: 0;
|
|
287
|
-
readonly maximum: 4;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
291
|
-
};
|
|
292
|
-
readonly other_costs: {
|
|
293
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
294
|
-
readonly title: "Money";
|
|
295
|
-
readonly type: "object";
|
|
296
|
-
readonly additionalProperties: false;
|
|
297
|
-
readonly $id: "https://shushed.example.com/money.schema.json";
|
|
298
|
-
readonly properties: {
|
|
299
|
-
readonly value: {
|
|
300
|
-
readonly type: "integer";
|
|
301
|
-
readonly minimum: 1;
|
|
302
|
-
};
|
|
303
|
-
readonly decimal_places: {
|
|
304
|
-
readonly type: "integer";
|
|
305
|
-
readonly minimum: 0;
|
|
306
|
-
readonly maximum: 4;
|
|
307
|
-
};
|
|
308
|
-
readonly currency: {
|
|
309
|
-
readonly title: "Currency";
|
|
310
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
311
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
312
|
-
readonly type: "string";
|
|
313
|
-
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"];
|
|
314
|
-
};
|
|
315
|
-
readonly lcy_value: {
|
|
316
|
-
readonly type: "integer";
|
|
317
|
-
readonly minimum: 1;
|
|
318
|
-
};
|
|
319
|
-
readonly lcy_currency: {
|
|
320
|
-
readonly title: "LCY Currency";
|
|
321
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
322
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
323
|
-
readonly type: "string";
|
|
324
|
-
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"];
|
|
325
|
-
};
|
|
326
|
-
readonly lcy_decimal_places: {
|
|
327
|
-
readonly type: "integer";
|
|
328
|
-
readonly minimum: 0;
|
|
329
|
-
readonly maximum: 4;
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
333
|
-
};
|
|
334
|
-
readonly commission: {
|
|
335
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
336
|
-
readonly title: "Money";
|
|
337
|
-
readonly type: "object";
|
|
338
|
-
readonly additionalProperties: false;
|
|
339
|
-
readonly $id: "https://shushed.example.com/money.schema.json";
|
|
340
|
-
readonly properties: {
|
|
341
|
-
readonly value: {
|
|
342
|
-
readonly type: "integer";
|
|
343
|
-
readonly minimum: 1;
|
|
344
|
-
};
|
|
345
|
-
readonly decimal_places: {
|
|
346
|
-
readonly type: "integer";
|
|
347
|
-
readonly minimum: 0;
|
|
348
|
-
readonly maximum: 4;
|
|
349
|
-
};
|
|
350
|
-
readonly currency: {
|
|
351
|
-
readonly title: "Currency";
|
|
352
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
353
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
354
|
-
readonly type: "string";
|
|
355
|
-
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"];
|
|
356
|
-
};
|
|
357
|
-
readonly lcy_value: {
|
|
358
|
-
readonly type: "integer";
|
|
359
|
-
readonly minimum: 1;
|
|
360
|
-
};
|
|
361
|
-
readonly lcy_currency: {
|
|
362
|
-
readonly title: "LCY Currency";
|
|
363
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
364
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
365
|
-
readonly type: "string";
|
|
366
|
-
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"];
|
|
367
|
-
};
|
|
368
|
-
readonly lcy_decimal_places: {
|
|
369
|
-
readonly type: "integer";
|
|
370
|
-
readonly minimum: 0;
|
|
371
|
-
readonly maximum: 4;
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
375
|
-
};
|
|
376
|
-
readonly freight_rate: {
|
|
377
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
378
|
-
readonly title: "Money";
|
|
379
|
-
readonly type: "object";
|
|
380
|
-
readonly additionalProperties: false;
|
|
381
|
-
readonly $id: "https://shushed.example.com/money.schema.json";
|
|
382
|
-
readonly properties: {
|
|
383
|
-
readonly value: {
|
|
384
|
-
readonly type: "integer";
|
|
385
|
-
readonly minimum: 1;
|
|
386
|
-
};
|
|
387
|
-
readonly decimal_places: {
|
|
388
|
-
readonly type: "integer";
|
|
389
|
-
readonly minimum: 0;
|
|
390
|
-
readonly maximum: 4;
|
|
391
|
-
};
|
|
392
|
-
readonly currency: {
|
|
393
|
-
readonly title: "Currency";
|
|
394
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
395
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
396
|
-
readonly type: "string";
|
|
397
|
-
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"];
|
|
398
|
-
};
|
|
399
|
-
readonly lcy_value: {
|
|
400
|
-
readonly type: "integer";
|
|
401
|
-
readonly minimum: 1;
|
|
402
|
-
};
|
|
403
|
-
readonly lcy_currency: {
|
|
404
|
-
readonly title: "LCY Currency";
|
|
405
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
406
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
407
|
-
readonly type: "string";
|
|
408
|
-
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"];
|
|
409
|
-
};
|
|
410
|
-
readonly lcy_decimal_places: {
|
|
411
|
-
readonly type: "integer";
|
|
412
|
-
readonly minimum: 0;
|
|
413
|
-
readonly maximum: 4;
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
417
|
-
};
|
|
418
|
-
readonly duty_rate: {
|
|
419
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
420
|
-
readonly title: "Money";
|
|
421
|
-
readonly type: "object";
|
|
422
|
-
readonly additionalProperties: false;
|
|
423
|
-
readonly $id: "https://shushed.example.com/money.schema.json";
|
|
424
|
-
readonly properties: {
|
|
425
|
-
readonly value: {
|
|
426
|
-
readonly type: "integer";
|
|
427
|
-
readonly minimum: 1;
|
|
428
|
-
};
|
|
429
|
-
readonly decimal_places: {
|
|
430
|
-
readonly type: "integer";
|
|
431
|
-
readonly minimum: 0;
|
|
432
|
-
readonly maximum: 4;
|
|
433
|
-
};
|
|
434
|
-
readonly currency: {
|
|
435
|
-
readonly title: "Currency";
|
|
436
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
437
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
438
|
-
readonly type: "string";
|
|
439
|
-
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"];
|
|
440
|
-
};
|
|
441
|
-
readonly lcy_value: {
|
|
442
|
-
readonly type: "integer";
|
|
443
|
-
readonly minimum: 1;
|
|
444
|
-
};
|
|
445
|
-
readonly lcy_currency: {
|
|
446
|
-
readonly title: "LCY Currency";
|
|
447
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
448
|
-
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
449
|
-
readonly type: "string";
|
|
450
|
-
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"];
|
|
451
|
-
};
|
|
452
|
-
readonly lcy_decimal_places: {
|
|
453
|
-
readonly type: "integer";
|
|
454
|
-
readonly minimum: 0;
|
|
455
|
-
readonly maximum: 4;
|
|
456
|
-
};
|
|
457
|
-
};
|
|
458
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
459
|
-
};
|
|
460
|
-
readonly commodity_code_ref: {
|
|
461
|
-
readonly type: "string";
|
|
462
|
-
readonly pattern: "^C\\d+/\\d+\\|DutyRate$";
|
|
463
|
-
};
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
readonly payment_terms: {
|
|
467
|
-
readonly type: "object";
|
|
468
|
-
readonly additionalProperties: false;
|
|
469
|
-
readonly properties: {
|
|
470
|
-
readonly supplier_payment_terms: {
|
|
471
|
-
readonly type: readonly ["string", "null"];
|
|
472
|
-
};
|
|
473
|
-
readonly supplier_inco_terms: {
|
|
474
|
-
readonly type: "string";
|
|
475
|
-
};
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
readonly supplier_data: {
|
|
479
|
-
readonly type: "object";
|
|
480
|
-
readonly additionalProperties: false;
|
|
481
|
-
readonly properties: {
|
|
482
|
-
readonly country_of_origin: {
|
|
483
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
484
|
-
readonly title: "Country";
|
|
485
|
-
readonly $id: "https://shushed.example.com/country.schema.json";
|
|
486
|
-
readonly type: "string";
|
|
487
|
-
readonly enum: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CD", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"];
|
|
488
|
-
};
|
|
489
|
-
readonly port_of_origin: {
|
|
490
|
-
readonly type: "string";
|
|
491
|
-
};
|
|
492
|
-
readonly supplier_id: {
|
|
493
|
-
readonly type: "string";
|
|
494
|
-
readonly pattern: "^SUP\\d{5}$";
|
|
495
|
-
};
|
|
496
|
-
readonly supplier_name: {
|
|
497
|
-
readonly type: "string";
|
|
498
|
-
};
|
|
499
|
-
readonly factory_id: {
|
|
500
|
-
readonly type: "string";
|
|
501
|
-
readonly pattern: "^FAC\\d{5}$";
|
|
502
|
-
};
|
|
503
|
-
};
|
|
504
|
-
};
|
|
505
|
-
readonly buying_and_size_curve: {
|
|
506
|
-
readonly type: "object";
|
|
507
|
-
readonly additionalProperties: false;
|
|
508
|
-
readonly properties: {
|
|
509
|
-
readonly direct: {
|
|
510
|
-
readonly type: "string";
|
|
511
|
-
};
|
|
512
|
-
readonly jl: {
|
|
513
|
-
readonly type: "string";
|
|
514
|
-
};
|
|
515
|
-
readonly stores: {
|
|
516
|
-
readonly type: "string";
|
|
517
|
-
};
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
};
|
|
521
|
-
readonly required: readonly ["product_name", "colour_label", "developement_colourway_id", "colour_id", "style_id", "season_id", "drop_name", "stock_type", "block", "packing_method", "is_bought_in_product", "is_carry_over", "image_url", "product_type", "product_category", "division", "care_instructions", "range", "main_fibre", "size_range", "sizes", "occasion", "strategy_type", "pattern_name", "neckline", "sleeve_length", "leg_length", "heel_height", "heel_shape", "toe_shape", "handle_straps", "fastening", "sole_code", "fashionability", "weight", "average_weight_grams", "length_measurement", "fabric_composition_footwear", "retail_price", "current_cost", "currency", "moq", "finishing_cost", "other_costs", "freight_rate", "duty_rate", "commodity_code_ref", "country_of_origin", "port_of_origin", "supplier_id", "factory_id"];
|
|
522
|
-
};
|
|
523
|
-
export default schema;
|