<?xml version="1.0" encoding="UTF-8" ?> 
- <!-- 
 Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.4. 
--> 
- <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.DNS   /schema/MilitaryHistory" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.DNS   /schema/MilitaryHistory"> 
- <xsd:complexType name="MilitaryHistory"> 
- <xsd:sequence> 
- <xsd:element name="ICN" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Currently not used, but returned for debugging</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element name="QueryId" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Not currently used by ESR</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
<xsd:element name="ReturnStatus" type="xsd:string" /> 
<xsd:element minOccurs="0" name="VADIR" type="tns:VADIR" /> 
<xsd:element minOccurs="0" name="BIRLS" type="tns:BIRLS" /> 
</xsd:sequence> 
</xsd:complexType> 
- <xsd:complexType name="VADIR"> 
- <xsd:sequence> 
<xsd:element name="vaId" type="xsd:long" /> 
- <xsd:element minOccurs="0" name="OefOifIndicator" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Calculated field based on VADIR data</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
<xsd:element minOccurs="0" name="RetirementStatusIndicator" type="xsd:string" /> 
<xsd:element minOccurs="0" name="DeathDate" type="xsd:date" /> 
<xsd:element minOccurs="0" name="DeathIndicator" type="xsd:string" /> 
<xsd:element maxOccurs="unbounded" name="ServicePeriods" type="tns:ServicePeriod" /> 
</xsd:sequence> 
</xsd:complexType> 
- <xsd:complexType name="BIRLS"> 
- <xsd:sequence> 
<xsd:element minOccurs="0" name="PurpleHeartInd" type="xsd:string" /> 
- <xsd:element minOccurs="0" name="DisabilityInd" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Not currently used by ESR</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
<xsd:element minOccurs="0" name="MedalOfHonorInd" type="xsd:string" /> 
- <xsd:element minOccurs="0" name="VADSInd" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Not currently used by ESR</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
<xsd:element maxOccurs="3" minOccurs="0" name="RecurServiceNumber" type="xsd:string" /> 
- <xsd:element minOccurs="0" name="VerifiedSvcDataInd" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Not currently used by ESR</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
<xsd:element maxOccurs="unbounded" name="PeriodOfService" type="tns:PeriodOfService" /> 
</xsd:sequence> 
</xsd:complexType> 
- <xsd:complexType name="ServicePeriod"> 
- <xsd:sequence> 
- <xsd:element name="StartDate" type="xsd:date"> 
- <xsd:annotation> 
<xsd:documentation>Enter on Duty</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element minOccurs="0" name="EndDate" type="xsd:date"> 
- <xsd:annotation> 
<xsd:documentation>Released from Active Duty</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element name="BranchOfService" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>The branch of service in which the veteran served.</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element name="PersonnelCategory" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Indicates whether or not the veteran is still currently on active duty.</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element minOccurs="0" name="CharacterOfService" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Describe what type of discharge happened as in honorable, dishonorable, etc.</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Activations" type="tns:Activation" /> 
<xsd:element maxOccurs="unbounded" minOccurs="0" name="MilitaryPayments" type="tns:MilitaryPay" /> 
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Deployments" type="tns:Deployment" /> 
</xsd:sequence> 
</xsd:complexType> 
- <xsd:complexType name="Activation"> 
- <xsd:sequence> 
<xsd:element name="StartDate" type="xsd:date" /> 
<xsd:element minOccurs="0" name="EndDate" type="xsd:date" /> 
<xsd:element minOccurs="0" name="TerminationRsn" type="xsd:string" /> 
- <xsd:element minOccurs="0" name="CharacterOfService" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Not currently available at this level; DMDC will provide it at some time in the future</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
</xsd:sequence> 
</xsd:complexType> 
- <xsd:complexType name="MilitaryPay"> 
- <xsd:sequence> 
<xsd:element name="StartDate" type="xsd:date" /> 
<xsd:element minOccurs="0" name="EndDate" type="xsd:date" /> 
<xsd:element name="PayType" type="xsd:string" /> 
<xsd:element minOccurs="0" name="CombatServiceLocation" type="xsd:string" /> 
</xsd:sequence> 
</xsd:complexType> 
- <xsd:complexType name="Deployment"> 
- <xsd:sequence> 
<xsd:element name="StartDate" type="xsd:date" /> 
<xsd:element minOccurs="0" name="EndDate" type="xsd:date" /> 
<xsd:element minOccurs="0" name="TerminationRsn" type="xsd:string" /> 
<xsd:element minOccurs="0" name="SpecialOperation" type="xsd:string" /> 
<xsd:element minOccurs="0" name="Location" type="xsd:string" /> 
</xsd:sequence> 
</xsd:complexType> 
- <xsd:complexType name="PeriodOfService"> 
- <xsd:sequence> 
- <xsd:element name="EnteredOnDutyDate" type="xsd:date"> 
- <xsd:annotation> 
<xsd:documentation>Enter on Duty</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element minOccurs="0" name="ReleasedActiveDutyDate" type="xsd:date"> 
- <xsd:annotation> 
<xsd:documentation>Released from Active Duty</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element name="BranchOfService" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>The branch of service in which the veteran served.</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element minOccurs="0" name="SeparationReason" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Indicates whether or not the veteran is still currently on active duty.</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
- <xsd:element minOccurs="0" name="CharacterOfService" type="xsd:string"> 
- <xsd:annotation> 
<xsd:documentation>Describe what type of discharge happened as in honorable, dishonorable, etc.</xsd:documentation> 
</xsd:annotation> 
</xsd:element> 
</xsd:sequence> 
</xsd:complexType> 
</xsd:schema>