"""Pydantic schemas for complex cadastral buildings endpoint."""

from __future__ import annotations

from pydantic import BaseModel


class ComplexBuilding(BaseModel):
    cad_num: str
    floors: int | None
    area: float | None
    purpose: str | None
    building_name: str | None
    readable_address: str | None
    geom_geojson: dict | None  # GeoJSON Geometry, e.g. {"type": "Polygon", "coordinates": [...]}
