Data models by Daniel Kastl

activity

Activities

Personal activities recorded with a GPS device, rides, hikes and ski days, and the peaks they reach. A playground for trying the toolkit; the models may change.

Version
0.2.0
@context
https://dkastl.github.io/models/context/activity/v0.jsonld (exact version: https://dkastl.github.io/models/context/activity/v0.2.0.jsonld)
Vocabulary
https://dkastl.github.io/models/vocab/activity/v0.2.0.jsonld
Namespace
https://dkastl.github.io/models/ns/activity#

Models

Terms

Every type and attribute this subject defines. A term's IRI begins with the namespace, for example https://dkastl.github.io/models/ns/activity#Activity.

Activity

Activity (Type)One outdoor activity recorded as a GPS track: a ride, a hike, a ski day. When it started and ended, how far, how high up and down, the route as a line, and the peaks reached. The numbers come from the track as the recording app computed them.
sportThe sport, named after Strava's sport types: ride, gravelRide, mountainBikeRide, hike, walk, run, trailRun, alpineSki, backcountrySki, nordicSki, snowboard, snowshoe
distanceDistance covered, in metres
movingDurationTime in motion, without stops, as an ISO 8601 duration (for example PT1H52M)
elevationGainTotal climb, in metres
elevationLossTotal descent, in metres; for a ski day with lifts, the vertical skied
maxElevationHighest point reached, in metres above sea level
runsNumber of downhill runs, for skiing and snowboarding
summitsThe peaks reached, as Peak entities, for hikes and ski tours
commutetrue when the activity was a commute
trackUrlWhere the full GPS track (GPX) is published

Peak

Peak (Type)A mountain summit, as OpenStreetMap maps it (natural=peak), so that activities can say which peaks they reached.
elevationHeight of the summit, in metres above sea level (OpenStreetMap ele)
osmIdThe OpenStreetMap node of the summit, for example node/1513935256
wikidataThe Wikidata item of the peak, for example Q462120

Terms of earlier versions

Terms that earlier versions of this subject defined and the current one does not. Their IRIs stay valid; the vocabulary of the version describes them.

Ridev0.1.0
rideTypev0.1.0