from enum import Enum
from pydantic import BaseModel


class CompatibilityLevel(str, Enum):
    OK = "OK"
    WARNING = "WARNING"
    ERROR = "ERROR"


class CompatibilityResult(BaseModel):
    level: CompatibilityLevel
    message: str
    suggestion: str | None = None
