go-types/pkg/database/station.go

18 lines
417 B
Go

package database
// Station Information
type Station struct {
CRS string `json:"3ALPHA"`
TIPLOC string `json:"TIPLOC"`
STANOX string `json:"STANOX"`
NLCDESC string `json:"NLCDESC"`
Location GeoJson `json:"location"`
Operator string `json:"operator"`
}
// GeoJson Coordinates = [long, lat]
type GeoJson struct {
Type string `json:"type"`
Coordinates []float64 `json:"coordinates"`
}