<?xml version='1.0' encoding='UTF-8'?>
<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' id='com.eformbin.bin1OG3l.form' attributeFormDefault ='unqualified' elementFormDefault ='qualified' xmlns:extra='http://eleusoft.org/schema/extra'>
<xsd:simpleType name='MyTypeRestricted'>
<xsd:restriction base='MyUnion'>
	<xsd:enumeration value='Green'/>
	<xsd:enumeration value='Blue'/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name='MyTypeRestrictedExpanded'>
<xsd:restriction base='MyUnion'>
	<xsd:enumeration value='Green'/>
	<xsd:enumeration value='Blue'/>
	<xsd:enumeration value='Bon'/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name='inline-Form-ChooseOrTypeOneColorRestrictedExpanded'>
<xsd:restriction base='MyTypeRestrictedExpanded'>
	<xsd:enumeration value='Green'/>
	<xsd:enumeration value='Blue'/>
	<xsd:enumeration value='Bon'/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name='Form' extra:description='Test Enumeration in Union' extra:type.root='true'>
<xsd:annotation>
<xsd:documentation>Test Enumeration in Union</xsd:documentation>
</xsd:annotation>

<xsd:sequence>
<xsd:element name='ChooseOrTypeOneColor' type='MyType'/>
<xsd:element name='ChooseOrTypeOneColorRestricted' type='inline-Form-ChooseOrTypeOneColorRestricted'/>
<xsd:element name='ChooseOrTypeOneColorRestrictedExpanded' type='inline-Form-ChooseOrTypeOneColorRestrictedExpanded'/>
</xsd:sequence></xsd:complexType>
<xsd:element name='Form' type='Form'>
<xsd:annotation>
<xsd:documentation>Test Enumeration in Union</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name='MyType'>
<xsd:restriction base='MyUnion'/>
</xsd:simpleType>
<xsd:simpleType name='ColorEnum'>
<xsd:restriction base='xsd:string'>
	<xsd:enumeration value='Red'/>
	<xsd:enumeration value='Green'/>
	<xsd:enumeration value='Blue'/>
	<xsd:enumeration value='Yellow'/>
	<xsd:enumeration value='Brown'/>
	<xsd:enumeration value='Aqua'/>
	<xsd:enumeration value='Gold'/>
	<xsd:enumeration value='Pink'/>
	<xsd:whiteSpace value='preserve'/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name='MyUnion'>
<xsd:union memberTypes='xsd:string ColorEnum'/>
</xsd:simpleType>
<xsd:simpleType name='inline-Form-ChooseOrTypeOneColorRestricted'>
<xsd:restriction base='MyTypeRestricted'>
	<xsd:enumeration value='Green'/>
	<xsd:enumeration value='Blue'/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>