-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
29 changed files
with
956 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.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 | ||
gcn/notices/einstein_probe/wxt/alert.schema.example.json |
27 changes: 27 additions & 0 deletions
27
vendor/nasa-gcn-4-0-0/gcn/notices/burstcube/alert.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" } | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
vendor/nasa-gcn-4-0-0/gcn/notices/burstcube/test.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" } | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
vendor/nasa-gcn-4-0-0/gcn/notices/core/AdditionalInfo.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
vendor/nasa-gcn-4-0-0/gcn/notices/core/DateTime.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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]" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
vendor/nasa-gcn-4-0-0/gcn/notices/core/DetectorStatus.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" | ||
} |
19 changes: 19 additions & 0 deletions
19
vendor/nasa-gcn-4-0-0/gcn/notices/core/Distance.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
vendor/nasa-gcn-4-0-0/gcn/notices/core/Duration.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
vendor/nasa-gcn-4-0-0/gcn/notices/core/FollowUp.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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. " | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
vendor/nasa-gcn-4-0-0/gcn/notices/core/HardnessRatio.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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 | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
vendor/nasa-gcn-4-0-0/gcn/notices/core/Localization.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"$id": "https://gcn.nasa.gov/schema/v4.0.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" | ||
} | ||
} | ||
} |
Oops, something went wrong.