A segment lap message holds the statistics of a segment raced during an activity, like a lap message but for the portion of the activity covering the segment.
messageIndexStringIndex of the message among the messages of the same kind in the file, starting at 0. Other messages use it to reference this one.
Moment the segment ended, in UTC.
eventEnumKind of event: timer, lap, session, activity, workout step, course point, battery, gear change, rider position change…
lengthsessionactivityworkoutlapworkoutStepcoursePointbatteryfitnessEquipmenttimerpowerDownpowerUpoffCoursevirtualPartnerPacehrHighAlerthrLowAlertspeedHighAlertspeedLowAlertcadHighAlertcadLowAlertpowerHighAlertpowerLowAlertrecoveryHrbatteryLowtimeDurationAlertdistanceDurationAlertcalorieDurationAlertuserMarkersportPointcalibrationfrontGearChangerearGearChangeriderPositionChangeelevHighAlertelevLowAlertcommTimeoutautoActivityDetectdiveAlertdiveGasSwitchedtankPressureReservetankPressureCriticaltankLostradarThreatAlerttankBatteryLowtankPodConnectedtankPodDisconnectedeventTypeEnumWhat happened for the event: start, stop, stopAll, marker, begin or end of a depreciated range…
stopstartmarkerconsecutiveDepreciatedstopAllbeginDepreciatedendDepreciatedendAllDepreciatedstopDisablestopDisableAllstartTimeDateTimeMoment the period described by the message started.
Latitude where the period started, in semicircles (multiply by 180 / 2^31 to get degrees).
Longitude where the period started, in semicircles (multiply by 180 / 2^31 to get degrees).
Latitude where the period ended, in semicircles (multiply by 180 / 2^31 to get degrees).
Longitude where the period ended, in semicircles (multiply by 180 / 2^31 to get degrees).
Total duration from start to end, pauses included (wall-clock time).
Duration during which the timer was running, pauses excluded. This is the time usually displayed as the duration.
Total distance covered.
Total number of cycles: pedal revolutions, strides or strokes depending on the sport.
Total number of strokes (swimming, paddling, rowing).
Total energy expenditure.
Share of the total calories coming from fat.
Average speed: total distance divided by timer time.
Maximum speed reached.
Average heart rate, pauses excluded.
Maximum heart rate reached.
Average cadence: revolutions per minute for cycling, steps per minute for running (depending on the sport).
Maximum cadence reached.
Average power output.
Maximum power output.
Cumulated elevation gain.
Cumulated elevation loss.
sportEnumMain sport, such as running, cycling, swimming, hiking or training.
allrunningtransitiongenericcyclingfitnessEquipmentswimmingbasketballsoccertennisamericanFootballtrainingwalkingcrossCountrySkiingalpineSkiingsnowboardingrowingmountaineeringhikingmultisportpaddlingflyingeBikingmotorcyclingboatingdrivinggolfhangGlidinghorsebackRidinghuntingfishinginlineSkatingrockClimbingsailingiceSkatingskyDivingsnowshoeingsnowmobilingstandUpPaddleboardingsurfingwakeboardingwaterSkiingkayakingraftingwindsurfingkitesurfingtacticaljumpmasterboxingfloorClimbingbaseballdivingshootingwinterSportgrindinghiitvideoGamingracketwheelchairPushWalkwheelchairPushRunmeditationparaSportdiscGolfteamSportcricketrugbyhockeylacrossevolleyballwaterTubingwakesurfingwaterSportarcherymixedMartialArtsmotorSportssnorkelingdancejumpRopepoolApneamobilitygeocachingcanoeingeventGroupUint8Groups related events together, so that start and stop events of the same group can be paired.
Latitude of the north-east corner of the bounding box containing the track, in semicircles.
Longitude of the north-east corner of the bounding box containing the track, in semicircles.
Latitude of the south-west corner of the bounding box containing the track, in semicircles.
Longitude of the south-west corner of the bounding box containing the track, in semicircles.
nameStringName of the segment.
Normalized power (NP): an estimate of the power that could have been sustained for the same physiological cost if the effort had been perfectly steady.
leftRightBalanceEnumPower contribution of the right leg, when the right bit is set, as a percentage of the total. The left leg makes up the rest.
rightmasksubSportEnumRefinement of the sport, such as trail, treadmill or track for running, road, mountain or indoor for cycling, lapSwimming or openWater for swimming.
matchmapplatformalltracknavigatefieldgenerichiittreadmillstreettrailspinindoorCyclingroadmountaindownhillrecumbentcyclocrosshandCyclingtrackCyclingindoorRowingellipticalstairClimbinglapSwimmingopenWaterflexibilityTrainingstrengthTrainingwarmUpexercisechallengeindoorSkiingcardioTrainingindoorWalkingeBikeFitnessbmxcasualWalkingspeedWalkingbikeToRunTransitionrunToBikeTransitionswimToBikeTransitionatvmotocrossbackcountryresortrcDronewingsuitwhitewaterskateSkiingyogapilatesindoorRunninggravelCyclingeBikeMountaincommutingmixedSurfacetrackMesingleGasDivingmultiGasDivinggaugeDivingapneaDivingapneaHuntingvirtualActivityobstaclebreathingccrDivingsailRaceexpeditionultraindoorClimbingboulderingindoorGrindinghuntingWithDogsamrapemomtabataesporttriathlonduathlonbrickswimRunadventureRacetruckerWorkoutpickleballpadelindoorWheelchairWalkindoorWheelchairRunindoorHandCyclingiceultimatesquashbadmintonracquetballtableTennisoverlandtrollingMotorflyCanopyflyParaglideflyParamotorflyPressurizedflyNavigateflyTimerflyAltimeterflyWxflyVfrflyIfrdynamicApneaenduroruckingrallypoolTriathloneBikeEnduroTotal mechanical work produced.
avgAltitudeFloat64Average altitude.
maxAltitudeFloat64Highest altitude reached.
Estimated accuracy of the GPS position.
Average slope.
Average slope while climbing.
Average slope while descending.
Steepest uphill slope.
Steepest downhill slope.
Average ambient temperature measured by the device.
Highest ambient temperature measured by the device.
Time spent actually moving, excluding the time stopped even when the timer was running.
Average vertical speed while climbing.
Average vertical speed while descending.
Maximum vertical speed while climbing.
Maximum vertical speed while descending.
Time spent in each heart rate zone. The first element is the time below zone 1, then zone 1, zone 2 and so on.
Time spent in each speed zone.
Time spent in each cadence zone.
Time spent in each power zone. The first element is the time below zone 1, then zone 1, zone 2 and so on.
repetitionNumUint16Repetition number, when the lap is part of a repeated workout step.
minAltitudeFloat64Lowest altitude reached.
Minimum heart rate recorded.
Time spent actually moving or working, excluding rest periods and pauses.
wktStepIndexStringmessageIndex of the workout step the data belongs to, in the workout file.
sportEventEnumKind of sport event: training, race, recreation, fitness…
traininggeocachinguncategorizedfitnessrecreationracespecialEventtransportationtouringAverage torque effectiveness of the left leg: share of the pedal stroke producing positive power.
Average torque effectiveness of the right leg: share of the pedal stroke producing positive power.
Average pedal smoothness of the left leg: how evenly power is applied across the stroke.
Average pedal smoothness of the right leg: how evenly power is applied across the stroke.
Average pedal smoothness of both legs combined, for single-sided power meters.
statusEnumWhether the segment was completed (end) or abandoned (fail).
endfailuuidStringUniversally unique identifier of the segment.
Fractional part of avgCadence, to add to it for a more precise value.
Fractional part of maxCadence, to add to it for a more precise value.
Fractional part of totalCycles, to add to it for a more precise value.
frontGearShiftCountUint16Number of front derailleur shifts (electronic groupsets).
rearGearShiftCountUint16Number of rear derailleur shifts (electronic groupsets).
Total time spent standing on the pedals.
standCountUint16Number of times the rider moved from seated to standing.
Average platform center offset of the left foot: how far from the center of the pedal the force is applied.
Average platform center offset of the right foot: how far from the center of the pedal the force is applied.
Average start and end angles of the left pedal stroke portion producing positive power.
Average start and end angles of the left pedal stroke portion producing peak power.
Average start and end angles of the right pedal stroke portion producing positive power.
Average start and end angles of the right pedal stroke portion producing peak power.
Average power for each rider position (seated, standing).
Maximum power for each rider position (seated, standing).
Average cadence for each rider position (seated, standing).
Maximum cadence for each rider position (seated, standing).
manufacturerEnumManufacturer of the segment.
formgarmingarminFr405AntfszephyrdaytonidtsrmquarqibikesarissparkHktanitaechowelldynastreamOemnautilusdynastreamtimexmetrigearxelicbeurercardiosportaAndDhmmsuuntothitaElektronikgpulsecleanMobilepedalBrainpeakswaresaxonarlemondFitnessdexcomwahooFitnessoctaneFitnessarchinoeticstheHurtBoxcitizenSystemsmagellanosynceholuxconcept2shimanooneGiantLeapaceSensorbrimBrothersxplovaperceptionDigitalbf1systemspioneerspantecmetalogics4iiiisseikoEpsonseikoEpsonOemiforPowellmaxwellGuiderstarTracbreakawayalatechTechnologyLtdmioTechnologyEuroperotorgeonauteidBikespecializedwtekphysicalEnterprisesnorthPoleEngineeringbkoolcateyestagesCyclingsigmasporttomtomperipedalwattbikemoxyciclosportpowerbahnacornProjectsApslifebeambontragerwellgoscoschemagurawoodwayelitenielsenKellermandkCitytacxdirectionTechnologymagtonic1partcarboninsideRideTechnologiessoundOfMotionstrydicgmiPulsebsxAthleticslookcampagnoloSrlbodyBikeSmartpraxisworkslimitsTechnologytopactionTechnologycosinussfitcaremagenegiantManufacturingCotigrasportsalutrontechnogymbrytonSensorslatitudeLimitedsoaringTechnologyigpsportthinkridergopherSportwaterrowerorangetheoryinpeakkineticjohnsonHealthTechpolarElectroseesensenciTechnologyiqsquareleomoifitComcorosByteversaDesignchileafcycplusgravaaBytesigeyicoospogeoidboschkytokineticSportsdecathlonBytetqSystemstagHeuerkeiserFitnesszwiftByteporscheEpblackbirdmeilanByteezonlaisimyzoneabawobafangluhongTechnologydevelopmenthealthandlifelezynescribeLabszwiftwatteamreconfaveroElectronicsdynovelostravaprecorbrytonsramnavmancobispivimioMagellanevesportssensitivusGaugepodoonlifeTimeFitnessfalcoEMotorsminouracycliqluxotticatrainerRoadtheSufferfestfullspeedaheadvirtualtrainingfeedbacksportsomatavdomagneticdayshammerheadkineticByKurtshapelogdabuziduojetblackcorosvirtugovelosensecycligentinctrailforksmahleEbikemotionnurvvmicroprogramzone5cloudgreentegyamahaMotorswhoopgravaaonelapmonarkExercisedecathlonsyncrosheatupcannondaletrueFitnessrGTCyclingvasaraceRepublicfazuaorekaTraininglseclululemonStudioshanyuespinningMdahilldatingaeroSensornikemagicshineictrainerabsoluteCyclingeoSwimbettermywhooshravementektroRacingProductsdaradInnovationCorporationcycloptimrunnazepppelotoncarvtissotrealVelowetechjesprhuaweigotoescadenceAppunaWatchtymewearexposureLightsfortoCyclingactigraphcorpGrit score: how difficult the trail was, based on its slopes and sharp turns. The higher, the harder.
Flow score: how smoothly the rider kept their momentum through the trail. The lower, the smoother.
Average grit score: difficulty of the trail per unit of distance.
Average flow score: how smoothly the rider kept their momentum.
Calories burned by the metabolism at rest during the period (basal metabolic rate), included in the total.
Fractional part of totalAscent, to add to it for a more precise value.
Fractional part of totalDescent, to add to it for a more precise value.
Average altitude, with a larger range than avgAltitude. Prefer it when present.
Highest altitude, with a larger range than maxAltitude. Prefer it when present.
Lowest altitude, with a larger range than minAltitude. Prefer it when present.
mesgNumStringGlobal message number identifying the kind of message. Decoders use it to know which profile to apply to the data.