Skip to content

Commit

Permalink
fix: schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
dirodriguezm committed Jan 3, 2024
1 parent f4529aa commit 8c76249
Show file tree
Hide file tree
Showing 4 changed files with 207 additions and 212 deletions.
226 changes: 113 additions & 113 deletions schemas/correction_step/output.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -27,119 +27,119 @@
"type": {
"type": "array",
"items": {
"type": "record",
"name": "alert",
"fields": [
{
"name": "aid",
"type": "string"
},
{
"name": "oid",
"type": "string"
},
{
"name": "sid",
"type": "string"
},
{
"name": "pid",
"type": "long"
},
{
"name": "tid",
"type": "string"
},
{
"name": "fid",
"type": "string"
},
{
"name": "candid",
"type": ["string", "long"]
},
{
"name": "mjd",
"type": "double"
},
{
"name": "ra",
"type": "double"
},
{
"name": "e_ra",
"type": "float"
},
{
"name": "dec",
"type": "double"
},
{
"name": "e_dec",
"type": "float"
},
{
"name": "mag",
"type": "float"
},
{
"name": "e_mag",
"type": "float"
},
{
"name": "mag_corr",
"type": ["float", "null"]
},
{
"name": "e_mag_corr",
"type": ["float", "null"]
},
{
"name": "e_mag_corr_ext",
"type": ["float", "null"]
},
{
"name": "isdiffpos",
"type": "int"
},
{
"name": "corrected",
"type": "boolean"
},
{
"name": "dubious",
"type": "boolean"
},
{
"name": "stellar",
"type": "boolean"
},
{
"name": "has_stamp",
"type": "boolean"
},
{
"name": "forced",
"type": "boolean"
},
{
"name": "new",
"type": "boolean"
},
{
"name": "parent_candid",
"type": ["string", "long", "null"]
},
{
"name": "extra_fields",
"type": {
"default": {},
"type": "map",
"values": ["null", "int", "float", "string", "bytes", "boolean"]
"type": "record",
"name": "alert",
"fields": [
{
"name": "aid",
"type": ["string", "null"]
},
{
"name": "oid",
"type": "string"
},
{
"name": "sid",
"type": "string"
},
{
"name": "pid",
"type": "long"
},
{
"name": "tid",
"type": "string"
},
{
"name": "fid",
"type": "string"
},
{
"name": "candid",
"type": ["string", "long"]
},
{
"name": "mjd",
"type": "double"
},
{
"name": "ra",
"type": "double"
},
{
"name": "e_ra",
"type": "float"
},
{
"name": "dec",
"type": "double"
},
{
"name": "e_dec",
"type": "float"
},
{
"name": "mag",
"type": "float"
},
{
"name": "e_mag",
"type": "float"
},
{
"name": "mag_corr",
"type": ["float", "null"]
},
{
"name": "e_mag_corr",
"type": ["float", "null"]
},
{
"name": "e_mag_corr_ext",
"type": ["float", "null"]
},
{
"name": "isdiffpos",
"type": "int"
},
{
"name": "corrected",
"type": "boolean"
},
{
"name": "dubious",
"type": "boolean"
},
{
"name": "stellar",
"type": "boolean"
},
{
"name": "has_stamp",
"type": "boolean"
},
{
"name": "forced",
"type": "boolean"
},
{
"name": "new",
"type": "boolean"
},
{
"name": "parent_candid",
"type": ["string", "long", "null"]
},
{
"name": "extra_fields",
"type": {
"default": {},
"type": "map",
"values": ["null", "int", "float", "string", "bytes", "boolean"]
}
}
}
]
},
]
},
"default": []
}
},
Expand All @@ -153,7 +153,7 @@
"fields": [
{
"name": "aid",
"type": "string"
"type": ["string", "null"]
},
{
"name": "oid",
Expand Down
Loading

0 comments on commit 8c76249

Please sign in to comment.