home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="UTF-8"?> <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"> <!--Normalized version of schema, with all "includes" inserted explicitly. This was auto-generated. Duplicate definitions were deleted, leaving only comments. --> <!--******************************************************************************--> <!-- * --> <!--BEGIN include file: CPOLibrary-1_0_Time.xsd--> <!-- * --> <xsd:annotation> <xsd:documentation> CPO Library 1_0 (2002-03-02) This CPO Library is a consolidation of existing Consortium approved Recommendations. No functionality or syntax changes have been made to the original specifications. PersonName-1_2 PostalAddress-1_2 cpoDateTimeTypes-1_1 ContactMethod-1_0 TelcomNumber-1_0 OnlineAddress-1_0 Competencies-1_0 JobHeader-1_0 PositionHeader-1_0 WorkSite-1_0 WorkSiteEnvironment-1_0 UserArea-1_0 Conformance Note (for development): No namespace schema declarations and definitions are included outright in this file to put it into the above namespace. This is solely for interoperability purposes during development, as parser implementations of nested includes and imports varies. Published versions will be fully normalized with no includes. These are the equivelant includes: xsd:include schemaLocation="../../JobPosition/Description-1_0/WorkSiteEnvironment-1_0.xsd"/> xsd:include schemaLocation="../../JobPosition/Description-1_0/WorkSite-1_0.xsd"/> xsd:include schemaLocation="../../JobPosition/Description-1_0/PositionHeader-1_0.xsd"/> xsd:include schemaLocation="../../JobPosition/Description-1_0/JobHeader-1_0.xsd"/> xsd:include schemaLocation="../../CPO/ID-1_0/EntityIdType-1_0.xsd"/> xsd:include schemaLocation="../../CPO/PersonName-1_2/PersonName-1_2.xsd"/> xsd:include schemaLocation="../../Competencies/Competencies-1_0/Competencies-1_0.xsd"/> xsd:include schemaLocation="../../CPO/Dating-1_1/cpoDateTimeTypes-1_1.xsd"/> xsd:include schemaLocation="../../CPO/ContactInfo-1_0/ContactMethod-1_0.xsd"/> xsd:include schemaLocation="../../CPO/ContactInfo-1_0/TelcomNumber-1_0.xsd"/> xsd:include schemaLocation="../../CPO/ContactInfo-1_0/OnlineAddress-1_0.xsd"/> xsd:include schemaLocation="../../CPO/PostalAddress-1_2/PostalAddress-1_2.xsd"/> xsd:include schemaLocation="../../TSC/HRXMLExtension-1_0/UserArea-1_0.xsd"/> "Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org" Status: Approved Recommendation This HR-XML Consortium Work (including specifications, documents, software, and related items) is provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. Permission to use, copy, modify, or redistribute this Work and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make: 1. This notice: "Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org" 2. Notice of any changes or modifications to the The HR-XML Consortium files. THIS WORK, INCLUDING SPECIFICATIONS, DOCUMENTS, SOFTWARE, OR OTHER RELATED ITEMS, IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. TITLE TO COPYRIGHT IN THIS WORK AND ANY ASSOCIATED DOCUMENTATION WILL AT ALL TIMES REMAIN WITH COPYRIGHT HOLDERS. </xsd:documentation> </xsd:annotation> <xsd:element name="PositionHeader"> <xsd:complexType> <xsd:sequence> <xsd:element name="PositionId" type="PositionIdentifierType"/> <xsd:element ref="JobId" minOccurs="0"/> <xsd:element ref="PositionTitle" minOccurs="0"/> <xsd:element name="PositionType" type="xsd:string" minOccurs="0"/> <xsd:element ref="PositionDescription" minOccurs="0"/> <xsd:element ref="PositionStatus" minOccurs="0"/> <xsd:element ref="ReportToPositionId" minOccurs="0"/> <xsd:element ref="SpecialInstructions" minOccurs="0"/> <xsd:element name="TypeOfHours" type="xsd:string" minOccurs="0"/> <xsd:element name="Quantity" type="xsd:double" default="1" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="validFrom" type="AnyDateTimeType"/> <xsd:attribute name="validTo" type="AnyDateTimeType"/> </xsd:complexType> </xsd:element> <xsd:element name="JobId" type="PositionIdentifierType"/> <xsd:element name="PositionTitle" type="xsd:string"/> <xsd:element name="PositionDescription" type="xsd:string"/> <xsd:element name="ReportToPositionId" type="PositionIdentifierType"/> <xsd:element name="SpecialInstructions" type="xsd:string"/> <xsd:element name="PositionStatus"> <xsd:complexType> <xsd:sequence> <xsd:element name="Code" type="xsd:string" minOccurs="0"/> <xsd:element name="Description" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="PositionIdentifierType"> <xsd:sequence> <xsd:element name="Id" type="xsd:string"/> <xsd:element name="Domain" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="IdIssuer" type="xsd:string" minOccurs="0"/> <xsd:element name="IdType" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:element name="JobHeader"> <xsd:complexType> <xsd:sequence> <xsd:element name="JobId" type="JobIdentifierType"/> <xsd:element ref="JobTitle" minOccurs="0"/> <xsd:element ref="JobDescription" minOccurs="0"/> <xsd:element ref="JobStatus" minOccurs="0"/> <xsd:element ref="JobLevel" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="JobCategory" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="validFrom" type="AnyDateTimeType"/> <xsd:attribute name="validTo" type="AnyDateTimeType"/> </xsd:complexType> </xsd:element> <xsd:element name="JobStatus"> <xsd:complexType> <xsd:sequence> <xsd:element name="Code" type="xsd:string" minOccurs="0"/> <xsd:element name="Description" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="JobDescription" type="xsd:string"/> <xsd:element name="JobTitle" type="xsd:string"/> <xsd:element name="JobCategory"> <xsd:complexType> <xsd:sequence> <xsd:element name="Code" type="xsd:string" minOccurs="0"/> <xsd:element name="Description" type="xsd:string" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="type" type="xsd:string"/> </xsd:complexType> </xsd:element> <xsd:element name="JobLevel"> <xsd:complexType> <xsd:sequence> <xsd:element name="Code" type="xsd:string" minOccurs="0"/> <xsd:element name="Description" type="xsd:string" minOccurs="0"/> <xsd:element ref="JobLevel" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="type" type="xsd:string"/> </xsd:complexType> </xsd:element> <xsd:complexType name="JobIdentifierType"> <xsd:sequence> <xsd:element name="Id" type="xsd:string"/> <xsd:element name="Domain" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="IdIssuer" type="xsd:string" minOccurs="0"/> <xsd:element name="IdType" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:element name="WorkSite"> <xsd:complexType> <xsd:sequence> <xsd:element name="WorkSiteId" type="WorkSiteIdentifierType"/> <xsd:element ref="WorkSiteName"/> <xsd:element name="WorkSiteDetail" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="workSiteType" type="xsd:string" default="presentation"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="PostalAddress" type="PostalAddressType" minOccurs="0"/> <xsd:element ref="TravelDirections" minOccurs="0"/> <xsd:element ref="ParkingInstructions" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="WorkSiteId" type="WorkSiteIdentifierType"/> <xsd:element name="WorkSiteName" type="xsd:string"/> <xsd:element name="WorkSiteType" type="xsd:string"/> <xsd:element name="WorkSiteDetail" type="xsd:string"/> <xsd:element name="TravelDirections" type="xsd:string"/> <xsd:element name="ParkingInstructions" type="xsd:string"/> <xsd:complexType name="WorkSiteIdentifierType"> <xsd:sequence> <xsd:element name="Id" type="xsd:string"/> <xsd:element name="Domain" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="IdIssuer" type="xsd:string" minOccurs="0"/> <xsd:element name="IdType" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:element name="WorkSiteEnvironment"> <xsd:complexType> <xsd:sequence> <xsd:element name="EnvironmentId" type="WorkSiteEnvironmentIdentifierType"/> <xsd:element ref="EnvironmentName"/> <xsd:element ref="EnvironmentDescription" minOccurs="0"/> <xsd:element ref="EnvironmentConsideration" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="EnvironmentId" type="WorkSiteEnvironmentIdentifierType"/> <xsd:element name="EnvironmentName" type="xsd:string"/> <xsd:element name="EnvironmentDescription" type="xsd:string"/> <xsd:element name="EnvironmentConsideration"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="typeConsideration" use="required"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="General"/> <xsd:enumeration value="Physical"/> <xsd:enumeration value="SafetyEquipment"/> <xsd:enumeration value="DressCode"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:complexType name="WorkSiteEnvironmentIdentifierType"> <xsd:sequence> <xsd:element name="Id" type="xsd:string"/> <xsd:element name="Domain" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="IdIssuer" type="xsd:string" minOccurs="0"/> <xsd:element name="IdType" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:attributeGroup name="id"> <xsd:attribute name="id" type="xsd:string" use="required"/> <xsd:attribute name="idOwner" type="xsd:string"/> <xsd:attribute name="description" type="xsd:string"/> </xsd:attributeGroup> <xsd:element name="Competency"> <xsd:complexType> <xsd:sequence> <xsd:element name="CompetencyId" minOccurs="0"> <xsd:complexType> <xsd:attributeGroup ref="id"/> </xsd:complexType> </xsd:element> <xsd:element name="TaxonomyId" minOccurs="0"> <xsd:complexType> <xsd:attributeGroup ref="id"/> </xsd:complexType> </xsd:element> <xsd:element name="CompetencyEvidence" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="EvidenceId" minOccurs="0"> <xsd:complexType> <xsd:attributeGroup ref="id"/> </xsd:complexType> </xsd:element> <xsd:choice> <xsd:element ref="NumericValue"/> <xsd:element ref="StringValue"/> </xsd:choice> <xsd:element ref="SupportingInformation" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="dateOfIncident" type="AnyDateTimeType"/> <xsd:attribute name="name" type="xsd:string"/> <xsd:attribute name="typeDescription" type="xsd:string"/> <xsd:attribute name="expirationDate" type="AnyDateTimeType"/> <xsd:attribute name="typeId" type="xsd:string"/> <xsd:attribute name="required" type="xsd:boolean" default="false"/> <xsd:attribute name="lastUsed" type="AnyDateTimeType"/> </xsd:complexType> </xsd:element> <xsd:element name="CompetencyWeight" minOccurs="0" maxOccurs="2"> <xsd:complexType> <xsd:sequence> <xsd:choice> <xsd:element ref="NumericValue"/> <xsd:element ref="StringValue"/> </xsd:choice> <xsd:element ref="SupportingInformation" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="type" default="skillLevel"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="levelOfInterest"/> <xsd:enumeration value="skillLevel"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType> </xsd:element> <xsd:element ref="Competency" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="name" type="xsd:string"/> <xsd:attribute name="description" type="xsd:string"/> <xsd:attribute name="required" type="xsd:boolean" default="false"/> </xsd:complexType> </xsd:element> <xsd:element name="NumericValue"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:double"> <xsd:attribute name="minValue" type="xsd:double"/> <xsd:attribute name="maxValue" type="xsd:double"/> <xsd:attribute name="description" type="xsd:string"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="StringValue"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="minValue" type="xsd:string"/> <xsd:attribute name="maxValue" type="xsd:string"/> <xsd:attribute name="description" type="xsd:string"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="SupportingInformation" type="xsd:string"/> <xsd:complexType name="EntityIdType"> <xsd:sequence> <xsd:element name="IdValue" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="name" type="xsd:string" use="optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="validFrom" type="AnyDateTimeNkNaType" use="optional"/> <xsd:attribute name="validTo" type="AnyDateTimeNkNaType" use="optional"/> <xsd:attribute name="idOwner" type="xsd:string" use="optional"/> </xsd:complexType> <xsd:group name="TelcomNumberGroup"> <xsd:sequence> <xsd:element ref="InternationalCountryCode" minOccurs="0"/> <xsd:element ref="NationalNumber" minOccurs="0"/> <xsd:element ref="AreaCityCode" minOccurs="0"/> <xsd:element ref="SubscriberNumber"/> <xsd:element ref="Extension" minOccurs="0"/> </xsd:sequence> </xsd:group> <xsd:element name="FormattedNumber" type="xsd:string"/> <xsd:element name="InternationalCountryCode" type="xsd:string"/> <xsd:element name="NationalNumber" type="xsd:string"/> <xsd:element name="AreaCityCode" type="xsd:string"/> <xsd:element name="SubscriberNumber" type="xsd:string"/> <xsd:complexType name="TelcomNumberType"> <xsd:choice> <xsd:element ref="FormattedNumber"/> <xsd:group ref="TelcomNumberGroup"/> </xsd:choice> </xsd:complexType> <xsd:element name="Extension" type="xsd:string"/> <xsd:element name="Telephone" type="TelcomNumberType"/> <xsd:element name="Mobile" type="MobileTelcomNumberType"/> <xsd:element name="Fax" type="TelcomNumberType"/> <xsd:element name="Pager" type="TelcomNumberType"/> <xsd:element name="TTYTDD" type="TelcomNumberType"/> <xsd:complexType name="MobileTelcomNumberType"> <xsd:complexContent> <xsd:extension base="TelcomNumberType"> <xsd:attribute name="smsEnabled" type="xsd:boolean" use="optional"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="TelcomNumberListType"> <xsd:sequence> <xsd:element ref="Telephone" minOccurs="0"/> <xsd:element ref="Mobile" minOccurs="0"/> <xsd:element ref="Fax" minOccurs="0"/> <xsd:element ref="Pager" minOccurs="0"/> <xsd:element ref="TTYTDD" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:element name="InternetEmailAddress" type="InternetEmailAddressType"/> <xsd:element name="InternetWebAddress" type="InternetWebAddressType"/> <xsd:simpleType name="InternetEmailAddressType"> <xsd:restriction base="xsd:string"/> </xsd:simpleType> <xsd:simpleType name="InternetWebAddressType"> <xsd:restriction base="xsd:string"/> </xsd:simpleType> <xsd:element name="Use" type="contactMethodUsePatternExtensionType"/> <xsd:element name="Location" type="contactMethodLocationPatternExtensionType"/> <xsd:element name="WhenAvailable" type="contactMethodWhenAvailableType"/> <xsd:complexType name="ContactMethodType"> <xsd:sequence> <xsd:element ref="Use" minOccurs="0"/> <xsd:element ref="Location" minOccurs="0"/> <xsd:element ref="WhenAvailable" minOccurs="0"/> <xsd:element ref="Telephone" minOccurs="0"/> <xsd:element ref="Mobile" minOccurs="0"/> <xsd:element ref="Fax" minOccurs="0"/> <xsd:element ref="Pager" minOccurs="0"/> <xsd:element ref="TTYTDD" minOccurs="0"/> <xsd:element ref="InternetEmailAddress" minOccurs="0"/> <xsd:element ref="InternetWebAddress" minOccurs="0"/> <xsd:element ref="PostalAddress" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:simpleType name="contactMethodUseType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="business"/> <xsd:enumeration value="businessDirect"/> <xsd:enumeration value="personal"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="contactMethodLocationType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="office"/> <xsd:enumeration value="vehicle"/> <xsd:enumeration value="onPerson"/> <xsd:enumeration value="home"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="contactMethodWhenAvailableType"> <xsd:restriction base="xsd:string"/> </xsd:simpleType> <xsd:simpleType name="xStringPatternExtensionType"> <xsd:restriction base="xsd:string"> <xsd:pattern value="x:\S.*"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="contactMethodUsePatternExtensionType"> <xsd:union memberTypes="contactMethodUseType xStringPatternExtensionType"/> </xsd:simpleType> <xsd:simpleType name="contactMethodLocationPatternExtensionType"> <xsd:union memberTypes="contactMethodLocationType xStringPatternExtensionType"/> </xsd:simpleType> <xsd:simpleType name="contactMethodWhenAvailablePatternExtensionType"> <xsd:union memberTypes="contactMethodWhenAvailableType xStringPatternExtensionType"/> </xsd:simpleType> <xsd:complexType name="PostalAddressType"> <xsd:sequence> <xsd:element name="CountryCode"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[A-Z]{2}"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/> <xsd:element name="Region" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="Municipality" type="xsd:string" minOccurs="0"/> <xsd:element name="DeliveryAddress" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="AddressLine" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="StreetName" type="xsd:string" minOccurs="0"/> <xsd:element name="BuildingNumber" type="xsd:string" minOccurs="0"/> <xsd:element name="Unit" type="xsd:string" minOccurs="0"/> <xsd:element name="PostOfficeBox" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="Recipient" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="PersonName" type="PersonNameType" minOccurs="0"/> <xsd:element name="AdditionalText" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="Organization" type="xsd:string" minOccurs="0"/> <xsd:element name="OrganizationName" type="xsd:string" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="type" default="undefined"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="postOfficeBoxAddress"/> <xsd:enumeration value="streetAddress"/> <xsd:enumeration value="militaryAddress"/> <xsd:enumeration value="undefined"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType> <xsd:element name="PostalAddress" type="PostalAddressType"/> <xsd:complexType name="PersonNameType"> <xsd:sequence> <xsd:element name="FormattedName" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="type" default="presentation"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="presentation"/> <xsd:enumeration value="legal"/> <xsd:enumeration value="sortOrder"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="LegalName" type="xsd:string" minOccurs="0"/> <xsd:element name="GivenName" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="PreferredGivenName" type="xsd:string" minOccurs="0"/> <xsd:element name="MiddleName" type="xsd:string" minOccurs="0"/> <xsd:element name="FamilyName" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="primary" default="undefined"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="true"/> <xsd:enumeration value="false"/> <xsd:enumeration value="undefined"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="prefix" type="xsd:string"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="Affix" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="type" use="required"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="academicGrade"/> <xsd:enumeration value="aristocraticPrefix"/> <xsd:enumeration value="aristocraticTitle"/> <xsd:enumeration value="familyNamePrefix"/> <xsd:enumeration value="familyNameSuffix"/> <xsd:enumeration value="formOfAddress"/> <xsd:enumeration value="generation"/> <xsd:enumeration value="qualification"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:element name="PersonName" type="PersonNameType"/> <xsd:simpleType name="NotKnownLiteral"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="notKnown"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="NotApplicableLiteral"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="notApplicable"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="LocalDateType"> <xsd:restriction base="xsd:date"> <xsd:pattern value="\d\d\d\d-\d\d-\d\d"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="LocalDateNkType"> <xsd:union memberTypes="LocalDateType NotKnownLiteral"/> </xsd:simpleType> <xsd:simpleType name="LocalDateNaType"> <xsd:union memberTypes="LocalDateType NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="LocalDateNkNaType"> <xsd:union memberTypes="LocalDateType NotKnownLiteral NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="DateType"> <xsd:restriction base="xsd:date"> <xsd:pattern value="\d\d\d\d-\d\d-\d\d(Z|(\+|-)\d\d:\d\d)"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="DateNkType"> <xsd:union memberTypes="DateType NotKnownLiteral"/> </xsd:simpleType> <xsd:simpleType name="DateNaType"> <xsd:union memberTypes="DateType NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="DateNkNaType"> <xsd:union memberTypes="DateType NotKnownLiteral NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="LocalTimeType"> <xsd:restriction base="xsd:time"> <xsd:pattern value="\d\d:\d\d:\d\d"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="LocalTimeNkType"> <xsd:union memberTypes="LocalTimeType NotKnownLiteral"/> </xsd:simpleType> <xsd:simpleType name="LocalTimeNaType"> <xsd:union memberTypes="LocalTimeType NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="LocalTimeNkNaType"> <xsd:union memberTypes="LocalTimeType NotKnownLiteral NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="TimeType"> <xsd:restriction base="xsd:time"> <xsd:pattern value="\d\d:\d\d:\d\d(Z|(\+|-)\d\d:\d\d)"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="TimeNkType"> <xsd:union memberTypes="TimeType NotKnownLiteral"/> </xsd:simpleType> <xsd:simpleType name="TimeNaType"> <xsd:union memberTypes="TimeType NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="TimeNkNaType"> <xsd:union memberTypes="TimeType NotKnownLiteral NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="LocalDateTimeType"> <xsd:restriction base="xsd:dateTime"> <xsd:pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="LocalDateTimeNkType"> <xsd:union memberTypes="LocalDateTimeType NotKnownLiteral"/> </xsd:simpleType> <xsd:simpleType name="LocalDateTimeNaType"> <xsd:union memberTypes="LocalDateTimeType NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="LocalDateTimeNkNaType"> <xsd:union memberTypes="LocalDateTimeType NotKnownLiteral NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="DateTimeType"> <xsd:restriction base="xsd:dateTime"> <xsd:pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d(Z|(\+|-)\d\d:\d\d)"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="DateTimeNkType"> <xsd:union memberTypes="DateTimeType NotKnownLiteral"/> </xsd:simpleType> <xsd:simpleType name="DateTimeNaType"> <xsd:union memberTypes="DateTimeType NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="DateTimeNkNaType"> <xsd:union memberTypes="DateTimeType NotKnownLiteral NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="AnyDateTimeType"> <xsd:union memberTypes="LocalDateType DateType LocalDateTimeType DateTimeType"/> </xsd:simpleType> <xsd:simpleType name="AnyDateTimeNkType"> <xsd:union memberTypes="AnyDateTimeType NotKnownLiteral"/> </xsd:simpleType> <xsd:simpleType name="AnyDateTimeNaType"> <xsd:union memberTypes="AnyDateTimeType NotApplicableLiteral"/> </xsd:simpleType> <xsd:simpleType name="AnyDateTimeNkNaType"> <xsd:union memberTypes="AnyDateTimeType NotKnownLiteral NotApplicableLiteral"/> </xsd:simpleType> <xsd:element name="UserArea" type="UserAreaType"> <xsd:annotation> <xsd:documentation>HR-XML Technical Steering Committee endorsed extension element.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:complexType name="UserAreaType"> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <!--******************************************************************************--> <!-- * --> <!--END include file: CPOLibrary-1_0_Time.xsd--> <!-- * --> <!--******************************************************************************--> <xsd:annotation> <xsd:documentation> "Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org" Name: TimeCard-2.0.xsd Status: Recommendation Date this version: 2002-04-29 Purpose: Defines XSD for Time Capture Author(s): Bill Kerr - Oracle Corporation, Paul Kiel - HR-XML, Gail Bubsey - Kelly Services, Time Workgroup This HR-XML Consortium Work (including specifications, documents, software, and related items) is provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. Permission to use, copy, modify, or redistribute this Work and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make: 1. This notice: "Copyright The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org" 2. Notice of any changes or modifications to the The HR-XML Consortium files. THIS WORK, INCLUDING SPECIFICATIONS, DOCUMENTS, SOFTWARE, OR OTHER RELATED ITEMS, IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. TITLE TO COPYRIGHT IN THIS WORK AND ANY ASSOCIATED DOCUMENTATION WILL AT ALL TIMES REMAIN WITH COPYRIGHT HOLDERS. </xsd:documentation> </xsd:annotation> <xsd:group name="AdditionalData"> <xsd:sequence> <xsd:element name="AdditionalData" type="AdditionalDataType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:group> <xsd:group name="ApprovalInfo"> <xsd:sequence> <xsd:element name="ApprovalInfo" type="ApprovalInfoType"/> </xsd:sequence> </xsd:group> <xsd:group name="Person"> <xsd:sequence> <xsd:element name="Person"> <xsd:complexType> <xsd:sequence> <xsd:group ref="Id" minOccurs="0"/> <xsd:element ref="PersonName" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:group> <xsd:group name="RateOrAmount"> <xsd:sequence> <xsd:element name="RateOrAmount"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:double"> <xsd:attribute name="currency" type="currency" use="required"/> <xsd:attribute name="type" type="xsd:string" use="required"/> <xsd:attribute name="period" type="xsd:string" default="NotApplicable"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:group> <xsd:group name="Id"> <xsd:sequence> <xsd:element name="Id" type="EntityIdType"/> </xsd:sequence> </xsd:group> <xsd:group name="Duration"> <xsd:sequence> <xsd:element name="Duration"> <xsd:simpleType> <xsd:union memberTypes="xsd:duration xsd:decimal"/> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:group> <xsd:element name="TimeCard" type="TimeCardType"/> <xsd:simpleType name="currency"> <xsd:annotation> <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> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:pattern value="[A-Z]{3}"/> </xsd:restriction> </xsd:simpleType> <xsd:complexType name="TimeCardType"> <xsd:sequence> <xsd:group ref="Id" minOccurs="0"/> <xsd:element name="ReportedResource"> <xsd:complexType> <xsd:choice> <xsd:group ref="Person"/> <xsd:element name="Resource"> <xsd:complexType> <xsd:sequence> <xsd:group ref="Id" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="ResourceName" type="xsd:string" minOccurs="0"/> <xsd:group ref="AdditionalData" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="type" type="xsd:string"/> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> <xsd:element name="ReportedTime" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="PeriodStartDate" type="AnyDateTimeType"/> <xsd:element name="PeriodEndDate" type="AnyDateTimeType"/> <xsd:element name="ReportedPersonAssignment" minOccurs="0"> <xsd:complexType> <xsd:group ref="Id" minOccurs="0"/> </xsd:complexType> </xsd:element> <xsd:choice maxOccurs="unbounded"> <xsd:element name="TimeInterval"> <xsd:complexType> <xsd:sequence> <xsd:group ref="Id" minOccurs="0"/> <xsd:element name="StartDateTime" type="AnyDateTimeType"/> <xsd:choice> <xsd:sequence> <xsd:element name="EndDateTime" type="AnyDateTimeType"/> <xsd:group ref="Duration" minOccurs="0"/> </xsd:sequence> <xsd:group ref="Duration"/> </xsd:choice> <xsd:element name="PieceWork" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="Piece"> <xsd:complexType> <xsd:sequence> <xsd:group ref="Id" minOccurs="0"/> <xsd:element name="PieceValue" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="Quantity"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:double"> <xsd:attribute name="unitOfMeasure" type="xsd:string"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:group ref="RateOrAmount" minOccurs="0" maxOccurs="unbounded"/> <xsd:group ref="AdditionalData" minOccurs="0"/> <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="type" type="xsd:string" use="required"/> <xsd:attribute name="dayAssignment" default="current"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="previous"/> <xsd:enumeration value="current"/> <xsd:enumeration value="next"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="billable" type="xsd:boolean"/> </xsd:complexType> </xsd:element> <xsd:element name="TimeEvent"> <xsd:complexType> <xsd:sequence> <xsd:group ref="Id" minOccurs="0"/> <xsd:element name="EventDateTime" type="AnyDateTimeType"/> <xsd:group ref="RateOrAmount" minOccurs="0" maxOccurs="unbounded"/> <xsd:group ref="AdditionalData" minOccurs="0"/> <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="type" type="xsd:string" use="required"/> <xsd:attribute name="dayAssignment" default="current"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="previous"/> <xsd:enumeration value="current"/> <xsd:enumeration value="next"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="billable" type="xsd:boolean"/> </xsd:complexType> </xsd:element> <xsd:element name="Expense"> <xsd:complexType> <xsd:sequence> <xsd:group ref="Id" minOccurs="0"/> <xsd:element name="ExpenseDate" type="AnyDateTimeType"/> <xsd:element name="ExpenseAmount"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:double"> <xsd:attribute name="currency" type="currency" use="required"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:group ref="AdditionalData" minOccurs="0"/> <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="type" type="xsd:string" use="required"/> <xsd:attribute name="billable" type="xsd:boolean"/> </xsd:complexType> </xsd:element> </xsd:choice> <xsd:group ref="AdditionalData" minOccurs="0"/> <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="status"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Raw"/> <xsd:enumeration value="Processed"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType> </xsd:element> <xsd:element name="SubmitterInfo" type="SubmitterInfoType" minOccurs="0"/> <xsd:group ref="ApprovalInfo" minOccurs="0" maxOccurs="unbounded"/> <xsd:group ref="AdditionalData" minOccurs="0"/> <xsd:element ref="UserArea" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="AdditionalDataType" mixed="true"> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:any minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="type" type="xsd:string"/> </xsd:complexType> <xsd:complexType name="ApprovalInfoType"> <xsd:sequence> <xsd:group ref="Person"/> <xsd:element name="ApprovedDateTime" type="AnyDateTimeType"/> <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="approverType" type="xsd:string"/> </xsd:complexType> <xsd:complexType name="SubmitterInfoType"> <xsd:sequence> <xsd:group ref="Person" minOccurs="0"/> <xsd:element name="Source" type="xsd:string" minOccurs="0"/> <xsd:element name="SubmittedDateTime" type="AnyDateTimeType"/> </xsd:sequence> </xsd:complexType> </xsd:schema>