"""User response schemas."""

import uuid

from pydantic import BaseModel, ConfigDict


class UserProfileResponse(BaseModel):
    model_config = ConfigDict(from_attributes=True)

    id: uuid.UUID
    email: str
    name: str
    avatar_url: str | None


class UserProfileUpdate(BaseModel):
    name: str | None = None
    email: str | None = None
