-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
In the current VOEvent format, there are two important fields that I think the JSON format should have:
ivorn, an unique identifier attached to each alert (see https://voevent.readthedocs.io/en/latest/reading.html?highlight=ivorn#ivorns-and-identifiers). This can be used also to reference specific alerts in follow-ups by other instruments e.g. using theFollowUpcore schema or by the same instrument in the case it sends updates on the same event. More importantly, it can be used in general for the provenance of alerts, and used by subscribers to properly store the alerts (e.g. in their local DB or files on disk)- at the moment, it is not straightforward to recognize easily which type of alert is received. I take as an example https://github.com/nasa-gcn/gcn-schema/blob/main/gcn/notices/swift/bat/guano.loc_arc_min.example.json and https://github.com/nasa-gcn/gcn-schema/blob/main/gcn/notices/swift/bat/guano.loc_map.example.json . The
alert_tenseandalert_typeis the same, but the content is different (one contains RA and Dec, the other has a link to a skymap). It would be good to have an additional field inAlertcore schema that identifies the type of alert, similarly to thePacket_Typeof VOEvents. It does not need to be an integer, but it can be a string (but definitely the same variable type for all JSON alerts, not a mix of integers and strings). In the cases above, e.g. something likeSWIFTBAT_GUANO_LOC_ARC_MINandSWIFTBAT_GUANO_LOC_MAP. In this way, subscribers know immediately what they would find in the JSON, and code the parsing accordingly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request