art.xx-c.chat.message

charlebois.info

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Encrypted chat message for XX C chat room",
      "key": "tid",
      "record": {
        "properties": {
          "authTag": {
            "description": "Authentication tag for GCM mode (base64 encoded)",
            "maxLength": 32,
            "type": "string"
          },
          "createdAt": {
            "description": "Timestamp when message was created",
            "format": "datetime",
            "type": "string"
          },
          "encryptedContent": {
            "description": "AES-256-GCM encrypted message content (base64 encoded)",
            "maxLength": 10000,
            "type": "string"
          },
          "encryptionVersion": {
            "description": "Encryption scheme version (currently v1: HKDF + AAD)",
            "type": "string"
          },
          "iv": {
            "description": "Initialization vector for AES-GCM (base64 encoded)",
            "maxLength": 24,
            "type": "string"
          },
          "replyTo": {
            "description": "Optional: AT-URI of message being replied to",
            "format": "at-uri",
            "type": "string"
          },
          "roomId": {
            "description": "Identifier for chat room (e.g., 'main')",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "encryptedContent",
          "roomId",
          "iv",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "art.xx-c.chat.message",
  "lexicon": 1
}

Validate Record

Validate a record against art.xx-c.chat.message

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:y3lae7hmqiwyq7w2v3bcb2c2
CID
bafyreieyqlfkzk4s6jjrecx45tdokstmjjvt4ldb73m3qhrln4zibfm6ci
Indexed At
2026-04-15 03:51 UTC
AT-URI
at://did:plc:y3lae7hmqiwyq7w2v3bcb2c2/com.atproto.lexicon.schema/art.xx-c.chat.message

Similar Lexicons

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

  • Title and system prompt for a conversation.

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

    A message in a group's chat, in its author's own repo in the group's chat space.

  • A single message sent to a turtle meat chat room. Messages live in the author's own repository; a room is assembled by reading the backlinks that point at it.

  • A message in a channel or DM space. The record lives in the *author's* repo within the space, so a message has no single owning collection to sort by — it is identified by (authorDid, tid). One collection serves chann…

  • One turn in a conversation. A reply uses its parent's key plus '.r' and the generation attempt, e.g. '.r0', '.r1'.

Lexicon Garden

@