using System.Text.Json.Serialization;
using XFESystem.Browser;
internal sealed class BrowserVerificationReport
{
public string Schema { get; init; } = string.Empty;
public bool HostOnly { get; init; }
public bool GuestExecution { get; init; }
public bool NetworkVerified { get; init; }
public string Runtime { get; init; } = string.Empty;
public string OperatingSystem { get; init; } = string.Empty;
public BrowserCapabilities Capabilities { get; init; } = new();
public bool Passed { get; init; }
public Dictionary<string, bool> Assertions { get; init; } = [];
public string HtmlPageText { get; init; } = string.Empty;
public string JavaScriptText { get; init; } = string.Empty;
public string MarkdownText { get; init; } = string.Empty;
}
[JsonSerializable(typeof(BrowserVerificationReport))]
[JsonSourceGenerationOptions(WriteIndented = true)]
internal partial class BrowserReportJsonContext : JsonSerializerContext;
using System.Text.Json.Serialization;
using XFESystem.Browser;
internal sealed class BrowserVerificationReport
{
public string Schema { get; init; } = string.Empty;
public bool HostOnly { get; init; }
public bool GuestExecution { get; init; }
public bool NetworkVerified { get; init; }
public string Runtime { get; init; } = string.Empty;
public string OperatingSystem { get; init; } = string.Empty;
public BrowserCapabilities Capabilities { get; init; } = new();
public bool Passed { get; init; }
public Dictionary<string, bool> Assertions { get; init; } = [];
public string HtmlPageText { get; init; } = string.Empty;
public string JavaScriptText { get; init; } = string.Empty;
public string MarkdownText { get; init; } = string.Empty;
}
[JsonSerializable(typeof(BrowserVerificationReport))]
[JsonSourceGenerationOptions(WriteIndented = true)]
internal partial class BrowserReportJsonContext : JsonSerializerContext;