dev.baileytownsend.health.workout

baileytownsend.dev

Documentation

main record

No description available.

Record Key any Any valid record key

Properties

activity string Required

Type of activity. Walking, running, weights, etc.

caloriesBurned integer Required

Active calories burned during the workout.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

distance string Optional

Distance covered during the workout (optional).

duration string Required

How long the workout lasted in minutes.

endTime string datetime Required

An RFC 3339 formatted timestamp.

startTime string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "activity",
      "caloriesBurned",
      "duration",
      "startTime",
      "endTime",
      "createdAt"
    ],
    "properties": {
      "endTime": {
        "type": "string",
        "format": "datetime"
      },
      "activity": {
        "type": "string",
        "description": "Type of activity. Walking, running, weights, etc."
      },
      "distance": {
        "type": "string",
        "description": "Distance covered during the workout (optional)."
      },
      "duration": {
        "type": "string",
        "description": "How long the workout lasted in minutes."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "startTime": {
        "type": "string",
        "format": "datetime"
      },
      "caloriesBurned": {
        "type": "integer",
        "description": "Active calories burned during the workout."
      }
    }
  }
}

Lexicon Garden

@