DoDAAD XML Schema

Page 1

DoDAAD Request XML Schema 

The following is the schema developed for the Enterprise DoDAAD website Automated Request 

Tool, and shall be used by any/all external applications for sending data to CSPs. 

<?xml version="1.0"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" 

attributeFormDefault="unqualified">

 <xsd:element name="ROWSET">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="ROW">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="REQUEST" minOccurs="1" maxOccurs="unbounded">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="ID" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="40"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="REQUESTOR" minOccurs="1" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="NAME" minOccurs="1" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="100"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="TYPE" minOccurs="1" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="25"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="SERVICE" minOccurs="1" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="80"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="OFFICE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="80"/>
DoDAAD XML Schema

Page 2

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="EMAIL" minOccurs="1" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="80"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="PHONE" minOccurs="1" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="20"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="DATE" minOccurs="0" maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY -->

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="REASON" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="50"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ROUTE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="500"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 <xsd:element name="DATA" minOccurs="1" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="ACTION" minOccurs="1" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="6"/>

 <xsd:pattern value="UPDATE|ADD|DELETE"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="REC_TYPE" minOccurs="1" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">
DoDAAD XML Schema

Page 3

 <xsd:maxLength value="6"/>

 <xsd:pattern value="RIC|DODAAC"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="DODAAC_INFO" minOccurs="1" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="DODAAC" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="6"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="UIC" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="6"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ORGTYPE_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="1"/>

 <xsd:pattern value="D|F|S|X"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="AUTHORITY_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="2"/>

 <xsd:pattern value="00|01|02|03|04|05|06|07"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CONTRACTOR" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="1"/>

 <xsd:pattern value="Y|N| "/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="MAJOR_COMMAND" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="2"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="COCOM" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">
DoDAAD XML Schema

Page 4

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="PROCUREMENT_AUTHORITY" minOccurs="0" 

maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="1"/>

 <xsd:pattern value="Y|N| "/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="FUNDING_OFFICE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="1"/>

 <xsd:pattern value="Y|N| "/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="GRANT_AUTHORITY" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="1"/>

 <xsd:pattern value="Y|N| "/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CONTRACT_ADMIN_OFFICE" minOccurs="0" 

maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="1"/>

 <xsd:pattern value="Y|N| "/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CGAC" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="3"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="SUB_TIER_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="4"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>
DoDAAD XML Schema

Page 5 

 <xsd:element name="COMMRIS" minOccurs="0" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="DATA_PATTERN" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="7"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="SPECIAL" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="7"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="BILLING" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="7"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 <xsd:element name="TAC1" minOccurs="0" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="ADDR1" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ADDR2" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ADDR3" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="COUNTRY" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="3"/>

 </xsd:restriction>
DoDAAD XML Schema

Page 6 

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="STATE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="2"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CITY" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="21"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="IPC_ZIP_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ZIP_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="DELETE_DATE" minOccurs="0" maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY --> 

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="EFFECTIVE_DATE" minOccurs="0" maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY --> 

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 <xsd:element name="TAC2" minOccurs="0" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="ADDR1" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>
DoDAAD XML Schema

Page 7 

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ADDR2" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ADDR3" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="COUNTRY" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="3"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="STATE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="2"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CITY" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="21"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="IPC_ZIP_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ZIP_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CCP" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="3"/>
DoDAAD XML Schema

Page 8

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="SPLC" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="9"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ALOC" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="1"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="BBP" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="6"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="APOD" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="3"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="WPOD" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="3"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CONUS_OCONUS" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="1"/>

 <xsd:pattern value="C|O"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="BLOC" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="4"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="DELETE_DATE" minOccurs="0" maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY --> 

 <xsd:simpleType>
DoDAAD XML Schema

Page 9 

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="EFFECTIVE_DATE" minOccurs="0" maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY --> 

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 <xsd:element name="TAC3" minOccurs="0" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="ADDR1" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ADDR2" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ADDR3" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="35"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="COUNTRY" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="3"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="STATE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="2"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CITY" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>
DoDAAD XML Schema

Page 10

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="21"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="IPC_ZIP_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ZIP_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ADSN_FSN" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="6"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="DELETE_DATE" minOccurs="0" maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY --> 

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="EFFECTIVE_DATE" minOccurs="0" maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY --> 

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 <xsd:element name="CONTRACT_INFO" minOccurs="0" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="CONTRACT_ADMIN_OFFICE_DODAAC" minOccurs="0" 

maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="6"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>
DoDAAD XML Schema

Page 11

 <xsd:element name="CONTRACT_CLOSEOUT_DATE" minOccurs="0" 

maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY -->

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CONTRA_NO" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="17"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CAGE_CODE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="5"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CAGE_NAME" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="50"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ORDER_NUMBER" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="50"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="CONTRACT_POP_END_DATE" minOccurs="0" 

maxOccurs="1">

 <!-- DATE elements must use format MM/DD/YYYY -->

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="10"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="ISSUING_OFFICE_DODAAC" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="6"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>
DoDAAD XML Schema

Page 12

 <xsd:element name="POC_INFO" minOccurs="0" maxOccurs="1">

 <xsd:complexType>

 <xsd:sequence>

 <xsd:element name="NAME" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="30"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="EMAIL" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="40"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 <xsd:element name="PHONE" minOccurs="0" maxOccurs="1">

 <xsd:simpleType>

 <xsd:restriction base="xsd:string">

 <xsd:maxLength value="21"/>

 </xsd:restriction>

 </xsd:simpleType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

 </xsd:sequence>

 </xsd:complexType>

 </xsd:element>

</xsd:schema>