GetEmployees - xsd

<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Employees" nillable="true" type="Employees" />
  <xs:complexType name="Employees">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Employee" type="Employee" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Employee">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="1" name="EmployeeID" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="Active" type="xs:unsignedByte" />
      <xs:element minOccurs="1" maxOccurs="1" name="PayrollCalc" type="xs:unsignedByte" />
      <xs:element minOccurs="1" maxOccurs="1" name="StatusID" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="FamilyName" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="Name" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="DateOfBirth" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="Gender" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="EMSO" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="TaxNumber" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="PlaceOfBirth" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="Citizenship" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="AddrStreet" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="AddrTown" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="AddrZipCode" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="AddrCountryId" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="AddrCounty" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="TempAddrStreet" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="TempAddrTown" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="TempAddrZipCode" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="TempAddrCountryId" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="TempAddrCounty" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="DateBegEmp" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="DateEndEmp" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="TrialPeriod" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSInYearY" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSInYearM" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSInYearD" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSSameTradeY" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSSameTradeM" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSSameTradeD" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSPastY" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSPastM" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSPastD" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSBoughtY" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSBoughtM" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSBoughtD" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSCivilServiceY" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSCivilServiceM" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSCivilServiceD" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSRecognizedY" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSRecognizedM" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSRecognizedD" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSAbroadY" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSAbroadM" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="YOSAbroadD" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="ZZRZIDisability" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="DisabilityAboveQuota" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="CollectiveAgreement" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="MainEmployment" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="DURSID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="ZPIZID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="TariffClass" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="SalaryGrade" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="DepartmentID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="DepartmentOrgID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="JobPositionID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="HoursPerDay" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="HoursPerWeek" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="PayrollColectiveAgreement" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="EmploymentPerc" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="CostCenter" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="CostDriver" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="ClercID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="Analytics1ID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="Analytics2ID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="Analytics3ID" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="AgedAbove55" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="AgedBelow26" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="EmploymentAbove100" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="WithoutEmployerContrib" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="FirstEmployment" type="xs:unsignedByte" />
      <xs:element minOccurs="0" maxOccurs="1" name="ExemptEmplContribDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="ContribEmplFixedTerm" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="EarlyRetirementCond" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="ContribExempt30Years" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="PPZCompanyId" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="PPZAccesionDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="PPZCancelationDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" maxOccurs="1" name="PPZFirstCalculationYear" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="PPZFirstCalculationMonth" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="PPZInsuranceNumber" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="PPZCalculationMethod" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="GeneralIncTaxAllow" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="GeneralIncTaxAllowAmount" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="AddIncTaxAllow" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="AddIncTaxAllowAmount" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="PersonalIncTaxAllowAmount" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="IncTaxAmount" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="ReinburGross" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="ReinburHoursNum" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="ReinburHourBase" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" maxOccurs="1" name="ReinburMonthsNum" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" maxOccurs="1" name="BankAccounts" type="EmployeeBankAccounts" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EmployeeBankAccounts">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="BankAccount1" type="EmployeeBankAccount" />
      <xs:element minOccurs="0" maxOccurs="1" name="BankAccount2" type="EmployeeBankAccount" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EmployeeBankAccount">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="CustomerBankCode" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="Type" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="Percent" nillable="true" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

Natisni