social.pace.feed.activity

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.

Repository @pds.dad did:plc:rnpkyqnmsw4ipey6eotbdnnf namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityfeed.pace.social
Indexed
cid bafyreiac6eulrysxfpr64fveaqyozeawmfrggaa55obin6e7tnyuz3whka

Checks

Valid
  • unlimited-string defs.main.record.properties.distanceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "social.pace.feed.activity",
  "lexicon": 1
}