social.pace.feed.activity

baileytownsend.dev

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
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "startedAt",
      "endedAt",
      "type",
      "createdAt"
    ],
    "properties": {
      "type": {
        "ref": "social.pace.feed.defs#activityType",
        "type": "ref"
      },
      "route": {
        "type": "blob",
        "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."
      },
      "steps": {
        "type": "integer",
        "description": "The number of steps taken during the activity."
      },
      "splits": {
        "type": "array",
        "items": {
          "ref": "social.pace.feed.defs#split",
          "type": "ref"
        },
        "description": "Array of splits if any."
      },
      "endedAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the activity ended."
      },
      "calories": {
        "type": "integer",
        "description": "The number of active calories burned during the activity."
      },
      "distance": {
        "type": "string",
        "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."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the activity was created"
      },
      "startedAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the activity was started."
      },
      "distanceUnits": {
        "enum": [
          "feet",
          "miles",
          "meters",
          "kilometers"
        ],
        "type": "string",
        "maxLength": 10,
        "description": "The units used for distance measurement."
      }
    }
  },
  "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."
}

Lexicon Garden

@