OptionalavgOptionalavgOptionalavgOptionalcaloriesEnergy, kcal.
Wall-clock for the lap (total_elapsed_time).
Optionalelevation1-based lap number in recorded order.
OptionalmaxOptionalmaxOptionalmaxTimer time, i.e. moving time (total_timer_time).
Cumulative distance at the lap's start (sum of prior laps' distance), metres — the lap's [start, start+distance] range into the activity, for chart bands and map-section highlighting.
OptionalstartISO 8601, UTC — when the lap began. Optional: absent (not '') when the
source recorded no valid start time, so consumers must null-check rather
than Date.parse('') → NaN.
OptionaltotalMechanical work over the lap, kJ (FIT total_work is joules).
A recorded lap — a segment the device marked (auto-lap by distance/time, or a button press), as opposed to the evenly-spaced splits this library computes. Recorded laps are the rider's own structure (intervals, climbs, rest stops), so they're carried through as first-class evidence. SI throughout; optional fields are present only when the source recorded them.