<PackageReference Include="NJsonSchema.Annotations" Version="11.5.0" />

System.Diagnostics.CodeAnalysis.ConstantExpectedAttribute

Indicates that the specified method parameter expects a constant.
public object Max { get; set; }

Indicates the maximum bound of the expected constant, inclusive.

public object Min { get; set; }

Indicates the minimum bound of the expected constant, inclusive.