Load

  • This message defines an amount that will be added to or subtracted from a vehicle's load during a visit.

  • The amount field, a string in int64 format, specifies the load variation.

  • The amount is an integer and must be greater than or equal to 0.

  • Appropriate unit selection is advised to avoid precision loss due to integer usage.

When performing a visit, a predefined amount may be added to the vehicle load if it's a pickup, or subtracted if it's a delivery. This message defines such amount. See loadDemands.

JSON representation
{
  "amount": string
}
Fields
amount

string (int64 format)

The amount by which the load of the vehicle performing the corresponding visit will vary. Since it is an integer, users are advised to choose an appropriate unit to avoid loss of precision. Must be ≥ 0.