Functional Weave
Code in TypeScript

logistics.container-fit@1.0.0

data/containers.json

1,623 bytes · view raw

[
  { "code": "20gp", "name": "20ft general purpose container (22G1)", "lengthMm": 5900, "widthMm": 2352, "heightMm": 2393, "doorWidthMm": 2340, "doorHeightMm": 2292, "maxPayloadKg": 30200, "source": "Hapag-Lloyd Container Specification, 20' general purpose, wooden floor: inside 5,900 x 2,352 x 2,393 mm, door 2,340 x 2,292 mm, max. gross 32,500 kg, tare 2,300 kg, max. payload 30,200 kg" },
  { "code": "40gp", "name": "40ft general purpose container (42G1)", "lengthMm": 12032, "widthMm": 2352, "heightMm": 2395, "doorWidthMm": 2340, "doorHeightMm": 2292, "maxPayloadKg": 28800, "source": "Hapag-Lloyd Container Specification, 40' general purpose, wooden floor: inside 12,032 x 2,352 x 2,395 mm, door 2,340 x 2,292 mm, max. gross 32,500 kg, tare 3,700 kg, max. payload 28,800 kg" },
  { "code": "40hc", "name": "40ft high cube general purpose container (45G1)", "lengthMm": 12032, "widthMm": 2352, "heightMm": 2700, "doorWidthMm": 2340, "doorHeightMm": 2597, "maxPayloadKg": 28650, "source": "Hapag-Lloyd Container Specification, 40' high cube general purpose: inside 12,032 x 2,352 x 2,700 mm, door 2,340 x 2,597 mm, max. gross 32,500 kg, tare 3,850 kg, max. payload 28,650 kg" },
  { "code": "trailer-13.6", "name": "13.6 m curtainsider semi-trailer (reference values)", "lengthMm": 13600, "widthMm": 2440, "heightMm": 2650, "doorWidthMm": null, "doorHeightMm": null, "maxPayloadKg": 24000, "source": "PLS Transport, Trailer dimensions: technical guide (internal 13.60 m x 2.44-2.48 m x 2.65-2.70 m; the smaller figures are used); Calcargo, Trailer dimensions (payload up to 24 t). Side-loaded, so no door limit." }
]