using System.Xml.Serialization;
namespace XSDVisualiser.Core;
///
/// SimpleType constraints (formerly called facets).
///
public class ConstraintSet
{
[XmlAttribute] public string? BaseTypeName { get; set; }
// Generic catch-all list of constraints for dynamic display and tooling
[XmlArray("Constraints")]
[XmlArrayItem("Constraint")]
public List Constraints { get; set; } = new();
}