app.attrails.route
A cycling, running, hiking, walking, etc. route shared by a user. The associated track file is stored as a blob.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | attrails.app |
| Indexed |
Record
record · key tidProperties
The activity this route is intended for. Open enum; unknown values are allowed.
knownValues: app.attrails.defs#cycling | app.attrails.defs#running | app.attrails.defs#hiking | app.attrails.defs#walking | app.attrails.defs#other
description
stringDescription of the route, as CommonMark markdown. Clients must not render raw HTML.
maxLength: 30000maxGraphemes: 3000
details
unionActivity-specific attributes. Open union: new activity detail types can be added later without breaking existing clients.
difficulty
stringAuthor's subjective difficulty for the stated activity.
knownValues: app.attrails.defs#easy | app.attrails.defs#moderate | app.attrails.defs#hard | app.attrails.defs#extreme
images
arraymaxLength: 10
labels
unionSelf-label values for this route, e.g. to flag sensitive photos.
langs
arrayLanguages of this record's text (name, description, tags, image alt text), as BCP-47 tags. If absent, consumers should assume English ('en').
maxLength: 3
Name of the route.
minLength: 1maxLength: 1000maxGraphemes: 100
surface
stringPredominant surface. Activity-neutral.
knownValues: app.attrails.defs#paved | app.attrails.defs#gravel | app.attrails.defs#trail | app.attrails.defs#mixed
tags
arrayFree-form tags, stored without a leading '#'.
maxLength: 20
maxLength: 640maxGraphemes: 64
The route's track, commonly as a GPX file. Subject to max size limitations imposed by the user's PDS, so large routes might need to be simplified or compressed to fit.
maxSize: 976563accept: application/gpx+xml, application/xml, text/xml
#commute
tokenUtility / commuting.
#cyclingDetails
objectCycling-specific attributes of a route.
Properties
discipline
stringknownValues: app.attrails.route#road | app.attrails.route#gravelBike | app.attrails.route#mtb | app.attrails.route#touring | app.attrails.route#commute
#gravelBike
tokenGravel / adventure cycling.
#mtb
tokenMountain biking.
#road
tokenRoad cycling.
#touring
tokenMulti-day touring / bikepacking.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
world.treeline.route.record
recordA curated trail guide, course, or route record published on Treeline.
-
rehab.syndrome.trailactivity
recordOne private GPS activity. Distance, duration, and elevation are derived by the app from the uploaded route file.
-
Width:height ratio so clients can lay out before the image loads.
-
world.treeline.route.review
recordAn athlete's rating and review of a route. Field-compatible with app.attrails.review (subject, rating, text, completedAt, images, langs, labels, createdAt), plus an optional link to the athlete's own activity on the route and the gear they used. AppViews treat the most recent review per (author, subject) as canonical: to change a review, write a new one; older ones stay in the repo as history.
-
A sports activity or outdoor adventure record logged on Treeline.