from typing import Optional from pydantic import Field from app.core.data_types import UUID7Field from .base import BaseSchema class MapProjectionSystemSchema(BaseSchema): id: UUID7Field name: str class MapProjectionSystemCreateSchema(BaseSchema): name: str = Field(..., min_length=1, max_length=50) class MapProjectionSystemUpdateSchema(BaseSchema): name: Optional[str] = Field(None, min_length=1, max_length=50)