at.mapped.post

mapped.at

{
  "id": "at.mapped.post",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "timestamp"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 500,
            "description": "Caption or description text for the post"
          },
          "stats": {
            "type": "object",
            "properties": {
              "distance": {
                "type": "integer",
                "description": "Distance covered in meters"
              },
              "duration": {
                "type": "integer",
                "description": "Duration of the activity in seconds"
              },
              "elevation": {
                "type": "integer",
                "description": "Elevation gain in meters"
              }
            },
            "description": "Activity statistics (distance, duration, elevation). Only relevant for activity posts"
          },
          "title": {
            "type": "string",
            "maxLength": 100,
            "description": "Optional title for the post (especially useful for travel posts)"
          },
          "trail": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Reference to a trail record with route geometry"
          },
          "location": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Reference to a location record"
          },
          "timestamp": {
            "type": "string",
            "format": "datetime",
            "description": "When the post was created"
          },
          "activityType": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Reference to an activityType record. If present, this is an activity post; if absent, it's a travel post"
          }
        }
      },
      "description": "A post representing either an activity or a travel experience"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against at.mapped.post

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:l5m5nuh5cvdatyn5fjxar2sh
CID
bafyreid6te4r752zjbgjb3lqc4nnzleebkx7gagab2pomlqn2bxz75bme4
Indexed At
2026-04-06 10:36 UTC
AT-URI
at://did:plc:l5m5nuh5cvdatyn5fjxar2sh/com.atproto.lexicon.schema/at.mapped.post

Version History (2 versions)

Lexicon Garden

@