diff --git a/backend/app/schemas/admin.py b/backend/app/schemas/admin.py index fb995d26..72c63d43 100644 --- a/backend/app/schemas/admin.py +++ b/backend/app/schemas/admin.py @@ -126,7 +126,7 @@ class AdminAccountDetailResponse(AdminAccountListItem): class AdminAccountCreate(BaseModel): name: str = Field(..., min_length=1, max_length=255) plan: Literal["free", "pro", "team"] = "free" - owner_email: Optional[str] = Field(None, description="Email of an existing user to set as owner") + owner_email: Optional[EmailStr] = Field(None, description="Email of an existing user to set as owner") class AdminAccountUpdate(BaseModel):