use super::Geo;
use crate::{
astronomy::Astronomy,
time::{Time, TimeChange},
};
use serde::Deserialize;
#[derive(Deserialize)]
pub struct Location {
pub id: String,
#[serde(alias = "matches")]
pub matchparam: String,
pub geo: Geo,
pub time: Option<Time>,
pub timechanges: Option<Vec<TimeChange>>,
pub astronomy: Option<Astronomy>,
}