Instead of Sex just a string. Let us also use what we had for the eCVI:
< xs:attribute name="Sex" type="SexType" use="optional"/>
< xs:simpleType name="SexType">
< xs:annotation>
< xs:documentation>This enforces the list of allowed codes for animal sex types that are supported.< /xs:documentation>
< /xs:annotation>
< xs:restriction base="xs:string">
< xs:enumeration value="Female"/>
< xs:enumeration value="Male"/>
< xs:enumeration value="Gender Unknown"/>
< xs:enumeration value="Spayed Female"/>
< xs:enumeration value="Neutered Male"/>
< xs:enumeration value="True Hermaphrodite"/>
< xs:enumeration value="Other"/>
< /xs:restriction>
< /xs:simpleType>
Instead of Sex just a string. Let us also use what we had for the eCVI: < xs:attribute name="Sex" type="SexType" use="optional"/> < xs:simpleType name="SexType"> < xs:annotation> < xs:documentation>This enforces the list of allowed codes for animal sex types that are supported.< /xs:documentation> < /xs:annotation> < xs:restriction base="xs:string"> < xs:enumeration value="Female"/> < xs:enumeration value="Male"/> < xs:enumeration value="Gender Unknown"/> < xs:enumeration value="Spayed Female"/> < xs:enumeration value="Neutered Male"/> < xs:enumeration value="True Hermaphrodite"/> < xs:enumeration value="Other"/> < /xs:restriction> < /xs:simpleType>