@nasa-gcn/schema 4.1.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -3
- package/gcn/circulars.example.json +1 -1
- package/gcn/circulars.schema.json +2 -9
- package/gcn/notices/burstcube/alert.example.json +1 -1
- package/gcn/notices/burstcube/alert.schema.json +1 -1
- package/gcn/notices/burstcube/test.example.json +1 -1
- package/gcn/notices/burstcube/test.schema.json +1 -1
- package/gcn/notices/core/AdditionalInfo.schema.json +1 -1
- package/gcn/notices/core/Alert.schema.json +3 -3
- package/gcn/notices/core/DateTime.schema.json +7 -1
- package/gcn/notices/core/DetectorStatus.schema.json +1 -1
- package/gcn/notices/core/DispersionMeasure.schema.json +19 -0
- package/gcn/notices/core/Distance.schema.json +1 -1
- package/gcn/notices/core/Duration.schema.json +1 -1
- package/gcn/notices/core/Event.schema.json +1 -1
- package/gcn/notices/core/FollowUp.schema.json +1 -1
- package/gcn/notices/core/GeoLocBase.schema.json +1 -1
- package/gcn/notices/core/HardnessRatio.schema.json +1 -1
- package/gcn/notices/core/Localization.example.json +1 -1
- package/gcn/notices/core/Localization.schema.json +1 -1
- package/gcn/notices/core/Pointing.example.json +1 -1
- package/gcn/notices/core/Pointing.schema.json +1 -1
- package/gcn/notices/core/Redshift.schema.json +1 -1
- package/gcn/notices/core/Reporter.example.json +1 -1
- package/gcn/notices/core/Reporter.schema.json +13 -8
- package/gcn/notices/core/Statistics.example.json +1 -1
- package/gcn/notices/core/Statistics.schema.json +1 -1
- package/gcn/notices/core/spectral/GammaRay.schema.json +1 -1
- package/gcn/notices/core/spectral/models/Band.schema.json +1 -1
- package/gcn/notices/core/spectral/models/CutOffPowerLaw.schema.json +1 -1
- package/gcn/notices/core/spectral/models/PowerLaw.schema.json +1 -1
- package/gcn/notices/einstein_probe/wxt/alert.example.json +1 -1
- package/gcn/notices/einstein_probe/wxt/alert.schema.json +1 -1
- package/gcn/notices/glowbug/Alert.example.json +1 -1
- package/gcn/notices/glowbug/Alert.schema.json +1 -1
- package/gcn/notices/heasarc/archive_alert.example.json +1 -1
- package/gcn/notices/heasarc/archive_alert.schema.json +1 -1
- package/gcn/notices/icecube/lvk_nu_track_search.example.json +3 -1
- package/gcn/notices/icecube/lvk_nu_track_search.schema.json +11 -2
- package/gcn/notices/icecube/single_neutrino_alerts.example.json +25 -0
- package/gcn/notices/icecube/single_neutrino_alerts.schema.json +19 -0
- package/gcn/notices/neutrino/Alert.schema.json +37 -0
- package/gcn/notices/svom/eclairs/trigger.catalog.example.json +1 -1
- package/gcn/notices/svom/eclairs/trigger.not-slewing.example.json +1 -1
- package/gcn/notices/svom/eclairs/trigger.slewing.example.json +1 -1
- package/gcn/notices/svom/eclairs/trigger.wakeup.example.json +1 -1
- package/gcn/notices/svom/grm/trigger.example.json +1 -1
- package/gcn/notices/svom/trigger.schema.json +1 -1
- package/gcn/notices/swift/bat/Guano.Retraction.example.json +1 -1
- package/gcn/notices/swift/bat/Guano.example.json +1 -1
- package/gcn/notices/swift/bat/Guano.schema.json +1 -1
- package/gcn/notices/swift/bat/guano.loc_arc_min.example.json +1 -1
- package/gcn/notices/swift/bat/guano.loc_map.example.json +1 -1
- package/package.json +2 -2
- package/gcn/notices/icecube/test/gold_bronze.update.example.json +0 -18
- package/gcn/notices/icecube/test/gold_bronze_track_alerts.example.json +0 -16
- package/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json +0 -25
package/README.md
CHANGED
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
# GCN Schema
|
|
2
2
|
|
|
3
|
-
This repository contains the schemas for crafting new GCN notices. It also includes mission-specific schemas and illustrative examples, which are distributed by [GCN Kafka](https://gcn.nasa.gov). The formulation of mission schemas is one step in the process for setting up [New Notice Producers](https://gcn.nasa.gov/docs/producers).
|
|
3
|
+
This repository contains the schemas for crafting new GCN notices. It also includes mission-specific schemas and illustrative examples, which are distributed by [GCN Kafka](https://gcn.nasa.gov). The formulation of mission schemas is one step in the process for setting up [New Notice Producers](https://gcn.nasa.gov/docs/notices/producers).
|
|
4
4
|
|
|
5
5
|
The alert format for new Notices over GCN Kafka is JavaScript Object Notation (JSON), a widely adopted Internet data format. We have designed a set of core schema which serve as the building blocks for new GCN Notices. Instrument-specific schema can also be created, but we request that you utilize the core schema as much as possible.
|
|
6
6
|
|
|
7
7
|
Please add your schema to this repository under <code>gcn/notices/<i>mission</i>/</code> and submit a pull request for the GCN Team to review. The GCN team is happy to iterate with the producers on their schema contents and format. Your pipeline will generate JSON files following these schema and send alerts to GCN as described in [New Notice Producers](https://gcn.nasa.gov/docs/notices/producers).
|
|
8
8
|
|
|
9
|
+
## How to Contribute
|
|
10
|
+
|
|
11
|
+
To get started, fork the [nasa-gcn/gcn-schema](https://github.com/nasa-gcn/gcn-schema) repository on GitHub and clone it on your computer. If you are new to GitHub, refer to our [GitHub primer](https://gcn.nasa.gov/docs/contributing/github).
|
|
12
|
+
|
|
13
|
+
After you have forked and cloned the repository, make sure that Node.js and NPM are installed on your computer. There are several options to install Node.js and NPM. Pick _one_ of the following:
|
|
14
|
+
|
|
15
|
+
- Download and run [the Node.js installer for your operating system](https://nodejs.org/en/download/).
|
|
16
|
+
- Install and use the [Node Version Manager, nvm](https://github.com/nvm-sh/nvm).
|
|
17
|
+
- Install using a [package manager](https://nodejs.org/en/download/package-manager/).
|
|
18
|
+
|
|
19
|
+
Finally, run the following command inside the repository working directory to install the pre-commit hooks for code formatting and syntax checking:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
npm install
|
|
23
|
+
```
|
|
24
|
+
|
|
9
25
|
## How To Release
|
|
10
26
|
|
|
11
27
|
1. Clone the parent repo (nasa-gcn/gcn-schema).
|
|
@@ -17,9 +33,13 @@ Please add your schema to this repository under <code>gcn/notices/<i>mission</i>
|
|
|
17
33
|
|
|
18
34
|
npm install
|
|
19
35
|
|
|
20
|
-
3. Tag a new version by running the following command: `npm version [ major | minor | patch ]`. Choose `major`, `minor`, or `patch` depending on the kind of update according to [Semantic Versioning](https://semver.org) rules.
|
|
36
|
+
3. Tag a new version by running the following command: `npm version [ major | minor | patch ]`. Choose `major`, `minor`, or `patch` depending on the kind of update according to [Semantic Versioning](https://semver.org) rules. Updates are categorized as major, minor, or patch, depending on the type of change:
|
|
21
37
|
|
|
22
|
-
|
|
38
|
+
- Major revisions are for changes that break compatibility; they are not necessarily limited to core schema changes.
|
|
39
|
+
- Minor revisions are for introduction of new features: new schema, or new fields in existing schema.
|
|
40
|
+
- Patch revisions are for bug fixes that do not break compatibility.
|
|
41
|
+
|
|
42
|
+
This command will handle the intermediate steps of updating and committing the path changes in each file as defined in the `version` and `postversion` npm scripts.
|
|
23
43
|
|
|
24
44
|
4. Review the changes with `git log -p` to make sure that each file is appropriately updated.
|
|
25
45
|
|
|
@@ -34,3 +54,5 @@ This will make the release available for use. For subsequent releases:
|
|
|
34
54
|
git pull
|
|
35
55
|
|
|
36
56
|
2. Follow the above steps from Step 3 on.
|
|
57
|
+
|
|
58
|
+
**Note**: Version tagging is managed by the GCN maintainers. Producers, when ready to publish alerts, please contact the GCN maintainers to tag a new version of the schema.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/circulars.schema.json",
|
|
3
3
|
"eventId": "GRB 230410A",
|
|
4
4
|
"submitter": "Fermi GBM Team at MSFC/Fermi-GBM <do_not_reply@GIOC.nsstc.nasa.gov>",
|
|
5
5
|
"submittedHow": "email-legacy",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/circulars.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "GCN Circular",
|
|
@@ -35,12 +35,5 @@
|
|
|
35
35
|
"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)"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
"required": [
|
|
39
|
-
"eventId",
|
|
40
|
-
"submitter",
|
|
41
|
-
"subject",
|
|
42
|
-
"circularId",
|
|
43
|
-
"body",
|
|
44
|
-
"createdOn"
|
|
45
|
-
]
|
|
38
|
+
"required": ["submitter", "subject", "circularId", "body", "createdOn"]
|
|
46
39
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/burstcube/alert.schema.json",
|
|
3
3
|
"alert_datetime": "2024-06-01T00:05:00.00Z",
|
|
4
4
|
"alert_tense": "current",
|
|
5
5
|
"alert_type": "initial",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/burstcube/alert.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "Alert",
|
|
5
5
|
"description": "BurstCube Trigger Alert",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/burstcube/test.schema.json",
|
|
3
3
|
"alert_datetime": "2024-06-01T00:05:00.00Z",
|
|
4
4
|
"alert_tense": "current",
|
|
5
5
|
"alert_type": "initial",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/burstcube/test.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "Alert",
|
|
5
5
|
"description": "BurstCube Trigger Alert",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/AdditionalInfo.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Comments",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Alert.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "Alert",
|
|
5
5
|
"description": "Alert Information description properties of this notice",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"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)."
|
|
22
22
|
},
|
|
23
23
|
"alert_type": {
|
|
24
|
-
"enum": ["initial", "update", "retraction"],
|
|
25
|
-
"description": "Indication of alert sequence if multiple of same type sent"
|
|
24
|
+
"enum": ["initial", "subsequent", "update", "retraction"],
|
|
25
|
+
"description": "Indication of alert sequence if multiple of the same type are sent. Alert sequence: initial refers to the detection, followed by subsequent alerts for recurrent detections of the same source. Updates and retractions come from further analysis."
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/DateTime.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "DateTime",
|
|
5
5
|
"description": "Time descriptions of transient event and observation",
|
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
"type": "string",
|
|
10
10
|
"description": "Time of the trigger [ISO 8601], ex YYYY-MM-DDTHH:MM:SS.ssssssZ"
|
|
11
11
|
},
|
|
12
|
+
"trigger_time_error": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": { "type": "number" },
|
|
15
|
+
"maxItems": 2,
|
|
16
|
+
"description": "Trigger time uncertainty [s, 1-sigma], with optional asymmetric uncertainty"
|
|
17
|
+
},
|
|
12
18
|
"observation_start": {
|
|
13
19
|
"type": "string",
|
|
14
20
|
"description": "Start time of the observation [ISO 8601]"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/DetectorStatus.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "DetectorStatus",
|
|
5
5
|
"enum": ["on", "off", "triggered"],
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/DispersionMeasure.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"title": "Schema for Radio Transients Observables",
|
|
6
|
+
"description": "Dispersion Measure schema used for radio transients",
|
|
7
|
+
"properties": {
|
|
8
|
+
"dm": {
|
|
9
|
+
"type": "number",
|
|
10
|
+
"description": "Dispersion measure (DM) of the burst [pc/cm^3], representing the integrated column density of free electrons along the line of sight."
|
|
11
|
+
},
|
|
12
|
+
"dm_error": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": { "type": "number" },
|
|
15
|
+
"maxItems": 2,
|
|
16
|
+
"description": "Uncertainity associated with the dispersion measure [pc/cm^3, 1-sigma], with optional asymmetric uncertainty."
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Distance.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Distance",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Duration.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Duration",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Event.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Event Information",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/FollowUp.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "FollowUp",
|
|
5
5
|
"description": "Schema specific to follow-up cases",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/GeoLocBase.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "Spacecraft Geolocation and McIlwain L",
|
|
5
5
|
"description": "Enables GCN providers to include spacecraft geolocation and McIlwain L-Parameter.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/HardnessRatio.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "HardnessRatio",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Localization.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Localization",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Pointing.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "Instrument Pointing",
|
|
5
5
|
"description": "Instrument pointing and rotational rates.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Redshift.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Redshift",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Reporter.schema.json",
|
|
3
3
|
"mission": "Hubble Space Telescope",
|
|
4
4
|
"instrument": "Advanced Camera for Surveys",
|
|
5
5
|
"record_number": 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Reporter.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "Reporter",
|
|
5
5
|
"description": "Alert Reporter instrument",
|
|
@@ -21,16 +21,21 @@
|
|
|
21
21
|
"enum": ["EM", "GW", "Neutrino"],
|
|
22
22
|
"description": "Messenger of report; EM, GW or Neutrino"
|
|
23
23
|
},
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
24
|
+
"spectral_band": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": { "type": "number" },
|
|
27
|
+
"description": "Observed spectral band, must be consistent with the 'spectrum' type and expressed in the specified 'units' field",
|
|
28
|
+
"minItems": 2,
|
|
29
|
+
"maxItems": 2
|
|
30
|
+
},
|
|
31
|
+
"spectral_center": {
|
|
32
|
+
"type": "number",
|
|
33
|
+
"description": "Central value of the observed spectral band, must be consistent with the 'spectrum' type and expressed in the specified 'units' field"
|
|
29
34
|
},
|
|
30
35
|
"units": {
|
|
31
|
-
"enum": ["keV", "nm", "Hz"],
|
|
32
|
-
"description": "Units of band range, if not parsed, then default energy is keV",
|
|
33
36
|
"type": "string",
|
|
37
|
+
"enum": ["keV", "nm", "Hz"],
|
|
38
|
+
"description": "Units for the spectral data; default unit is keV",
|
|
34
39
|
"default": "keV"
|
|
35
40
|
},
|
|
36
41
|
"filter": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/Statistics.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Statistics",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/spectral/GammaRay.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "spectral.GammaRay",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/spectral/models/Band.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Band",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/spectral/models/CutOffPowerLaw.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "CutOffPowerLaw",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/core/spectral/models/PowerLaw.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "PowerLaw",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/einstein_probe/wxt/alert.schema.json",
|
|
3
3
|
"instrument": "WXT",
|
|
4
4
|
"trigger_time": "2024-03-01T21:46:05.13Z",
|
|
5
5
|
"id": ["01708973486"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/einstein_probe/wxt/alert.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "EP/WXT Alert",
|
|
5
5
|
"description": "Candidate X-ray transient reported from the EP/WXT on board trigger",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/glowbug/Alert.schema.json",
|
|
3
3
|
"mission": "GLOWBUG",
|
|
4
4
|
"alert_datetime": "2023-04-23T15:25:55Z",
|
|
5
5
|
"alert_tense": "current",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/glowbug/Alert.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "Glowbug Alert Notice",
|
|
5
5
|
"description": "Information about a Glowbug trigger. All fields optional; omitted if not available or not applicable.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/heasarc/archive_alert.schema.json",
|
|
3
3
|
"mission": "HEASARC",
|
|
4
4
|
"alert_datetime": "2022-05-04T00:00:00Z",
|
|
5
5
|
"alert_tense": "archival",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/heasarc/archive_alert.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "HEASARC - Data in Archive",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/icecube/lvk_nu_track_search.schema.json",
|
|
3
3
|
"type": "IceCube LVK Alert Nu Track Search",
|
|
4
4
|
"reference": { "gcn.notices.LVK.alert": "S230914ak-2-Preliminary" },
|
|
5
5
|
"ref_ID": "S230914ak",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"containment_probability": 0.9,
|
|
22
22
|
"systematic_included": false
|
|
23
23
|
},
|
|
24
|
+
"id": ["138590_39138551"],
|
|
24
25
|
"event_pval_generic": 0.0191,
|
|
25
26
|
"event_pval_bayesian": null
|
|
26
27
|
},
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
"containment_probability": 0.9,
|
|
34
35
|
"systematic_included": false
|
|
35
36
|
},
|
|
37
|
+
"id": ["138590_39164579"],
|
|
36
38
|
"event_pval_generic": 0.0928,
|
|
37
39
|
"event_pval_bayesian": 0.0656
|
|
38
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/icecube/lvk_nu_track_search.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "IceCube LVK Alert Nu Track Search",
|
|
@@ -65,7 +65,16 @@
|
|
|
65
65
|
},
|
|
66
66
|
"coincevent": {
|
|
67
67
|
"type": "object",
|
|
68
|
-
"allOf": [
|
|
68
|
+
"allOf": [
|
|
69
|
+
{
|
|
70
|
+
"$ref": "../core/Localization.schema.json",
|
|
71
|
+
"description": "Per-event direction and uncertainty information"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"$ref": "../core/Event.schema.json",
|
|
75
|
+
"description": "Unique per-event identification information"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
69
78
|
"properties": {
|
|
70
79
|
"event_dt": {
|
|
71
80
|
"description": "Time difference between LVK alert time and neutrino candidate [sec]",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/icecube/single_neutrino_alerts.schema.json",
|
|
3
|
+
"mission": "IceCube",
|
|
4
|
+
"instrument": "IC86",
|
|
5
|
+
"messenger": "Neutrino",
|
|
6
|
+
"pipeline": "Bronze Track Alert",
|
|
7
|
+
"record_number": 1,
|
|
8
|
+
"event_name": ["IceCube-230416A"],
|
|
9
|
+
"id": ["137840_57034692_0"],
|
|
10
|
+
"alert_datetime": "2023-04-16T05:42:00.0Z",
|
|
11
|
+
"alert_type": "initial",
|
|
12
|
+
"alert_tense": "current",
|
|
13
|
+
"alert_topology": "Track",
|
|
14
|
+
"number_of_events": 1,
|
|
15
|
+
"ra": 345.82,
|
|
16
|
+
"dec": 9.01,
|
|
17
|
+
"ra_dec_error": 0.5,
|
|
18
|
+
"containment_probability": 0.9,
|
|
19
|
+
"systematic_included": false,
|
|
20
|
+
"healpix_url": "https://roc.icecube.wisc.edu/public/alerts/example/run00140078.evt000030891383.example.skymap_nside_1024_probability.fits.gz",
|
|
21
|
+
"trigger_time": "2023-04-16T05:22:26.150574Z",
|
|
22
|
+
"nu_energy": 127.29,
|
|
23
|
+
"p_astro": 0.34064,
|
|
24
|
+
"far": 8.029e-8
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/icecube/single_neutrino_alerts.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"title": "IceCube Single Neutrino Alert",
|
|
6
|
+
"description": "IceCube Astrophysical alert events - Generate alerts from neutrino events detected by IceCube that are likely astrophysical in origin.",
|
|
7
|
+
"allOf": [{ "$ref": "../neutrino/Alert.schema.json" }],
|
|
8
|
+
"properties": {
|
|
9
|
+
"nu_energy": {
|
|
10
|
+
"description": "Most probable neutrino energy [TeV] that would have produced an event",
|
|
11
|
+
"type": "number"
|
|
12
|
+
},
|
|
13
|
+
"pipeline": {
|
|
14
|
+
"enum": ["Gold Track Alert", "Bronze Track Alert", "Cascade Alert"],
|
|
15
|
+
"description": "Name of IceCube Astrophysical Alert Selection pipeline",
|
|
16
|
+
"type": "string"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/neutrino/Alert.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"title": "Neutrino Alert",
|
|
6
|
+
"description": "Neutrino alert common base schema for high-energy neutrino telescope alerts. To be inherited from for alerts on experiment specific alert topics",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"$ref": "../core/Event.schema.json",
|
|
10
|
+
"description": "Unique per-alert identification information from source telescope"
|
|
11
|
+
},
|
|
12
|
+
{ "$ref": "../core/Alert.schema.json", "description": "Alert information" },
|
|
13
|
+
{
|
|
14
|
+
"$ref": "../core/Reporter.schema.json",
|
|
15
|
+
"description": "Reporting telescope ID information"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"$ref": "../core/Statistics.schema.json",
|
|
19
|
+
"description": "Alert significance measures"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"$ref": "../core/Localization.schema.json",
|
|
23
|
+
"description": "Alert sky localization information"
|
|
24
|
+
},
|
|
25
|
+
{ "$ref": "../core/DateTime.schema.json" }
|
|
26
|
+
],
|
|
27
|
+
"properties": {
|
|
28
|
+
"number_of_events": {
|
|
29
|
+
"description": "Number of detected events that contributed to alert",
|
|
30
|
+
"type": "number"
|
|
31
|
+
},
|
|
32
|
+
"alert_topology": {
|
|
33
|
+
"description": "Event topology of the alert",
|
|
34
|
+
"enum": ["Track", "Shower", "Multiplet"]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/svom/trigger.schema.json",
|
|
3
3
|
"instrument": "ECLAIRs",
|
|
4
4
|
"alert_datetime": "2024-02-22T08:51:55",
|
|
5
5
|
"alert_tense": "test",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/svom/trigger.schema.json",
|
|
3
3
|
"instrument": "ECLAIRs",
|
|
4
4
|
"alert_datetime": "2024-02-22T08:51:55",
|
|
5
5
|
"alert_tense": "test",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/svom/trigger.schema.json",
|
|
3
3
|
"instrument": "ECLAIRs",
|
|
4
4
|
"alert_datetime": "2024-02-22T08:51:55",
|
|
5
5
|
"alert_tense": "test",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$schema": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/svom/trigger.schema.json",
|
|
3
3
|
"instrument": "ECLAIRs",
|
|
4
4
|
"alert_datetime": "2024-02-22T08:51:55",
|
|
5
5
|
"alert_tense": "test",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/svom/trigger.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"unevaluatedProperties": false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.
|
|
2
|
+
"$id": "https://gcn.nasa.gov/schema/v4.3.0/gcn/notices/swift/bat/Guano.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"title": "Swift/BAT-GUANO Alert",
|
|
5
5
|
"description": "Candidate gamma-ray transient reported from the BAT-GUANO targeted search",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nasa-gcn/schema",
|
|
3
3
|
"description": "Unified JSON Schema for multi-messenger and high-energy astronomy alerts",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.3.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "github:nasa-gcn/gcn-schema"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"glob": "^10.1.0",
|
|
26
26
|
"husky": "^9.1.1",
|
|
27
27
|
"lint-staged": "^15.2.7",
|
|
28
|
-
"prettier": "3.
|
|
28
|
+
"prettier": "3.5.2"
|
|
29
29
|
},
|
|
30
30
|
"prettier": {
|
|
31
31
|
"semi": false,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.1.0/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json",
|
|
3
|
-
"additional_info": "IceCube Bronze Neutrino Track Alert",
|
|
4
|
-
"event_name": ["IceCube-230416A"],
|
|
5
|
-
"id": ["137840", "57034692"],
|
|
6
|
-
"alert_datetime": "2023-04-16T05:42:00.0Z",
|
|
7
|
-
"alert_type": "update",
|
|
8
|
-
"ra": 345.82,
|
|
9
|
-
"dec": 9.01,
|
|
10
|
-
"ra_dec_error": 0.5,
|
|
11
|
-
"containment_probability": 0.9,
|
|
12
|
-
"systematic_included": false,
|
|
13
|
-
"healpix_url": "https://roc.icecube.wisc.edu/public/",
|
|
14
|
-
"trigger_time": "2023-04-16T05:22:26.150574Z",
|
|
15
|
-
"nu_energy": 127.29,
|
|
16
|
-
"signalness": 0.34064,
|
|
17
|
-
"far": 8.029e-8
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://gcn.nasa.gov/schema/v4.1.0/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json",
|
|
3
|
-
"additional_info": "IceCube Bronze Neutrino Track Alert",
|
|
4
|
-
"id": ["137840", "57034692"],
|
|
5
|
-
"alert_datetime": "2023-04-16T05:22:29.55Z",
|
|
6
|
-
"alert_type": "initial",
|
|
7
|
-
"ra": 345.82,
|
|
8
|
-
"dec": 9.01,
|
|
9
|
-
"ra_dec_error": 0.5,
|
|
10
|
-
"containment_probability": 0.9,
|
|
11
|
-
"systematic_included": false,
|
|
12
|
-
"trigger_time": "2023-04-16T05:22:26.150574Z",
|
|
13
|
-
"nu_energy": 127.29,
|
|
14
|
-
"signalness": 0.34064,
|
|
15
|
-
"far": 8.029e-8
|
|
16
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "https://gcn.nasa.gov/schema/v4.1.0/gcn/notices/icecube/test/gold_bronze_track_alerts.schema.json",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"title": "IceCubeGoldAndBronzeTracks",
|
|
6
|
-
"description": "IceCube Astrotrack Gold And Bronze track alert events",
|
|
7
|
-
"allOf": [
|
|
8
|
-
{ "$ref": "../../core/AdditionalInfo.schema.json" },
|
|
9
|
-
{ "$ref": "../../core/Event.schema.json" },
|
|
10
|
-
{ "$ref": "../../core/Alert.schema.json" },
|
|
11
|
-
{ "$ref": "../../core/Localization.schema.json" },
|
|
12
|
-
{ "$ref": "../../core/DateTime.schema.json" },
|
|
13
|
-
{ "$ref": "../../core/Statistics.schema.json" }
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"nu_energy": {
|
|
17
|
-
"description": "Most probable neutrino energy [TeV] that would have produced an event",
|
|
18
|
-
"type": "number"
|
|
19
|
-
},
|
|
20
|
-
"signalness": {
|
|
21
|
-
"description": "Probability [dn] that this is an astrophysical signal relative to backgrounds",
|
|
22
|
-
"type": "number"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|