﻿
namespace JeffFerguson.Gepsio.Xsd
{
    internal class LengthFacetDefinition : FacetDefinition
    {
        internal LengthFacetDefinition() : base("length")
        {
            AddFacetPropertyDefinition(new FacetPropertyDefinition("value", typeof(NonNegativeInteger)));
            AddFacetPropertyDefinition(new FacetPropertyDefinition("fixed", typeof(Boolean), "false"));
            AddFacetPropertyDefinition(new FacetPropertyDefinition("annotation", typeof(String), true));
        }
    }
}
