full diff

at.adsb.broadcast.subscribeEvents

adsb.at +3 −0
From
bafyreidsnts2gwdymrpxi2ofnfl7oflx6srpnezlola56siw7gbx6fb6pq indexed 2026-05-25 02:52 UTC View this version
To
bafyreihe3i3jyhxtzpuax7zg7zl4mabyir6losz2wwlkbsnk4obh7ioebi indexed 2026-05-25 20:10 UTC View this version

Compatibility

breaking 3 breaking changes, 0 non-breaking changes.

Breaking changes (3)
  • ConstraintAdded ConstraintAdded { vertex_id: "at.adsb.broadcast.subscribeEvents#info.message", sort: "maxLength", value: "1024" }
  • ConstraintAdded ConstraintAdded { vertex_id: "at.adsb.broadcast.subscribeEvents#info.name", sort: "maxLength", value: "64" }
  • ConstraintAdded ConstraintAdded { vertex_id: "at.adsb.broadcast.subscribeEvents#broadcastOp.action", sort: "maxLength", value: "16" }

Migration guidance

Constraint changes

  • ConstraintAdded ConstraintAdded { vertex_id: "at.adsb.broadcast.subscribeEvents#info.name", sort: "maxLength", value: "64" }
  • ConstraintAdded ConstraintAdded { vertex_id: "at.adsb.broadcast.subscribeEvents#broadcastOp.action", sort: "maxLength", value: "16" }
  • ConstraintAdded ConstraintAdded { vertex_id: "at.adsb.broadcast.subscribeEvents#info.message", sort: "maxLength", value: "1024" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "broadcastOp": {
55 "description": "A single operation within a broadcast event.",
66 "properties": {
77 "action": {
88 "description": "The type of operation.",
99 "knownValues": [
1010 "create",
1111 "update",
1212 "delete"
1313 ],
14 "maxLength": 16,
1415 "type": "string"
1516 },
1617 "record": {
1718 "description": "The record payload. Shape determined by record's $type field.",
1819 "type": "unknown"
1920 }
2021 },
2122 "required": [
2223 "action",
2324 "record"
2425 ],
2526 "type": "object"
2627 },
2728 "event": {
2829 "description": "A batch of operations from a single poll cycle.",
2930 "properties": {
3031 "ops": {
3132 "description": "List of operations in this batch.",
3233 "items": {
3334 "ref": "#broadcastOp",
3435 "type": "ref"
3536 },
3637 "type": "array"
3738 },
3839 "seq": {
3940 "description": "The stream sequence number of this message.",
4041 "type": "integer"
4142 },
4243 "station": {
4344 "description": "Strong reference to the emitting receiver's at.adsb.receiver.station record.",
4445 "ref": "com.atproto.repo.strongRef",
4546 "type": "ref"
4647 },
4748 "time": {
4849 "description": "Timestamp of the poll cycle that produced this batch.",
4950 "format": "datetime",
5051 "type": "string"
5152 }
5253 },
5354 "required": [
5455 "seq",
5556 "station",
5657 "time",
5758 "ops"
5859 ],
5960 "type": "object"
6061 },
6162 "identity": {
6263 "description": "Represents a station coming online or updating its identity.",
6364 "properties": {
6465 "did": {
6566 "description": "DID of the station.",
6667 "format": "did",
6768 "type": "string"
6869 },
6970 "seq": {
7071 "description": "The stream sequence number of this message.",
7172 "type": "integer"
7273 },
7374 "station": {
7475 "description": "Strong reference to the station record.",
7576 "ref": "com.atproto.repo.strongRef",
7677 "type": "ref"
7778 },
7879 "time": {
7980 "description": "Timestamp of when this identity event was produced.",
8081 "format": "datetime",
8182 "type": "string"
8283 }
8384 },
8485 "required": [
8586 "seq",
8687 "did",
8788 "time"
8889 ],
8990 "type": "object"
9091 },
9192 "info": {
9293 "properties": {
9394 "message": {
9495 "description": "Human-readable info message.",
96 "maxLength": 1024,
9597 "type": "string"
9698 },
9799 "name": {
98100 "description": "Operational info message name.",
99101 "knownValues": [
100102 "OutdatedCursor"
101103 ],
104 "maxLength": 64,
102105 "type": "string"
103106 }
104107 },
105108 "required": [
106109 "name"
107110 ],
108111 "type": "object"
109112 },
110113 "main": {
111114 "description": "Subscribe to realtime events from this receiver station.",
112115 "errors": [
113116 {
114117 "name": "FutureCursor"
115118 },
116119 {
117120 "name": "ConsumerTooSlow"
118121 }
119122 ],
120123 "message": {
121124 "schema": {
122125 "refs": [
123126 "#event",
124127 "#identity",
125128 "#info"
126129 ],
127130 "type": "union"
128131 }
129132 },
130133 "parameters": {
131134 "properties": {
132135 "cursor": {
133136 "description": "Not currently used for backfill. Reserved for future use.",
134137 "type": "integer"
135138 }
136139 },
137140 "type": "params"
138141 },
139142 "type": "subscription"
140143 }
141144 },
142145 "description": "Ephemeral event stream from a receiver station. Emits batched aircraft operations per poll cycle. Does not write to any repository.",
143146 "id": "at.adsb.broadcast.subscribeEvents",
144147 "lexicon": 1
145148}

Compare other versions