Skip to content

Commit a651df0

Browse files
committed
flatten schema
1 parent fbbcd72 commit a651df0

File tree

3 files changed

+275
-353
lines changed

3 files changed

+275
-353
lines changed
Lines changed: 31 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,38 @@
11
[
22
{
3-
"description": "Unique identifiers from the semantically compressed alert packet.",
4-
"fields":[
5-
{
6-
"description": "diaSource",
7-
"fields": [
8-
{
9-
"description": "Unique identifier of this diaSource.",
10-
"mode": "REQUIRED",
11-
"name": "diaSourceId",
12-
"type": "INTEGER"
13-
}
14-
],
15-
"mode": "REQUIRED",
16-
"name": "diaSource",
17-
"type": "RECORD"
18-
},
19-
{
20-
"description": "diaObject",
21-
"fields": [
22-
{
23-
"description": "Unique identifier of this diaObject.",
24-
"mode": "REQUIRED",
25-
"name": "diaObjectId",
26-
"type": "INTEGER"
27-
}
28-
],
29-
"mode": "REQUIRED",
30-
"name": "diaObject",
31-
"type": "RECORD"
32-
}
33-
],
3+
"description": "Identifier of the triggering DiaSource.",
344
"mode": "REQUIRED",
35-
"name": "alert_lite",
36-
"type": "RECORD"
5+
"name": "diaSourceId",
6+
"type": "INTEGER"
377
},
388
{
39-
"description": "Classification results using SuperNNova (Möller & de Boissière 2019).",
40-
"fields": [
41-
{
42-
"description": "probability object is a type Ia supernova",
43-
"mode": "NULLABLE",
44-
"name": "prob_class0",
45-
"type": "FLOAT"
46-
},
47-
{
48-
"description": "probability object is non-Ia",
49-
"mode": "NULLABLE",
50-
"name": "prob_class1",
51-
"type": "FLOAT"
52-
},
53-
{
54-
"description": "predicted class; 0 = Ia, 1 = non-Ia",
55-
"mode": "NULLABLE",
56-
"name": "predicted_class",
57-
"type": "INTEGER"
58-
}
59-
],
60-
"mode": "REQUIRED",
61-
"name": "SuperNNova",
62-
"type": "RECORD"
9+
"description": "Unique identifier of this DiaObject.",
10+
"mode": "NULLABLE",
11+
"name": "diaObjectId",
12+
"type": "INTEGER"
13+
},
14+
{
15+
"description": "Unique identifier of the object.",
16+
"mode": "NULLABLE",
17+
"name": "ssObjectId",
18+
"type": "INTEGER"
19+
},
20+
{
21+
"description": "probability object is a type Ia supernova",
22+
"mode": "NULLABLE",
23+
"name": "prob_class0",
24+
"type": "FLOAT"
25+
},
26+
{
27+
"description": "probability object is non-Ia",
28+
"mode": "NULLABLE",
29+
"name": "prob_class1",
30+
"type": "FLOAT"
31+
},
32+
{
33+
"description": "predicted class; 0 = Ia, 1 = non-Ia",
34+
"mode": "NULLABLE",
35+
"name": "predicted_class",
36+
"type": "INTEGER"
6337
}
6438
]

0 commit comments

Comments
 (0)