social.coves.community.post.create

coves.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a new post in a community",
      "errors": [
        {
          "description": "Community not found",
          "name": "CommunityNotFound"
        },
        {
          "description": "User is not authorized to post in this community",
          "name": "NotAuthorized"
        },
        {
          "description": "User is banned from this community",
          "name": "Banned"
        },
        {
          "description": "Post content violates community rules",
          "name": "InvalidContent"
        },
        {
          "description": "Post violates community content rules (e.g., embeds not allowed, text too short)",
          "name": "ContentRuleViolation"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "community": {
              "description": "DID or handle of the community to post in",
              "format": "at-identifier",
              "type": "string"
            },
            "content": {
              "description": "Post content - supports rich text via facets",
              "maxGraphemes": 10000,
              "maxLength": 100000,
              "type": "string"
            },
            "embed": {
              "description": "Embedded media, external links, or quoted posts",
              "refs": [
                "social.coves.embed.images",
                "social.coves.embed.video",
                "social.coves.embed.external",
                "social.coves.embed.post"
              ],
              "type": "union"
            },
            "facets": {
              "description": "Annotations for rich text (mentions, links, formatting, block structure)",
              "items": {
                "ref": "social.coves.richtext.facet",
                "type": "ref"
              },
              "maxLength": 200,
              "type": "array"
            },
            "labels": {
              "description": "Self-applied content labels (NSFW, spoilers, etc.)",
              "ref": "com.atproto.label.defs#selfLabels",
              "type": "ref"
            },
            "langs": {
              "description": "Languages used in the post content (ISO 639-1)",
              "items": {
                "format": "language",
                "type": "string"
              },
              "maxLength": 3,
              "type": "array"
            },
            "tags": {
              "description": "User-applied topic tags",
              "items": {
                "maxGraphemes": 64,
                "maxLength": 640,
                "type": "string"
              },
              "maxLength": 8,
              "type": "array"
            },
            "title": {
              "description": "Post title (optional for media-only posts)",
              "maxGraphemes": 300,
              "maxLength": 3000,
              "type": "string"
            }
          },
          "required": [
            "community"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "description": "CID of the created post",
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "description": "AT-URI of the created post",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.coves.community.post.create",
  "lexicon": 1
}

Validate Record

Validate a record against social.coves.community.post.create

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:web:coves.social
CID
bafyreia3ttssc7742tln7lqlpe5spjwqs3jieafojgpwf4jxeebyrbyt5m
Indexed At
2026-07-24 05:18 UTC
AT-URI
at://did:web:coves.social/com.atproto.lexicon.schema/social.coves.community.post.create

Version History (2 versions)

Referenced Schemas (6)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Create a comment on a post or another comment. Comments support nested threading, rich text, embeds, and self-labeling.

  • A post in a Coves community. Posts live in community repositories and persist independently of the author. DEPRECATED: no new records are written to this collection. Successor: social.coves.community.postv2, which lives…

  • A post authored by a user, living in the author's repository. Successor to the deprecated social.coves.community.post: authorship is derived from the repository the record lives in, so there is no in-record author field…

  • Update an existing post

  • Create a new community. Requires authentication.

Lexicon Garden

@