using System.Text.Json.Serialization;

namespace Kynareth.Models;

public class ImageManipulationImage : ImageEndpoint
{
    [JsonPropertyName("textpositions"), ConfigurationKeyName("textpositions")]
    public ICollection<PositionRect> TextPositions { get; set; }
}

public class ImageManipulationImageRead : ImageEndpoint
{
    [JsonPropertyName("textrequired"), ConfigurationKeyName("textrequired")]
    public int TextRequired { get; set; }
}