JsonRequiredAttribute
Indicates that the annotated member must bind to a JSON property on deserialization.
namespace System.Text.Json.Serialization
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class JsonRequiredAttribute : JsonAttribute
{
}
}