app.attrails.route

A cycling, running, hiking, walking, etc. route shared by a user. The associated track file is stored as a blob.

Repository @attrails.app did:plc:q7v2r4sxk4pecbwmaucvb2vn namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityattrails.app
Indexed

Record

record · key tid

Properties

activity

requiredstring

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

createdAt

requiredstring · datetime

Description of the route, as CommonMark markdown. Clients must not render raw HTML.

  • maxLength: 30000
  • maxGraphemes: 3000

details

union

Activity-specific attributes. Open union: new activity detail types can be added later without breaking existing clients.

Author'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

array
  • maxLength: 10
itemsref

labels

union

Self-label values for this route, e.g. to flag sensitive photos.

langs

array

Languages of this record's text (name, description, tags, image alt text), as BCP-47 tags. If absent, consumers should assume English ('en').

  • maxLength: 3
itemsstring · language

name

requiredstring

Name of the route.

  • minLength: 1
  • maxLength: 1000
  • maxGraphemes: 100

surface

string

Predominant surface. Activity-neutral.

  • knownValues: app.attrails.defs#paved | app.attrails.defs#gravel | app.attrails.defs#trail | app.attrails.defs#mixed

tags

array

Free-form tags, stored without a leading '#'.

  • maxLength: 20
itemsstring
  • maxLength: 640
  • maxGraphemes: 64

track

requiredblob

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: 976563
  • accept: application/gpx+xml, application/xml, text/xml

#commute

token

Utility / commuting.

#cyclingDetails

object

Cycling-specific attributes of a route.

Properties

  • knownValues: app.attrails.route#road | app.attrails.route#gravelBike | app.attrails.route#mtb | app.attrails.route#touring | app.attrails.route#commute

#gravelBike

token

Gravel / adventure cycling.

#mtb

token

Mountain biking.

#road

token

Road cycling.

#touring

token

Multi-day touring / bikepacking.

Similar lexicons

semantic match

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

  • A curated trail guide, course, or route record published on Treeline.

  • One 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.

  • An 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.