The xsd provides validation information in "xs:restriction" elements.
We want to parse them to provide better validation.
Also there are "xs:enumeration" elements inside some of the "xs:restriction", in this case we could also provide a a method like "available_values", so we could help a user to choose from the available values.