from pydantic import BaseModel from typing import Optional class RegisterSchema(BaseModel): email: str password: str name: str birth_date: str phone: Optional[str] = None