endpoint setup

This commit is contained in:
exolonConfidental
2026-02-08 11:18:47 +05:30
parent 8fb3b7cf67
commit a77788fc47
33 changed files with 932 additions and 352 deletions

View File

@@ -0,0 +1,26 @@
from pydantic import BaseModel
class LocationCreate(BaseModel):
place_id: int
osm_id: int
osm_type: str
latitude: float
longitude: float
house_number: str | None = None
road: str
city: str
county: str
state: str
postcode: str
country: str
country_code: str
display_name: str
bbox_lat_min: float
bbox_lat_max: float
bbox_lon_min: float
bbox_lon_max: float