types.artifact.com · Thing › CreativeWork › Route

Route

A route to walk, run, ride, or paddle, usually as a page on the site that keeps the track (url). Distance and time are schema:distance and schema:duration; the climb is elevationGain.

Properties

PropertyExpectedDescription
name requiredTextThe name of the item.
url requiredURLURL of the item.
activityTextWhat the route is for: hike, run, ride, paddle, ski, as the source names it.
distanceDistanceThe distance travelled, e.g. exercising or travelling.
durationDuration or QuantitativeValueThe duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).
elevationGainQuantitativeValueTotal climb along the route, as a QuantitativeValue in meters (unitCode MTR).
elevationLossQuantitativeValueTotal descent along the route, as a QuantitativeValue in meters (unitCode MTR).
imageImageObject or URLAn image of the item. This can be a URL or a fully described ImageObject.
descriptionText or TextObjectA description of the item.
contentLocationPlaceThe location depicted or described in the content. For example, the location in a photograph or painting.

Every property of CreativeWork, Thing applies too.

Media types

application/gpx+xml

Example

{
  "@context": "https://types.artifact.com/context.jsonld",
  "@type": "Route",
  "name": "Mount Tamalpais East Peak loop",
  "url": "https://www.alltrails.com/trail/us/california/mount-tamalpais-east-peak-loop",
  "activity": "hike",
  "distance": "12.4 km",
  "elevationGain": {
    "@type": "QuantitativeValue",
    "value": 640,
    "unitCode": "MTR"
  }
}

JSON Schema: Route.schema.json

As JSON-LD: Route.jsonld