Skip to content

Commit

Permalink
either a list or a single number
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidushi-GitHub committed Dec 29, 2023
1 parent f6357b6 commit 019f5a5
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions gcn/notices/core/Localization.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,32 @@
"default": "circle"
},
"ra_uncertainty": {
"type": "array",
"maxItems": 2,
"description": "Uncertainty in RA [deg] with optional asymmetric errors, measured from the RA in the schema; respective ex: [r], [r1], [l1-, l1+]. For ellipse, ra axis is r1 or semi-major axis."
"oneOf": [
{
"type": "number",
"description": "Uncertainty in RA [deg], a single number for circle and ellipse. For ellipse, ra-axis r1 represents semi-major axis."
},
{
"type": "array",
"maxItems": 2,
"items": { "type": "number" },
"description": "Uncertainty in RA [deg] with optional asymmetric errors, measured from the RA in the schema; [l1-, l1+] for rectangle."
}
]
},
"dec_uncertainty": {
"type": "array",
"maxItems": 2,
"description": "Uncertainty in Dec [deg] with optional asymmetric errors, measured from the Dec in the schema; respective ex: [r2], [l2-, l2+]. Not reported if circular and Dec axis is r2 or semi-minor axis for ellipse."
"oneOf": [
{
"type": "number",
"description": "Uncertainty in Dec [deg], ellipse minor-axis reported as a single number. If circle, do not report."
},
{
"type": "array",
"maxItems": 2,
"items": { "type": "number" },
"description": "Uncertainty in Dec [deg] with optional asymmetric errors, measured from the Dec in the schema; [l2-, l2+] for rectangle."
}
]
},
"position_angle": {
"type": "number",
Expand Down

0 comments on commit 019f5a5

Please sign in to comment.