com.cruftmanor.waystation.message

A chat message, written into the author's own repo in a Waystation space.

Details · record, key tid
Kindrecord
Record keytid
Authoritywaystation.cruftmanor.com
Commit rev3n2els3fbmj2b
Indexed

Record

record · key tid

Properties

Reference

createdAt

requiredstring · datetime

text

requiredstring

Message text. May be empty when an attachment is present.

  • maxLength: 10000
  • maxGraphemes: 1000

#attachment

object

One file attached to a message. Images are shown inline; PDFs are offered as downloads.

Properties

file

requiredblob
  • maxSize: 12582912
  • accept: image/png, image/jpeg, image/gif, image/webp, application/pdf

height

integer

Images only: height in pixels, as displayed.

  • minimum: 1
  • maximum: 100000

name

string

Original file name, for display and download.

  • maxLength: 1000
  • maxGraphemes: 200

thumb

blob

Images only: a smaller copy shown in the chat; the full file opens on request.

  • maxSize: 262144
  • accept: image/webp, image/jpeg, image/png

width

integer

Images only: width in pixels, as displayed.

  • minimum: 1
  • maximum: 100000

Similar lexicons

semantic match

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

  • A chat message, written into the author's own repo in a Waystation space.

  • A message in a channel. Lives in the author's own permissioned repo for the channel's space.

  • A message sent in a channel on Colibri.

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

  • 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 channels and DMs alike (ADR 0016), which is what lets one pipeline carry both.