fyi.opensocial.chat.message

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A message in a group's chat, in its author's own repo in the group's chat space.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "embed": {
            "description": "Something shared with the message, shown with it: a page, or pictures.",
            "refs": [
              "#record",
              "fyi.opensocial.embed.images"
            ],
            "type": "union"
          },
          "reply": {
            "description": "The message this answers, in its thread: replies are shown together under the message that started it, not in the room.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "room": {
            "description": "What the room this was said in is about, such as an upcoming event. Without one, the group's own room.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "text": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          }
        },
        "required": [
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "record": {
      "description": "A record shared with a message, shown as a card for what it is: a page a member made (fyi.opensocial.page), opened as it is now.",
      "properties": {
        "record": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "record"
      ],
      "type": "object"
    }
  },
  "id": "fyi.opensocial.chat.message",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.chat.message

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

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreieq3tun7uusvt4iiiwqa77p4yrrtl4aexsr6o3pql5nja4wogm2f4
Indexed At
2026-10-08 18:10 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.chat.message

Referenced Schemas (1)

  • fyi.opensocial.embed.images

Similar Lexicons

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

  • fyi.opensocial.conversation.message recordnot from the namespace authority

    Something said in a conversation, in its author's own repo in the conversation's space.

  • fyi.opensocial.chat.room recordnot from the namespace authority

    A room in a group's chat for something, such as an upcoming event: written by the group, in its chat space, keyed like what it's about. Messages say which room they're in with `room`.

  • Record containing a Streamplace chat message.

  • A chat message. Lives in the sender's repo, points to a channel.

  • A group's chat: members' messages, each in its author's own repo in the space, and their reactions. A message may name what its room is about (an upcoming event, say); one that names nothing is in the group's own room.

Lexicon Garden

@