home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema targetNamespace="http://ns.hr-xml.org/Time/TimeCardConfiguration-1_0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ns.hr-xml.org/Time/TimeCardConfiguration-1_0" elementFormDefault="qualified"> <!--Normalized version of schema, with all "includes" inserted explicitly. This was auto-generated. Duplicate definitions were deleted, leaving only comments. --> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/> <!--******************************************************************************--> <!-- * --> <!--BEGIN include file: ../../CPO/Dating-1_1/cpoDateTimeTypes-1_1.xsd--> <!-- * --> <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> <!--******************************************************************************--> <!-- * --> <!--END include file: ../../CPO/Dating-1_1/cpoDateTimeTypes-1_1.xsd--> <!-- * --> <!--******************************************************************************--> <!--******************************************************************************--> <!-- * --> <!--BEGIN include file: ../../CPO/PersonName-1_2/PersonName-1_2.xsd--> <!-- * --> <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"/> <!--******************************************************************************--> <!-- * --> <!--END include file: ../../CPO/PersonName-1_2/PersonName-1_2.xsd--> <!-- * --> <!--******************************************************************************--> <xsd:element name="TimeCardConfiguration"> <xsd:complexType> <xsd:sequence> <xsd:element name="Resources" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="Person" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="Id" type="xsd:string" minOccurs="0"/> <xsd:element ref="PersonName" minOccurs="0"/> <xsd:element name="Assignment" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="validFrom" type="AnyDateTimeType"/> <xsd:attribute name="validTo" type="AnyDateTimeType"/> <xsd:attribute name="preferredLanguage" type="xsd:language" use="optional"/> </xsd:complexType> </xsd:element> <xsd:element name="Resource" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="Id" type="xsd:string" minOccurs="0"/> <xsd:element name="ResourceName" type="xsd:string" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="validFrom" type="AnyDateTimeType"/> <xsd:attribute name="validTo" type="AnyDateTimeType"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="TimeIntervalTypes" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="Type" type="NamedEntityType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="TimeEventTypes" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="Type" type="NamedEntityType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="TimeExpenseTypes" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:element name="Type" type="NamedEntityType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="AdditionalDataTypesAndValues" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="Type" type="NamedEntityType"/> <xsd:element name="Value" type="NamedEntityType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="scope" default="TimeIntervalAndTimeEventAndTimeExpense"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="TimeInterval"/> <xsd:enumeration value="TimeEvent"/> <xsd:enumeration value="TimeExpense"/> <xsd:enumeration value="TimeIntervalAndTimeEvent"/> <xsd:enumeration value="TimeIntervalAndTimeExpense"/> <xsd:enumeration value="TimeEventAndTimeExpense"/> <xsd:enumeration value="TimeIntervalAndTimeEventAndTimeExpense"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="NamedEntityType"> <xsd:sequence> <xsd:element name="Id" type="xsd:string"/> <xsd:element name="ShortDescription" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute ref="xml:lang" use="required"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute ref="xml:lang" use="required"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="validFrom" type="AnyDateTimeType"/> <xsd:attribute name="validTo" type="AnyDateTimeType"/> </xsd:complexType> </xsd:schema>