From
bafyreievhjau2ileevpevppgm5d5abik7jmlm3rbtegxfj2h3rmrundcoi
indexed 2026-07-31 21:23 UTC
View this version
To
bafyreihrarl3uu6ddnjkb4gf65dkd536d6ezppafdz4toj42vzwv2yqm5u
indexed 2026-08-15 21:21 UTC
View this version
Compatibility
backward compatible Backward compatible. 2 non-breaking changes.
Non-breaking changes (2)
- AddedVertex AddedVertex { vertex_id: "social.colibri.sync.subscribeEvents#messageEventData.live" }
- AddedEdge AddedEdge { src: "social.colibri.sync.subscribeEvents#messageEventData", tgt: "social.colibri.sync.subscribeEvents#messageEventData.live", kind: "prop", name: Some("live") }
Migration guidance
Added
AddedVertex { vertex_id: "social.colibri.sync.subscribeEvents#messageEventData.live" }
Notes
- Non-breaking: AddedEdge { src: "social.colibri.sync.subscribeEvents#messageEventData", tgt: "social.colibri.sync.subscribeEvents#messageEventData.live", kind: "prop", name: Some("live") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"ack": {55
"description": "Sent in response to a heartbeat message.",66
"properties": {77
"type": {88
"const": "ack",99
"type": "string"1010
}1111
},1212
"required": [1313
"type"1414
],1515
"type": "object"1616
},1717
"categoryEvent": {1818
"description": "Sent when a category has been created, updated, or deleted.",1919
"properties": {2020
"data": {2121
"ref": "lex:social.colibri.sync.subscribeEvents#categoryEventData",2222
"type": "ref"2323
},2424
"type": {2525
"const": "category_event",2626
"type": "string"2727
}2828
},2929
"required": [3030
"type",3131
"data"3232
],3333
"type": "object"3434
},3535
"categoryEventData": {3636
"properties": {3737
"channelOrder": {3838
"items": {3939
"format": "at-uri",4040
"type": "string"4141
},4242
"type": "array"4343
},4444
"community": {4545
"format": "at-uri",4646
"type": "string"4747
},4848
"event": {4949
"knownValues": [5050
"upsert",5151
"delete"5252
],5353
"type": "string"5454
},5555
"name": {5656
"type": "string"5757
},5858
"uri": {5959
"format": "at-uri",6060
"type": "string"6161
}6262
},6363
"required": [6464
"event",6565
"uri",6666
"community"6767
],6868
"type": "object"6969
},7070
"channelEvent": {7171
"description": "Sent when a channel has been created, updated, or deleted.",7272
"properties": {7373
"data": {7474
"ref": "lex:social.colibri.sync.subscribeEvents#channelEventData",7575
"type": "ref"7676
},7777
"type": {7878
"const": "channel_event",7979
"type": "string"8080
}8181
},8282
"required": [8383
"type",8484
"data"8585
],8686
"type": "object"8787
},8888
"channelEventData": {8989
"properties": {9090
"category": {9191
"format": "at-uri",9292
"type": "string"9393
},9494
"community": {9595
"format": "at-uri",9696
"type": "string"9797
},9898
"description": {9999
"type": "string"100100
},101101
"event": {102102
"knownValues": [103103
"upsert",104104
"delete"105105
],106106
"type": "string"107107
},108108
"name": {109109
"type": "string"110110
},111111
"type": {112112
"type": "string"113113
},114114
"uri": {115115
"format": "at-uri",116116
"type": "string"117117
}118118
},119119
"required": [120120
"event",121121
"uri",122122
"community"123123
],124124
"type": "object"125125
},126126
"communityEvent": {127127
"description": "Sent when a community has been updated or deleted.",128128
"properties": {129129
"data": {130130
"ref": "lex:social.colibri.sync.subscribeEvents#communityEventData",131131
"type": "ref"132132
},133133
"type": {134134
"const": "community_event",135135
"type": "string"136136
}137137
},138138
"required": [139139
"type",140140
"data"141141
],142142
"type": "object"143143
},144144
"communityEventData": {145145
"properties": {146146
"banner": {147147
"type": "blob"148148
},149149
"categoryOrder": {150150
"items": {151151
"format": "at-uri",152152
"type": "string"153153
},154154
"type": "array"155155
},156156
"description": {157157
"type": "string"158158
},159159
"event": {160160
"knownValues": [161161
"upsert",162162
"delete"163163
],164164
"type": "string"165165
},166166
"name": {167167
"type": "string"168168
},169169
"picture": {170170
"type": "blob"171171
},172172
"requiresApprovalToJoin": {173173
"type": "boolean"174174
},175175
"uri": {176176
"format": "at-uri",177177
"type": "string"178178
}179179
},180180
"required": [181181
"event",182182
"uri"183183
],184184
"type": "object"185185
},186186
"humEnvelope": {187187
"description": "An off-protocol event relayed between AppViews. The authenticated sender (inter-service auth JWT: aud = receiving AppView did:web, lxm = social.colibri.sync.sendHum) is the origin of record; `origin` is echoed for relay/loop control and MUST match the JWT issuer. Only off-protocol event types are permitted — on-protocol events are never carried by a Hum and are derived from the firehose instead.",188188
"properties": {189189
"community": {190190
"description": "Community the event is scoped to. Receiver relays to local clients only if they are members of this community.",191191
"format": "at-uri",192192
"type": "string"193193
},194194
"event": {195195
"description": "Ephemeral event payload. Only off-protocol types are permitted.",196196
"refs": [197197
"lex:social.colibri.sync.subscribeEvents#userEvent",198198
"lex:social.colibri.sync.subscribeEvents#typingEvent",199199
"lex:social.colibri.sync.subscribeEvents#voicePresenceEvent",200200
"lex:social.colibri.sync.subscribeEvents#voiceStateEvent"201201
],202202
"type": "union"203203
},204204
"id": {205205
"description": "Unique id for this Hum, used by receivers to dedup across relay paths.",206206
"maxLength": 64,207207
"type": "string"208208
},209209
"origin": {210210
"description": "DID of the AppView that first emitted this Hum.",211211
"format": "did",212212
"type": "string"213213
},214214
"subject": {215215
"description": "The user this event is about. Receiver MUST verify origin equals subject's declared presenceService before trusting or relaying.",216216
"format": "did",217217
"type": "string"218218
},219219
"ttl": {220220
"description": "Remaining relay hops. Decremented on each forward; a Hum at ttl 0 is delivered locally but never relayed.",221221
"maximum": 8,222222
"minimum": 0,223223
"type": "integer"224224
}225225
},226226
"required": [227227
"origin",228228
"id",229229
"ttl",230230
"subject",231231
"community",232232
"event"233233
],234234
"type": "object"235235
},236236
"main": {237237
"description": "Opens a WebSocket stream that transmits relevant events for the authenticated user.",238238
"errors": [239239
{240240
"description": "Missing, malformed, or unverifiable service auth.",241241
"name": "AuthRequired"242242
}243243
],244244
"message": {245245
"schema": {246246
"refs": [247247
"lex:social.colibri.sync.subscribeEvents#ack",248248
"lex:social.colibri.sync.subscribeEvents#communityEvent",249249
"lex:social.colibri.sync.subscribeEvents#memberEvent",250250
"lex:social.colibri.sync.subscribeEvents#categoryEvent",251251
"lex:social.colibri.sync.subscribeEvents#channelEvent",252252
"lex:social.colibri.sync.subscribeEvents#messageEvent",253253
"lex:social.colibri.sync.subscribeEvents#reactionEvent",254254
"lex:social.colibri.sync.subscribeEvents#userEvent",255255
"lex:social.colibri.sync.subscribeEvents#typingEvent",256256
"lex:social.colibri.sync.subscribeEvents#voicePresenceEvent",257257
"lex:social.colibri.sync.subscribeEvents#voiceStateEvent"258258
],259259
"type": "union"260260
}261261
},262262
"type": "subscription"263263
},264264
"memberEvent": {265265
"description": "Sent when a member has joined or left a community.",266266
"properties": {267267
"data": {268268
"ref": "lex:social.colibri.sync.subscribeEvents#memberEventData",269269
"type": "ref"270270
},271271
"type": {272272
"const": "member_event",273273
"type": "string"274274
}275275
},276276
"required": [277277
"type",278278
"data"279279
],280280
"type": "object"281281
},282282
"memberEventData": {283283
"properties": {284284
"community": {285285
"format": "at-uri",286286
"type": "string"287287
},288288
"event": {289289
"knownValues": [290290
"join",291291
"leave",292292
"roles_updated"293293
],294294
"type": "string"295295
},296296
"member": {297297
"description": "The affected member, hydrated. Present on `join` and `roles_updated`.",298298
"ref": "lex:social.colibri.sync.subscribeEvents#memberEventMember",299299
"type": "ref"300300
},301301
"memberDid": {302302
"description": "DID of the member who left. Present on `leave`.",303303
"format": "did",304304
"type": "string"305305
},306306
"membership": {307307
"format": "at-uri",308308
"type": "string"309309
}310310
},311311
"required": [312312
"event",313313
"community"314314
],315315
"type": "object"316316
},317317
"memberEventMember": {318318
"description": "The affected member as carried by a member event. Mirrors `social.colibri.community.defs#memberView`, including the member's current voice channel state so a receiving client can place them in a voice channel without refetching.",319319
"properties": {320320
"data": {321321
"ref": "lex:social.colibri.actor.defs#actorData",322322
"type": "ref"323323
},324324
"did": {325325
"format": "did",326326
"type": "string"327327
},328328
"handle": {329329
"format": "handle",330330
"type": "string"331331
},332332
"joinedAt": {333333
"format": "datetime",334334
"type": "string"335335
},336336
"nickname": {337337
"type": "string"338338
},339339
"roles": {340340
"items": {341341
"format": "at-uri",342342
"type": "string"343343
},344344
"type": "array"345345
},346346
"vc": {347347
"description": "AT-URI of the voice channel the member is currently connected to, if any. Only set when that channel belongs to `community`.",348348
"format": "at-uri",349349
"type": "string"350350
},351351
"vcDeafened": {352352
"type": "boolean"353353
},354354
"vcMuted": {355355
"type": "boolean"356356
}357357
},358358
"required": [359359
"did",360360
"handle",361361
"roles",362362
"data"363363
],364364
"type": "object"365365
},366366
"messageEvent": {367367
"description": "Sent when a message has been sent, edited, or deleted.",368368
"properties": {369369
"data": {370370
"ref": "lex:social.colibri.sync.subscribeEvents#messageEventData",371371
"type": "ref"372372
},373373
"type": {374374
"const": "message_event",375375
"type": "string"376376
}377377
},378378
"required": [379379
"type",380380
"data"381381
],382382
"type": "object"383383
},384384
"messageEventData": {385385
"properties": {386386
"attachments": {387387
"items": {388388
"type": "blob"389389
},390390
"type": "array"391391
},392392
"channel": {393393
"format": "at-uri",394394
"type": "string"395395
},396396
"createdAt": {397397
"format": "datetime",398398
"type": "string"399399
},400400
"edited": {401401
"type": "boolean"402402
},403403
"event": {404404
"knownValues": [405405
"upsert",406406
"delete"407407
],408408
"type": "string"409409
},410410
"facets": {411411
"items": {412412
"ref": "lex:social.colibri.richtext.facet",413413
"type": "ref"414414
},415415
"type": "array"416416
},417417
"indexedAt": {418418
"format": "datetime",419419
"type": "string"420420
},421
"live": {422
"type": "boolean"423
},421424
"parent": {422425
"format": "at-uri",423426
"type": "string"424427
},425428
"text": {426429
"type": "string"427430
},428431
"uri": {429432
"format": "at-uri",430433
"type": "string"431434
}432435
},433436
"required": [434437
"event",435438
"uri",436439
"channel"437440
],438441
"type": "object"439442
},440443
"reactionEvent": {441444
"description": "Sent when a reaction has been added to or removed from a message.",442445
"properties": {443446
"data": {444447
"ref": "lex:social.colibri.sync.subscribeEvents#reactionEventData",445448
"type": "ref"446449
},447450
"type": {448451
"const": "reaction_event",449452
"type": "string"450453
}451454
},452455
"required": [453456
"type",454457
"data"455458
],456459
"type": "object"457460
},458461
"reactionEventData": {459462
"properties": {460463
"channel": {461464
"format": "at-uri",462465
"type": "string"463466
},464467
"emoji": {465468
"type": "string"466469
},467470
"event": {468471
"knownValues": [469472
"added",470473
"removed"471474
],472475
"type": "string"473476
},474477
"target": {475478
"format": "at-uri",476479
"type": "string"477480
},478481
"uri": {479482
"format": "at-uri",480483
"type": "string"481484
}482485
},483486
"required": [484487
"event",485488
"uri",486489
"emoji",487490
"target",488491
"channel"489492
],490493
"type": "object"491494
},492495
"typingEvent": {493496
"description": "Sent when a user is typing in a channel the client is viewing.",494497
"properties": {495498
"data": {496499
"ref": "lex:social.colibri.sync.subscribeEvents#typingEventData",497500
"type": "ref"498501
},499502
"type": {500503
"const": "typing_event",501504
"type": "string"502505
}503506
},504507
"required": [505508
"type",506509
"data"507510
],508511
"type": "object"509512
},510513
"typingEventData": {511514
"properties": {512515
"channel": {513516
"format": "at-uri",514517
"type": "string"515518
},516519
"did": {517520
"format": "did",518521
"type": "string"519522
},520523
"event": {521524
"knownValues": [522525
"start",523526
"stop"524527
],525528
"type": "string"526529
}527530
},528531
"required": [529532
"event",530533
"channel",531534
"did"532535
],533536
"type": "object"534537
},535538
"userEvent": {536539
"description": "Sent when a known user has updated their profile or Colibri status.",537540
"properties": {538541
"data": {539542
"ref": "lex:social.colibri.sync.subscribeEvents#userEventData",540543
"type": "ref"541544
},542545
"type": {543546
"const": "user_event",544547
"type": "string"545548
}546549
},547550
"required": [548551
"type",549552
"data"550553
],551554
"type": "object"552555
},553556
"userEventData": {554557
"properties": {555558
"did": {556559
"format": "did",557560
"type": "string"558561
},559562
"profile": {560563
"ref": "lex:social.colibri.sync.subscribeEvents#userProfile",561564
"type": "ref"562565
},563566
"status": {564567
"ref": "lex:social.colibri.sync.subscribeEvents#userStatus",565568
"type": "ref"566569
}567570
},568571
"required": [569572
"did",570573
"profile"571574
],572575
"type": "object"573576
},574577
"userProfile": {575578
"properties": {576579
"avatar": {577580
"type": "blob"578581
},579582
"banner": {580583
"type": "blob"581584
},582585
"description": {583586
"type": "string"584587
},585588
"displayName": {586589
"type": "string"587590
},588591
"handle": {589592
"format": "handle",590593
"type": "string"591594
}592595
},593596
"required": [594597
"handle"595598
],596599
"type": "object"597600
},598601
"userStatus": {599602
"properties": {600603
"emoji": {601604
"type": "string"602605
},603606
"state": {604607
"knownValues": [605608
"online",606609
"away",607610
"dnd",608611
"offline"609612
],610613
"type": "string"611614
},612615
"text": {613616
"type": "string"614617
}615618
},616619
"required": [617620
"state",618621
"text"619622
],620623
"type": "object"621624
},622625
"voicePresenceEvent": {623626
"description": "Sent when a user joins or leaves a voice channel.",624627
"properties": {625628
"data": {626629
"ref": "lex:social.colibri.sync.subscribeEvents#voicePresenceEventData",627630
"type": "ref"628631
},629632
"type": {630633
"const": "voice_presence_event",631634
"type": "string"632635
}633636
},634637
"required": [635638
"type",636639
"data"637640
],638641
"type": "object"639642
},640643
"voicePresenceEventData": {641644
"properties": {642645
"channel": {643646
"format": "at-uri",644647
"type": "string"645648
},646649
"did": {647650
"format": "did",648651
"type": "string"649652
},650653
"event": {651654
"knownValues": [652655
"join",653656
"leave"654657
],655658
"type": "string"656659
}657660
},658661
"required": [659662
"event",660663
"channel",661664
"did"662665
],663666
"type": "object"664667
},665668
"voiceStateEvent": {666669
"description": "Sent when a user's voice state changes within a voice channel. `muted` and `deafened` are the user's own choices; `serverMuted` and `serverDeafened` are moderator-applied and enforced by the SFU. Each field is absent when unchanged.",667670
"properties": {668671
"data": {669672
"ref": "lex:social.colibri.sync.subscribeEvents#voiceStateEventData",670673
"type": "ref"671674
},672675
"type": {673676
"const": "voice_state_event",674677
"type": "string"675678
}676679
},677680
"required": [678681
"type",679682
"data"680683
],681684
"type": "object"682685
},683686
"voiceStateEventData": {684687
"properties": {685688
"channel": {686689
"format": "at-uri",687690
"type": "string"688691
},689692
"deafened": {690693
"type": "boolean"691694
},692695
"did": {693696
"format": "did",694697
"type": "string"695698
},696699
"muted": {697700
"type": "boolean"698701
},699702
"serverDeafened": {700703
"type": "boolean"701704
},702705
"serverMuted": {703706
"type": "boolean"704707
}705708
},706709
"required": [707710
"channel",708711
"did"709712
],710713
"type": "object"711714
}712715
},713716
"id": "social.colibri.sync.subscribeEvents",714717
"lexicon": 1,715718
"revision": 1716719
}