@gruncellka/porto-data 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +9 -0
- package/README.md +88 -0
- package/package.json +28 -0
- package/porto_data/data/data_links.json +148 -0
- package/porto_data/data/dimensions.json +158 -0
- package/porto_data/data/features.json +66 -0
- package/porto_data/data/prices.json +242 -0
- package/porto_data/data/products.json +84 -0
- package/porto_data/data/restrictions.json +795 -0
- package/porto_data/data/services.json +61 -0
- package/porto_data/data/weight_tiers.json +54 -0
- package/porto_data/data/zones.json +230 -0
- package/porto_data/mappings.json +13 -0
- package/porto_data/metadata.json +131 -0
- package/porto_data/schemas/data_links.schema.json +223 -0
- package/porto_data/schemas/dimensions.schema.json +215 -0
- package/porto_data/schemas/features.schema.json +60 -0
- package/porto_data/schemas/prices.schema.json +180 -0
- package/porto_data/schemas/products.schema.json +122 -0
- package/porto_data/schemas/restrictions.schema.json +369 -0
- package/porto_data/schemas/services.schema.json +77 -0
- package/porto_data/schemas/weight_tiers.schema.json +70 -0
- package/porto_data/schemas/zones.schema.json +79 -0
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/gruncellka/porto-data/refs/heads/main/porto_data/schemas/prices.schema.json",
|
|
3
|
+
"file_type": "prices",
|
|
4
|
+
"unit": {
|
|
5
|
+
"price": "cents",
|
|
6
|
+
"currency": "EUR"
|
|
7
|
+
},
|
|
8
|
+
"prices": {
|
|
9
|
+
"product_prices": [
|
|
10
|
+
{
|
|
11
|
+
"product_id": "letter_standard",
|
|
12
|
+
"zone": "domestic",
|
|
13
|
+
"weight_tier": "W0020",
|
|
14
|
+
"price": [
|
|
15
|
+
{
|
|
16
|
+
"price": 95,
|
|
17
|
+
"effective_from": null,
|
|
18
|
+
"effective_to": null
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"product_id": "letter_standard",
|
|
24
|
+
"zone": "zone_1_eu",
|
|
25
|
+
"weight_tier": "W0020",
|
|
26
|
+
"price": [
|
|
27
|
+
{
|
|
28
|
+
"price": 110,
|
|
29
|
+
"effective_from": null,
|
|
30
|
+
"effective_to": null
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"product_id": "letter_standard",
|
|
36
|
+
"zone": "world",
|
|
37
|
+
"weight_tier": "W0020",
|
|
38
|
+
"price": [
|
|
39
|
+
{
|
|
40
|
+
"price": 110,
|
|
41
|
+
"effective_from": null,
|
|
42
|
+
"effective_to": null
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"product_id": "letter_compact",
|
|
48
|
+
"zone": "domestic",
|
|
49
|
+
"weight_tier": "W0050",
|
|
50
|
+
"price": [
|
|
51
|
+
{
|
|
52
|
+
"price": 110,
|
|
53
|
+
"effective_from": null,
|
|
54
|
+
"effective_to": null
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"product_id": "letter_compact",
|
|
60
|
+
"zone": "zone_1_eu",
|
|
61
|
+
"weight_tier": "W0050",
|
|
62
|
+
"price": [
|
|
63
|
+
{
|
|
64
|
+
"price": 170,
|
|
65
|
+
"effective_from": null,
|
|
66
|
+
"effective_to": null
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"product_id": "letter_compact",
|
|
72
|
+
"zone": "world",
|
|
73
|
+
"weight_tier": "W0050",
|
|
74
|
+
"price": [
|
|
75
|
+
{
|
|
76
|
+
"price": 170,
|
|
77
|
+
"effective_from": null,
|
|
78
|
+
"effective_to": null
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"product_id": "letter_large",
|
|
84
|
+
"zone": "domestic",
|
|
85
|
+
"weight_tier": "W0500",
|
|
86
|
+
"price": [
|
|
87
|
+
{
|
|
88
|
+
"price": 180,
|
|
89
|
+
"effective_from": null,
|
|
90
|
+
"effective_to": null
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"product_id": "letter_large",
|
|
96
|
+
"zone": "zone_1_eu",
|
|
97
|
+
"weight_tier": "W0500",
|
|
98
|
+
"price": [
|
|
99
|
+
{
|
|
100
|
+
"price": 370,
|
|
101
|
+
"effective_from": null,
|
|
102
|
+
"effective_to": null
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"product_id": "letter_large",
|
|
108
|
+
"zone": "world",
|
|
109
|
+
"weight_tier": "W0500",
|
|
110
|
+
"price": [
|
|
111
|
+
{
|
|
112
|
+
"price": 370,
|
|
113
|
+
"effective_from": null,
|
|
114
|
+
"effective_to": null
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"product_id": "letter_maxi",
|
|
120
|
+
"zone": "domestic",
|
|
121
|
+
"weight_tier": "W1000",
|
|
122
|
+
"price": [
|
|
123
|
+
{
|
|
124
|
+
"price": 290,
|
|
125
|
+
"effective_from": null,
|
|
126
|
+
"effective_to": null
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"product_id": "letter_maxi",
|
|
132
|
+
"zone": "zone_1_eu",
|
|
133
|
+
"weight_tier": "W1000",
|
|
134
|
+
"price": [
|
|
135
|
+
{
|
|
136
|
+
"price": 700,
|
|
137
|
+
"effective_from": null,
|
|
138
|
+
"effective_to": null
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"product_id": "letter_maxi",
|
|
144
|
+
"zone": "world",
|
|
145
|
+
"weight_tier": "W1000",
|
|
146
|
+
"price": [
|
|
147
|
+
{
|
|
148
|
+
"price": 700,
|
|
149
|
+
"effective_from": null,
|
|
150
|
+
"effective_to": null
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"product_id": "merchandise",
|
|
156
|
+
"zone": "domestic",
|
|
157
|
+
"weight_tier": "W1000",
|
|
158
|
+
"price": [
|
|
159
|
+
{
|
|
160
|
+
"price": 270,
|
|
161
|
+
"effective_from": null,
|
|
162
|
+
"effective_to": null
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"product_id": "merchandise",
|
|
168
|
+
"zone": "domestic",
|
|
169
|
+
"weight_tier": "W2000",
|
|
170
|
+
"price": [
|
|
171
|
+
{
|
|
172
|
+
"price": 355,
|
|
173
|
+
"effective_from": null,
|
|
174
|
+
"effective_to": null
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"service_prices": [
|
|
180
|
+
{
|
|
181
|
+
"service_id": "registered_mail",
|
|
182
|
+
"price": [
|
|
183
|
+
{
|
|
184
|
+
"price": 265,
|
|
185
|
+
"effective_from": null,
|
|
186
|
+
"effective_to": null
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"service_id": "registered_mail_mailbox",
|
|
192
|
+
"price": [
|
|
193
|
+
{
|
|
194
|
+
"price": 235,
|
|
195
|
+
"effective_from": null,
|
|
196
|
+
"effective_to": null
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"service_id": "registered_mail_return_receipt",
|
|
202
|
+
"price": [
|
|
203
|
+
{
|
|
204
|
+
"price": 485,
|
|
205
|
+
"effective_from": null,
|
|
206
|
+
"effective_to": null
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"service_id": "registered_mail_personal",
|
|
212
|
+
"price": [
|
|
213
|
+
{
|
|
214
|
+
"price": 470,
|
|
215
|
+
"effective_from": null,
|
|
216
|
+
"effective_to": null
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"service_id": "registered_mail_personal_return_receipt",
|
|
222
|
+
"price": [
|
|
223
|
+
{
|
|
224
|
+
"price": 690,
|
|
225
|
+
"effective_from": null,
|
|
226
|
+
"effective_to": null
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"service_id": "additional_insurance_500",
|
|
232
|
+
"price": [
|
|
233
|
+
{
|
|
234
|
+
"price": 250,
|
|
235
|
+
"effective_from": null,
|
|
236
|
+
"effective_to": null
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/gruncellka/porto-data/refs/heads/main/porto_data/schemas/products.schema.json",
|
|
3
|
+
"file_type": "products",
|
|
4
|
+
"unit": {
|
|
5
|
+
"dimension": "mm",
|
|
6
|
+
"weight": "g"
|
|
7
|
+
},
|
|
8
|
+
"products": [
|
|
9
|
+
{
|
|
10
|
+
"id": "letter_standard",
|
|
11
|
+
"name": "Standardbrief",
|
|
12
|
+
"dimension_ids": [
|
|
13
|
+
"DL",
|
|
14
|
+
"C6"
|
|
15
|
+
],
|
|
16
|
+
"supported_zones": [
|
|
17
|
+
"domestic",
|
|
18
|
+
"zone_1_eu",
|
|
19
|
+
"world"
|
|
20
|
+
],
|
|
21
|
+
"weight_tier": "W0020",
|
|
22
|
+
"effective_from": null,
|
|
23
|
+
"effective_to": null
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "letter_compact",
|
|
27
|
+
"name": "Kompaktbrief",
|
|
28
|
+
"dimension_ids": [
|
|
29
|
+
"C5"
|
|
30
|
+
],
|
|
31
|
+
"supported_zones": [
|
|
32
|
+
"domestic",
|
|
33
|
+
"zone_1_eu",
|
|
34
|
+
"world"
|
|
35
|
+
],
|
|
36
|
+
"weight_tier": "W0050",
|
|
37
|
+
"effective_from": null,
|
|
38
|
+
"effective_to": null
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "letter_large",
|
|
42
|
+
"name": "Gro\u00dfbrief",
|
|
43
|
+
"dimension_ids": [
|
|
44
|
+
"C4"
|
|
45
|
+
],
|
|
46
|
+
"supported_zones": [
|
|
47
|
+
"domestic",
|
|
48
|
+
"zone_1_eu",
|
|
49
|
+
"world"
|
|
50
|
+
],
|
|
51
|
+
"weight_tier": "W0500",
|
|
52
|
+
"effective_from": null,
|
|
53
|
+
"effective_to": null
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "letter_maxi",
|
|
57
|
+
"name": "Maxibrief",
|
|
58
|
+
"dimension_ids": [
|
|
59
|
+
"B4"
|
|
60
|
+
],
|
|
61
|
+
"supported_zones": [
|
|
62
|
+
"domestic",
|
|
63
|
+
"zone_1_eu",
|
|
64
|
+
"world"
|
|
65
|
+
],
|
|
66
|
+
"weight_tier": "W1000",
|
|
67
|
+
"effective_from": null,
|
|
68
|
+
"effective_to": null
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "merchandise",
|
|
72
|
+
"name": "Warensendung",
|
|
73
|
+
"dimension_ids": [
|
|
74
|
+
"B4"
|
|
75
|
+
],
|
|
76
|
+
"supported_zones": [
|
|
77
|
+
"domestic"
|
|
78
|
+
],
|
|
79
|
+
"weight_tier": "W2000",
|
|
80
|
+
"effective_from": null,
|
|
81
|
+
"effective_to": null
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|