from pydantic import BaseModel, Field class LoginRequest(BaseModel): password: str = Field(..., min_length=1, max_length=100) class TokenResponse(BaseModel): access_token: str token_type: str = "bearer" class ChangePasswordRequest(BaseModel): old_password: str = Field(..., min_length=1, max_length=100) new_password: str = Field(..., min_length=1, max_length=100)