zone.stratos.feed.post

lexicon.northsky.app

Documentation

Record containing a private Stratos post with domain boundary restrictions. When stored on user's PDS as a stub, only 'source' and 'createdAt' are present. Full content is available from the hydration service.

main record

Record containing a private Stratos post with domain boundary restrictions. When stored on user's PDS as a stub, only 'source' and 'createdAt' are present. Full content is available from the hydration service.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Client-declared timestamp when this post was originally created.

langs array of string language Optional

Indicates human language of post primary text content.

maxLength: 3 items
reply ref #replyRef Optional

No description available.

source ref zone.stratos.defs#source Optional

When present, indicates this is a stub record. Full content should be hydrated from the referenced service.

tags array of string Optional

Additional hashtags, in addition to any included in post text and facets.

maxLength: 8 items
text string Optional

The primary post content. May be an empty string, if there are embeds. Omitted in stub records.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "createdAt"
    ],
    "properties": {
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 640,
          "maxGraphemes": 64
        },
        "maxLength": 8,
        "description": "Additional hashtags, in addition to any included in post text and facets."
      },
      "text": {
        "type": "string",
        "maxLength": 3000,
        "description": "The primary post content. May be an empty string, if there are embeds. Omitted in stub records.",
        "maxGraphemes": 300
      },
      "embed": {
        "refs": [
          "app.bsky.embed.images",
          "app.bsky.embed.video",
          "app.bsky.embed.external",
          "app.bsky.embed.record",
          "app.bsky.embed.recordWithMedia"
        ],
        "type": "union"
      },
      "langs": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "language"
        },
        "maxLength": 3,
        "description": "Indicates human language of post primary text content."
      },
      "reply": {
        "ref": "#replyRef",
        "type": "ref"
      },
      "facets": {
        "type": "array",
        "items": {
          "ref": "app.bsky.richtext.facet",
          "type": "ref"
        },
        "description": "Annotations of text (mentions, URLs, hashtags, etc)"
      },
      "labels": {
        "refs": [
          "com.atproto.label.defs#selfLabels"
        ],
        "type": "union",
        "description": "Self-label values for this post. Effectively content warnings."
      },
      "source": {
        "ref": "zone.stratos.defs#source",
        "type": "ref",
        "description": "When present, indicates this is a stub record. Full content should be hydrated from the referenced service."
      },
      "boundary": {
        "refs": [
          "zone.stratos.boundary.defs#Domains"
        ],
        "type": "union",
        "description": "Limit exposure to defined domains. Omitted in stub records."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this post was originally created."
      }
    }
  },
  "description": "Record containing a private Stratos post with domain boundary restrictions. When stored on user's PDS as a stub, only 'source' and 'createdAt' are present. Full content is available from the hydration service."
}
replyRef object

Reference to parent and root posts for replies. Must reference stratos posts only.

Properties

View raw schema
{
  "type": "object",
  "required": [
    "root",
    "parent"
  ],
  "properties": {
    "root": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    },
    "parent": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "description": "Reference to parent and root posts for replies. Must reference stratos posts only."
}

Lexicon Garden

@