at.adsb.broadcast.subscribeEvents

adsb.at

Schema Diff

+3 -0

From

CID
bafyreidsnts2gwd...
Indexed At
2026-05-25 02:52 UTC
View this version

To

CID
bafyreihe3i3jyhx...
Indexed At
2026-05-25 20:10 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

3 breaking changes, 0 non-breaking changes.

Breaking Changes (3)
  • 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" }
  • ConstraintAdded ConstraintAdded { vertex_id: "at.adsb.broadcast.subscribeEvents#info.name", sort: "maxLength", value: "64" }

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" }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "broadcastOp": {
5 5
      "description": "A single operation within a broadcast event.",
6 6
      "properties": {
7 7
        "action": {
8 8
          "description": "The type of operation.",
9 9
          "knownValues": [
10 10
            "create",
11 11
            "update",
12 12
            "delete"
13 13
          ],
14 +
          "maxLength": 16,
14 15
          "type": "string"
15 16
        },
16 17
        "record": {
17 18
          "description": "The record payload. Shape determined by record's $type field.",
18 19
          "type": "unknown"
19 20
        }
20 21
      },
21 22
      "required": [
22 23
        "action",
23 24
        "record"
24 25
      ],
25 26
      "type": "object"
26 27
    },
27 28
    "event": {
28 29
      "description": "A batch of operations from a single poll cycle.",
29 30
      "properties": {
30 31
        "ops": {
31 32
          "description": "List of operations in this batch.",
32 33
          "items": {
33 34
            "ref": "#broadcastOp",
34 35
            "type": "ref"
35 36
          },
36 37
          "type": "array"
37 38
        },
38 39
        "seq": {
39 40
          "description": "The stream sequence number of this message.",
40 41
          "type": "integer"
41 42
        },
42 43
        "station": {
43 44
          "description": "Strong reference to the emitting receiver's at.adsb.receiver.station record.",
44 45
          "ref": "com.atproto.repo.strongRef",
45 46
          "type": "ref"
46 47
        },
47 48
        "time": {
48 49
          "description": "Timestamp of the poll cycle that produced this batch.",
49 50
          "format": "datetime",
50 51
          "type": "string"
51 52
        }
52 53
      },
53 54
      "required": [
54 55
        "seq",
55 56
        "station",
56 57
        "time",
57 58
        "ops"
58 59
      ],
59 60
      "type": "object"
60 61
    },
61 62
    "identity": {
62 63
      "description": "Represents a station coming online or updating its identity.",
63 64
      "properties": {
64 65
        "did": {
65 66
          "description": "DID of the station.",
66 67
          "format": "did",
67 68
          "type": "string"
68 69
        },
69 70
        "seq": {
70 71
          "description": "The stream sequence number of this message.",
71 72
          "type": "integer"
72 73
        },
73 74
        "station": {
74 75
          "description": "Strong reference to the station record.",
75 76
          "ref": "com.atproto.repo.strongRef",
76 77
          "type": "ref"
77 78
        },
78 79
        "time": {
79 80
          "description": "Timestamp of when this identity event was produced.",
80 81
          "format": "datetime",
81 82
          "type": "string"
82 83
        }
83 84
      },
84 85
      "required": [
85 86
        "seq",
86 87
        "did",
87 88
        "time"
88 89
      ],
89 90
      "type": "object"
90 91
    },
91 92
    "info": {
92 93
      "properties": {
93 94
        "message": {
94 95
          "description": "Human-readable info message.",
96 +
          "maxLength": 1024,
95 97
          "type": "string"
96 98
        },
97 99
        "name": {
98 100
          "description": "Operational info message name.",
99 101
          "knownValues": [
100 102
            "OutdatedCursor"
101 103
          ],
104 +
          "maxLength": 64,
102 105
          "type": "string"
103 106
        }
104 107
      },
105 108
      "required": [
106 109
        "name"
107 110
      ],
108 111
      "type": "object"
109 112
    },
110 113
    "main": {
111 114
      "description": "Subscribe to realtime events from this receiver station.",
112 115
      "errors": [
113 116
        {
114 117
          "name": "FutureCursor"
115 118
        },
116 119
        {
117 120
          "name": "ConsumerTooSlow"
118 121
        }
119 122
      ],
120 123
      "message": {
121 124
        "schema": {
122 125
          "refs": [
123 126
            "#event",
124 127
            "#identity",
125 128
            "#info"
126 129
          ],
127 130
          "type": "union"
128 131
        }
129 132
      },
130 133
      "parameters": {
131 134
        "properties": {
132 135
          "cursor": {
133 136
            "description": "Not currently used for backfill. Reserved for future use.",
134 137
            "type": "integer"
135 138
          }
136 139
        },
137 140
        "type": "params"
138 141
      },
139 142
      "type": "subscription"
140 143
    }
141 144
  },
142 145
  "description": "Ephemeral event stream from a receiver station. Emits batched aircraft operations per poll cycle. Does not write to any repository.",
143 146
  "id": "at.adsb.broadcast.subscribeEvents",
144 147
  "lexicon": 1
145 148
}

Compare Other Versions

Lexicon Garden

@