from datetime import datetime
from typing import Optional
from pydantic import BaseModel


class Waypoint(BaseModel):
    id: str
    lat: float
    lon: float
    altitude: Optional[float] = None
    confidence: float
    timestamp: datetime
    refined: bool = False

