using System.Xml.Serialization;
namespace XSDVisualiser.Core;
///
/// SimpleType constraints (formerly called facets).
///
public class ConstraintSet
{
///
/// The qualified name of the base type this constraint set applies to, if any.
///
[XmlAttribute] public string? BaseTypeName { get; set; }
///
/// A catch-all list of constraint entries for dynamic display and tooling.
///
[XmlArray("Constraints")]
[XmlArrayItem("Constraint")]
public List Constraints { get; set; } = new();
}