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