namespace JsonRpcEndpointSample.Rpc.Abstractions;

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class RpcSchemaPropertyAttribute : Attribute
{
    public string Description
    {
        get; set;
    } = string.Empty;

    public bool Required
    {
        get; set;
    }

    public double Minimum
    {
        get; set;
    }

    public bool HasMinimum
    {
        get; set;
    }
}
