4.7 Compartment Object

A compartment is described by an object with the following fields.

  1. id: a string that defines the unique identifier for this compartment.
  2. tags: an array of strings, giving client-specific information about this compartment. This field is not used by the optimiser. It may be null or empty.
  3. safe_fill_level: an integer giving the maximum volume (in litres) that can be safely transported in the compartment.
  4. capacity: an integer giving the maximum capacity of the compartment (in litres).
  5. centre_of_gravity: a number giving the centre of gravity of the compartment, as measured from the kingpin of the trailer the compartment belongs to.
  6. trailer_axle_group: the identifier of the axle group of the trailer the compartment belongs to.