added vegetation

This commit is contained in:
2026-06-23 13:57:33 +03:00
parent 0c9fc22d22
commit c7435955c3
32 changed files with 336 additions and 15 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
from pydantic import BaseModel, Field, model_validator
from app.models.common import GeoJSON
from app.models.common import DataSources, GeoJSON
class BuildingsQueryRequest(BaseModel):
@@ -22,3 +22,4 @@ class BuildingsQueryRequest(BaseModel):
class BuildingsQueryResponse(BaseModel):
type: str = "FeatureCollection"
features: list[GeoJSON]
data_sources: DataSources = Field(default_factory=lambda: DataSources(buildings=True))