Wahoo Fitness · Schema

Wahoo Workout

A workout record returned by the Wahoo Cloud API.

FitnessCyclingEndurance TrainingBike ComputersSmart TrainersIndoor CyclingHeart RatePower MetersGPSWearablesHardwareFIT FilesWebhooksOAuth

Properties

Name Type Description
id integer
user_id integer
starts string
minutes integer
name string
plan_id integernull
workout_token string
workout_type_id integer
workout_summary object
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

wahoo-workout-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wahoo/main/json-schema/wahoo-workout-schema.json",
  "title": "Wahoo Workout",
  "description": "A workout record returned by the Wahoo Cloud API.",
  "type": "object",
  "required": ["id", "user_id", "starts", "minutes", "name", "workout_type_id"],
  "properties": {
    "id":              { "type": "integer", "format": "int64" },
    "user_id":         { "type": "integer", "format": "int64" },
    "starts":          { "type": "string", "format": "date-time" },
    "minutes":         { "type": "integer", "minimum": 0 },
    "name":            { "type": "string" },
    "plan_id":         { "type": ["integer", "null"], "format": "int64" },
    "workout_token":   { "type": "string" },
    "workout_type_id": { "type": "integer" },
    "workout_summary": { "$ref": "wahoo-workout-summary-schema.json" },
    "created_at":      { "type": "string", "format": "date-time" },
    "updated_at":      { "type": "string", "format": "date-time" }
  }
}