eco.astrosky.transient.gcn
Schema Diff
+10 -4
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 1 non-breaking change.
Breaking Changes (2)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "eco.astrosky.transient.gcn:body", src: "eco.astrosky.transient.gcn:body", tgt: "eco.astrosky.transient.gcn:body.createdAt", kind: "prop", name: Some("createdAt") }
- KindChanged KindChanged { vertex_id: "eco.astrosky.transient.gcn:body.data", old_kind: "string", new_kind: "object" }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "eco.astrosky.transient.gcn:body.createdAt" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "eco.astrosky.transient.gcn:body.createdAt" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "eco.astrosky.transient.gcn:body", src: "eco.astrosky.transient.gcn:body", tgt: "eco.astrosky.transient.gcn:body.createdAt", kind: "prop", name: Some("createdAt") }
- Breaking: KindChanged { vertex_id: "eco.astrosky.transient.gcn:body.data", old_kind: "string", new_kind: "object" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Repost of a NASA General Coordinates Network event on the ATProtocol. For the full NASA GCN schema definition, see https://github.com/nasa-gcn/gcn-schema",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
+
"createdAt": {
10
+
"description": "Client-declared timestamp when this post was originally created.",
11
+
"format": "datetime",
12
+
"type": "string"
13
+
},
9
14
"data": {
10
-
"description": "Raw string-encoded JSON of the GCN event, which is in NASA GCN's JSON schema format. May be very large. Some exceptionally large fields (such as the localization image) should be removed before upload, and may be added separately as blobs in a future version of this schema.",
11
-
"type": "string"
15
+
"description": "JSON of the GCN event, which is in NASA GCN's JSON schema format. Some exceptionally large fields (such as the localization image) should be removed before upload, or preferably should be added separately as blobs.",
16
+
"type": "object"
12
17
},
13
18
"eventID": {
14
-
"description": "NASA Kafka stream event ID (sometimes referred to as 'offset' in their documentation.",
19
+
"description": "NASA Kafka stream event ID, sometimes referred to as 'offset' in their documentation.",
15
20
"minimum": 0,
16
21
"type": "integer"
17
22
},
18
23
"topic": {
19
24
"description": "GCN topic for the event.",
20
25
"knownValues": [
21
26
"gcn.circulars",
22
27
"gcn.notices.chime.frb",
23
28
"gcn.notices.dsa110.frb",
24
29
"gcn.notices.einstein_probe.wxt.alert",
25
30
"gcn.notices.icecube.lvk_nu_track_search",
26
31
"gcn.notices.icecube.gold_bronze_track_alerts",
27
32
"igwn.gwalert",
28
33
"gcn.notices.superk.sn_alert",
29
34
"gcn.notices.swift.bat.guano",
30
35
"gcn.heartbeat"
31
36
],
32
37
"maxLength": 128,
33
38
"type": "string"
34
39
}
35
40
},
36
41
"required": [
37
42
"topic",
38
43
"eventID",
39
-
"data"
44
+
"data",
45
+
"createdAt"
40
46
],
41
47
"type": "object"
42
48
},
43
49
"type": "record"
44
50
}
45
51
},
46
52
"id": "eco.astrosky.transient.gcn",
47
53
"lexicon": 1
48
54
}