package core type Channel struct { Id int `json:"id"` Value float64 `json:"value"` } type Ratio struct { Vref float64 `json:"vref"` Vadj float64 `json:"vadj"` Pivdd float64 `json:"pivdd"` } type Data struct { Channels [7]Channel `json:"channels"` Table Ratio `json:"table"` }