From cacea923c503501e975b3a8b513fe3bf48027f6b Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Fri, 3 Jan 2025 14:42:29 -0400 Subject: [PATCH] Add NASA GCN v4.2.0 Signed-off-by: Juan Cruz Viotti --- DEPENDENCIES | 1 + configuration.json | 4 + vendor/nasa-gcn-4-2-0.mask | 30 ++++++ .../nasa-gcn-4-2-0/gcn/circulars.schema.json | 46 +++++++++ .../gcn/notices/burstcube/alert.schema.json | 27 ++++++ .../gcn/notices/burstcube/test.schema.json | 27 ++++++ .../notices/core/AdditionalInfo.schema.json | 13 +++ .../gcn/notices/core/Alert.schema.json | 28 ++++++ .../gcn/notices/core/DateTime.schema.json | 25 +++++ .../notices/core/DetectorStatus.schema.json | 7 ++ .../gcn/notices/core/Distance.schema.json | 19 ++++ .../gcn/notices/core/Duration.schema.json | 28 ++++++ .../gcn/notices/core/Event.schema.json | 23 +++++ .../gcn/notices/core/FollowUp.schema.json | 26 +++++ .../gcn/notices/core/GeoLocBase.schema.json | 26 +++++ .../notices/core/HardnessRatio.schema.json | 33 +++++++ .../gcn/notices/core/Localization.schema.json | 64 +++++++++++++ .../gcn/notices/core/Pointing.schema.json | 43 +++++++++ .../gcn/notices/core/Redshift.schema.json | 21 +++++ .../gcn/notices/core/Reporter.schema.json | 42 +++++++++ .../gcn/notices/core/Statistics.schema.json | 69 ++++++++++++++ .../core/spectral/GammaRay.schema.json | 92 ++++++++++++++++++ .../core/spectral/models/Band.schema.json | 42 +++++++++ .../models/CutOffPowerLaw.schema.json | 34 +++++++ .../core/spectral/models/PowerLaw.schema.json | 26 +++++ .../einstein_probe/wxt/alert.schema.json | 15 +++ .../gcn/notices/glowbug/Alert.schema.json | 52 ++++++++++ .../notices/heasarc/archive_alert.schema.json | 31 ++++++ .../icecube/lvk_nu_track_search.schema.json | 94 +++++++++++++++++++ .../test/gold_bronze_track_alerts.schema.json | 25 +++++ .../gcn/notices/svom/trigger.schema.json | 33 +++++++ .../gcn/notices/swift/bat/Guano.schema.json | 28 ++++++ 32 files changed, 1074 insertions(+) create mode 100644 vendor/nasa-gcn-4-2-0.mask create mode 100644 vendor/nasa-gcn-4-2-0/gcn/circulars.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/burstcube/alert.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/burstcube/test.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/AdditionalInfo.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Alert.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/DateTime.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/DetectorStatus.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Distance.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Duration.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Event.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/FollowUp.schema.json create mode 100755 vendor/nasa-gcn-4-2-0/gcn/notices/core/GeoLocBase.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/HardnessRatio.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Localization.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Pointing.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Redshift.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Reporter.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/Statistics.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/GammaRay.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/Band.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/CutOffPowerLaw.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/PowerLaw.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/einstein_probe/wxt/alert.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/glowbug/Alert.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/heasarc/archive_alert.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/icecube/lvk_nu_track_search.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/svom/trigger.schema.json create mode 100644 vendor/nasa-gcn-4-2-0/gcn/notices/swift/bat/Guano.schema.json diff --git a/DEPENDENCIES b/DEPENDENCIES index d4db418..128063f 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -1,5 +1,6 @@ vendorpull https://github.com/sourcemeta/vendorpull dea311b5bfb53b6926a4140267959ae334d3ecf4 nasa-gcn-4-1-0 https://github.com/nasa-gcn/gcn-schema v4.1.0 +nasa-gcn-4-2-0 https://github.com/nasa-gcn/gcn-schema v4.2.0 osv-schema-1-5-0 https://github.com/ossf/osv-schema v1.5.0 osv-schema-1-6-0 https://github.com/ossf/osv-schema v1.6.0 osv-schema-1-6-1 https://github.com/ossf/osv-schema v1.6.1 diff --git a/configuration.json b/configuration.json index 0d1462a..dcbb495 100644 --- a/configuration.json +++ b/configuration.json @@ -59,6 +59,10 @@ } }, "schemas": { + "nasa/gcn/v4.2.0": { + "base": "https://gcn.nasa.gov/schema/v4.2.0/gcn", + "path": "./vendor/nasa-gcn-4-2-0" + }, "nasa/gcn/v4.1.0": { "base": "https://gcn.nasa.gov/schema/v4.1.0/gcn", "path": "./vendor/nasa-gcn-4-1-0" diff --git a/vendor/nasa-gcn-4-2-0.mask b/vendor/nasa-gcn-4-2-0.mask new file mode 100644 index 0000000..962baa5 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0.mask @@ -0,0 +1,30 @@ +.husky/ +.npmrc +index.js +package-lock.json +package.json +README.md +update-tags.mjs +validate.mjs +gcn/notices/glowbug/Alert.example.json +gcn/notices/core/Reporter.example.json +gcn/notices/core/Statistics.example.json +gcn/notices/core/Localization.example.json +gcn/notices/core/Pointing.example.json +gcn/notices/burstcube/test.example.json +gcn/notices/burstcube/alert.example.json +gcn/notices/heasarc/archive_alert.example.json +gcn/notices/swift/bat/guano.loc_map.example.json +gcn/notices/swift/bat/Guano.example.json +gcn/notices/swift/bat/Guano.Retraction.example.json +gcn/notices/swift/bat/guano.loc_arc_min.example.json +gcn/notices/icecube/test/gold_bronze_track_alerts.example.json +gcn/notices/icecube/test/gold_bronze.update.example.json +gcn/notices/icecube/lvk_nu_track_search.example.json +gcn/notices/einstein_probe/wxt/alert.example.json +gcn/notices/svom/eclairs/trigger.catalog.example.json +gcn/notices/svom/eclairs/trigger.slewing.example.json +gcn/notices/svom/eclairs/trigger.not-slewing.example.json +gcn/notices/svom/eclairs/trigger.wakeup.example.json +gcn/notices/svom/grm/trigger.example.json +gcn/circulars.example.json diff --git a/vendor/nasa-gcn-4-2-0/gcn/circulars.schema.json b/vendor/nasa-gcn-4-2-0/gcn/circulars.schema.json new file mode 100644 index 0000000..a423613 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/circulars.schema.json @@ -0,0 +1,46 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/circulars.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "GCN Circular", + "description": "GCN Circulars are rapid astronomical bulletins submitted by and distributed to community members worldwide. They are used to share discoveries, observations, quantitative near-term predictions, requests for follow-up observations, or future observing plans related to high-energy, multi-messenger, and variable or transient astrophysical events. An archive of all GCN Circulars can be found at https://gcn.nasa.gov/circulars", + "properties": { + "eventId": { + "type": "string", + "description": "Event name, automatically inferred from the subject" + }, + "submitter": { + "type": "string", + "description": "Name, affiliation, and email address of the person who submitted the Circular, in the form `A. E. Einstein at IAS `" + }, + "submittedHow": { + "enum": ["web", "email", "email-legacy", "api"], + "description": "Specifies the method by which the user submitted the Circular" + }, + "subject": { + "type": "string", + "description": "Subject line of the Circular" + }, + "circularId": { + "type": "number", + "description": "Circular ID assigned to the Circular in the GCN Circulars archive. This value is unique to each published Circular and increments by 1" + }, + "format": { + "enum": ["text/plain", "text/markdown"], + "description": "Format of the body text as a MIME type. See https://gcn.nasa.gov/docs/circulars/markdown for documentation on using Markdown in Circulars" + }, + "body": { "type": "string", "description": "Body text" }, + "createdOn": { + "type": "number", + "description": "Date and time the Circular is accepted and published onto the GCN Circulars archive, formatted as a UNIX timestamp (milliseconds since the UNIX epoch)" + } + }, + "required": [ + "eventId", + "submitter", + "subject", + "circularId", + "body", + "createdOn" + ] +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/burstcube/alert.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/burstcube/alert.schema.json new file mode 100644 index 0000000..59025f7 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/burstcube/alert.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/burstcube/alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Alert", + "description": "BurstCube Trigger Alert", + "type": "object", + "allOf": [ + { "$ref": "../core/Alert.schema.json" }, + { "$ref": "../core/Reporter.schema.json" }, + { "$ref": "../core/DateTime.schema.json" }, + { "$ref": "../core/Event.schema.json" }, + { "$ref": "../core/Localization.schema.json" }, + { "$ref": "../core/Statistics.schema.json" }, + { "$ref": "../core/Duration.schema.json" } + ], + "properties": { + "detector_status": { + "type": "object", + "properties": { + "CsI0": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI1": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI2": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI3": { "$ref": "../core/DetectorStatus.schema.json" } + } + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/burstcube/test.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/burstcube/test.schema.json new file mode 100644 index 0000000..99f6da7 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/burstcube/test.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/burstcube/test.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Alert", + "description": "BurstCube Trigger Alert", + "type": "object", + "allOf": [ + { "$ref": "../core/Alert.schema.json" }, + { "$ref": "../core/Reporter.schema.json" }, + { "$ref": "../core/DateTime.schema.json" }, + { "$ref": "../core/Event.schema.json" }, + { "$ref": "../core/Localization.schema.json" }, + { "$ref": "../core/Statistics.schema.json" }, + { "$ref": "../core/Duration.schema.json" } + ], + "properties": { + "detector_status": { + "type": "object", + "properties": { + "CsI0": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI1": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI2": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI3": { "$ref": "../core/DetectorStatus.schema.json" } + } + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/AdditionalInfo.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/AdditionalInfo.schema.json new file mode 100644 index 0000000..1b63f7a --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/AdditionalInfo.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/AdditionalInfo.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "Comments", + "description": "Comments that are not summarized elsewhere in schema", + "properties": { + "additional_info": { + "type": "string", + "description": "Additional information about the event" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Alert.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Alert.schema.json new file mode 100644 index 0000000..77e4121 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Alert.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Alert", + "description": "Alert Information description properties of this notice", + "type": "object", + "properties": { + "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" + ], + "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"], + "description": "Indication of alert sequence if multiple of same type sent" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/DateTime.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/DateTime.schema.json new file mode 100644 index 0000000..302219d --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/DateTime.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/DateTime.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "DateTime", + "description": "Time descriptions of transient event and observation", + "type": "object", + "properties": { + "trigger_time": { + "type": "string", + "description": "Time of the trigger [ISO 8601], ex YYYY-MM-DDTHH:MM:SS.ssssssZ" + }, + "observation_start": { + "type": "string", + "description": "Start time of the observation [ISO 8601]" + }, + "observation_stop": { + "type": "string", + "description": "Stop time of the observation [ISO 8601]" + }, + "observation_livetime": { + "type": "number", + "description": "Livetime of the observation [s]" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/DetectorStatus.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/DetectorStatus.schema.json new file mode 100644 index 0000000..e4d42d6 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/DetectorStatus.schema.json @@ -0,0 +1,7 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/DetectorStatus.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "DetectorStatus", + "enum": ["on", "off", "triggered"], + "description": "Status of a specified detector at the time of the alert" +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Distance.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Distance.schema.json new file mode 100644 index 0000000..30e0424 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Distance.schema.json @@ -0,0 +1,19 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Distance.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "Distance", + "description": "Luminosity Distance", + "properties": { + "luminosity_distance": { + "type": "number", + "description": "Luminosity distance [Mpc]" + }, + "luminosity_distance_error": { + "type": "array", + "items": { "type": "number" }, + "maxItems": 2, + "description": "Luminosity distance uncertainty [Mpc, 1-sigma], with optional asymmetric uncertainty" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Duration.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Duration.schema.json new file mode 100644 index 0000000..ea3b3c8 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Duration.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Duration.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "Duration", + "properties": { + "t90": { + "type": "number", + "description": "Time duration of central 90% of integrated fluence [s]" + }, + "t90_error": { + "type": "array", + "items": { "type": "number" }, + "maxItems": 2, + "description": "1-sigma uncertainty of the T90 duration [s], with asymmetric statistical errors taken into account" + }, + "t50": { + "type": "number", + "description": "Time duration of central 50% of integrated fluence [s]" + }, + "t50_error": { + "type": "array", + "items": { "type": "number" }, + "maxItems": 2, + "description": "1-sigma uncertainty of the T50 duration [s], with asymmetric statistical errors taken into account" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Event.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Event.schema.json new file mode 100644 index 0000000..c2a1905 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Event.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Event.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "Event Information", + "description": "Name or names of the event", + "properties": { + "event_name": { + "type": "array", + "items": { "type": "string" }, + "description": "Name of the event (ex: GRB 170817A, GW170817, AT2017gfo, SSS 17a)" + }, + "id": { + "type": "array", + "items": { "oneOf": [{ "type": "string" }, { "type": "number" }] }, + "description": "Instrument-specific trigger ID (ex: bn230313485 (Fermi), 1159327 (Swift)) or alternate ID" + }, + "data_archive_page": { + "type": "string", + "description": "URL of archived data files" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/FollowUp.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/FollowUp.schema.json new file mode 100644 index 0000000..cc86532 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/FollowUp.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/FollowUp.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "FollowUp", + "description": "Schema specific to follow-up cases", + "type": "object", + "properties": { + "ref_type": { + "type": "string", + "description": "Type of the event detected, ex. GRB, GW, neutrino" + }, + "ref_instrument": { + "type": "string", + "description": "Name of the reference mission or, instrument, ex. Fermi-GBM" + }, + "ref_ID": { + "type": "string", + "description": "Trigger ID as reported by the reference instrument, ex. bnYYMMDDFF" + }, + "reference": { + "type": "object", + "additionalProperties": { "type": ["number", "string"] }, + "description": "Reference as distributed by the notices or circulars or ATel, ex. gcn circulars: 12345, gcn.notices.LVK.alert: SYYMMDDak-2-preliminary. " + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/GeoLocBase.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/GeoLocBase.schema.json new file mode 100755 index 0000000..7d5ce5c --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/GeoLocBase.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/GeoLocBase.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Spacecraft Geolocation and McIlwain L", + "description": "Enables GCN providers to include spacecraft geolocation and McIlwain L-Parameter.", + "type": "object", + "properties": { + "latitude": { + "type": "number", + "description": "Geocentric latitude [deg]" + }, + "longitude": { + "type": "number", + "description": "Geocentric longitude [deg]" + }, + "altitude": { + "type": "number", + "description": "Distance from the surface of the Earth [km]." + }, + "mcilwain_l": { "type": "number", "description": "McIlwain L-parameter" }, + "geoloc_time": { + "type": "string", + "description": "Time [UTC, ISO 8601] of the geolocation and McIlwain L-parameter, if different than the trigger time." + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/HardnessRatio.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/HardnessRatio.schema.json new file mode 100644 index 0000000..5121381 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/HardnessRatio.schema.json @@ -0,0 +1,33 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/HardnessRatio.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "HardnessRatio", + "description": "Hardness Ratio parameterization", + "properties": { + "hardness_ratio": { + "type": "number", + "description": "ratio of flux between high and low energy bands" + }, + "hardness_ratio_error": { + "type": "array", + "items": { "type": "number" }, + "maxItems": 2, + "description": "ratio of flux between high and low energy bands, with asymmetric statistical errors taken into account" + }, + "energy_range_soft": { + "type": "array", + "items": { "type": "number" }, + "description": "Energy range [keV] used in soft band of hardness ratio", + "minItems": 2, + "maxItems": 2 + }, + "energy_range_hard": { + "type": "array", + "items": { "type": "number" }, + "description": "Energy range [keV] used in hard band of hardness ratio", + "minItems": 2, + "maxItems": 2 + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Localization.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Localization.schema.json new file mode 100644 index 0000000..2f632f2 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Localization.schema.json @@ -0,0 +1,64 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Localization.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "Localization", + "description": "Localization of transient", + "properties": { + "ra": { + "type": "number", + "description": "ICRS right ascension [deg], utilizes the J2000 epoch and an equatorial coordinate system" + }, + "dec": { + "type": "number", + "description": "ICRS declination [deg], utilizes the J2000 epoch and an equatorial coordinate system" + }, + "ra_dec_error": { + "anyOf": [ + { + "type": "number", + "description": "Uncertainty region described as a circle with a radius [deg]." + }, + { + "type": "array", + "items": { "type": "number" }, + "minItems": 1, + "maxItems": 3, + "description": "An array of up to three values that describe the localization region as an ellipse: length of the semi-major axis, length of the semi-minor axis (default is the same as the semi-major axis), and astronomical position angle of the semi-major axis (measured from North through East, default is zero)." + } + ] + }, + "containment_probability": { + "type": "number", + "description": "Containment probability [dimensionless, 0-1]; if absent, default is 0.9", + "default": 0.9 + }, + "systematic_included": { + "type": "boolean", + "description": "Contains true when the systematic error is included and false when the systematic error is not included", + "default": false + }, + "instrument_phi": { + "type": "number", + "description": "Instrument phi [deg]" + }, + "instrument_theta": { + "type": "number", + "description": "Instrument theta [deg]" + }, + "instrument_semimajor_angle": { + "type": "number", + "description": "Position angle of semi-major axis in instrument coordinates [deg]" + }, + "healpix_url": { + "type": "string", + "description": "URL of HEALPix localization probability file" + }, + "healpix_file": { + "type": "string", + "contentEncoding": "base64", + "contentMediaType": "image/fits", + "description": "Base 64 encoded content of a FITS file" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Pointing.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Pointing.schema.json new file mode 100644 index 0000000..0de1af6 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Pointing.schema.json @@ -0,0 +1,43 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Pointing.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Instrument Pointing", + "description": "Instrument pointing and rotational rates.", + "type": "object", + "properties": { + "ra_pointing": { + "type": "number", + "description": "RA pointing of the instrument Z axis. ICRS declination [deg], utilizes the J2000 epoch and an equatorial coordinate system." + }, + "dec_pointing": { + "type": "number", + "description": "Dec pointing of the instrument Z axis. ICRS declination [deg], utilizes the J2000 epoch and an equatorial coordinate system." + }, + "roll": { + "type": "number", + "description": "Roll [deg] of the instrument about its Z axis" + }, + "position_angle": { + "type": "number", + "description": "Rotation angle [deg] between the spacecraft X-Z plane and the plane defined by the spacecraft X-axis and celestial North" + }, + "attitude_quarternion": { + "type": "array", + "items": { "type": "number" }, + "minItems": 4, + "maxItems": 4, + "description": "Representing attitude state of a spacecraft, using four element vector [q1, q2, q3, q4], composed of a scalar and 3 element unit vector." + }, + "rotation_rate": { + "type": "array", + "items": { "type": "number" }, + "minItems": 3, + "maxItems": 3, + "description": "Rotational rate [rad/s] about the X, Y, and Z axes respectively" + }, + "time": { + "type": "string", + "description": "Time [UTC, ISO 8601] of this data, if different than the trigger time." + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Redshift.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Redshift.schema.json new file mode 100644 index 0000000..cc62227 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Redshift.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Redshift.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "Redshift", + "description": "Redshift measure of transient", + "properties": { + "redshift": { + "type": "number", + "description": "Displacement of spectral lines toward longer wavelengths [sigma]" + }, + "redshift_error": { + "type": "array", + "items": { "type": "number" }, + "maxItems": 2, + "description": "Error in redshift, array for asymmetric statistical errors" + }, + "redshift_measure": { "enum": ["spectroscopic", "photometric"] }, + "redshift_type": { "enum": ["emission", "absorption", "host"] } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Reporter.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Reporter.schema.json new file mode 100644 index 0000000..ee54b93 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Reporter.schema.json @@ -0,0 +1,42 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Reporter.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Reporter", + "description": "Alert Reporter instrument", + "type": "object", + "properties": { + "mission": { + "type": "string", + "description": "Name of Mission or Telescope reporting the event" + }, + "instrument": { + "type": "string", + "description": "Name of the Instrument reporting the event" + }, + "record_number": { + "type": "number", + "description": "Incremental number for messages from the instrument during a given trigger (ex: 1, 2, 3)" + }, + "messenger": { + "enum": ["EM", "GW", "Neutrino"], + "description": "Messenger of report; EM, GW or Neutrino" + }, + "spectrum": { + "enum": ["energy", "wavelength", "frequency"], + "description": "high-energy or optical or radio observations, if not parsed, then default band is energy", + "type": "string", + "default": "energy" + }, + "units": { + "enum": ["keV", "nm", "Hz"], + "description": "Units of band range, if not parsed, then default energy is keV", + "type": "string", + "default": "keV" + }, + "filter": { + "type": "array", + "items": { "type": "string" }, + "description": "Optional filter name, as used in optical observations" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/Statistics.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Statistics.schema.json new file mode 100644 index 0000000..682dc88 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/Statistics.schema.json @@ -0,0 +1,69 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/Statistics.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "Statistics", + "description": "statistical measures of source significance or classification", + "properties": { + "far": { + "type": "number", + "description": "False alarm rate: the rate of occurrence of non-astrophysical events that are of the same intensity or significance as the current event [Hz]" + }, + "trigger_type": { + "enum": ["rate", "image"], + "description": "Type of trigger algorithm used to identify the transient event." + }, + "net_count_rate": { + "type": "number", + "description": "Net count rate of the transient above the background [counts/s] over rate_duration and rate_energy_range. Do specify rate_duration and rate_energy_range with net_count_rate property." + }, + "backgound_count_rate": { + "type": "number", + "description": "Count rate of the background during the transient [counts/s] over same rate_duration and rate_energy_range used for net_count_rate." + }, + "rate_snr": { + "type": "number", + "description": "Rate signal to noise ratio [dimensionless]" + }, + "rate_duration": { + "type": "number", + "description": "Interval over rate signal to noise ratio calculation [s]" + }, + "rate_energy_range": { + "type": "array", + "items": { "type": "number" }, + "minItems": 2, + "maxItems": 2, + "description": "Low and High energy bounds used in rate signal to noise ratio calculation, if not parsed in Reporter.schema.json, default unit is keV" + }, + "image_snr": { + "type": "number", + "description": "Image signal to noise ratio [dimensionless]" + }, + "image_duration": { + "type": "number", + "description": "Interval over image signal to noise ratio calculation [s]" + }, + "image_energy_range": { + "type": "array", + "items": { "type": "number" }, + "minItems": 2, + "maxItems": 2, + "description": "Low and High energy bounds used in image signal to noise ratio calculation, if not parsed in Reporter.schema.json, default unit is keV" + }, + "p_astro": { + "type": "number", + "description": "Probability [dimensionless, 0-1] that source is of astrophysical origin" + }, + "classification": { + "type": "object", + "additionalProperties": { "type": "number" }, + "description": "Dictionary mapping mutually exclusive source classes to probabilities between 0 and 1, the sum of all values must be 1. e.g. ({'BNS', 0.9}, {'NSBH', 0.05}, {'BBH', 0.05})" + }, + "properties": { + "type": "object", + "additionalProperties": { "type": "number" }, + "description": "Dictionary of binary classifiers, each entry is between 0 and 1. e.g. ({'NS', 0.95}, {'REMNANT', 0.3})" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/GammaRay.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/GammaRay.schema.json new file mode 100644 index 0000000..4e5c16a --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/GammaRay.schema.json @@ -0,0 +1,92 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/spectral/GammaRay.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "spectral.GammaRay", + "description": "Spectral properties from gamma-ray data", + "properties": { + "best_fit_model": { + "enum": ["POWERLAW", "CUTOFFPOWERLAW", "BAND"], + "description": "Name of model corresponding to best statistical fit of spectrum" + }, + "power_law": { + "$ref": "./models/PowerLaw.schema.json", + "description": "Fit parameters for PowerLaw model" + }, + "cutoff_power_law": { + "$ref": "./models/CutOffPowerLaw.schema.json", + "description": "Fit parameters for Cutoff PowerLaw model" + }, + "band": { + "$ref": "./models/Band.schema.json", + "description": "Fit parameters for Band model" + }, + "spectral_energy_range": { + "type": "array", + "items": { "type": "number" }, + "minItems": 2, + "maxItems": 2, + "description": "Low and High energy bounds used in spectral fit, if not parsed in Reporter.schema.json, default unit is keV" + }, + "hardness_ratio": { + "type": "number", + "description": "ratio of flux between high and low energy bands" + }, + "hardness_ratio_energy_range": { + "type": "array", + "items": { "type": "number" }, + "minItems": 2, + "maxItems": 2, + "description": "Low and High energy bounds used for hardness ratio, if not parsed in Reporter.schema.json, default unit is keV" + }, + "photon_flux": { + "type": "number", + "description": "Photon Flux [ph/cm2/s]" + }, + "photon_flux_error": { + "type": "number", + "description": "1-sigma uncertainty in Photon Flux [ph/cm2/s]" + }, + "energy_flux": { + "type": "number", + "description": "Energy Flux [erg/cm2/s]" + }, + "energy_flux_error": { + "type": "number", + "description": "1-sigma uncertainty in Energy Flux [erg/cm2/s]" + }, + "flux_energy_range": { + "type": "array", + "items": { "type": "number" }, + "minItems": 2, + "maxItems": 2, + "description": "Low and High energy bounds used in flux calculation, if not parsed in Reporter.schema.json, default unit is keV" + }, + "flux_time_range": { + "type": "array", + "items": { "type": "number" }, + "minItems": 2, + "maxItems": 2, + "description": "Start and stop time stamps in array as used in flux calculation, measured since trigger [s]" + }, + "fluence": { "type": "number", "description": "Fluence [erg/cm2]" }, + "fluence_error": { + "type": "number", + "description": "Fluence Error [erg/cm2]" + }, + "fluence_energy_range": { + "type": "array", + "items": { "type": "number" }, + "minItems": 2, + "maxItems": 2, + "description": "Low and High energy bounds used in fluence calculation, if not parsed in Reporter.schema.json, default unit is keV" + }, + "fluence_time_range": { + "type": "array", + "items": { "type": "number" }, + "minItems": 2, + "maxItems": 2, + "description": "Start and stop time stamps in array as used in fluence calculation, measured since trigger [s]" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/Band.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/Band.schema.json new file mode 100644 index 0000000..0a4550e --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/Band.schema.json @@ -0,0 +1,42 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/spectral/models/Band.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "Band", + "description": "Spectral model Band smoothly broken powerlaw (Band et al. 1993)", + "properties": { + "amplitude": { + "type": "number", + "description": "amplitude of spectral model fit at pivot_energy [ph/cm2/s/keV]" + }, + "amplitude_error": { + "type": "number", + "description": "1-sigma uncertainty of amplitude [ph/cm2/s/keV]" + }, + "pivot_energy": { "type": "number", "description": "pivot energy [keV]" }, + "alpha": { + "type": "number", + "description": "power-law index of spectral model" + }, + "alpha_error": { + "type": "number", + "description": "1-sigma uncertainty of alpha" + }, + "epeak": { + "type": "number", + "description": "e-folding energy of exponential rolloff [keV]" + }, + "epeak_error": { + "type": "number", + "description": "1-sigma uncertainty of Epeak [keV]" + }, + "beta": { + "type": "number", + "description": "high-energy power-law index of Band parameterization" + }, + "beta_error": { + "type": "number", + "description": "1-sigma uncertainty of beta" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/CutOffPowerLaw.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/CutOffPowerLaw.schema.json new file mode 100644 index 0000000..b3e6c1a --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/CutOffPowerLaw.schema.json @@ -0,0 +1,34 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/spectral/models/CutOffPowerLaw.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "CutOffPowerLaw", + "description": "Spectral model known as comptonized or powerlaw with exponential cutoff amplitude*energy^{-alpha}*exp(-energy/beta)", + "properties": { + "amplitude": { + "type": "number", + "description": "amplitude of spectral model fit at pivot_energy [ph/cm2/s/keV]" + }, + "amplitude_error": { + "type": "number", + "description": "1-sigma uncertainty of amplitude [ph/cm2/s/keV]" + }, + "pivot_energy": { "type": "number", "description": "pivot energy [keV]" }, + "alpha": { + "type": "number", + "description": "power-law index of spectral model" + }, + "alpha_error": { + "type": "number", + "description": "1-sigma uncertainty of alpha" + }, + "epeak": { + "type": "number", + "description": "e-folding energy of exponential rolloff [keV]" + }, + "epeak_error": { + "type": "number", + "description": "1-sigma uncertainty of Epeak [keV]" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/PowerLaw.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/PowerLaw.schema.json new file mode 100644 index 0000000..cf58b70 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/core/spectral/models/PowerLaw.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/core/spectral/models/PowerLaw.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "PowerLaw", + "description": "Spectral model powerlaw with N(E)=amplitude*energy^{-alpha}", + "properties": { + "amplitude": { + "type": "number", + "description": "amplitude of spectral model fit at pivot_energy [ph/cm2/s/keV]" + }, + "amplitude_error": { + "type": "number", + "description": "1-sigma uncertainty of amplitude [ph/cm2/s/keV]" + }, + "pivot_energy": { "type": "number", "description": "pivot energy [keV]" }, + "alpha": { + "type": "number", + "description": "power-law index of spectral model" + }, + "alpha_error": { + "type": "number", + "description": "1-sigma uncertainty of alpha" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/einstein_probe/wxt/alert.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/einstein_probe/wxt/alert.schema.json new file mode 100644 index 0000000..22cf664 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/einstein_probe/wxt/alert.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/einstein_probe/wxt/alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "EP/WXT Alert", + "description": "Candidate X-ray transient reported from the EP/WXT on board trigger", + "type": "object", + "allOf": [ + { "$ref": "../../core/DateTime.schema.json" }, + { "$ref": "../../core/Event.schema.json" }, + { "$ref": "../../core/Localization.schema.json" }, + { "$ref": "../../core/Reporter.schema.json" }, + { "$ref": "../../core/Statistics.schema.json" }, + { "$ref": "../../core/AdditionalInfo.schema.json" } + ] +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/glowbug/Alert.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/glowbug/Alert.schema.json new file mode 100644 index 0000000..aa3deb1 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/glowbug/Alert.schema.json @@ -0,0 +1,52 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/glowbug/Alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Glowbug Alert Notice", + "description": "Information about a Glowbug trigger. All fields optional; omitted if not available or not applicable.", + "type": "object", + "allOf": [ + { + "$ref": "../core/Reporter.schema.json", + "description": "mission=GLOWBUG" + }, + { + "$ref": "../core/AdditionalInfo.schema.json", + "description": "Complementary info in text form." + }, + { "$ref": "../core/Alert.schema.json" }, + { + "$ref": "../core/Event.schema.json", + "description": "event_id=[ 'BUGyymmdd.fff', seqnum ], where fff is in millidays with trailing zeros. id_source=GLOWBUG for both." + }, + { + "$ref": "../core/DateTime.schema.json", + "description": "Trigger_time with seconds fraction." + }, + { + "$ref": "../core/Statistics.schema.json", + "description": "rate_duration is the integration time (a.k.a. trigger time scale), over which the rate_snr was measured." + } + ], + "properties": { + "detector_status": { + "type": "object", + "properties": { + "CsI0": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI1": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI2": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI3": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI4": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI5": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI6": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI7": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI8": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI9": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI10": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI11": { "$ref": "../core/DetectorStatus.schema.json" }, + "CLLB0": { "$ref": "../core/DetectorStatus.schema.json" }, + "CLLB1": { "$ref": "../core/DetectorStatus.schema.json" }, + "SSA": { "$ref": "../core/DetectorStatus.schema.json" } + } + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/heasarc/archive_alert.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/heasarc/archive_alert.schema.json new file mode 100644 index 0000000..f3f8b95 --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/heasarc/archive_alert.schema.json @@ -0,0 +1,31 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/heasarc/archive_alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "HEASARC - Data in Archive", + "description": "Data Archived at HEASARC", + "allOf": [ + { "$ref": "../core/Alert.schema.json" }, + { "$ref": "../core/DateTime.schema.json" }, + { "$ref": "../core/Event.schema.json" }, + { "$ref": "../core/Reporter.schema.json" } + ], + "properties": { + "obs_id": { + "type": "string", + "description": "The observation identifier of the sequence. Also called the observation id, sequence number, and seqnum, it is a series of numerical digits, each signifying different aspects for the observation, such as AO year, proposal number, and target number. Each mission has their own specification for how the obsid is defined. Every observation by an observatory is identified by the obsid. The data set identified by the obsid contains the level one and level 2 data created by that mission's processing pipeline. [Fields to align with IVOA ObsCore]" + }, + "target_name": { + "type": "string", + "description": "Name of the target object for the observation [IVOA ObsCore]" + }, + "mission_page": { + "type": "string", + "description": "Web page of the creator mission at HEASARC" + }, + "facility_name": { + "type": "string", + "description": "Name of the creator of the data [IVOA ObsCore]" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/icecube/lvk_nu_track_search.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/icecube/lvk_nu_track_search.schema.json new file mode 100644 index 0000000..f0e677c --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/icecube/lvk_nu_track_search.schema.json @@ -0,0 +1,94 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/icecube/lvk_nu_track_search.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "IceCube LVK Alert Nu Track Search", + "description": "IceCube LVK Coincident Neutrino Track Search", + "allOf": [ + { + "$ref": "../core/Alert.schema.json", + "description": "Alert information (alert_datetime and alert_type) from LVK alert notices" + }, + { + "$ref": "../core/FollowUp.schema.json", + "description": "ID (ref_ID) of LVK alert notice" + }, + { "$ref": "../core/AdditionalInfo.schema.json" }, + { + "$ref": "../core/Reporter.schema.json", + "description": "Record/Sequence number of LVK alerts" + }, + { "$ref": "../core/DateTime.schema.json" } + ], + "properties": { + "pval_generic": { + "description": "P-value from generic transient search; consistency with background expectations [0-1]", + "type": ["number", "null"] + }, + "pval_bayesian": { + "description": "P-value from LLAMA Bayesian search; consistency with background expectations [0-1]", + "type": ["number", "null"] + }, + "n_events_coincident": { + "description": "Number of IceCube events in spatial and temporal coincidence with the GW map", + "type": "number" + }, + "coincident_events": { + "type": "array", + "description": "An array of summary of information for each coincident neutrino track event", + "items": { "$ref": "#/$defs/coincevent" } + }, + "most_probable_direction": { + "description": "Most likely source direction based on all coincident events and GW localizations", + "$ref": "../core/Localization.schema.json" + }, + "neutrino_flux_sensitivity_range": { + "description": "Time integrated flux sensitivity ranges assuming an E^-2 spectrum (E^2 dN/dE) within the GW map localization", + "$ref": "#/$defs/fluxlimits" + } + }, + "$defs": { + "fluxlimits": { + "type": "object", + "properties": { + "flux_sensitivity": { + "description": "Time integrated flux sensitivity range (min, max) [GeV cm^-2] assuming an E^-2 spectrum (E^2 dN/dE) found within the 90% region of GW map localization", + "type": "array", + "items": { "type": "number" } + }, + "sensitive_energy_range": { + "description": "Energy sensitivity range (lower, upper) [GeV] assuming an E^-2 spectrum (E^2 dN/dE)", + "type": "array", + "items": { "type": "number" } + } + } + }, + "coincevent": { + "type": "object", + "allOf": [ + { + "$ref": "../core/Localization.schema.json", + "description": "Per-event direction and uncertainty information" + }, + { + "$ref": "../core/Event.schema.json", + "description": "Unique per-event identification information" + } + ], + "properties": { + "event_dt": { + "description": "Time difference between LVK alert time and neutrino candidate [sec]", + "type": "number" + }, + "event_pval_generic": { + "description": "Per-event P-value from generic transient search; consistency with background expectations [0-1]", + "type": ["number", "null"] + }, + "event_pval_bayesian": { + "description": "Per-event P-value from LLAMA Bayesian search; consistency with background expectations [0-1]", + "type": ["number", "null"] + } + } + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json new file mode 100644 index 0000000..29f262b --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "title": "IceCubeGoldAndBronzeTracks", + "description": "IceCube Astrotrack Gold And Bronze track alert events", + "allOf": [ + { "$ref": "../../core/AdditionalInfo.schema.json" }, + { "$ref": "../../core/Event.schema.json" }, + { "$ref": "../../core/Alert.schema.json" }, + { "$ref": "../../core/Localization.schema.json" }, + { "$ref": "../../core/DateTime.schema.json" }, + { "$ref": "../../core/Statistics.schema.json" } + ], + "properties": { + "nu_energy": { + "description": "Most probable neutrino energy [TeV] that would have produced an event", + "type": "number" + }, + "signalness": { + "description": "Probability [dn] that this is an astrophysical signal relative to backgrounds", + "type": "number" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/svom/trigger.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/svom/trigger.schema.json new file mode 100644 index 0000000..6b072db --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/svom/trigger.schema.json @@ -0,0 +1,33 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/svom/trigger.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "unevaluatedProperties": false, + "title": "SVOM trigger alerts", + "description": "ECLAIRs or GRM trigger parameters computed onboard", + "allOf": [ + { "$ref": "../core/AdditionalInfo.schema.json" }, + { "$ref": "../core/Alert.schema.json" }, + { "$ref": "../core/DateTime.schema.json" }, + { "$ref": "../core/Event.schema.json" }, + { "$ref": "../core/Localization.schema.json" }, + { "$ref": "../core/Reporter.schema.json" }, + { "$ref": "../core/Statistics.schema.json" }, + { "$ref": "../core/Pointing.schema.json" }, + { "$ref": "../core/GeoLocBase.schema.json" } + ], + "properties": { + "$schema": true, + "slew_status": { + "enum": ["accepted", "rejected", "not_requested"], + "description": "Spacecraft slew status" + }, + "triggered_GRDs": { + "type": "array", + "items": { "type": "boolean" }, + "minItems": 3, + "maxItems": 3, + "description": "In case of a GRM trigger, trigger status the 3 GRDs. Each item correspond to one of the 3 GRDs: true means the GRD triggers, false not" + } + } +} diff --git a/vendor/nasa-gcn-4-2-0/gcn/notices/swift/bat/Guano.schema.json b/vendor/nasa-gcn-4-2-0/gcn/notices/swift/bat/Guano.schema.json new file mode 100644 index 0000000..206af8b --- /dev/null +++ b/vendor/nasa-gcn-4-2-0/gcn/notices/swift/bat/Guano.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "https://gcn.nasa.gov/schema/v4.2.0/gcn/notices/swift/bat/Guano.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Swift/BAT-GUANO Alert", + "description": "Candidate gamma-ray transient reported from the BAT-GUANO targeted search", + "type": "object", + "allOf": [ + { "$ref": "../../core/Alert.schema.json" }, + { "$ref": "../../core/Event.schema.json" }, + { "$ref": "../../core/DateTime.schema.json" }, + { "$ref": "../../core/Localization.schema.json" }, + { "$ref": "../../core/Statistics.schema.json" }, + { "$ref": "../../core/Reporter.schema.json" }, + { "$ref": "../../core/AdditionalInfo.schema.json" } + ], + "properties": { + "$schema": true, + "follow_up_event": { + "type": "string", + "description": "Name or trigger time of the external trigger that launched the search." + }, + "follow_up_type": { + "type": "string", + "description": "Type of external trigger that launched the search, eg GW, neutrino, etc." + } + }, + "unevaluatedProperties": false +}