api/app/internal/model/db.json
2018-06-19 15:45:27 +02:00

149 lines
2.3 KiB
JSON

[
{
"name": "public.measurement",
"fields": [
{
"name": "c_gem_1",
"data_type": "double precision",
"size": 8
},
{
"name": "c_gem_2",
"data_type": "double precision",
"size": 8
},
{
"name": "c_gem_3",
"data_type": "double precision",
"size": 8
},
{
"name": "ep_1",
"data_type": "double precision",
"size": 8
},
{
"name": "ep_2",
"data_type": "double precision",
"size": 8
},
{
"name": "ep_3",
"data_type": "double precision",
"size": 8
},
{
"name": "i_gem_1",
"data_type": "double precision",
"size": 8
},
{
"name": "i_gem_2",
"data_type": "double precision",
"size": 8
},
{
"name": "i_gem_3",
"data_type": "double precision",
"size": 8
},
{
"name": "i_max_1",
"data_type": "double precision",
"size": 8
},
{
"name": "i_max_2",
"data_type": "double precision",
"size": 8
},
{
"name": "i_max_3",
"data_type": "double precision",
"size": 8
},
{
"name": "meter_id",
"data_type": "integer",
"size": 4
},
{
"name": "p_max_1",
"data_type": "double precision",
"size": 8
},
{
"name": "p_max_2",
"data_type": "double precision",
"size": 8
},
{
"name": "p_max_3",
"data_type": "double precision",
"size": 8
},
{
"name": "s_max_1",
"data_type": "double precision",
"size": 8
},
{
"name": "s_max_2",
"data_type": "double precision",
"size": 8
},
{
"name": "s_max_3",
"data_type": "double precision",
"size": 8
},
{
"name": "time",
"data_type": "timestamp with time zone",
"size": 8
},
{
"name": "u_gem_1",
"data_type": "double precision",
"size": 8
},
{
"name": "u_gem_2",
"data_type": "double precision",
"size": 8
},
{
"name": "u_gem_3",
"data_type": "double precision",
"size": 8
}
]
},
{
"name": "public.meter",
"alias": "me",
"fields": [
{
"name": "id",
"data_type": "integer",
"size": 4
},
{
"name": "name",
"data_type": "character varying",
"size": 255
},
{
"name": "source",
"data_type": "smallint",
"size": 2
},
{
"name": "uid",
"data_type": "character varying",
"size": 50
}
]
}
]