<?xml version='1.0' encoding='UTF-8'?>
<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' id='com.eformbin.binrfGz4.form' attributeFormDefault ='unqualified' elementFormDefault ='qualified' xmlns:extra='http://eleusoft.org/schema/extra'>
<xsd:complexType name='CreditCard' extra:description='Example of credit card form, Bad Design: Expiration Date as a gYearMonth, do not use. The constraint transforms a gYearMonth to a date with string concatenation..' extra:type.root='true'>
<xsd:annotation>
<xsd:documentation>Example of credit card form, Bad Design: Expiration Date as a gYearMonth, do not use. The constraint transforms a gYearMonth to a date with string concatenation..</xsd:documentation>
</xsd:annotation>

<xsd:sequence>
<xsd:element name='NameOnCard'>
<xsd:annotation>
<xsd:documentation>
Required [element], Single Occurrence,  with  Simple Type [inline-CreditCard-NameOnCard] localName is [NameOnCard] without namespace
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base='xsd:string'>
	<xsd:minLength value='2'/>
	<xsd:whiteSpace value='preserve'/>
</xsd:restriction></xsd:simpleType>
</xsd:element>
<xsd:element name='CardNumber'>
<xsd:annotation>
<xsd:documentation>
Required [element], Single Occurrence,  with  Simple Type [inline-CreditCard-CardNumber] localName is [CardNumber] without namespace
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base='xsd:NMTOKEN'>
	<xsd:length value='16'/>
	<xsd:whiteSpace value='collapse'/>
</xsd:restriction></xsd:simpleType>
</xsd:element>
<xsd:element name='ValidTo'>
<xsd:annotation>
<xsd:documentation>
Required [element], Single Occurrence,  with  Simple Type [inline-CreditCard-ValidTo] localName is [ValidTo] without namespace
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base='xsd:gYearMonth'>
	<xsd:whiteSpace value='collapse'/>
</xsd:restriction></xsd:simpleType>
</xsd:element>
<xsd:element name='CVV'>
<xsd:annotation>
<xsd:documentation>
Required [element], Single Occurrence,  with  Simple Type [inline-CreditCard-CVV] localName is [CVV] without namespace
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base='xsd:string'>
	<xsd:maxLength value='4'/>
	<xsd:pattern value='[0-9][0-9][0-9][0-9]?'/>
	<xsd:minLength value='3'/>
	<xsd:whiteSpace value='preserve'/>
</xsd:restriction></xsd:simpleType>
</xsd:element>
</xsd:sequence></xsd:complexType>
<xsd:element name='CreditCard' type='CreditCard'>
<xsd:annotation>
<xsd:documentation>Example of credit card form, Bad Design: Expiration Date as a gYearMonth, do not use. The constraint transforms a gYearMonth to a date with string concatenation..</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>