namespace PlotLine.Models.StoryIntelligence;

public sealed class ValidationResult
{
    public bool IsValid => Errors.Count == 0;
    public List<ValidationIssue> Warnings { get; init; } = [];
    public List<ValidationIssue> Errors { get; init; } = [];
    public List<ValidationIssue> Information { get; init; } = [];
}

public sealed class ValidationIssue
{
    public string Severity { get; init; } = string.Empty;
    public string Path { get; init; } = string.Empty;
    public string Message { get; init; } = string.Empty;
    public string SuggestedFix { get; init; } = string.Empty;
}
