namespace TornadoAce_CJOnStyle.Domain
{
    public sealed record InspectionFieldResult(
        string CueSheetField,
        string SceneObjectName,
        string ExpectedText,
        string ActualText,
        double MatchRate,
        string Severity,
        string Decision);

    public sealed record InspectionResult(
        string CueSheetId,
        string ProgramTitle,
        string SceneName,
        double MatchRate,
        string Severity,
        string Decision,
        IReadOnlyList<InspectionFieldResult> FieldResults)
    {
        public InspectionResult(
            string cueSheetId,
            string programTitle,
            string sceneName,
            double matchRate,
            string severity,
            string decision)
            : this(cueSheetId, programTitle, sceneName, matchRate, severity, decision, [])
        {
        }
    }
}
