YesNo

String with only yes or no allowed

Simple Type Information

Used By

Source

<xs:simpleType name="YesNo">
  <xs:annotation>
    <xs:documentation>String with only yes or no allowed</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:enumeration value="yes"/>
    <xs:enumeration value="no"/>
  </xs:restriction>
</xs:simpleType>