Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions adsingestschema/Document.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/seasidesparrow/ingest_data_model/refs/tags/v1.0.13/adsingestschema/Document.json",
"title": "Document",
"description": "Data schema for importing metadata into ADS pipeline",
"type": "object",
Expand Down Expand Up @@ -55,10 +56,18 @@
}
},
"title": {
"$ref": "./Title.json"
"type": "array",
"description": "Array of Title.json objects for multilingual support",
"items": {
"$ref": "./Title.json"
}
},
"subtitle": {
"$ref": "./Title.json"
"type": "array",
"description": "Array of Title.json objects for multilingual support",
"items": {
"$ref": "./Title.json"
}
},
"abstract": {
"type": "object",
Expand Down
25 changes: 20 additions & 5 deletions adsingestschema/RecordData.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"description": "Timestamp for when the metadata was harvested (e.g. file created timestamp)",
"type": "string"
},
"parsedTime": {
"description": "Timestamp for when parsing commenced.",
"dataType": {
"description": "I don't know",
"type": "string"
},
"loadType": {
Expand Down Expand Up @@ -41,18 +41,33 @@
"description": "If loadtype is fromFile, path to file; if fromURL, it's a URL",
"type": "string"
},
"masterRecord": {
"description": "Canonical record identifier with which this object is associated",
"type": "string"
},
"parsedTime": {
"description": "Timestamp for when parsing commenced.",
"type": "string"
},
"recordOrigin": {
"description": "Provider of record (e.g. Publisher, STI, arXiv)",
"type": "string"
},
"UUID": {
"description": "Internal identifier UUID for this object",
"type": "string"
}
},
"required": [
"createdTime",
"parsedTime",
"loadType",
"dataType",
"loadFormat",
"loadLocation",
"recordOrigin"
"loadType",
"masterRecord",
"parsedTime",
"recordOrigin",
"UUID"
],
"additionalProperties": false
}
19 changes: 10 additions & 9 deletions test_data/gcnc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
{
"recordData": {
"createdTime": "2021-08-30Z12:00:00",
"parsedTime": "2021-10-02Z18:50:00",
"dataType": "",
"loadType": "fromFile",
"loadFormat": "Text",
"loadLocation": "./real_data/14500.gcn3",
"recordOrigin": "Publisher"
"masterRecord": "",
"parsedTime": "2021-10-02Z18:50:00",
"recordOrigin": "Publisher",
"UUID": "SciX:0123-abcd-6789"
},
"pubDate": {
"electrDate": "2013-04-29"
},
"title": {
"textEnglish": "GRB 100728A: GROND host detection and X-shooter redshift"
},
"title": [
{
"textEnglish": "GRB 100728A: GROND host detection and X-shooter redshift"
}
],
"authors": [
{
"name": {
Expand Down Expand Up @@ -61,10 +66,6 @@
"abstract": {
"textEnglish": "TITLE: GCN CIRCULAR\nNUMBER: 14500\nSUBJECT: GRB 100728A: GROND host detection and X-shooter redshift\nDATE: 13/04/29 11:32:33 GMT\nFROM: Thomas Kruehler at Dark Cosmology Center <tom@dark-cosmology.dk>\n\nT. Kruehler (DARK), J. Greiner (MPE) and D. A. Kann (TLS) report:\n\nWe performed deep observations of the field of GRB 100728A\nsimultaneously in g'r'i'z'JHK with GROND (Greiner et al. 2008,\nPASP 120, 405). GRB 100728A triggered Swift (Cannizzo et al.,\nGCN 11004), GBM (von Kienlin, GCN 11006), Konus-Wind (Golenetskii\net al., GCN 11021) and Suzaku WAM (Tsai et al., GCN 11037).\n\nOur late observations were performed on 2010-11-10, 105 days\nafter the trigger, and consisted of dithered images with a total of\n4427 s exposure in g'r'i'z' and 3600 s in JHK under clear sky\nconditions and a seeing of 0.8\".\n\nInside the enhanced X-ray error-circle\n(http://www.swift.ac.uk/xrt_positions), we detect an extended\nobject with an r'-band AB magnitude of r' = 25.0 +/- 0.2.\n\nIts barycentric coordinates are:\n\nRA (J2000) = 05:55:01.98\nDec. (J2000) = -15:15:19.7\n\nwith uncertainties of 0.3\" in each coordinate.\nRegistering the early afterglow images (Olivares et al., GCN 11020)\nagainst the late host frame, we derive an offset between galaxy\ncenter and afterglow of approximately 0.4\".\n\nA spectrum of this galaxy was taken on 2012-11-15 with the ESO VLT\nUT2 equipped with the X-shooter spectrograph, covering the\nwavelength range 3000-25000 AA. The seeing was 1.2\" and the\ntotal exposure of our spectrum was 2400 s. In the VIS and NIR arm,\nwe detect emission lines, which we interpret as being due to\n[O II](3729) and Halpha at a common redshift of z = 1.567.\n\nThe bright X-ray emission (Evans et al., GCN 11014), coupled with the\nfaint and red optical/NIR afterglow (Olivares et al., GCN 11020) is\ncharacteristic of dust-extinguished events. Fitting the available\nafterglow data with synchrotron models, the visual extinction along\nthe GRB sightline is constrained to 1.5 mag < A_V < 3 mag at z = 1.567.\n\n"
},
"fulltext": {
"language": "en",
"body": "TITLE: GCN CIRCULAR\nNUMBER: 14500\nSUBJECT: GRB 100728A: GROND host detection and X-shooter redshift\nDATE: 13/04/29 11:32:33 GMT\nFROM: Thomas Kruehler at Dark Cosmology Center <tom@dark-cosmology.dk>\n\nT. Kruehler (DARK), J. Greiner (MPE) and D. A. Kann (TLS) report:\n\nWe performed deep observations of the field of GRB 100728A\nsimultaneously in g'r'i'z'JHK with GROND (Greiner et al. 2008,\nPASP 120, 405). GRB 100728A triggered Swift (Cannizzo et al.,\nGCN 11004), GBM (von Kienlin, GCN 11006), Konus-Wind (Golenetskii\net al., GCN 11021) and Suzaku WAM (Tsai et al., GCN 11037).\n\nOur late observations were performed on 2010-11-10, 105 days\nafter the trigger, and consisted of dithered images with a total of\n4427 s exposure in g'r'i'z' and 3600 s in JHK under clear sky\nconditions and a seeing of 0.8\".\n\nInside the enhanced X-ray error-circle\n(http://www.swift.ac.uk/xrt_positions), we detect an extended\nobject with an r'-band AB magnitude of r' = 25.0 +/- 0.2.\n\nIts barycentric coordinates are:\n\nRA (J2000) = 05:55:01.98\nDec. (J2000) = -15:15:19.7\n\nwith uncertainties of 0.3\" in each coordinate.\nRegistering the early afterglow images (Olivares et al., GCN 11020)\nagainst the late host frame, we derive an offset between galaxy\ncenter and afterglow of approximately 0.4\".\n\nA spectrum of this galaxy was taken on 2012-11-15 with the ESO VLT\nUT2 equipped with the X-shooter spectrograph, covering the\nwavelength range 3000-25000 AA. The seeing was 1.2\" and the\ntotal exposure of our spectrum was 2400 s. In the VIS and NIR arm,\nwe detect emission lines, which we interpret as being due to\n[O II](3729) and Halpha at a common redshift of z = 1.567.\n\nThe bright X-ray emission (Evans et al., GCN 11014), coupled with the\nfaint and red optical/NIR afterglow (Olivares et al., GCN 11020) is\ncharacteristic of dust-extinguished events. Fitting the available\nafterglow data with synchrotron models, the visual extinction along\nthe GRB sightline is constrained to 1.5 mag < A_V < 3 mag at z = 1.567.\n\n"
},
"astronomicalObjects": [
"GRB 100728A"
],
Expand Down
19 changes: 10 additions & 9 deletions test_data/gcnc_fails.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
{
"recordData": {
"createdTime": "2021-08-30Z12:00:00",
"parsedTime": "2021-10-02Z18:50:00",
"dataType": "",
"loadType": "fromFile",
"loadFormat": "Text",
"loadLocation": "./real_data/14500.gcn3",
"recordOrigin": "Publisher"
"masterRecord": "",
"parsedTime": "2021-10-02Z18:50:00",
"recordOrigin": "Publisher",
"UUID": "SciX:0123-abcd-6789"
},
"pubDate": {
"electrDate": "2013-04-29"
},
"title": {
"textEnglish": "GRB 100728A: GROND host detection and X-shooter redshift"
},
"title": [
{
"textEnglish": "GRB 100728A: GROND host detection and X-shooter redshift"
}
],
"authors": [
{
"name": {
Expand Down Expand Up @@ -61,10 +66,6 @@
"abstract": {
"textEnglish": "TITLE: GCN CIRCULAR\nNUMBER: 14500\nSUBJECT: GRB 100728A: GROND host detection and X-shooter redshift\nDATE: 13/04/29 11:32:33 GMT\nFROM: Thomas Kruehler at Dark Cosmology Center <tom@dark-cosmology.dk>\n\nT. Kruehler (DARK), J. Greiner (MPE) and D. A. Kann (TLS) report:\n\nWe performed deep observations of the field of GRB 100728A\nsimultaneously in g'r'i'z'JHK with GROND (Greiner et al. 2008,\nPASP 120, 405). GRB 100728A triggered Swift (Cannizzo et al.,\nGCN 11004), GBM (von Kienlin, GCN 11006), Konus-Wind (Golenetskii\net al., GCN 11021) and Suzaku WAM (Tsai et al., GCN 11037).\n\nOur late observations were performed on 2010-11-10, 105 days\nafter the trigger, and consisted of dithered images with a total of\n4427 s exposure in g'r'i'z' and 3600 s in JHK under clear sky\nconditions and a seeing of 0.8\".\n\nInside the enhanced X-ray error-circle\n(http://www.swift.ac.uk/xrt_positions), we detect an extended\nobject with an r'-band AB magnitude of r' = 25.0 +/- 0.2.\n\nIts barycentric coordinates are:\n\nRA (J2000) = 05:55:01.98\nDec. (J2000) = -15:15:19.7\n\nwith uncertainties of 0.3\" in each coordinate.\nRegistering the early afterglow images (Olivares et al., GCN 11020)\nagainst the late host frame, we derive an offset between galaxy\ncenter and afterglow of approximately 0.4\".\n\nA spectrum of this galaxy was taken on 2012-11-15 with the ESO VLT\nUT2 equipped with the X-shooter spectrograph, covering the\nwavelength range 3000-25000 AA. The seeing was 1.2\" and the\ntotal exposure of our spectrum was 2400 s. In the VIS and NIR arm,\nwe detect emission lines, which we interpret as being due to\n[O II](3729) and Halpha at a common redshift of z = 1.567.\n\nThe bright X-ray emission (Evans et al., GCN 11014), coupled with the\nfaint and red optical/NIR afterglow (Olivares et al., GCN 11020) is\ncharacteristic of dust-extinguished events. Fitting the available\nafterglow data with synchrotron models, the visual extinction along\nthe GRB sightline is constrained to 1.5 mag < A_V < 3 mag at z = 1.567.\n\n"
},
"fulltext": {
"language": "en",
"body": "TITLE: GCN CIRCULAR\nNUMBER: 14500\nSUBJECT: GRB 100728A: GROND host detection and X-shooter redshift\nDATE: 13/04/29 11:32:33 GMT\nFROM: Thomas Kruehler at Dark Cosmology Center <tom@dark-cosmology.dk>\n\nT. Kruehler (DARK), J. Greiner (MPE) and D. A. Kann (TLS) report:\n\nWe performed deep observations of the field of GRB 100728A\nsimultaneously in g'r'i'z'JHK with GROND (Greiner et al. 2008,\nPASP 120, 405). GRB 100728A triggered Swift (Cannizzo et al.,\nGCN 11004), GBM (von Kienlin, GCN 11006), Konus-Wind (Golenetskii\net al., GCN 11021) and Suzaku WAM (Tsai et al., GCN 11037).\n\nOur late observations were performed on 2010-11-10, 105 days\nafter the trigger, and consisted of dithered images with a total of\n4427 s exposure in g'r'i'z' and 3600 s in JHK under clear sky\nconditions and a seeing of 0.8\".\n\nInside the enhanced X-ray error-circle\n(http://www.swift.ac.uk/xrt_positions), we detect an extended\nobject with an r'-band AB magnitude of r' = 25.0 +/- 0.2.\n\nIts barycentric coordinates are:\n\nRA (J2000) = 05:55:01.98\nDec. (J2000) = -15:15:19.7\n\nwith uncertainties of 0.3\" in each coordinate.\nRegistering the early afterglow images (Olivares et al., GCN 11020)\nagainst the late host frame, we derive an offset between galaxy\ncenter and afterglow of approximately 0.4\".\n\nA spectrum of this galaxy was taken on 2012-11-15 with the ESO VLT\nUT2 equipped with the X-shooter spectrograph, covering the\nwavelength range 3000-25000 AA. The seeing was 1.2\" and the\ntotal exposure of our spectrum was 2400 s. In the VIS and NIR arm,\nwe detect emission lines, which we interpret as being due to\n[O II](3729) and Halpha at a common redshift of z = 1.567.\n\nThe bright X-ray emission (Evans et al., GCN 11014), coupled with the\nfaint and red optical/NIR afterglow (Olivares et al., GCN 11020) is\ncharacteristic of dust-extinguished events. Fitting the available\nafterglow data with synchrotron models, the visual extinction along\nthe GRB sightline is constrained to 1.5 mag < A_V < 3 mag at z = 1.567.\n\n"
},
"astronomicalObjects": [
"GRB 100728A"
],
Expand Down