app.studynext.comment
A comment posted inside a study room. Stored on the commenter's PDS.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | studynext.app |
| Commit rev | 3n3kcoordcs2t |
| Indexed |
Record
record · key tidProperties
edited
booleanTrue once the sender has edited this comment's text after posting (see editComment in comments.ts). Absent/false means never edited. Editing only ever rewrites `text` in place (same rkey, via putRecord) — createdAt does not change, and media/mentions are dropped on edit rather than carried over, since a text edit's offsets could no longer match them.
media
array1-4 images, OR exactly 1 of video/audio/file (client-enforced — a video/audio/file can't be combined with other attachments, images can't be combined with a video/audio/file).
maxLength: 4
replyTo
string · at-uriAT-URI of another app.studynext.comment in the same room this replies to.
AT-URI of the containing study room, such as an app.studynext.socialPost or app.studynext.studyTeam record; legacy status/self room URIs may also exist
May be empty only when `media` is present.
minLength: 0maxLength: 2000
#aspectRatio
object#commentMediaItem
objectA tagged union by `type` — exactly one of `image`/`video` is present depending on its value. Not expressed as a formal lexicon union since this is documentation only (all comment writes use validate:false).
Properties
alt
stringmaxLength: 300
aspectRatio
refaudio
blobPresent iff type=audio. Uploaded as picked (no client-side re-encoding, unlike image/video) — the client restricts the picker to wav/ogg/opus/mp3 (plus a couple of common OS-recorder container formats) so every accepted source is already something both major mobile platforms and browsers can decode without transcoding.
maxSize: 100000000accept: audio/mpeg, audio/wav, audio/x-wav, audio/wave, audio/ogg, audio/opus, audio/webm, audio/mp4, audio/x-m4a
durationMs
integervideo/audio only
minimum: 0
file
blobPresent iff type=file. A generic attachment (documents, text/markdown notes, archives, ...) with no fixed mime type — unlike image/video/audio's narrow accept lists, this is intentionally unrestricted since the client can't re-encode or otherwise normalize arbitrary file content. `mimeType`/`filename` (siblings on this same commentMediaItem) tell a viewer whether to attempt a text/markdown preview or fall back to a plain download link.
maxSize: 100000000accept: */*
filename
stringfile (and optionally audio) only — original filename as picked by the sender.
maxLength: 255
image
blobPresent iff type=image. Always the *output* format — the client accepts any source format the OS photo picker offers (including HEIC/HEIF) but always re-encodes to JPEG via ImageManipulator before upload (see comments.ts), so a HEIC-shooting iPhone never uploads a HEIC blob and every viewer's device only ever needs JPEG decode support. maxSize is the common 100MB attachment limit; the client normally resizes/compresses images to a few hundred KB.
maxSize: 100000000accept: image/jpeg, image/png, image/webp
mimeType
stringfile only — the blob's own mime type, since type=file has no fixed accept list to infer it from.
maxLength: 255
size
integerfile only — byte size, used by viewers to decide whether to preview or just link out.
minimum: 0
enum: image | video | audio | file
video
blobPresent iff type=video. Always the *output* format after client-side compression (react-native-compressor) — the client accepts any source codec the OS lets it read (H.264, HEVC/H.265, VP9, AV1, ...) and re-encodes on-device before upload, so every viewer's device only ever needs to decode whatever the compressor's own output codec is (typically H.264/mp4), never the sender's original codec. No server-side transcoding (unlike app.bsky.embed.video's separate video service). Source VP9/AV1 decode is not supported by iOS's AVFoundation at all — on iOS, compressing (and therefore sending) such a source file fails with a clear client-side error rather than silently uploading something viewers can't play; Android's MediaCodec has much broader VP9/AV1 decode support. maxSize is the common 100MB attachment limit.
maxSize: 100000000accept: video/mp4, video/quicktime, video/webm
#mention
objectA did mentioned within `text`, by UTF-16 code unit offset — mirrors how the app renders/taps the mention, not a general-purpose richtext facet.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.didpic.feed.comment
recordA comment on a post. Optionally includes a single image with alt text and self-applied labels — same image shape as feed.post. Either text or image (or both) must be present in practice; the lexicon doesn't enforce that since 'one of N required' isn't expressible.
-
social.wips.comment
recordComment on a wips.social update. Top-level comments omit parent; replies set parent to the immediate comment being answered. subject always points at the root update. Body may be text, ordered media, or both (application validators require at least one of non-whitespace text or known image/video media; unknown open-union media variants do not satisfy content alone). Optional rich-text facets (app.bsky.richtext.facet), langs, and labels (open union; current app policy requires selfLabels). Commen
-
blue.cosm.forums.comment
recordA comment on a topic (or a reply to another comment), stored in the commenter's own repo.
-
ca.astronomi.boards.comment
recordA comment on a topic (or a reply to another comment), stored in the commenter's own repo.
-
Record containing a comment on a VOD.