Coverage for src/data_api/api/schemas/locations.py: 100%
5 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-11-13 19:28 +0000
« prev ^ index » next coverage.py v7.16.2, created at 2026-11-13 19:28 +0000
1"""Locations API schemas."""
3from pydantic import BaseModel, Field
6class LocationDetail(BaseModel):
7 """Location detail information."""
9 name: str = Field(..., description="地點名稱")
10 latitude: str = Field(..., description="緯度")
11 longitude: str = Field(..., description="經度")