home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _55178E915EBB4222815ECEFC01649F57 < prev    next >
Encoding:
Extensible Markup Language  |  2003-03-24  |  39.8 KB  |  978 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema targetNamespace="http://ns.hr-xml.org/Time/TimeCard-2_0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://ns.hr-xml.org/Time/TimeCard-2_0" elementFormDefault="qualified">
  3.     <!--Normalized version of schema, with all "includes" inserted explicitly.  This was auto-generated.  Duplicate definitions were deleted, leaving only comments.  -->
  4.     <!--******************************************************************************-->
  5.     <!-- * -->
  6.     <!--BEGIN include file: CPOLibrary-1_0_Time.xsd-->
  7.     <!-- * -->
  8.     <xsd:annotation>
  9.         <xsd:documentation>
  10. CPO Library 1_0 (2002-03-02)
  11. This CPO Library is a consolidation of existing Consortium approved Recommendations.  No functionality or syntax changes have been made to the original specifications.
  12.  
  13. PersonName-1_2
  14. PostalAddress-1_2
  15. cpoDateTimeTypes-1_1
  16. ContactMethod-1_0
  17. TelcomNumber-1_0
  18. OnlineAddress-1_0
  19. Competencies-1_0
  20. JobHeader-1_0
  21. PositionHeader-1_0
  22. WorkSite-1_0
  23. WorkSiteEnvironment-1_0
  24. UserArea-1_0
  25.  
  26. Conformance Note (for development): No namespace schema declarations and definitions are included outright in this file to put it into the above namespace.  
  27. This is solely for interoperability purposes during development, as parser implementations of nested includes and imports varies.  
  28. Published versions will be fully normalized with no includes.
  29.  
  30. These are the equivelant includes:
  31.     xsd:include schemaLocation="../../JobPosition/Description-1_0/WorkSiteEnvironment-1_0.xsd"/>
  32.     xsd:include schemaLocation="../../JobPosition/Description-1_0/WorkSite-1_0.xsd"/>
  33.     xsd:include schemaLocation="../../JobPosition/Description-1_0/PositionHeader-1_0.xsd"/>
  34.     xsd:include schemaLocation="../../JobPosition/Description-1_0/JobHeader-1_0.xsd"/>
  35.     xsd:include schemaLocation="../../CPO/ID-1_0/EntityIdType-1_0.xsd"/>
  36.     xsd:include schemaLocation="../../CPO/PersonName-1_2/PersonName-1_2.xsd"/>
  37.     xsd:include schemaLocation="../../Competencies/Competencies-1_0/Competencies-1_0.xsd"/>
  38.     xsd:include schemaLocation="../../CPO/Dating-1_1/cpoDateTimeTypes-1_1.xsd"/>
  39.     xsd:include schemaLocation="../../CPO/ContactInfo-1_0/ContactMethod-1_0.xsd"/>
  40.     xsd:include schemaLocation="../../CPO/ContactInfo-1_0/TelcomNumber-1_0.xsd"/>
  41.     xsd:include schemaLocation="../../CPO/ContactInfo-1_0/OnlineAddress-1_0.xsd"/>
  42.     xsd:include schemaLocation="../../CPO/PostalAddress-1_2/PostalAddress-1_2.xsd"/>
  43.     xsd:include schemaLocation="../../TSC/HRXMLExtension-1_0/UserArea-1_0.xsd"/>
  44.     
  45. "Copyright  The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org"
  46. Status: Approved Recommendation
  47.  
  48. This HR-XML Consortium Work (including specifications, documents, 
  49. software, and related items) is provided by the copyright holders 
  50. under the following license. By obtaining, using and/or copying 
  51. this work, you (the licensee) agree that you have read, understood, 
  52. and will comply with the following terms and conditions.
  53.  
  54. Permission to use, copy, modify, or redistribute this Work and 
  55. its documentation, with or without modification, for any purpose 
  56. and without fee or royalty is hereby granted, provided that you 
  57. include the following on ALL copies of the software and 
  58. documentation or portions thereof, including modifications, 
  59. that you make: 
  60.  
  61. 1. This notice: "Copyright  The HR-XML Consortium. All Rights 
  62.    Reserved. http://www.hr-xml.org" 
  63. 2. Notice of any changes or modifications to the The HR-XML 
  64.    Consortium files.
  65.    
  66. THIS WORK, INCLUDING SPECIFICATIONS, DOCUMENTS, SOFTWARE, OR OTHER 
  67. RELATED ITEMS, IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO 
  68. REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT 
  69. NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY 
  70. PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION 
  71. WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS 
  72. OR OTHER RIGHTS. 
  73.  
  74. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, 
  75. SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE 
  76. SOFTWARE OR DOCUMENTATION. 
  77.  
  78. TITLE TO COPYRIGHT IN THIS WORK AND ANY ASSOCIATED DOCUMENTATION 
  79. WILL AT ALL TIMES REMAIN WITH COPYRIGHT HOLDERS.
  80.         </xsd:documentation>
  81.     </xsd:annotation>
  82.     <xsd:element name="PositionHeader">
  83.         <xsd:complexType>
  84.             <xsd:sequence>
  85.                 <xsd:element name="PositionId" type="PositionIdentifierType"/>
  86.                 <xsd:element ref="JobId" minOccurs="0"/>
  87.                 <xsd:element ref="PositionTitle" minOccurs="0"/>
  88.                 <xsd:element name="PositionType" type="xsd:string" minOccurs="0"/>
  89.                 <xsd:element ref="PositionDescription" minOccurs="0"/>
  90.                 <xsd:element ref="PositionStatus" minOccurs="0"/>
  91.                 <xsd:element ref="ReportToPositionId" minOccurs="0"/>
  92.                 <xsd:element ref="SpecialInstructions" minOccurs="0"/>
  93.                 <xsd:element name="TypeOfHours" type="xsd:string" minOccurs="0"/>
  94.                 <xsd:element name="Quantity" type="xsd:double" default="1" minOccurs="0"/>
  95.             </xsd:sequence>
  96.             <xsd:attribute name="validFrom" type="AnyDateTimeType"/>
  97.             <xsd:attribute name="validTo" type="AnyDateTimeType"/>
  98.         </xsd:complexType>
  99.     </xsd:element>
  100.     <xsd:element name="JobId" type="PositionIdentifierType"/>
  101.     <xsd:element name="PositionTitle" type="xsd:string"/>
  102.     <xsd:element name="PositionDescription" type="xsd:string"/>
  103.     <xsd:element name="ReportToPositionId" type="PositionIdentifierType"/>
  104.     <xsd:element name="SpecialInstructions" type="xsd:string"/>
  105.     <xsd:element name="PositionStatus">
  106.         <xsd:complexType>
  107.             <xsd:sequence>
  108.                 <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
  109.                 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
  110.             </xsd:sequence>
  111.         </xsd:complexType>
  112.     </xsd:element>
  113.     <xsd:complexType name="PositionIdentifierType">
  114.         <xsd:sequence>
  115.             <xsd:element name="Id" type="xsd:string"/>
  116.             <xsd:element name="Domain" minOccurs="0">
  117.                 <xsd:complexType>
  118.                     <xsd:sequence>
  119.                         <xsd:element name="IdIssuer" type="xsd:string" minOccurs="0"/>
  120.                         <xsd:element name="IdType" type="xsd:string" minOccurs="0"/>
  121.                     </xsd:sequence>
  122.                 </xsd:complexType>
  123.             </xsd:element>
  124.         </xsd:sequence>
  125.     </xsd:complexType>
  126.     <xsd:element name="JobHeader">
  127.         <xsd:complexType>
  128.             <xsd:sequence>
  129.                 <xsd:element name="JobId" type="JobIdentifierType"/>
  130.                 <xsd:element ref="JobTitle" minOccurs="0"/>
  131.                 <xsd:element ref="JobDescription" minOccurs="0"/>
  132.                 <xsd:element ref="JobStatus" minOccurs="0"/>
  133.                 <xsd:element ref="JobLevel" minOccurs="0" maxOccurs="unbounded"/>
  134.                 <xsd:element ref="JobCategory" minOccurs="0" maxOccurs="unbounded"/>
  135.             </xsd:sequence>
  136.             <xsd:attribute name="validFrom" type="AnyDateTimeType"/>
  137.             <xsd:attribute name="validTo" type="AnyDateTimeType"/>
  138.         </xsd:complexType>
  139.     </xsd:element>
  140.     <xsd:element name="JobStatus">
  141.         <xsd:complexType>
  142.             <xsd:sequence>
  143.                 <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
  144.                 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
  145.             </xsd:sequence>
  146.         </xsd:complexType>
  147.     </xsd:element>
  148.     <xsd:element name="JobDescription" type="xsd:string"/>
  149.     <xsd:element name="JobTitle" type="xsd:string"/>
  150.     <xsd:element name="JobCategory">
  151.         <xsd:complexType>
  152.             <xsd:sequence>
  153.                 <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
  154.                 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
  155.             </xsd:sequence>
  156.             <xsd:attribute name="type" type="xsd:string"/>
  157.         </xsd:complexType>
  158.     </xsd:element>
  159.     <xsd:element name="JobLevel">
  160.         <xsd:complexType>
  161.             <xsd:sequence>
  162.                 <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
  163.                 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
  164.                 <xsd:element ref="JobLevel" minOccurs="0"/>
  165.             </xsd:sequence>
  166.             <xsd:attribute name="type" type="xsd:string"/>
  167.         </xsd:complexType>
  168.     </xsd:element>
  169.     <xsd:complexType name="JobIdentifierType">
  170.         <xsd:sequence>
  171.             <xsd:element name="Id" type="xsd:string"/>
  172.             <xsd:element name="Domain" minOccurs="0">
  173.                 <xsd:complexType>
  174.                     <xsd:sequence>
  175.                         <xsd:element name="IdIssuer" type="xsd:string" minOccurs="0"/>
  176.                         <xsd:element name="IdType" type="xsd:string" minOccurs="0"/>
  177.                     </xsd:sequence>
  178.                 </xsd:complexType>
  179.             </xsd:element>
  180.         </xsd:sequence>
  181.     </xsd:complexType>
  182.     <xsd:element name="WorkSite">
  183.         <xsd:complexType>
  184.             <xsd:sequence>
  185.                 <xsd:element name="WorkSiteId" type="WorkSiteIdentifierType"/>
  186.                 <xsd:element ref="WorkSiteName"/>
  187.                 <xsd:element name="WorkSiteDetail" minOccurs="0" maxOccurs="unbounded">
  188.                     <xsd:complexType>
  189.                         <xsd:simpleContent>
  190.                             <xsd:extension base="xsd:string">
  191.                                 <xsd:attribute name="workSiteType" type="xsd:string" default="presentation"/>
  192.                             </xsd:extension>
  193.                         </xsd:simpleContent>
  194.                     </xsd:complexType>
  195.                 </xsd:element>
  196.                 <xsd:element name="PostalAddress" type="PostalAddressType" minOccurs="0"/>
  197.                 <xsd:element ref="TravelDirections" minOccurs="0"/>
  198.                 <xsd:element ref="ParkingInstructions" minOccurs="0"/>
  199.             </xsd:sequence>
  200.         </xsd:complexType>
  201.     </xsd:element>
  202.     <xsd:element name="WorkSiteId" type="WorkSiteIdentifierType"/>
  203.     <xsd:element name="WorkSiteName" type="xsd:string"/>
  204.     <xsd:element name="WorkSiteType" type="xsd:string"/>
  205.     <xsd:element name="WorkSiteDetail" type="xsd:string"/>
  206.     <xsd:element name="TravelDirections" type="xsd:string"/>
  207.     <xsd:element name="ParkingInstructions" type="xsd:string"/>
  208.     <xsd:complexType name="WorkSiteIdentifierType">
  209.         <xsd:sequence>
  210.             <xsd:element name="Id" type="xsd:string"/>
  211.             <xsd:element name="Domain" minOccurs="0">
  212.                 <xsd:complexType>
  213.                     <xsd:sequence>
  214.                         <xsd:element name="IdIssuer" type="xsd:string" minOccurs="0"/>
  215.                         <xsd:element name="IdType" type="xsd:string" minOccurs="0"/>
  216.                     </xsd:sequence>
  217.                 </xsd:complexType>
  218.             </xsd:element>
  219.         </xsd:sequence>
  220.     </xsd:complexType>
  221.     <xsd:element name="WorkSiteEnvironment">
  222.         <xsd:complexType>
  223.             <xsd:sequence>
  224.                 <xsd:element name="EnvironmentId" type="WorkSiteEnvironmentIdentifierType"/>
  225.                 <xsd:element ref="EnvironmentName"/>
  226.                 <xsd:element ref="EnvironmentDescription" minOccurs="0"/>
  227.                 <xsd:element ref="EnvironmentConsideration" minOccurs="0" maxOccurs="unbounded"/>
  228.             </xsd:sequence>
  229.         </xsd:complexType>
  230.     </xsd:element>
  231.     <xsd:element name="EnvironmentId" type="WorkSiteEnvironmentIdentifierType"/>
  232.     <xsd:element name="EnvironmentName" type="xsd:string"/>
  233.     <xsd:element name="EnvironmentDescription" type="xsd:string"/>
  234.     <xsd:element name="EnvironmentConsideration">
  235.         <xsd:complexType>
  236.             <xsd:simpleContent>
  237.                 <xsd:extension base="xsd:string">
  238.                     <xsd:attribute name="typeConsideration" use="required">
  239.                         <xsd:simpleType>
  240.                             <xsd:restriction base="xsd:string">
  241.                                 <xsd:enumeration value="General"/>
  242.                                 <xsd:enumeration value="Physical"/>
  243.                                 <xsd:enumeration value="SafetyEquipment"/>
  244.                                 <xsd:enumeration value="DressCode"/>
  245.                             </xsd:restriction>
  246.                         </xsd:simpleType>
  247.                     </xsd:attribute>
  248.                 </xsd:extension>
  249.             </xsd:simpleContent>
  250.         </xsd:complexType>
  251.     </xsd:element>
  252.     <xsd:complexType name="WorkSiteEnvironmentIdentifierType">
  253.         <xsd:sequence>
  254.             <xsd:element name="Id" type="xsd:string"/>
  255.             <xsd:element name="Domain" minOccurs="0">
  256.                 <xsd:complexType>
  257.                     <xsd:sequence>
  258.                         <xsd:element name="IdIssuer" type="xsd:string" minOccurs="0"/>
  259.                         <xsd:element name="IdType" type="xsd:string" minOccurs="0"/>
  260.                     </xsd:sequence>
  261.                 </xsd:complexType>
  262.             </xsd:element>
  263.         </xsd:sequence>
  264.     </xsd:complexType>
  265.     <xsd:attributeGroup name="id">
  266.         <xsd:attribute name="id" type="xsd:string" use="required"/>
  267.         <xsd:attribute name="idOwner" type="xsd:string"/>
  268.         <xsd:attribute name="description" type="xsd:string"/>
  269.     </xsd:attributeGroup>
  270.     <xsd:element name="Competency">
  271.         <xsd:complexType>
  272.             <xsd:sequence>
  273.                 <xsd:element name="CompetencyId" minOccurs="0">
  274.                     <xsd:complexType>
  275.                         <xsd:attributeGroup ref="id"/>
  276.                     </xsd:complexType>
  277.                 </xsd:element>
  278.                 <xsd:element name="TaxonomyId" minOccurs="0">
  279.                     <xsd:complexType>
  280.                         <xsd:attributeGroup ref="id"/>
  281.                     </xsd:complexType>
  282.                 </xsd:element>
  283.                 <xsd:element name="CompetencyEvidence" minOccurs="0" maxOccurs="unbounded">
  284.                     <xsd:complexType>
  285.                         <xsd:sequence>
  286.                             <xsd:element name="EvidenceId" minOccurs="0">
  287.                                 <xsd:complexType>
  288.                                     <xsd:attributeGroup ref="id"/>
  289.                                 </xsd:complexType>
  290.                             </xsd:element>
  291.                             <xsd:choice>
  292.                                 <xsd:element ref="NumericValue"/>
  293.                                 <xsd:element ref="StringValue"/>
  294.                             </xsd:choice>
  295.                             <xsd:element ref="SupportingInformation" minOccurs="0" maxOccurs="unbounded"/>
  296.                         </xsd:sequence>
  297.                         <xsd:attribute name="dateOfIncident" type="AnyDateTimeType"/>
  298.                         <xsd:attribute name="name" type="xsd:string"/>
  299.                         <xsd:attribute name="typeDescription" type="xsd:string"/>
  300.                         <xsd:attribute name="expirationDate" type="AnyDateTimeType"/>
  301.                         <xsd:attribute name="typeId" type="xsd:string"/>
  302.                         <xsd:attribute name="required" type="xsd:boolean" default="false"/>
  303.                         <xsd:attribute name="lastUsed" type="AnyDateTimeType"/>
  304.                     </xsd:complexType>
  305.                 </xsd:element>
  306.                 <xsd:element name="CompetencyWeight" minOccurs="0" maxOccurs="2">
  307.                     <xsd:complexType>
  308.                         <xsd:sequence>
  309.                             <xsd:choice>
  310.                                 <xsd:element ref="NumericValue"/>
  311.                                 <xsd:element ref="StringValue"/>
  312.                             </xsd:choice>
  313.                             <xsd:element ref="SupportingInformation" minOccurs="0" maxOccurs="unbounded"/>
  314.                         </xsd:sequence>
  315.                         <xsd:attribute name="type" default="skillLevel">
  316.                             <xsd:simpleType>
  317.                                 <xsd:restriction base="xsd:string">
  318.                                     <xsd:enumeration value="levelOfInterest"/>
  319.                                     <xsd:enumeration value="skillLevel"/>
  320.                                 </xsd:restriction>
  321.                             </xsd:simpleType>
  322.                         </xsd:attribute>
  323.                     </xsd:complexType>
  324.                 </xsd:element>
  325.                 <xsd:element ref="Competency" minOccurs="0" maxOccurs="unbounded"/>
  326.             </xsd:sequence>
  327.             <xsd:attribute name="name" type="xsd:string"/>
  328.             <xsd:attribute name="description" type="xsd:string"/>
  329.             <xsd:attribute name="required" type="xsd:boolean" default="false"/>
  330.         </xsd:complexType>
  331.     </xsd:element>
  332.     <xsd:element name="NumericValue">
  333.         <xsd:complexType>
  334.             <xsd:simpleContent>
  335.                 <xsd:extension base="xsd:double">
  336.                     <xsd:attribute name="minValue" type="xsd:double"/>
  337.                     <xsd:attribute name="maxValue" type="xsd:double"/>
  338.                     <xsd:attribute name="description" type="xsd:string"/>
  339.                 </xsd:extension>
  340.             </xsd:simpleContent>
  341.         </xsd:complexType>
  342.     </xsd:element>
  343.     <xsd:element name="StringValue">
  344.         <xsd:complexType>
  345.             <xsd:simpleContent>
  346.                 <xsd:extension base="xsd:string">
  347.                     <xsd:attribute name="minValue" type="xsd:string"/>
  348.                     <xsd:attribute name="maxValue" type="xsd:string"/>
  349.                     <xsd:attribute name="description" type="xsd:string"/>
  350.                 </xsd:extension>
  351.             </xsd:simpleContent>
  352.         </xsd:complexType>
  353.     </xsd:element>
  354.     <xsd:element name="SupportingInformation" type="xsd:string"/>
  355.     <xsd:complexType name="EntityIdType">
  356.         <xsd:sequence>
  357.             <xsd:element name="IdValue" maxOccurs="unbounded">
  358.                 <xsd:complexType>
  359.                     <xsd:simpleContent>
  360.                         <xsd:extension base="xsd:string">
  361.                             <xsd:attribute name="name" type="xsd:string" use="optional"/>
  362.                         </xsd:extension>
  363.                     </xsd:simpleContent>
  364.                 </xsd:complexType>
  365.             </xsd:element>
  366.         </xsd:sequence>
  367.         <xsd:attribute name="validFrom" type="AnyDateTimeNkNaType" use="optional"/>
  368.         <xsd:attribute name="validTo" type="AnyDateTimeNkNaType" use="optional"/>
  369.         <xsd:attribute name="idOwner" type="xsd:string" use="optional"/>
  370.     </xsd:complexType>
  371.     <xsd:group name="TelcomNumberGroup">
  372.         <xsd:sequence>
  373.             <xsd:element ref="InternationalCountryCode" minOccurs="0"/>
  374.             <xsd:element ref="NationalNumber" minOccurs="0"/>
  375.             <xsd:element ref="AreaCityCode" minOccurs="0"/>
  376.             <xsd:element ref="SubscriberNumber"/>
  377.             <xsd:element ref="Extension" minOccurs="0"/>
  378.         </xsd:sequence>
  379.     </xsd:group>
  380.     <xsd:element name="FormattedNumber" type="xsd:string"/>
  381.     <xsd:element name="InternationalCountryCode" type="xsd:string"/>
  382.     <xsd:element name="NationalNumber" type="xsd:string"/>
  383.     <xsd:element name="AreaCityCode" type="xsd:string"/>
  384.     <xsd:element name="SubscriberNumber" type="xsd:string"/>
  385.     <xsd:complexType name="TelcomNumberType">
  386.         <xsd:choice>
  387.             <xsd:element ref="FormattedNumber"/>
  388.             <xsd:group ref="TelcomNumberGroup"/>
  389.         </xsd:choice>
  390.     </xsd:complexType>
  391.     <xsd:element name="Extension" type="xsd:string"/>
  392.     <xsd:element name="Telephone" type="TelcomNumberType"/>
  393.     <xsd:element name="Mobile" type="MobileTelcomNumberType"/>
  394.     <xsd:element name="Fax" type="TelcomNumberType"/>
  395.     <xsd:element name="Pager" type="TelcomNumberType"/>
  396.     <xsd:element name="TTYTDD" type="TelcomNumberType"/>
  397.     <xsd:complexType name="MobileTelcomNumberType">
  398.         <xsd:complexContent>
  399.             <xsd:extension base="TelcomNumberType">
  400.                 <xsd:attribute name="smsEnabled" type="xsd:boolean" use="optional"/>
  401.             </xsd:extension>
  402.         </xsd:complexContent>
  403.     </xsd:complexType>
  404.     <xsd:complexType name="TelcomNumberListType">
  405.         <xsd:sequence>
  406.             <xsd:element ref="Telephone" minOccurs="0"/>
  407.             <xsd:element ref="Mobile" minOccurs="0"/>
  408.             <xsd:element ref="Fax" minOccurs="0"/>
  409.             <xsd:element ref="Pager" minOccurs="0"/>
  410.             <xsd:element ref="TTYTDD" minOccurs="0"/>
  411.         </xsd:sequence>
  412.     </xsd:complexType>
  413.     <xsd:element name="InternetEmailAddress" type="InternetEmailAddressType"/>
  414.     <xsd:element name="InternetWebAddress" type="InternetWebAddressType"/>
  415.     <xsd:simpleType name="InternetEmailAddressType">
  416.         <xsd:restriction base="xsd:string"/>
  417.     </xsd:simpleType>
  418.     <xsd:simpleType name="InternetWebAddressType">
  419.         <xsd:restriction base="xsd:string"/>
  420.     </xsd:simpleType>
  421.     <xsd:element name="Use" type="contactMethodUsePatternExtensionType"/>
  422.     <xsd:element name="Location" type="contactMethodLocationPatternExtensionType"/>
  423.     <xsd:element name="WhenAvailable" type="contactMethodWhenAvailableType"/>
  424.     <xsd:complexType name="ContactMethodType">
  425.         <xsd:sequence>
  426.             <xsd:element ref="Use" minOccurs="0"/>
  427.             <xsd:element ref="Location" minOccurs="0"/>
  428.             <xsd:element ref="WhenAvailable" minOccurs="0"/>
  429.             <xsd:element ref="Telephone" minOccurs="0"/>
  430.             <xsd:element ref="Mobile" minOccurs="0"/>
  431.             <xsd:element ref="Fax" minOccurs="0"/>
  432.             <xsd:element ref="Pager" minOccurs="0"/>
  433.             <xsd:element ref="TTYTDD" minOccurs="0"/>
  434.             <xsd:element ref="InternetEmailAddress" minOccurs="0"/>
  435.             <xsd:element ref="InternetWebAddress" minOccurs="0"/>
  436.             <xsd:element ref="PostalAddress" minOccurs="0"/>
  437.         </xsd:sequence>
  438.     </xsd:complexType>
  439.     <xsd:simpleType name="contactMethodUseType">
  440.         <xsd:restriction base="xsd:string">
  441.             <xsd:enumeration value="business"/>
  442.             <xsd:enumeration value="businessDirect"/>
  443.             <xsd:enumeration value="personal"/>
  444.         </xsd:restriction>
  445.     </xsd:simpleType>
  446.     <xsd:simpleType name="contactMethodLocationType">
  447.         <xsd:restriction base="xsd:string">
  448.             <xsd:enumeration value="office"/>
  449.             <xsd:enumeration value="vehicle"/>
  450.             <xsd:enumeration value="onPerson"/>
  451.             <xsd:enumeration value="home"/>
  452.         </xsd:restriction>
  453.     </xsd:simpleType>
  454.     <xsd:simpleType name="contactMethodWhenAvailableType">
  455.         <xsd:restriction base="xsd:string"/>
  456.     </xsd:simpleType>
  457.     <xsd:simpleType name="xStringPatternExtensionType">
  458.         <xsd:restriction base="xsd:string">
  459.             <xsd:pattern value="x:\S.*"/>
  460.         </xsd:restriction>
  461.     </xsd:simpleType>
  462.     <xsd:simpleType name="contactMethodUsePatternExtensionType">
  463.         <xsd:union memberTypes="contactMethodUseType xStringPatternExtensionType"/>
  464.     </xsd:simpleType>
  465.     <xsd:simpleType name="contactMethodLocationPatternExtensionType">
  466.         <xsd:union memberTypes="contactMethodLocationType xStringPatternExtensionType"/>
  467.     </xsd:simpleType>
  468.     <xsd:simpleType name="contactMethodWhenAvailablePatternExtensionType">
  469.         <xsd:union memberTypes="contactMethodWhenAvailableType xStringPatternExtensionType"/>
  470.     </xsd:simpleType>
  471.     <xsd:complexType name="PostalAddressType">
  472.         <xsd:sequence>
  473.             <xsd:element name="CountryCode">
  474.                 <xsd:simpleType>
  475.                     <xsd:restriction base="xsd:string">
  476.                         <xsd:pattern value="[A-Z]{2}"/>
  477.                     </xsd:restriction>
  478.                 </xsd:simpleType>
  479.             </xsd:element>
  480.             <xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
  481.             <xsd:element name="Region" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  482.             <xsd:element name="Municipality" type="xsd:string" minOccurs="0"/>
  483.             <xsd:element name="DeliveryAddress" minOccurs="0">
  484.                 <xsd:complexType>
  485.                     <xsd:sequence>
  486.                         <xsd:element name="AddressLine" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  487.                         <xsd:element name="StreetName" type="xsd:string" minOccurs="0"/>
  488.                         <xsd:element name="BuildingNumber" type="xsd:string" minOccurs="0"/>
  489.                         <xsd:element name="Unit" type="xsd:string" minOccurs="0"/>
  490.                         <xsd:element name="PostOfficeBox" type="xsd:string" minOccurs="0"/>
  491.                     </xsd:sequence>
  492.                 </xsd:complexType>
  493.             </xsd:element>
  494.             <xsd:element name="Recipient" minOccurs="0" maxOccurs="unbounded">
  495.                 <xsd:complexType>
  496.                     <xsd:sequence>
  497.                         <xsd:element name="PersonName" type="PersonNameType" minOccurs="0"/>
  498.                         <xsd:element name="AdditionalText" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  499.                         <xsd:element name="Organization" type="xsd:string" minOccurs="0"/>
  500.                         <xsd:element name="OrganizationName" type="xsd:string" minOccurs="0"/>
  501.                     </xsd:sequence>
  502.                 </xsd:complexType>
  503.             </xsd:element>
  504.         </xsd:sequence>
  505.         <xsd:attribute name="type" default="undefined">
  506.             <xsd:simpleType>
  507.                 <xsd:restriction base="xsd:string">
  508.                     <xsd:enumeration value="postOfficeBoxAddress"/>
  509.                     <xsd:enumeration value="streetAddress"/>
  510.                     <xsd:enumeration value="militaryAddress"/>
  511.                     <xsd:enumeration value="undefined"/>
  512.                 </xsd:restriction>
  513.             </xsd:simpleType>
  514.         </xsd:attribute>
  515.     </xsd:complexType>
  516.     <xsd:element name="PostalAddress" type="PostalAddressType"/>
  517.     <xsd:complexType name="PersonNameType">
  518.         <xsd:sequence>
  519.             <xsd:element name="FormattedName" minOccurs="0" maxOccurs="unbounded">
  520.                 <xsd:complexType>
  521.                     <xsd:simpleContent>
  522.                         <xsd:extension base="xsd:string">
  523.                             <xsd:attribute name="type" default="presentation">
  524.                                 <xsd:simpleType>
  525.                                     <xsd:restriction base="xsd:string">
  526.                                         <xsd:enumeration value="presentation"/>
  527.                                         <xsd:enumeration value="legal"/>
  528.                                         <xsd:enumeration value="sortOrder"/>
  529.                                     </xsd:restriction>
  530.                                 </xsd:simpleType>
  531.                             </xsd:attribute>
  532.                         </xsd:extension>
  533.                     </xsd:simpleContent>
  534.                 </xsd:complexType>
  535.             </xsd:element>
  536.             <xsd:element name="LegalName" type="xsd:string" minOccurs="0"/>
  537.             <xsd:element name="GivenName" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  538.             <xsd:element name="PreferredGivenName" type="xsd:string" minOccurs="0"/>
  539.             <xsd:element name="MiddleName" type="xsd:string" minOccurs="0"/>
  540.             <xsd:element name="FamilyName" minOccurs="0" maxOccurs="unbounded">
  541.                 <xsd:complexType>
  542.                     <xsd:simpleContent>
  543.                         <xsd:extension base="xsd:string">
  544.                             <xsd:attribute name="primary" default="undefined">
  545.                                 <xsd:simpleType>
  546.                                     <xsd:restriction base="xsd:string">
  547.                                         <xsd:enumeration value="true"/>
  548.                                         <xsd:enumeration value="false"/>
  549.                                         <xsd:enumeration value="undefined"/>
  550.                                     </xsd:restriction>
  551.                                 </xsd:simpleType>
  552.                             </xsd:attribute>
  553.                             <xsd:attribute name="prefix" type="xsd:string"/>
  554.                         </xsd:extension>
  555.                     </xsd:simpleContent>
  556.                 </xsd:complexType>
  557.             </xsd:element>
  558.             <xsd:element name="Affix" minOccurs="0" maxOccurs="unbounded">
  559.                 <xsd:complexType>
  560.                     <xsd:simpleContent>
  561.                         <xsd:extension base="xsd:string">
  562.                             <xsd:attribute name="type" use="required">
  563.                                 <xsd:simpleType>
  564.                                     <xsd:restriction base="xsd:string">
  565.                                         <xsd:enumeration value="academicGrade"/>
  566.                                         <xsd:enumeration value="aristocraticPrefix"/>
  567.                                         <xsd:enumeration value="aristocraticTitle"/>
  568.                                         <xsd:enumeration value="familyNamePrefix"/>
  569.                                         <xsd:enumeration value="familyNameSuffix"/>
  570.                                         <xsd:enumeration value="formOfAddress"/>
  571.                                         <xsd:enumeration value="generation"/>
  572.                                         <xsd:enumeration value="qualification"/>
  573.                                     </xsd:restriction>
  574.                                 </xsd:simpleType>
  575.                             </xsd:attribute>
  576.                         </xsd:extension>
  577.                     </xsd:simpleContent>
  578.                 </xsd:complexType>
  579.             </xsd:element>
  580.         </xsd:sequence>
  581.     </xsd:complexType>
  582.     <xsd:element name="PersonName" type="PersonNameType"/>
  583.     <xsd:simpleType name="NotKnownLiteral">
  584.         <xsd:restriction base="xsd:string">
  585.             <xsd:enumeration value="notKnown"/>
  586.         </xsd:restriction>
  587.     </xsd:simpleType>
  588.     <xsd:simpleType name="NotApplicableLiteral">
  589.         <xsd:restriction base="xsd:string">
  590.             <xsd:enumeration value="notApplicable"/>
  591.         </xsd:restriction>
  592.     </xsd:simpleType>
  593.     <xsd:simpleType name="LocalDateType">
  594.         <xsd:restriction base="xsd:date">
  595.             <xsd:pattern value="\d\d\d\d-\d\d-\d\d"/>
  596.         </xsd:restriction>
  597.     </xsd:simpleType>
  598.     <xsd:simpleType name="LocalDateNkType">
  599.         <xsd:union memberTypes="LocalDateType NotKnownLiteral"/>
  600.     </xsd:simpleType>
  601.     <xsd:simpleType name="LocalDateNaType">
  602.         <xsd:union memberTypes="LocalDateType NotApplicableLiteral"/>
  603.     </xsd:simpleType>
  604.     <xsd:simpleType name="LocalDateNkNaType">
  605.         <xsd:union memberTypes="LocalDateType NotKnownLiteral NotApplicableLiteral"/>
  606.     </xsd:simpleType>
  607.     <xsd:simpleType name="DateType">
  608.         <xsd:restriction base="xsd:date">
  609.             <xsd:pattern value="\d\d\d\d-\d\d-\d\d(Z|(\+|-)\d\d:\d\d)"/>
  610.         </xsd:restriction>
  611.     </xsd:simpleType>
  612.     <xsd:simpleType name="DateNkType">
  613.         <xsd:union memberTypes="DateType NotKnownLiteral"/>
  614.     </xsd:simpleType>
  615.     <xsd:simpleType name="DateNaType">
  616.         <xsd:union memberTypes="DateType NotApplicableLiteral"/>
  617.     </xsd:simpleType>
  618.     <xsd:simpleType name="DateNkNaType">
  619.         <xsd:union memberTypes="DateType NotKnownLiteral NotApplicableLiteral"/>
  620.     </xsd:simpleType>
  621.     <xsd:simpleType name="LocalTimeType">
  622.         <xsd:restriction base="xsd:time">
  623.             <xsd:pattern value="\d\d:\d\d:\d\d"/>
  624.         </xsd:restriction>
  625.     </xsd:simpleType>
  626.     <xsd:simpleType name="LocalTimeNkType">
  627.         <xsd:union memberTypes="LocalTimeType NotKnownLiteral"/>
  628.     </xsd:simpleType>
  629.     <xsd:simpleType name="LocalTimeNaType">
  630.         <xsd:union memberTypes="LocalTimeType NotApplicableLiteral"/>
  631.     </xsd:simpleType>
  632.     <xsd:simpleType name="LocalTimeNkNaType">
  633.         <xsd:union memberTypes="LocalTimeType NotKnownLiteral NotApplicableLiteral"/>
  634.     </xsd:simpleType>
  635.     <xsd:simpleType name="TimeType">
  636.         <xsd:restriction base="xsd:time">
  637.             <xsd:pattern value="\d\d:\d\d:\d\d(Z|(\+|-)\d\d:\d\d)"/>
  638.         </xsd:restriction>
  639.     </xsd:simpleType>
  640.     <xsd:simpleType name="TimeNkType">
  641.         <xsd:union memberTypes="TimeType NotKnownLiteral"/>
  642.     </xsd:simpleType>
  643.     <xsd:simpleType name="TimeNaType">
  644.         <xsd:union memberTypes="TimeType NotApplicableLiteral"/>
  645.     </xsd:simpleType>
  646.     <xsd:simpleType name="TimeNkNaType">
  647.         <xsd:union memberTypes="TimeType NotKnownLiteral NotApplicableLiteral"/>
  648.     </xsd:simpleType>
  649.     <xsd:simpleType name="LocalDateTimeType">
  650.         <xsd:restriction base="xsd:dateTime">
  651.             <xsd:pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d"/>
  652.         </xsd:restriction>
  653.     </xsd:simpleType>
  654.     <xsd:simpleType name="LocalDateTimeNkType">
  655.         <xsd:union memberTypes="LocalDateTimeType NotKnownLiteral"/>
  656.     </xsd:simpleType>
  657.     <xsd:simpleType name="LocalDateTimeNaType">
  658.         <xsd:union memberTypes="LocalDateTimeType NotApplicableLiteral"/>
  659.     </xsd:simpleType>
  660.     <xsd:simpleType name="LocalDateTimeNkNaType">
  661.         <xsd:union memberTypes="LocalDateTimeType NotKnownLiteral NotApplicableLiteral"/>
  662.     </xsd:simpleType>
  663.     <xsd:simpleType name="DateTimeType">
  664.         <xsd:restriction base="xsd:dateTime">
  665.             <xsd:pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d(Z|(\+|-)\d\d:\d\d)"/>
  666.         </xsd:restriction>
  667.     </xsd:simpleType>
  668.     <xsd:simpleType name="DateTimeNkType">
  669.         <xsd:union memberTypes="DateTimeType NotKnownLiteral"/>
  670.     </xsd:simpleType>
  671.     <xsd:simpleType name="DateTimeNaType">
  672.         <xsd:union memberTypes="DateTimeType NotApplicableLiteral"/>
  673.     </xsd:simpleType>
  674.     <xsd:simpleType name="DateTimeNkNaType">
  675.         <xsd:union memberTypes="DateTimeType NotKnownLiteral NotApplicableLiteral"/>
  676.     </xsd:simpleType>
  677.     <xsd:simpleType name="AnyDateTimeType">
  678.         <xsd:union memberTypes="LocalDateType DateType LocalDateTimeType DateTimeType"/>
  679.     </xsd:simpleType>
  680.     <xsd:simpleType name="AnyDateTimeNkType">
  681.         <xsd:union memberTypes="AnyDateTimeType NotKnownLiteral"/>
  682.     </xsd:simpleType>
  683.     <xsd:simpleType name="AnyDateTimeNaType">
  684.         <xsd:union memberTypes="AnyDateTimeType NotApplicableLiteral"/>
  685.     </xsd:simpleType>
  686.     <xsd:simpleType name="AnyDateTimeNkNaType">
  687.         <xsd:union memberTypes="AnyDateTimeType NotKnownLiteral NotApplicableLiteral"/>
  688.     </xsd:simpleType>
  689.     <xsd:element name="UserArea" type="UserAreaType">
  690.         <xsd:annotation>
  691.             <xsd:documentation>HR-XML Technical Steering Committee endorsed extension element.</xsd:documentation>
  692.         </xsd:annotation>
  693.     </xsd:element>
  694.     <xsd:complexType name="UserAreaType">
  695.         <xsd:sequence minOccurs="0" maxOccurs="unbounded">
  696.             <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  697.         </xsd:sequence>
  698.     </xsd:complexType>
  699.     <!--******************************************************************************-->
  700.     <!-- * -->
  701.     <!--END include file: CPOLibrary-1_0_Time.xsd-->
  702.     <!-- * -->
  703.     <!--******************************************************************************-->
  704.     <xsd:annotation>
  705.         <xsd:documentation>
  706. "Copyright  The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org"
  707. Name: TimeCard-2.0.xsd
  708. Status: Recommendation
  709. Date this version: 2002-04-29
  710. Purpose: Defines XSD for Time Capture
  711. Author(s): Bill Kerr - Oracle Corporation, Paul Kiel - HR-XML, Gail Bubsey - Kelly Services, Time Workgroup
  712.  
  713. This HR-XML Consortium Work (including specifications, documents, 
  714. software, and related items) is provided by the copyright holders 
  715. under the following license. By obtaining, using and/or copying 
  716. this work, you (the licensee) agree that you have read, understood, 
  717. and will comply with the following terms and conditions.
  718.  
  719. Permission to use, copy, modify, or redistribute this Work and 
  720. its documentation, with or without modification, for any purpose 
  721. and without fee or royalty is hereby granted, provided that you 
  722. include the following on ALL copies of the software and 
  723. documentation or portions thereof, including modifications, 
  724. that you make: 
  725.  
  726. 1. This notice: "Copyright  The HR-XML Consortium. All Rights 
  727.    Reserved. http://www.hr-xml.org" 
  728. 2. Notice of any changes or modifications to the The HR-XML 
  729.    Consortium files.
  730.    
  731. THIS WORK, INCLUDING SPECIFICATIONS, DOCUMENTS, SOFTWARE, OR OTHER 
  732. RELATED ITEMS, IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO 
  733. REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT 
  734. NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY 
  735. PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION 
  736. WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS 
  737. OR OTHER RIGHTS. 
  738.  
  739. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, 
  740. SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE 
  741. SOFTWARE OR DOCUMENTATION. 
  742.  
  743. TITLE TO COPYRIGHT IN THIS WORK AND ANY ASSOCIATED DOCUMENTATION 
  744. WILL AT ALL TIMES REMAIN WITH COPYRIGHT HOLDERS.
  745.         </xsd:documentation>
  746.     </xsd:annotation>
  747.     <xsd:group name="AdditionalData">
  748.         <xsd:sequence>
  749.             <xsd:element name="AdditionalData" type="AdditionalDataType" maxOccurs="unbounded"/>
  750.         </xsd:sequence>
  751.     </xsd:group>
  752.     <xsd:group name="ApprovalInfo">
  753.         <xsd:sequence>
  754.             <xsd:element name="ApprovalInfo" type="ApprovalInfoType"/>
  755.         </xsd:sequence>
  756.     </xsd:group>
  757.     <xsd:group name="Person">
  758.         <xsd:sequence>
  759.             <xsd:element name="Person">
  760.                 <xsd:complexType>
  761.                     <xsd:sequence>
  762.                         <xsd:group ref="Id" minOccurs="0"/>
  763.                         <xsd:element ref="PersonName" minOccurs="0"/>
  764.                     </xsd:sequence>
  765.                 </xsd:complexType>
  766.             </xsd:element>
  767.         </xsd:sequence>
  768.     </xsd:group>
  769.     <xsd:group name="RateOrAmount">
  770.         <xsd:sequence>
  771.             <xsd:element name="RateOrAmount">
  772.                 <xsd:complexType>
  773.                     <xsd:simpleContent>
  774.                         <xsd:extension base="xsd:double">
  775.                             <xsd:attribute name="currency" type="currency" use="required"/>
  776.                             <xsd:attribute name="type" type="xsd:string" use="required"/>
  777.                             <xsd:attribute name="period" type="xsd:string" default="NotApplicable"/>
  778.                         </xsd:extension>
  779.                     </xsd:simpleContent>
  780.                 </xsd:complexType>
  781.             </xsd:element>
  782.         </xsd:sequence>
  783.     </xsd:group>
  784.     <xsd:group name="Id">
  785.         <xsd:sequence>
  786.             <xsd:element name="Id" type="EntityIdType"/>
  787.         </xsd:sequence>
  788.     </xsd:group>
  789.     <xsd:group name="Duration">
  790.         <xsd:sequence>
  791.             <xsd:element name="Duration">
  792.                 <xsd:simpleType>
  793.                     <xsd:union memberTypes="xsd:duration xsd:decimal"/>
  794.                 </xsd:simpleType>
  795.             </xsd:element>
  796.         </xsd:sequence>
  797.     </xsd:group>
  798.     <xsd:element name="TimeCard" type="TimeCardType"/>
  799.     <xsd:simpleType name="currency">
  800.         <xsd:annotation>
  801.             <xsd:documentation>Conforms to ISO 4217:1995.  The currency codes represented are made up of the two-character country code (ISO 3166-1) plus a one-character currency designator.</xsd:documentation>
  802.         </xsd:annotation>
  803.         <xsd:restriction base="xsd:string">
  804.             <xsd:pattern value="[A-Z]{3}"/>
  805.         </xsd:restriction>
  806.     </xsd:simpleType>
  807.     <xsd:complexType name="TimeCardType">
  808.         <xsd:sequence>
  809.             <xsd:group ref="Id" minOccurs="0"/>
  810.             <xsd:element name="ReportedResource">
  811.                 <xsd:complexType>
  812.                     <xsd:choice>
  813.                         <xsd:group ref="Person"/>
  814.                         <xsd:element name="Resource">
  815.                             <xsd:complexType>
  816.                                 <xsd:sequence>
  817.                                     <xsd:group ref="Id" minOccurs="0" maxOccurs="unbounded"/>
  818.                                     <xsd:element name="ResourceName" type="xsd:string" minOccurs="0"/>
  819.                                     <xsd:group ref="AdditionalData" minOccurs="0" maxOccurs="unbounded"/>
  820.                                 </xsd:sequence>
  821.                                 <xsd:attribute name="type" type="xsd:string"/>
  822.                             </xsd:complexType>
  823.                         </xsd:element>
  824.                     </xsd:choice>
  825.                 </xsd:complexType>
  826.             </xsd:element>
  827.             <xsd:element name="ReportedTime" maxOccurs="unbounded">
  828.                 <xsd:complexType>
  829.                     <xsd:sequence>
  830.                         <xsd:element name="PeriodStartDate" type="AnyDateTimeType"/>
  831.                         <xsd:element name="PeriodEndDate" type="AnyDateTimeType"/>
  832.                         <xsd:element name="ReportedPersonAssignment" minOccurs="0">
  833.                             <xsd:complexType>
  834.                                 <xsd:group ref="Id" minOccurs="0"/>
  835.                             </xsd:complexType>
  836.                         </xsd:element>
  837.                         <xsd:choice maxOccurs="unbounded">
  838.                             <xsd:element name="TimeInterval">
  839.                                 <xsd:complexType>
  840.                                     <xsd:sequence>
  841.                                         <xsd:group ref="Id" minOccurs="0"/>
  842.                                         <xsd:element name="StartDateTime" type="AnyDateTimeType"/>
  843.                                         <xsd:choice>
  844.                                             <xsd:sequence>
  845.                                                 <xsd:element name="EndDateTime" type="AnyDateTimeType"/>
  846.                                                 <xsd:group ref="Duration" minOccurs="0"/>
  847.                                             </xsd:sequence>
  848.                                             <xsd:group ref="Duration"/>
  849.                                         </xsd:choice>
  850.                                         <xsd:element name="PieceWork" minOccurs="0" maxOccurs="unbounded">
  851.                                             <xsd:complexType>
  852.                                                 <xsd:sequence>
  853.                                                     <xsd:element name="Piece">
  854.                                                         <xsd:complexType>
  855.                                                             <xsd:sequence>
  856.                                                                 <xsd:group ref="Id" minOccurs="0"/>
  857.                                                                 <xsd:element name="PieceValue" type="xsd:string"/>
  858.                                                             </xsd:sequence>
  859.                                                         </xsd:complexType>
  860.                                                     </xsd:element>
  861.                                                     <xsd:element name="Quantity">
  862.                                                         <xsd:complexType>
  863.                                                             <xsd:simpleContent>
  864.                                                                 <xsd:extension base="xsd:double">
  865.                                                                     <xsd:attribute name="unitOfMeasure" type="xsd:string"/>
  866.                                                                 </xsd:extension>
  867.                                                             </xsd:simpleContent>
  868.                                                         </xsd:complexType>
  869.                                                     </xsd:element>
  870.                                                 </xsd:sequence>
  871.                                             </xsd:complexType>
  872.                                         </xsd:element>
  873.                                         <xsd:group ref="RateOrAmount" minOccurs="0" maxOccurs="unbounded"/>
  874.                                         <xsd:group ref="AdditionalData" minOccurs="0"/>
  875.                                         <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/>
  876.                                         <xsd:element name="Comment" type="xsd:string" minOccurs="0"/>
  877.                                     </xsd:sequence>
  878.                                     <xsd:attribute name="type" type="xsd:string" use="required"/>
  879.                                     <xsd:attribute name="dayAssignment" default="current">
  880.                                         <xsd:simpleType>
  881.                                             <xsd:restriction base="xsd:string">
  882.                                                 <xsd:enumeration value="previous"/>
  883.                                                 <xsd:enumeration value="current"/>
  884.                                                 <xsd:enumeration value="next"/>
  885.                                             </xsd:restriction>
  886.                                         </xsd:simpleType>
  887.                                     </xsd:attribute>
  888.                                     <xsd:attribute name="billable" type="xsd:boolean"/>
  889.                                 </xsd:complexType>
  890.                             </xsd:element>
  891.                             <xsd:element name="TimeEvent">
  892.                                 <xsd:complexType>
  893.                                     <xsd:sequence>
  894.                                         <xsd:group ref="Id" minOccurs="0"/>
  895.                                         <xsd:element name="EventDateTime" type="AnyDateTimeType"/>
  896.                                         <xsd:group ref="RateOrAmount" minOccurs="0" maxOccurs="unbounded"/>
  897.                                         <xsd:group ref="AdditionalData" minOccurs="0"/>
  898.                                         <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/>
  899.                                         <xsd:element name="Comment" type="xsd:string" minOccurs="0"/>
  900.                                     </xsd:sequence>
  901.                                     <xsd:attribute name="type" type="xsd:string" use="required"/>
  902.                                     <xsd:attribute name="dayAssignment" default="current">
  903.                                         <xsd:simpleType>
  904.                                             <xsd:restriction base="xsd:string">
  905.                                                 <xsd:enumeration value="previous"/>
  906.                                                 <xsd:enumeration value="current"/>
  907.                                                 <xsd:enumeration value="next"/>
  908.                                             </xsd:restriction>
  909.                                         </xsd:simpleType>
  910.                                     </xsd:attribute>
  911.                                     <xsd:attribute name="billable" type="xsd:boolean"/>
  912.                                 </xsd:complexType>
  913.                             </xsd:element>
  914.                             <xsd:element name="Expense">
  915.                                 <xsd:complexType>
  916.                                     <xsd:sequence>
  917.                                         <xsd:group ref="Id" minOccurs="0"/>
  918.                                         <xsd:element name="ExpenseDate" type="AnyDateTimeType"/>
  919.                                         <xsd:element name="ExpenseAmount">
  920.                                             <xsd:complexType>
  921.                                                 <xsd:simpleContent>
  922.                                                     <xsd:extension base="xsd:double">
  923.                                                         <xsd:attribute name="currency" type="currency" use="required"/>
  924.                                                     </xsd:extension>
  925.                                                 </xsd:simpleContent>
  926.                                             </xsd:complexType>
  927.                                         </xsd:element>
  928.                                         <xsd:group ref="AdditionalData" minOccurs="0"/>
  929.                                         <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/>
  930.                                         <xsd:element name="Comment" type="xsd:string" minOccurs="0"/>
  931.                                     </xsd:sequence>
  932.                                     <xsd:attribute name="type" type="xsd:string" use="required"/>
  933.                                     <xsd:attribute name="billable" type="xsd:boolean"/>
  934.                                 </xsd:complexType>
  935.                             </xsd:element>
  936.                         </xsd:choice>
  937.                         <xsd:group ref="AdditionalData" minOccurs="0"/>
  938.                         <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/>
  939.                     </xsd:sequence>
  940.                     <xsd:attribute name="status">
  941.                         <xsd:simpleType>
  942.                             <xsd:restriction base="xsd:string">
  943.                                 <xsd:enumeration value="Raw"/>
  944.                                 <xsd:enumeration value="Processed"/>
  945.                             </xsd:restriction>
  946.                         </xsd:simpleType>
  947.                     </xsd:attribute>
  948.                 </xsd:complexType>
  949.             </xsd:element>
  950.             <xsd:element name="SubmitterInfo" type="SubmitterInfoType" minOccurs="0"/>
  951.             <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/>
  952.             <xsd:group ref="AdditionalData" minOccurs="0"/>
  953.             <xsd:element ref="UserArea" minOccurs="0"/>
  954.         </xsd:sequence>
  955.     </xsd:complexType>
  956.     <xsd:complexType name="AdditionalDataType" mixed="true">
  957.         <xsd:sequence minOccurs="0" maxOccurs="unbounded">
  958.             <xsd:any minOccurs="0" maxOccurs="unbounded"/>
  959.         </xsd:sequence>
  960.         <xsd:attribute name="type" type="xsd:string"/>
  961.     </xsd:complexType>
  962.     <xsd:complexType name="ApprovalInfoType">
  963.         <xsd:sequence>
  964.             <xsd:group ref="Person"/>
  965.             <xsd:element name="ApprovedDateTime" type="AnyDateTimeType"/>
  966.             <xsd:element name="Comment" type="xsd:string" minOccurs="0"/>
  967.         </xsd:sequence>
  968.         <xsd:attribute name="approverType" type="xsd:string"/>
  969.     </xsd:complexType>
  970.     <xsd:complexType name="SubmitterInfoType">
  971.         <xsd:sequence>
  972.             <xsd:group ref="Person" minOccurs="0"/>
  973.             <xsd:element name="Source" type="xsd:string" minOccurs="0"/>
  974.             <xsd:element name="SubmittedDateTime" type="AnyDateTimeType"/>
  975.         </xsd:sequence>
  976.     </xsd:complexType>
  977. </xsd:schema>
  978.