<?xml version='1.0' encoding='UTF-8'?>
<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' id='com.eformbin.binG8vAi.form' attributeFormDefault ='unqualified' elementFormDefault ='qualified' xmlns:extra='http://eleusoft.org/schema/extra'>
<xsd:complexType name='Form' extra:description='Test Union of Enumerations Restriction - enum is (wrongly) expanded however extra value &#34;unnown&#34; is not valid, here must use optionsctrl.freetext=false (or omit it) since cannot have open answer' extra:type.root='true'>
<xsd:annotation>
<xsd:documentation>Test Union of Enumerations Restriction - enum is (wrongly) expanded however extra value &#34;unnown&#34; is not valid, here must use optionsctrl.freetext=false (or omit it) since cannot have open answer</xsd:documentation>
</xsd:annotation>

<xsd:sequence>
<xsd:element name='ChooseOrTypeOneColor' type='inline-Form-ChooseOrTypeOneColor'/>
</xsd:sequence></xsd:complexType>
<xsd:element name='Form' type='Form'>
<xsd:annotation>
<xsd:documentation>Test Union of Enumerations Restriction - enum is (wrongly) expanded however extra value &#34;unnown&#34; is not valid, here must use optionsctrl.freetext=false (or omit it) since cannot have open answer</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name='MyType'>
<xsd:restriction base='MyUnion'>
	<xsd:enumeration value='Red'/>
	<xsd:enumeration value='Green'/>
	<xsd:enumeration value='Unknown'/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name='ColorEnum2'>
<xsd:restriction base='xsd:string'>
	<xsd:enumeration value='Red'/>
	<xsd:enumeration value='Green'/>
	<xsd:enumeration value='Blue'/>
	<xsd:enumeration value='Gold'/>
	<xsd:enumeration value='Pink'/>
	<xsd:whiteSpace value='preserve'/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name='inline-Form-ChooseOrTypeOneColor'>
<xsd:restriction base='MyType'>
	<xsd:enumeration value='Red'/>
	<xsd:enumeration value='Green'/>
	<xsd:enumeration value='Unknown'/>
</xsd:restriction>
</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:whiteSpace value='preserve'/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name='MyUnion'>
<xsd:union memberTypes='ColorEnum2 ColorEnum'/>
</xsd:simpleType>
</xsd:schema>