Back to Simocracy

org.simocracy.feed.post

Record containing a Simocracy feed post. A port of app.bsky.feed.post (via app.gainforest.feed.post) into the org.simocracy.feed namespace. A reply (i.e. a 'comment') is a post that carries a `reply` ref; because that ref uses com.atproto.repo.strongRef, the Simocracy appview can honour replies whose parent/root is ANY record in the commons (a proposal, sim, gathering, decision, skill, or another post), not only another post. Deprecated `entities`/`textSlice` fields from the Bluesky source were omitted in favour of `facets`; the `embed` union and `labels` are omitted for now and may be added additively later.

record · key tid

Record containing a Simocracy feed post. A port of app.bsky.feed.post (via app.gainforest.feed.post) into the org.simocracy.feed namespace. A reply (i.e. a 'comment') is a post that carries a `reply` ref; because that ref uses com.atproto.repo.strongRef, the Simocracy appview can honour replies whose parent/root is ANY record in the commons (a proposal, sim, gathering, decision, skill, or another post), not only another post. Deprecated `entities`/`textSlice` fields from the Bluesky source were omitted in favour of `facets`; the `embed` union and `labels` are omitted for now and may be added additively later.

text*

The primary post content. May be an empty string, if there are embeds.

string · max 300
facets

Annotations of text (mentions, URLs, hashtags, etc).

facet[]
reply
#replyRef · #replyRef
langs

Indicates human language of post primary text content.

language[] · max 3
tags

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

string[] · max 8
createdAt*

Client-declared timestamp when this post was originally created.

datetime

Definitions

#replyRefobject

root*
strongRef
parent*
strongRef
Raw lexicon JSON
{
  "lexicon": 1,
  "id": "org.simocracy.feed.post",
  "defs": {
    "main": {
      "type": "record",
      "description": "Record containing a Simocracy feed post. A port of app.bsky.feed.post (via app.gainforest.feed.post) into the org.simocracy.feed namespace. A reply (i.e. a 'comment') is a post that carries a `reply` ref; because that ref uses com.atproto.repo.strongRef, the Simocracy appview can honour replies whose parent/root is ANY record in the commons (a proposal, sim, gathering, decision, skill, or another post), not only another post. Deprecated `entities`/`textSlice` fields from the Bluesky source were omitted in favour of `facets`; the `embed` union and `labels` are omitted for now and may be added additively later.",
      "key": "tid",
      "record": {
        "type": "object",
        "required": [
          "text",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300,
            "description": "The primary post content. May be an empty string, if there are embeds."
          },
          "facets": {
            "type": "array",
            "description": "Annotations of text (mentions, URLs, hashtags, etc).",
            "items": {
              "type": "ref",
              "ref": "app.bsky.richtext.facet"
            }
          },
          "reply": {
            "type": "ref",
            "ref": "#replyRef"
          },
          "langs": {
            "type": "array",
            "description": "Indicates human language of post primary text content.",
            "maxLength": 3,
            "items": {
              "type": "string",
              "format": "language"
            }
          },
          "tags": {
            "type": "array",
            "description": "Additional hashtags, in addition to any included in post text and facets.",
            "maxLength": 8,
            "items": {
              "type": "string",
              "maxLength": 640,
              "maxGraphemes": 64
            }
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this post was originally created."
          }
        }
      }
    },
    "replyRef": {
      "type": "object",
      "required": [
        "root",
        "parent"
      ],
      "properties": {
        "root": {
          "type": "ref",
          "ref": "com.atproto.repo.strongRef"
        },
        "parent": {
          "type": "ref",
          "ref": "com.atproto.repo.strongRef"
        }
      }
    }
  }
}
org.simocracy.feed.post