A small record type in the editor assembly representing a form payload for the Razor designer document model. It subclasses Payload and sets the Kind to ControlType.Form while marking the property to be ignored by System.Text.Json.
using System.Text.Json.Serialization;
namespace Grains.RazorDesigner.Document;
public sealed record FormPayload : Payload
{
[JsonIgnore]
public override ControlType Kind => ControlType.Form;
}