from pydantic import BaseModel from typing import Optional class ServerCommand(BaseModel): command: str server_ip: str require_online_player: Optional[bool] = False