From dc47b1713b935247d67ebdb3d148dc8e53ac2f09 Mon Sep 17 00:00:00 2001 From: dakota002 Date: Tue, 15 Oct 2024 14:59:39 -0400 Subject: [PATCH 1/9] Fermi gbm --- gcn/notices/fermi/gbm/alert.example.json | 43 +++++ gcn/notices/fermi/gbm/alert.schema.json | 51 +++++ gcn/notices/fermi/gbm/detectors.schema.json | 18 ++ .../fermi/gbm/strict/alert.1.example.json | 43 +++++ .../gbm/strict/alert.1strict.example.json | 43 +++++ .../fermi/gbm/strict/alert.2.example.json | 34 ++++ .../gbm/strict/alert.2strict.example.json | 34 ++++ .../fermi/gbm/strict/alert.schema.json | 174 ++++++++++++++++++ 8 files changed, 440 insertions(+) create mode 100644 gcn/notices/fermi/gbm/alert.example.json create mode 100644 gcn/notices/fermi/gbm/alert.schema.json create mode 100644 gcn/notices/fermi/gbm/detectors.schema.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.1.example.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.1strict.example.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.2.example.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.2strict.example.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.schema.json diff --git a/gcn/notices/fermi/gbm/alert.example.json b/gcn/notices/fermi/gbm/alert.example.json new file mode 100644 index 00000000..bc9e95f4 --- /dev/null +++ b/gcn/notices/fermi/gbm/alert.example.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "additional_info": "Lightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "alert_tense": "current", + "alert_type": "initial", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "hitl": false, + "id": ["745121685", "bn240812094"], + "instrument": "GBM", + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "messenger": "EM", + "mission": "Fermi", + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "spectrum": "energy", + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43", + "trigger_type": "rate", + "units": "keV" +} diff --git a/gcn/notices/fermi/gbm/alert.schema.json b/gcn/notices/fermi/gbm/alert.schema.json new file mode 100644 index 00000000..efd6b338 --- /dev/null +++ b/gcn/notices/fermi/gbm/alert.schema.json @@ -0,0 +1,51 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "GCN Schema for Fermi GBM Alert Notices", + "description": "This schema is used to report Fermi GBM Alerts.", + "type": "object", + "allOf": [ + { + "$ref": "../../core/AdditionalInfo.schema.json" + }, + { + "$ref": "../../core/Alert.schema.json" + }, + { + "$ref": "../../core/DateTime.schema.json" + }, + { + "$ref": "../../core/Event.schema.json" + }, + { + "$ref": "../../core/GeoLocBase.schema.json" + }, + { + "$ref": "../../core/Reporter.schema.json" + }, + { + "$ref": "../../core/Statistics.schema.json" + }, + { + "$ref": "detectors.schema.json" + } + ], + "properties": { + "notice_type": { + "type": "string", + "description": "Notice title" + }, + "hitl": { + "type": "boolean", + "description": "\"Human in the loop\". When false, the notice was generated entirely automatically. A value of true means that a human had an input, while the notice was being prepared. The latter includes notices, which weren't altered by the human input, i.e. simply confirmed or approved by a human for further processing." + }, + "trigger_algorithm_number": { + "type": "number", + "description": "The criterion number that caused the flight software to trigger. Not to be confused with flight software or any other version number." + }, + "light_curve_url": { + "type": "string", + "description": "URL of the quicklook light curve plot" + } + } +} diff --git a/gcn/notices/fermi/gbm/detectors.schema.json b/gcn/notices/fermi/gbm/detectors.schema.json new file mode 100644 index 00000000..0a91d050 --- /dev/null +++ b/gcn/notices/fermi/gbm/detectors.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/detectors.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "", + "description": "", + "type": "object", + "properties": { + "detectors_status": { + "type": "array", + "items": { + "$ref": "../../core/DetectorStatus.schema.json" + }, + "minItems": 14, + "maxItems": 14, + "description": "Triggered detectors" + } + } +} diff --git a/gcn/notices/fermi/gbm/strict/alert.1.example.json b/gcn/notices/fermi/gbm/strict/alert.1.example.json new file mode 100644 index 00000000..2ea094b9 --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.1.example.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "additional_info": "*** PREFACE TO THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All possible properties are present. This preface uses a field reserved for free-text comments to the notice. The preface is not going to be part of a real-life notice but here might be other comments. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "alert_tense": "current", + "alert_type": "initial", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "hitl": false, + "id": ["745121685", "bn240812094"], + "instrument": "GBM", + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "messenger": "EM", + "mission": "Fermi", + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "spectrum": "energy", + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43", + "trigger_type": "rate", + "units": "keV" +} diff --git a/gcn/notices/fermi/gbm/strict/alert.1strict.example.json b/gcn/notices/fermi/gbm/strict/alert.1strict.example.json new file mode 100644 index 00000000..16ed6531 --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.1strict.example.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. The 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "alert_tense": "current", + "alert_type": "initial", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "hitl": false, + "id": ["745121685", "bn240812094"], + "instrument": "GBM", + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "messenger": "EM", + "mission": "Fermi", + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "spectrum": "energy", + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43", + "trigger_type": "rate", + "units": "keV" +} diff --git a/gcn/notices/fermi/gbm/strict/alert.2.example.json b/gcn/notices/fermi/gbm/strict/alert.2.example.json new file mode 100644 index 00000000..7c219bb3 --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.2.example.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "additional_info": "*** PREFACE TO THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This preface uses a field reserved for free-text comments to the notice. The preface is not going to be part of a real-life notice but here might be other comments. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "id": ["745121685", "bn240812094"], + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43" +} diff --git a/gcn/notices/fermi/gbm/strict/alert.2strict.example.json b/gcn/notices/fermi/gbm/strict/alert.2strict.example.json new file mode 100644 index 00000000..f60efa87 --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.2strict.example.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. The 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "id": ["745121685", "bn240812094"], + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43" +} diff --git a/gcn/notices/fermi/gbm/strict/alert.schema.json b/gcn/notices/fermi/gbm/strict/alert.schema.json new file mode 100644 index 00000000..e6d9ec2d --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.schema.json @@ -0,0 +1,174 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "GCN Schema for Fermi GBM Alert Notices", + "description": "This schema is a stricter version of the more permissive main schema, https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json. The Kafka server uses the main schema for new notices. Each Alert notice (classic numeric type 110) must validate against the main schema and should also validate against this one. Examples in this directory come in two versions referencing the main and the strict schemas respectively. The intent of the strict schema is to help understanding the Alert notice, since it better describes what content to be expected.", + "type": "object", + "properties": { + "$schema": { + "enum": [ + "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json" + ], + "description": "Required by GCN" + }, + "additional_info": { + "type": "string", + "default": null, + "description": "Free text comments about the event and the notice." + }, + "alert_datetime": { + "type": "string", + "description": "Date and time of notice creation [UTC, ISO 8601], ex YYYY-MM-DDTHH:MM:SS.ssssssZ" + }, + "alert_tense": { + "enum": [ + "current", + "archival", + "planned", + "injection", + "commanded", + "test" + ], + "default": "current", + "description": "Indication of whether this alert refers to a recent observation (current), re-analysis of archival data (archival), a planned observation in the future (planned), a signal injection (injection), commanded trigger (commanded) or a test trigger (test)." + }, + "alert_type": { + "enum": ["initial", "update", "retraction"], + "default": "initial", + "description": "Indication of alert sequence if multiple of same type sent" + }, + "data_archive_page": { + "type": "string", + "description": "URL of archived data files" + }, + "detectors_status": { + "type": "array", + "items": { + "enum": ["on", "off", "triggered"] + }, + "minItems": 14, + "maxItems": 14, + "description": "Triggered detectors" + }, + "event_name": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Name of the event, for example GRB170817A" + }, + "hitl": { + "type": "boolean", + "default": false, + "description": "\"Human in the loop\". When false, the notice was generated entirely automatically. A value of true means that a human had an input, while the notice was being prepared. The latter includes notices, which weren't altered by the human input, i.e. simply confirmed or approved by a human for further processing." + }, + "id": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "description": "Instrument-specific trigger ID, for example: 745121685, bn240812094" + }, + "instrument": { + "const": "GBM", + "default": "GBM", + "description": "Name of the instrument reporting the event" + }, + "latitude": { + "type": "number", + "description": "Geocentric latitude [deg]" + }, + "light_curve_url": { + "type": "string", + "description": "URL of the quicklook light curve plot" + }, + "longitude": { + "type": "number", + "description": "Geocentric longitude [deg]" + }, + "messenger": { + "const": "EM", + "default": "EM", + "description": "Messenger of report; EM, GW or Neutrino" + }, + "mission": { + "const": "Fermi", + "default": "Fermi", + "description": "Name of Mission or Telescope reporting the event" + }, + "notice_type": { + "const": "FERMI_GBM_ALERT", + "description": "Notice title" + }, + "rate_duration": { + "type": "number", + "description": "Duration in seconds of the ime interval used in the signal to noise ratio calculation" + }, + "rate_energy_range": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 2, + "maxItems": 2, + "description": "Energy bounds in keV used in the signal to noise ratio calculation" + }, + "rate_snr": { + "type": "number", + "description": "Signal to noise ratio" + }, + "record_number": { + "type": "number", + "description": "Incremental number for notices related to the same trigger (ex: 1, 2, 3)" + }, + "spectrum": { + "const": "energy", + "default": "energy", + "description": "high-energy or optical or radio observations, if not parsed, then default band is energy" + }, + "trigger_algorithm_number": { + "type": "number", + "description": "The criterion number that caused the flight software to trigger. Not to be confused with flight software or any other version number." + }, + "trigger_time": { + "type": "string", + "description": "Time of the trigger [ISO 8601], ex YYYY-MM-DDTHH:MM:SS.ssssssZ" + }, + "trigger_type": { + "const": "rate", + "default": "rate", + "description": "Type of trigger algorithm used to identify the transient event." + }, + "units": { + "const": "keV", + "default": "keV", + "description": "Units of band range, if not parsed, then default energy is keV" + } + }, + "required": [ + "alert_datetime", + "data_archive_page", + "detectors_status", + "event_name", + "id", + "latitude", + "light_curve_url", + "longitude", + "notice_type", + "rate_duration", + "rate_energy_range", + "rate_snr", + "record_number", + "trigger_algorithm_number", + "trigger_time" + ], + "additionalProperties": false +} From 42ec42010b0fa79da739cca577f14f0c0853e817 Mon Sep 17 00:00:00 2001 From: Boyan Hristov Date: Thu, 17 Oct 2024 12:05:05 -0500 Subject: [PATCH 2/9] commit --- gcn/notices/fermi/gbm/alert.example.json | 43 +++++ gcn/notices/fermi/gbm/alert.schema.json | 51 +++++ gcn/notices/fermi/gbm/detectors.schema.json | 18 ++ .../fermi/gbm/strict/alert.1.example.json | 43 +++++ .../gbm/strict/alert.1strict.example.json | 43 +++++ .../fermi/gbm/strict/alert.2.example.json | 34 ++++ .../gbm/strict/alert.2strict.example.json | 34 ++++ .../fermi/gbm/strict/alert.schema.json | 174 ++++++++++++++++++ 8 files changed, 440 insertions(+) create mode 100644 gcn/notices/fermi/gbm/alert.example.json create mode 100644 gcn/notices/fermi/gbm/alert.schema.json create mode 100644 gcn/notices/fermi/gbm/detectors.schema.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.1.example.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.1strict.example.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.2.example.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.2strict.example.json create mode 100644 gcn/notices/fermi/gbm/strict/alert.schema.json diff --git a/gcn/notices/fermi/gbm/alert.example.json b/gcn/notices/fermi/gbm/alert.example.json new file mode 100644 index 00000000..bc9e95f4 --- /dev/null +++ b/gcn/notices/fermi/gbm/alert.example.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "additional_info": "Lightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "alert_tense": "current", + "alert_type": "initial", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "hitl": false, + "id": ["745121685", "bn240812094"], + "instrument": "GBM", + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "messenger": "EM", + "mission": "Fermi", + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "spectrum": "energy", + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43", + "trigger_type": "rate", + "units": "keV" +} diff --git a/gcn/notices/fermi/gbm/alert.schema.json b/gcn/notices/fermi/gbm/alert.schema.json new file mode 100644 index 00000000..efd6b338 --- /dev/null +++ b/gcn/notices/fermi/gbm/alert.schema.json @@ -0,0 +1,51 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "GCN Schema for Fermi GBM Alert Notices", + "description": "This schema is used to report Fermi GBM Alerts.", + "type": "object", + "allOf": [ + { + "$ref": "../../core/AdditionalInfo.schema.json" + }, + { + "$ref": "../../core/Alert.schema.json" + }, + { + "$ref": "../../core/DateTime.schema.json" + }, + { + "$ref": "../../core/Event.schema.json" + }, + { + "$ref": "../../core/GeoLocBase.schema.json" + }, + { + "$ref": "../../core/Reporter.schema.json" + }, + { + "$ref": "../../core/Statistics.schema.json" + }, + { + "$ref": "detectors.schema.json" + } + ], + "properties": { + "notice_type": { + "type": "string", + "description": "Notice title" + }, + "hitl": { + "type": "boolean", + "description": "\"Human in the loop\". When false, the notice was generated entirely automatically. A value of true means that a human had an input, while the notice was being prepared. The latter includes notices, which weren't altered by the human input, i.e. simply confirmed or approved by a human for further processing." + }, + "trigger_algorithm_number": { + "type": "number", + "description": "The criterion number that caused the flight software to trigger. Not to be confused with flight software or any other version number." + }, + "light_curve_url": { + "type": "string", + "description": "URL of the quicklook light curve plot" + } + } +} diff --git a/gcn/notices/fermi/gbm/detectors.schema.json b/gcn/notices/fermi/gbm/detectors.schema.json new file mode 100644 index 00000000..0a91d050 --- /dev/null +++ b/gcn/notices/fermi/gbm/detectors.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/detectors.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "", + "description": "", + "type": "object", + "properties": { + "detectors_status": { + "type": "array", + "items": { + "$ref": "../../core/DetectorStatus.schema.json" + }, + "minItems": 14, + "maxItems": 14, + "description": "Triggered detectors" + } + } +} diff --git a/gcn/notices/fermi/gbm/strict/alert.1.example.json b/gcn/notices/fermi/gbm/strict/alert.1.example.json new file mode 100644 index 00000000..1bdeb432 --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.1.example.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "alert_tense": "current", + "alert_type": "initial", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "hitl": false, + "id": ["745121685", "bn240812094"], + "instrument": "GBM", + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "messenger": "EM", + "mission": "Fermi", + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "spectrum": "energy", + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43", + "trigger_type": "rate", + "units": "keV" +} diff --git a/gcn/notices/fermi/gbm/strict/alert.1strict.example.json b/gcn/notices/fermi/gbm/strict/alert.1strict.example.json new file mode 100644 index 00000000..55eb5aa0 --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.1strict.example.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "alert_tense": "current", + "alert_type": "initial", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "hitl": false, + "id": ["745121685", "bn240812094"], + "instrument": "GBM", + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "messenger": "EM", + "mission": "Fermi", + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "spectrum": "energy", + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43", + "trigger_type": "rate", + "units": "keV" +} diff --git a/gcn/notices/fermi/gbm/strict/alert.2.example.json b/gcn/notices/fermi/gbm/strict/alert.2.example.json new file mode 100644 index 00000000..27b21143 --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.2.example.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "id": ["745121685", "bn240812094"], + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43" +} diff --git a/gcn/notices/fermi/gbm/strict/alert.2strict.example.json b/gcn/notices/fermi/gbm/strict/alert.2strict.example.json new file mode 100644 index 00000000..29614751 --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.2strict.example.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "alert_datetime": "2024-08-24T02:14:54", + "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", + "detectors_status": [ + "triggered", + "on", + "triggered", + "triggered", + "on", + "on", + "triggered", + "on", + "on", + "on", + "on", + "on", + "on", + "on" + ], + "event_name": ["GRB240824A"], + "id": ["745121685", "bn240812094"], + "latitude": 23.83, + "light_curve_url": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094/quicklook/glg_lc_medres34_bn240812094.gif", + "longitude": 257.4, + "notice_type": "FERMI_GBM_ALERT", + "rate_duration": 2.048, + "rate_energy_range": [47, 291], + "rate_snr": 4.9, + "record_number": 1, + "trigger_algorithm_number": 14, + "trigger_time": "2024-08-24T02:14:40.43" +} diff --git a/gcn/notices/fermi/gbm/strict/alert.schema.json b/gcn/notices/fermi/gbm/strict/alert.schema.json new file mode 100644 index 00000000..e6d9ec2d --- /dev/null +++ b/gcn/notices/fermi/gbm/strict/alert.schema.json @@ -0,0 +1,174 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "GCN Schema for Fermi GBM Alert Notices", + "description": "This schema is a stricter version of the more permissive main schema, https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json. The Kafka server uses the main schema for new notices. Each Alert notice (classic numeric type 110) must validate against the main schema and should also validate against this one. Examples in this directory come in two versions referencing the main and the strict schemas respectively. The intent of the strict schema is to help understanding the Alert notice, since it better describes what content to be expected.", + "type": "object", + "properties": { + "$schema": { + "enum": [ + "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", + "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json" + ], + "description": "Required by GCN" + }, + "additional_info": { + "type": "string", + "default": null, + "description": "Free text comments about the event and the notice." + }, + "alert_datetime": { + "type": "string", + "description": "Date and time of notice creation [UTC, ISO 8601], ex YYYY-MM-DDTHH:MM:SS.ssssssZ" + }, + "alert_tense": { + "enum": [ + "current", + "archival", + "planned", + "injection", + "commanded", + "test" + ], + "default": "current", + "description": "Indication of whether this alert refers to a recent observation (current), re-analysis of archival data (archival), a planned observation in the future (planned), a signal injection (injection), commanded trigger (commanded) or a test trigger (test)." + }, + "alert_type": { + "enum": ["initial", "update", "retraction"], + "default": "initial", + "description": "Indication of alert sequence if multiple of same type sent" + }, + "data_archive_page": { + "type": "string", + "description": "URL of archived data files" + }, + "detectors_status": { + "type": "array", + "items": { + "enum": ["on", "off", "triggered"] + }, + "minItems": 14, + "maxItems": 14, + "description": "Triggered detectors" + }, + "event_name": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Name of the event, for example GRB170817A" + }, + "hitl": { + "type": "boolean", + "default": false, + "description": "\"Human in the loop\". When false, the notice was generated entirely automatically. A value of true means that a human had an input, while the notice was being prepared. The latter includes notices, which weren't altered by the human input, i.e. simply confirmed or approved by a human for further processing." + }, + "id": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "description": "Instrument-specific trigger ID, for example: 745121685, bn240812094" + }, + "instrument": { + "const": "GBM", + "default": "GBM", + "description": "Name of the instrument reporting the event" + }, + "latitude": { + "type": "number", + "description": "Geocentric latitude [deg]" + }, + "light_curve_url": { + "type": "string", + "description": "URL of the quicklook light curve plot" + }, + "longitude": { + "type": "number", + "description": "Geocentric longitude [deg]" + }, + "messenger": { + "const": "EM", + "default": "EM", + "description": "Messenger of report; EM, GW or Neutrino" + }, + "mission": { + "const": "Fermi", + "default": "Fermi", + "description": "Name of Mission or Telescope reporting the event" + }, + "notice_type": { + "const": "FERMI_GBM_ALERT", + "description": "Notice title" + }, + "rate_duration": { + "type": "number", + "description": "Duration in seconds of the ime interval used in the signal to noise ratio calculation" + }, + "rate_energy_range": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 2, + "maxItems": 2, + "description": "Energy bounds in keV used in the signal to noise ratio calculation" + }, + "rate_snr": { + "type": "number", + "description": "Signal to noise ratio" + }, + "record_number": { + "type": "number", + "description": "Incremental number for notices related to the same trigger (ex: 1, 2, 3)" + }, + "spectrum": { + "const": "energy", + "default": "energy", + "description": "high-energy or optical or radio observations, if not parsed, then default band is energy" + }, + "trigger_algorithm_number": { + "type": "number", + "description": "The criterion number that caused the flight software to trigger. Not to be confused with flight software or any other version number." + }, + "trigger_time": { + "type": "string", + "description": "Time of the trigger [ISO 8601], ex YYYY-MM-DDTHH:MM:SS.ssssssZ" + }, + "trigger_type": { + "const": "rate", + "default": "rate", + "description": "Type of trigger algorithm used to identify the transient event." + }, + "units": { + "const": "keV", + "default": "keV", + "description": "Units of band range, if not parsed, then default energy is keV" + } + }, + "required": [ + "alert_datetime", + "data_archive_page", + "detectors_status", + "event_name", + "id", + "latitude", + "light_curve_url", + "longitude", + "notice_type", + "rate_duration", + "rate_energy_range", + "rate_snr", + "record_number", + "trigger_algorithm_number", + "trigger_time" + ], + "additionalProperties": false +} From 896bf948bd72d6f96b66d9d4f5f4ba1679ae8a17 Mon Sep 17 00:00:00 2001 From: Boyan Hristov Date: Fri, 1 Nov 2024 14:47:21 -0500 Subject: [PATCH 3/9] $schema property fix --- gcn/notices/fermi/gbm/strict/alert.schema.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gcn/notices/fermi/gbm/strict/alert.schema.json b/gcn/notices/fermi/gbm/strict/alert.schema.json index e6d9ec2d..46c0b19b 100644 --- a/gcn/notices/fermi/gbm/strict/alert.schema.json +++ b/gcn/notices/fermi/gbm/strict/alert.schema.json @@ -5,13 +5,7 @@ "description": "This schema is a stricter version of the more permissive main schema, https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json. The Kafka server uses the main schema for new notices. Each Alert notice (classic numeric type 110) must validate against the main schema and should also validate against this one. Examples in this directory come in two versions referencing the main and the strict schemas respectively. The intent of the strict schema is to help understanding the Alert notice, since it better describes what content to be expected.", "type": "object", "properties": { - "$schema": { - "enum": [ - "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", - "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json" - ], - "description": "Required by GCN" - }, + "$schema": { "type": "string", "format": "uri" }, "additional_info": { "type": "string", "default": null, From c3bb0a8f6912f75db2b0ac012eb2e67f770825b2 Mon Sep 17 00:00:00 2001 From: Boyan Hristov Date: Tue, 5 Nov 2024 20:16:18 -0600 Subject: [PATCH 4/9] Issue #199: hitl -> human_in_th_loop --- gcn/notices/fermi/gbm/alert.schema.json | 4 ++-- gcn/notices/fermi/gbm/strict/alert.schema.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcn/notices/fermi/gbm/alert.schema.json b/gcn/notices/fermi/gbm/alert.schema.json index efd6b338..15e9a203 100644 --- a/gcn/notices/fermi/gbm/alert.schema.json +++ b/gcn/notices/fermi/gbm/alert.schema.json @@ -35,9 +35,9 @@ "type": "string", "description": "Notice title" }, - "hitl": { + "human_in_the_loop": { "type": "boolean", - "description": "\"Human in the loop\". When false, the notice was generated entirely automatically. A value of true means that a human had an input, while the notice was being prepared. The latter includes notices, which weren't altered by the human input, i.e. simply confirmed or approved by a human for further processing." + "description": "Someimes abbreviated as \"HITL\". When false, the notice was generated entirely automatically. A value of true means that a human had an input, while the notice was being prepared. The latter includes notices, which weren't altered by the human input, but a human was given the option to make an input, or asked to confirm, or approve before further processing." }, "trigger_algorithm_number": { "type": "number", diff --git a/gcn/notices/fermi/gbm/strict/alert.schema.json b/gcn/notices/fermi/gbm/strict/alert.schema.json index 46c0b19b..c15e2bed 100644 --- a/gcn/notices/fermi/gbm/strict/alert.schema.json +++ b/gcn/notices/fermi/gbm/strict/alert.schema.json @@ -52,10 +52,10 @@ }, "description": "Name of the event, for example GRB170817A" }, - "hitl": { + "human_in_the_loop": { "type": "boolean", "default": false, - "description": "\"Human in the loop\". When false, the notice was generated entirely automatically. A value of true means that a human had an input, while the notice was being prepared. The latter includes notices, which weren't altered by the human input, i.e. simply confirmed or approved by a human for further processing." + "description": "Someimes abbreviated as \"HITL\". When false, the notice was generated entirely automatically. A value of true means that a human had an input, while the notice was being prepared. The latter includes notices, which weren't altered by the human input, but a human was given the option to make an input, or asked to confirm, or approve before further processing." }, "id": { "type": "array", From 5d7ca021b8e2414e5a57da821bd02c21cd1ec8ab Mon Sep 17 00:00:00 2001 From: Boyan Hristov Date: Tue, 5 Nov 2024 20:27:14 -0600 Subject: [PATCH 5/9] Issue #199: Elaborate on "detectors_status" description. --- gcn/notices/fermi/gbm/detectors.schema.json | 2 +- gcn/notices/fermi/gbm/strict/alert.schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcn/notices/fermi/gbm/detectors.schema.json b/gcn/notices/fermi/gbm/detectors.schema.json index 0a91d050..b92e0250 100644 --- a/gcn/notices/fermi/gbm/detectors.schema.json +++ b/gcn/notices/fermi/gbm/detectors.schema.json @@ -12,7 +12,7 @@ }, "minItems": 14, "maxItems": 14, - "description": "Triggered detectors" + "description": "The array shows which of the 14 GBM detectors triggered, and for the rest, whether they are on or off. Array elements 0-11 correspond to NaI detectors 0-11, among which 10 and 11 are sometimes labeled as \"a\" and \"b\" respectively. The status of the BGO0 and BGO1 detectors is at indices 12 and 13." } } } diff --git a/gcn/notices/fermi/gbm/strict/alert.schema.json b/gcn/notices/fermi/gbm/strict/alert.schema.json index c15e2bed..1a6a94eb 100644 --- a/gcn/notices/fermi/gbm/strict/alert.schema.json +++ b/gcn/notices/fermi/gbm/strict/alert.schema.json @@ -43,7 +43,7 @@ }, "minItems": 14, "maxItems": 14, - "description": "Triggered detectors" + "description": "The array shows which of the 14 GBM detectors triggered, and for the rest, whether they are on or off. Array elements 0-11 correspond to NaI detectors 0-11, among which 10 and 11 are sometimes labeled as \"a\" and \"b\" respectively. The status of the BGO0 and BGO1 detectors is at indices 12 and 13." }, "event_name": { "type": "array", From c5576abd8ceff8297068f53516cd3d18daf53c11 Mon Sep 17 00:00:00 2001 From: Boyan Hristov Date: Tue, 5 Nov 2024 20:29:37 -0600 Subject: [PATCH 6/9] Issue #199: Typo in the rate_duration description --- gcn/notices/fermi/gbm/strict/alert.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcn/notices/fermi/gbm/strict/alert.schema.json b/gcn/notices/fermi/gbm/strict/alert.schema.json index 1a6a94eb..9e200dd4 100644 --- a/gcn/notices/fermi/gbm/strict/alert.schema.json +++ b/gcn/notices/fermi/gbm/strict/alert.schema.json @@ -104,7 +104,7 @@ }, "rate_duration": { "type": "number", - "description": "Duration in seconds of the ime interval used in the signal to noise ratio calculation" + "description": "Duration in seconds of the time interval used in the signal to noise ratio calculation" }, "rate_energy_range": { "type": "array", From 6bf5331baf558d482e02a77daaa9cadedf902d07 Mon Sep 17 00:00:00 2001 From: Boyan Hristov Date: Tue, 5 Nov 2024 20:40:20 -0600 Subject: [PATCH 7/9] Issue #199: Specify explicitly "rate_energy_range", as the number with which the units go together." --- gcn/notices/fermi/gbm/strict/alert.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcn/notices/fermi/gbm/strict/alert.schema.json b/gcn/notices/fermi/gbm/strict/alert.schema.json index 9e200dd4..3ae35b39 100644 --- a/gcn/notices/fermi/gbm/strict/alert.schema.json +++ b/gcn/notices/fermi/gbm/strict/alert.schema.json @@ -144,7 +144,7 @@ "units": { "const": "keV", "default": "keV", - "description": "Units of band range, if not parsed, then default energy is keV" + "description": "Units of the \"rate_energy_range\", if not parsed, then default energy is in keV" } }, "required": [ From cb904dd01080f8c1af471547ff57fcf97acec0ac Mon Sep 17 00:00:00 2001 From: Boyan Hristov Date: Tue, 5 Nov 2024 21:02:14 -0600 Subject: [PATCH 8/9] Issue #199: "real-life" -> "streamed/real". --- gcn/notices/fermi/gbm/strict/alert.1.example.json | 2 +- gcn/notices/fermi/gbm/strict/alert.1strict.example.json | 2 +- gcn/notices/fermi/gbm/strict/alert.2.example.json | 2 +- gcn/notices/fermi/gbm/strict/alert.2strict.example.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcn/notices/fermi/gbm/strict/alert.1.example.json b/gcn/notices/fermi/gbm/strict/alert.1.example.json index 1bdeb432..dfede28b 100644 --- a/gcn/notices/fermi/gbm/strict/alert.1.example.json +++ b/gcn/notices/fermi/gbm/strict/alert.1.example.json @@ -1,6 +1,6 @@ { "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", - "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of a streamed real notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", "alert_datetime": "2024-08-24T02:14:54", "alert_tense": "current", "alert_type": "initial", diff --git a/gcn/notices/fermi/gbm/strict/alert.1strict.example.json b/gcn/notices/fermi/gbm/strict/alert.1strict.example.json index 55eb5aa0..3f1d4492 100644 --- a/gcn/notices/fermi/gbm/strict/alert.1strict.example.json +++ b/gcn/notices/fermi/gbm/strict/alert.1strict.example.json @@ -1,6 +1,6 @@ { "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", - "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of a streamed real notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", "alert_datetime": "2024-08-24T02:14:54", "alert_tense": "current", "alert_type": "initial", diff --git a/gcn/notices/fermi/gbm/strict/alert.2.example.json b/gcn/notices/fermi/gbm/strict/alert.2.example.json index 27b21143..857ae956 100644 --- a/gcn/notices/fermi/gbm/strict/alert.2.example.json +++ b/gcn/notices/fermi/gbm/strict/alert.2.example.json @@ -1,6 +1,6 @@ { "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", - "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of a streamed real notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", "alert_datetime": "2024-08-24T02:14:54", "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", "detectors_status": [ diff --git a/gcn/notices/fermi/gbm/strict/alert.2strict.example.json b/gcn/notices/fermi/gbm/strict/alert.2strict.example.json index 29614751..e8134114 100644 --- a/gcn/notices/fermi/gbm/strict/alert.2strict.example.json +++ b/gcn/notices/fermi/gbm/strict/alert.2strict.example.json @@ -1,6 +1,6 @@ { "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", - "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of a real-life notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of a streamed real notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", "alert_datetime": "2024-08-24T02:14:54", "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", "detectors_status": [ From 07f1cbcdce258d8d20eb32b9bae9503117ce4b30 Mon Sep 17 00:00:00 2001 From: Boyan Hristov Date: Tue, 5 Nov 2024 21:34:40 -0600 Subject: [PATCH 9/9] Issue #199: Renamed fields in examples to reflect schema --- gcn/notices/fermi/gbm/alert.example.json | 2 +- gcn/notices/fermi/gbm/strict/alert.1.example.json | 4 ++-- gcn/notices/fermi/gbm/strict/alert.1strict.example.json | 4 ++-- gcn/notices/fermi/gbm/strict/alert.2.example.json | 2 +- gcn/notices/fermi/gbm/strict/alert.2strict.example.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gcn/notices/fermi/gbm/alert.example.json b/gcn/notices/fermi/gbm/alert.example.json index bc9e95f4..a87f4885 100644 --- a/gcn/notices/fermi/gbm/alert.example.json +++ b/gcn/notices/fermi/gbm/alert.example.json @@ -22,7 +22,7 @@ "on" ], "event_name": ["GRB240824A"], - "hitl": false, + "human_in_the_loop": false, "id": ["745121685", "bn240812094"], "instrument": "GBM", "latitude": 23.83, diff --git a/gcn/notices/fermi/gbm/strict/alert.1.example.json b/gcn/notices/fermi/gbm/strict/alert.1.example.json index dfede28b..8e700954 100644 --- a/gcn/notices/fermi/gbm/strict/alert.1.example.json +++ b/gcn/notices/fermi/gbm/strict/alert.1.example.json @@ -1,6 +1,6 @@ { "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", - "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of a streamed real notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of streamed/real notices. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", "alert_datetime": "2024-08-24T02:14:54", "alert_tense": "current", "alert_type": "initial", @@ -22,7 +22,7 @@ "on" ], "event_name": ["GRB240824A"], - "hitl": false, + "human_in_the_loop": false, "id": ["745121685", "bn240812094"], "instrument": "GBM", "latitude": 23.83, diff --git a/gcn/notices/fermi/gbm/strict/alert.1strict.example.json b/gcn/notices/fermi/gbm/strict/alert.1strict.example.json index 3f1d4492..60422170 100644 --- a/gcn/notices/fermi/gbm/strict/alert.1strict.example.json +++ b/gcn/notices/fermi/gbm/strict/alert.1strict.example.json @@ -1,6 +1,6 @@ { "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", - "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of a streamed real notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. All fields, including the optional ones, are present. This 'about' note is not going to be part of streamed/real notices. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", "alert_datetime": "2024-08-24T02:14:54", "alert_tense": "current", "alert_type": "initial", @@ -22,7 +22,7 @@ "on" ], "event_name": ["GRB240824A"], - "hitl": false, + "human_in_the_loop": false, "id": ["745121685", "bn240812094"], "instrument": "GBM", "latitude": 23.83, diff --git a/gcn/notices/fermi/gbm/strict/alert.2.example.json b/gcn/notices/fermi/gbm/strict/alert.2.example.json index 857ae956..d10ccf97 100644 --- a/gcn/notices/fermi/gbm/strict/alert.2.example.json +++ b/gcn/notices/fermi/gbm/strict/alert.2.example.json @@ -1,6 +1,6 @@ { "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/alert.schema.json", - "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of a streamed real notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of streamed/real notices. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", "alert_datetime": "2024-08-24T02:14:54", "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", "detectors_status": [ diff --git a/gcn/notices/fermi/gbm/strict/alert.2strict.example.json b/gcn/notices/fermi/gbm/strict/alert.2strict.example.json index e8134114..b46abe39 100644 --- a/gcn/notices/fermi/gbm/strict/alert.2strict.example.json +++ b/gcn/notices/fermi/gbm/strict/alert.2strict.example.json @@ -1,6 +1,6 @@ { "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/fermi/gbm/strict/alert.schema.json", - "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of a streamed real notice. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", + "additional_info": "*** ABOUT THIS EXAMPLE: This is an example of a Fermi GBM Alert GCN notice. Only stricly necessary fields are present. This 'about' note is not going to be part of streamed/real notices. This field may be missing or empty in case of no comments. An example of a typical notice comment follows. ***\n\nLightcurve and other quicklook files will not be created until about 15 minutes after the trigger.", "alert_datetime": "2024-08-24T02:14:54", "data_archive_page": "http://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/triggers/2024/bn240812094", "detectors_status": [