# zone.stratos.feed.post

> Published by [lexicon.northsky.app](https://lexicon.garden/identity/did:plc:6uxgo3ypovauub7nblwylqyv)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.feed.post)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.feed.post/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.feed.post/examples)

## Definitions

### `zone.stratos.feed.post`

**Type**: `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.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tags` | `array` | No | Additional hashtags, in addition to any included in post text and facets. |
| `text` | `string` | No | The primary post content. May be an empty string, if there are embeds. Omitted in stub records. |
| `embed` | `union` | No |  |
| `langs` | `array` | No | Indicates human language of post primary text content. |
| `reply` | `ref` → `#replyRef` | No |  |
| `facets` | `array` | No | Annotations of text (mentions, URLs, hashtags, etc) |
| `labels` | `union` | No | Self-label values for this post. Effectively content warnings. |
| `source` | `ref` → `zone.stratos.defs#source` | No | When present, indicates this is a stub record. Full content should be hydrated from the referenced service. |
| `boundary` | `union` | No | Limit exposure to defined domains. Omitted in stub records. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this post was originally created. |

### `zone.stratos.feed.post#replyRef`

**Type**: `object`

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

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `root` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `parent` | `ref` → `com.atproto.repo.strongRef` | Yes |  |

## Raw Schema

```json
{
  "id": "zone.stratos.feed.post",
  "defs": {
    "main": {
      "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": {
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
