<?xml version="1.0" encoding="utf-8" ?> 
<xsd:schema id="Lead" targetNamespace="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types" elementFormDefault="qualified"
	xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types" xmlns:mstns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	
	<xsd:complexType name="Lead">
		<xsd:all minOccurs="0" maxOccurs="1">
			<xsd:element name="Source_Identifier" minOccurs="0" maxOccurs="1">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:minLength value="0" />
						<xsd:maxLength value="100" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="Description" minOccurs="0" maxOccurs="1">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:minLength value="0" />
						<xsd:maxLength value="1000" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="Body" minOccurs="0" maxOccurs="1">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:minLength value="0" />
						<xsd:maxLength value="5000" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:all>
		<xsd:attribute name="Lead_ID" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:length value="32" />
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="Date_Created" use="optional">
			<xsd:simpleType>
				<xsd:restriction base="xsd:dateTime" />
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
		
</xsd:schema>

