{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when this post was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "data": {
            "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.",
            "type": "object"
          },
          "eventID": {
            "description": "NASA Kafka stream event ID, sometimes referred to as 'offset' in their documentation.",
            "minimum": 0,
            "type": "integer"
          },
          "topic": {
            "description": "GCN topic for the event.",
            "knownValues": [
              "gcn.circulars",
              "gcn.notices.chime.frb",
              "gcn.notices.dsa110.frb",
              "gcn.notices.einstein_probe.wxt.alert",
              "gcn.notices.icecube.lvk_nu_track_search",
              "gcn.notices.icecube.gold_bronze_track_alerts",
              "igwn.gwalert",
              "gcn.notices.superk.sn_alert",
              "gcn.notices.swift.bat.guano",
              "gcn.heartbeat"
            ],
            "maxLength": 128,
            "type": "string"
          }
        },
        "required": [
          "topic",
          "eventID",
          "data",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "eco.astrosky.transient.gcn",
  "lexicon": 1
}
