package dto

//////////////////////////////////////////////////////////////
// Panchang
//////////////////////////////////////////////////////////////

type PanchangRequest struct {
	Date      string  `json:"date"`
	Time      string  `json:"time"`
	Latitude  float64 `json:"latitude" binding:"required"`
	Longitude float64 `json:"longitude" binding:"required"`
	Timezone  float64 `json:"timezone"`
	Lang      string  `json:"lang"`
}

// SunMoonResponse bundles the four single-value panchang endpoints so the
// header strip on the panchang screen costs one request instead of four.
type SunMoonResponse struct {
	Sunrise   any `json:"sunrise"`
	Sunset    any `json:"sunset"`
	Moonrise  any `json:"moonrise"`
	Moonset   any `json:"moonset"`
	MoonPhase any `json:"moon_phase"`
}
