Skip to content

Commit

Permalink
fixing CamelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
jracusin committed Jan 9, 2024
1 parent 5c92263 commit e884f94
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gcn/notices/burstcube/Alert.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"ra_uncertainty": [10],
"dec_uncertainty": [10],
"systematic_included": false,
"healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/b240601000/current/240601000_locmap.fits",
"healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits",
"healpix_file": "stuff",
"rate_snr": 7.2,
"rate_duration": 1.024,
Expand Down
30 changes: 30 additions & 0 deletions gcn/notices/burstcube/Test.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/test.schema.json",
"alert_datetime": "2024-06-01T00:05:00.00Z",
"alert_tense": "current",
"alert_type": "initial",
"mission": "BurstCube",
"record_number": 1,
"trigger_time": "2024-06-01T00:00:00.0Z",
"id": ["240601000"],
"ra": 232.0,
"dec": -53.1,
"uncertainty_shape": "circle",
"ra_uncertainty": [10],
"dec_uncertainty": [10],
"systematic_included": false,
"healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits",
"healpix_file": "stuff",
"rate_snr": 7.2,
"rate_duration": 1.024,
"rate_energy_range": [50, 300],
"classification": { "GRB": 0.95, "SF": 0.03, "Local Particles": 0.02 },
"t90": 2.3,
"t90_error": [0.1],
"detector_status": {
"CsI0": "triggered",
"CsI1": "triggered",
"CsI2": "on",
"CsI3": "on"
}
}
41 changes: 41 additions & 0 deletions gcn/notices/burstcube/Test.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$id": "https://gcn.nasa.gov/schema/main/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" }
}
}
}
}

0 comments on commit e884f94

Please sign in to comment.