at.mapped.post

mapped.at

Documentation

A post representing either an activity or a travel experience

main record

A post representing either an activity or a travel experience

Record Key tid Timestamp-based ID

Properties

activityType ref com.atproto.repo.strongRef Optional

Reference to an activityType record. If present, this is an activity post; if absent, it's a travel post

basePost ref com.atproto.repo.strongRef Optional

Reference to another post that this post is based on (e.g. a travel post based on an activity post)

text string Optional

Caption or description text for the post

maxLength: 500 bytes
timestamp string datetime Required

When the post was created

title string Optional

Optional title for the post (especially useful for travel posts)

maxLength: 100 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "timestamp"
    ],
    "properties": {
      "text": {
        "type": "string",
        "maxLength": 500,
        "description": "Caption or description text for the post"
      },
      "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"
      },
      "basePost": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "Reference to another post that this post is based on (e.g. a travel post based on an activity post)"
      },
      "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"
}

Lexicon Garden

@