<?xml version='1.0' encoding='UTF-8'?>
<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' id='com.eformbin.binOHOOh.form' attributeFormDefault ='unqualified' elementFormDefault ='qualified' xmlns:extra='http://eleusoft.org/schema/extra'>
<xsd:complexType name='CreditCard' extra:description='Example of credit card form, Expiration Date option #3 All in One {MM}-{Year} - ideas taken from http://baymard.com/blog/how-to-format-expiration-date-fields https://www.dropbox.com/s/wgp1k7817sj9ckg/dynamically%20change%20the%20security%20code%20description.mov' extra:type.root='true'>
<xsd:annotation>
<xsd:documentation>Example of credit card form, Expiration Date option #3 All in One {MM}-{Year} - ideas taken from http://baymard.com/blog/how-to-format-expiration-date-fields https://www.dropbox.com/s/wgp1k7817sj9ckg/dynamically%20change%20the%20security%20code%20description.mov</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='CreditCardNumber'>
<xsd:annotation>
<xsd:documentation>
Required [element], Single Occurrence,  with  Simple Type [inline-CreditCard-CreditCardNumber] localName is [CreditCardNumber] without namespace
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base='xsd:NMTOKEN'>
	<xsd:maxLength value='19'/>
	<xsd:minLength value='12'/>
	<xsd:whiteSpace value='collapse'/>
</xsd:restriction></xsd:simpleType>
</xsd:element>
<xsd:element name='CreditCardExpirationDateMY'>
<xsd:annotation>
<xsd:documentation>
Required [element], Single Occurrence,  with  Simple Type [inline-CreditCard-CreditCardExpirationDateMY] localName is [CreditCardExpirationDateMY] without namespace
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base='xsd:date'>
	<xsd:whiteSpace value='collapse'/>
</xsd:restriction></xsd:simpleType>
</xsd:element>
<xsd:element name='SecurityCode'>
<xsd:annotation>
<xsd:documentation>
Required [element], Single Occurrence,  with  Simple Type [inline-CreditCard-SecurityCode] localName is [SecurityCode] 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, Expiration Date option #3 All in One {MM}-{Year} - ideas taken from http://baymard.com/blog/how-to-format-expiration-date-fields https://www.dropbox.com/s/wgp1k7817sj9ckg/dynamically%20change%20the%20security%20code%20description.mov</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>