added vegetation
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user