app.thedistance.activity

A recorded physical activity such as a bike ride.

Repository @thedistance.app did:plc:x52h4ttzfk5rxxdmzinoevgo namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritythedistance.app
Indexed

Record

record · key tid

Properties

avgCadence

integer

Average cadence in revolutions per minute.

  • minimum: 0

Average heart rate in beats per minute.

  • minimum: 0

avgPower

integer

Average power output in watts.

  • minimum: 0

avgSpeed

string

Average speed in meters per second. String-encoded decimal number.

  • maxLength: 64

calories

integer

Estimated calories burned.

  • minimum: 0

createdAt

requiredstring · datetime

Timestamp of when this record was created.

User-provided description of the activity.

  • maxLength: 3000

device

string

Name of the device that recorded the activity.

  • maxLength: 300

distance

requiredstring

Total distance in meters. String-encoded decimal number, e.g. '51214.6'.

  • maxLength: 64

elapsedTime

requiredinteger

Total elapsed time in seconds, including stopped time.

  • minimum: 0

Total elevation gain in meters. String-encoded decimal number.

  • maxLength: 64

Total elevation loss in meters. String-encoded decimal number.

  • maxLength: 64

images

array

Photos from the activity.

  • maxLength: 8
itemsref
Reference

maxCadence

integer

Maximum cadence in revolutions per minute.

  • minimum: 0

Maximum heart rate in beats per minute.

  • minimum: 0

maxPower

integer

Maximum power output in watts.

  • minimum: 0

maxSpeed

string

Maximum speed in meters per second. String-encoded decimal number.

  • maxLength: 64

movingTime

requiredinteger

Time spent in motion in seconds.

  • minimum: 0

Rate of perceived exertion (RPE), typically 1-10.

  • minimum: 0

polyline

string

Encoded polyline string representing a simplified, privacy-trimmed route for map display. Uses Google's encoded polyline algorithm format. Ingestion services should simplify polylines to fit within the 20,000 byte limit. This limit may be revisited if it proves insufficient.

  • maxLength: 20000

source

string

Where the activity data was imported from.

  • maxLength: 128
  • knownValues: garmin | strava | wahoo | manual | fit-file | gpx-file

sourceId

string

Identifier for this activity in the source system, e.g. a Strava activity ID.

  • maxLength: 256

sportType

requiredstring

The type of activity.

  • maxLength: 128
  • knownValues: ride

startedAt

requiredstring · datetime

When the activity started.

title

string

User-provided name for the activity.

  • maxLength: 300

totalWork

integer

Total mechanical work in kilojoules.

  • minimum: 0

Weather conditions during the activity.

Reference

Normalized/weighted average power in watts.

  • minimum: 0

#aspectRatio

object

Width and height of the image, used for layout before the image loads.

Properties

height

requiredinteger
  • minimum: 1

width

requiredinteger
  • minimum: 1

#image

object

Properties

alt

string

Alt text for the image.

  • maxLength: 3000
Reference

image

requiredblob
  • maxSize: 10000000
  • accept: image/jpeg, image/png, image/webp

#weather

object

Weather conditions observed during the activity.

Properties

Feels-like temperature in degrees Celsius. String-encoded decimal.

  • maxLength: 64

Average device-measured temperature in degrees Celsius. String-encoded decimal.

  • maxLength: 64

Cloud cover as a percentage. String-encoded decimal.

  • maxLength: 64

condition

string

General weather condition, e.g. 'Clear', 'Cloudy', 'Rain'.

  • maxLength: 128

dewpoint

string

Dewpoint in degrees Celsius. String-encoded decimal.

  • maxLength: 64

humidity

string

Relative humidity as a percentage. String-encoded decimal.

  • maxLength: 64

Maximum device-measured temperature in degrees Celsius. String-encoded decimal.

  • maxLength: 64

Precipitation intensity in mm/hr. String-encoded decimal.

  • maxLength: 64

Precipitation probability as a percentage. String-encoded decimal.

  • maxLength: 64

Type of precipitation, e.g. 'rain', 'snow', 'sleet'.

  • maxLength: 64

pressure

string

Atmospheric pressure in hPa/mbar. String-encoded decimal.

  • maxLength: 64

Air temperature in degrees Celsius. String-encoded decimal.

  • maxLength: 64

uvIndex

string

UV index. String-encoded decimal.

  • maxLength: 64

Visibility distance in kilometers. String-encoded decimal.

  • maxLength: 64

Wind direction in degrees (0-360). String-encoded decimal.

  • maxLength: 64

windGust

string

Wind gust speed in meters per second. String-encoded decimal.

  • maxLength: 64

windSpeed

string

Wind speed in meters per second. String-encoded decimal.

  • maxLength: 64

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • PROVISIONAL: activities are generic enough that they belong in a community-driven lexicon rather than an app namespace. When a community schema stabilizes, Kimbia will migrate to it and deprecate this one in its favor.

  • A sports activity or outdoor adventure record logged on Treeline.

  • A recording of an activity. Like running, walking, lifting weights, etc. Helpful to create the rkey tid from the start time and clock id 23 so you can upsert easily.

  • One private GPS activity. Distance, duration, and elevation are derived by the app from the uploaded route file.