<commit_before>using BusinessObjects.Validators;

namespace FatturaElettronicaPA.Validators
{
    /// <summary>
    /// Validates FatturaElettronicaBody.DatiGenerali.DatiBeniServizi.DatiRiepilogo.EsigibilitaIVA.
    /// </summary>
    public class FEsigibilitaIVAValidator : DomainValidator
    {
        private const string BrokenDescription = "Valori ammessi [I] immediata, [D] differita.";

        /// <summary>
        /// Validates FatturaElettronicaBody.DatiGenerali.DatiBeniServizi.DatiRiepilogo.EsigibilitaIVA.
        /// </summary>
        public FEsigibilitaIVAValidator() : this(null, BrokenDescription) { }
        public FEsigibilitaIVAValidator(string propertyName) : this(propertyName, BrokenDescription) { }
        public FEsigibilitaIVAValidator(string propertyName, string description) : base(propertyName, description)
        {
            Domain = new[] { "I", "D" };
        }
    }
}<commit_msg>Support for Split Payment. Closes #1.<commit_after>using BusinessObjects.Validators;

namespace FatturaElettronicaPA.Validators
{
    /// <summary>
    /// Validates FatturaElettronicaBody.DatiGenerali.DatiBeniServizi.DatiRiepilogo.EsigibilitaIVA.
    /// </summary>
    public class FEsigibilitaIVAValidator : DomainValidator
    {
        private const string BrokenDescription = "Valori ammessi [I] immediata, [D] differita, [S] scissione dei pagamenti.";

        /// <summary>
        /// Validates FatturaElettronicaBody.DatiGenerali.DatiBeniServizi.DatiRiepilogo.EsigibilitaIVA.
        /// </summary>
        public FEsigibilitaIVAValidator() : this(null, BrokenDescription) { }
        public FEsigibilitaIVAValidator(string propertyName) : this(propertyName, BrokenDescription) { }
        public FEsigibilitaIVAValidator(string propertyName, string description) : base(propertyName, description)
        {
            Domain = new[] { "I", "D", "S" };
        }
    }
}
{'fraction_non_alphanumeric': 0.1046267087276551, 'fraction_numerical': 0.0005257623554153522, 'mean_word_length': 3.354691075514874, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2749577', 'n_tokens_mistral': 600, 'n_tokens_neox': 591, 'n_words': 102}