social.pace.feed.activity

pds.dad

Documentation

A recording of an activity. Like running, walking, lifting weights, etc. Helpful to create the rkey tid from the start time and clock id 23 so you can upsert easily.

main record

A recording of an activity. Like running, walking, lifting weights, etc. Helpful to create the rkey tid from the start time and clock id 23 so you can upsert easily.

Record Key tid Timestamp-based ID

Properties

calories integer Optional

The number of active calories burned during the activity.

createdAt string datetime Required

When the activity was created

distance string Optional

The distance covered during the activity, if any. This is a string to allow for float values. pace.social support is in feet and meters.

distanceUnits string Optional

The units used for distance measurement.

maxLength: 10 bytes
Allowed: feet, miles, meters, kilometers
endedAt string datetime Required

When the activity ended.

route blob Optional

An export of the route taken during the activity, if any. A GPX or TCX file. Reminder, all atproto blobs are public. And is recommended if you do this to trim start and end.

startedAt string datetime Required

When the activity was started.

steps integer Optional

The number of steps taken during the activity.

View raw schema
{
  "description": "A recording of an activity. Like running, walking, lifting weights, etc. Helpful to create the rkey tid from the start time and clock id 23 so you can upsert easily.",
  "key": "tid",
  "record": {
    "properties": {
      "calories": {
        "description": "The number of active calories burned during the activity.",
        "type": "integer"
      },
      "createdAt": {
        "description": "When the activity was created",
        "format": "datetime",
        "type": "string"
      },
      "distance": {
        "description": "The distance covered during the activity, if any. This is a string to allow for float values. pace.social support is in feet and meters.",
        "type": "string"
      },
      "distanceUnits": {
        "description": "The units used for distance measurement.",
        "enum": [
          "feet",
          "miles",
          "meters",
          "kilometers"
        ],
        "maxLength": 10,
        "type": "string"
      },
      "endedAt": {
        "description": "When the activity ended.",
        "format": "datetime",
        "type": "string"
      },
      "route": {
        "accept": [
          "application/vnd.garmin.tcx+xml",
          "application/gpx+xml."
        ],
        "description": "An export of the route taken during the activity, if any. A GPX or TCX file. Reminder, all atproto blobs are public. And is recommended if you do this to trim start and end.",
        "type": "blob"
      },
      "splits": {
        "description": "Array of splits if any.",
        "items": {
          "ref": "social.pace.feed.defs#split",
          "type": "ref"
        },
        "type": "array"
      },
      "startedAt": {
        "description": "When the activity was started.",
        "format": "datetime",
        "type": "string"
      },
      "steps": {
        "description": "The number of steps taken during the activity.",
        "type": "integer"
      },
      "type": {
        "ref": "social.pace.feed.defs#activityType",
        "type": "ref"
      }
    },
    "required": [
      "startedAt",
      "endedAt",
      "type",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@