12 lines
209 B
Python
12 lines
209 B
Python
|
|
from pydantic import BaseModel, ConfigDict
|
||
|
|
|
||
|
|
|
||
|
|
class LocationRecordRequest(BaseModel):
|
||
|
|
person: str
|
||
|
|
latitude: str
|
||
|
|
longitude: str
|
||
|
|
altitude: str = ""
|
||
|
|
|
||
|
|
model_config = ConfigDict(extra="forbid")
|
||
|
|
|