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

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3.     <!--Normalized version of schema, with all "includes" inserted explicitly.  This was auto-generated.  Duplicate definitions were deleted, leaving only comments.  -->
  4.     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  5.     <!--******************************************************************************-->
  6.     <!-- * -->
  7.     <!--BEGIN include file: ../../CPO/Dating-1_1/cpoDateTimeTypes-1_1.xsd-->
  8.     <!-- * -->
  9.     <xsd:simpleType name="NotKnownLiteral">
  10.         <xsd:restriction base="xsd:string">
  11.             <xsd:enumeration value="notKnown"/>
  12.         </xsd:restriction>
  13.     </xsd:simpleType>
  14.     <xsd:simpleType name="NotApplicableLiteral">
  15.         <xsd:restriction base="xsd:string">
  16.             <xsd:enumeration value="notApplicable"/>
  17.         </xsd:restriction>
  18.     </xsd:simpleType>
  19.     <xsd:simpleType name="LocalDateType">
  20.         <xsd:restriction base="xsd:date">
  21.             <xsd:pattern value="\d\d\d\d-\d\d-\d\d"/>
  22.         </xsd:restriction>
  23.     </xsd:simpleType>
  24.     <xsd:simpleType name="LocalDateNkType">
  25.         <xsd:union memberTypes="LocalDateType NotKnownLiteral"/>
  26.     </xsd:simpleType>
  27.     <xsd:simpleType name="LocalDateNaType">
  28.         <xsd:union memberTypes="LocalDateType NotApplicableLiteral"/>
  29.     </xsd:simpleType>
  30.     <xsd:simpleType name="LocalDateNkNaType">
  31.         <xsd:union memberTypes="LocalDateType NotKnownLiteral NotApplicableLiteral"/>
  32.     </xsd:simpleType>
  33.     <xsd:simpleType name="DateType">
  34.         <xsd:restriction base="xsd:date">
  35.             <xsd:pattern value="\d\d\d\d-\d\d-\d\d(Z|(\+|-)\d\d:\d\d)"/>
  36.         </xsd:restriction>
  37.     </xsd:simpleType>
  38.     <xsd:simpleType name="DateNkType">
  39.         <xsd:union memberTypes="DateType NotKnownLiteral"/>
  40.     </xsd:simpleType>
  41.     <xsd:simpleType name="DateNaType">
  42.         <xsd:union memberTypes="DateType NotApplicableLiteral"/>
  43.     </xsd:simpleType>
  44.     <xsd:simpleType name="DateNkNaType">
  45.         <xsd:union memberTypes="DateType NotKnownLiteral NotApplicableLiteral"/>
  46.     </xsd:simpleType>
  47.     <xsd:simpleType name="LocalTimeType">
  48.         <xsd:restriction base="xsd:time">
  49.             <xsd:pattern value="\d\d:\d\d:\d\d"/>
  50.         </xsd:restriction>
  51.     </xsd:simpleType>
  52.     <xsd:simpleType name="LocalTimeNkType">
  53.         <xsd:union memberTypes="LocalTimeType NotKnownLiteral"/>
  54.     </xsd:simpleType>
  55.     <xsd:simpleType name="LocalTimeNaType">
  56.         <xsd:union memberTypes="LocalTimeType NotApplicableLiteral"/>
  57.     </xsd:simpleType>
  58.     <xsd:simpleType name="LocalTimeNkNaType">
  59.         <xsd:union memberTypes="LocalTimeType NotKnownLiteral NotApplicableLiteral"/>
  60.     </xsd:simpleType>
  61.     <xsd:simpleType name="TimeType">
  62.         <xsd:restriction base="xsd:time">
  63.             <xsd:pattern value="\d\d:\d\d:\d\d(Z|(\+|-)\d\d:\d\d)"/>
  64.         </xsd:restriction>
  65.     </xsd:simpleType>
  66.     <xsd:simpleType name="TimeNkType">
  67.         <xsd:union memberTypes="TimeType NotKnownLiteral"/>
  68.     </xsd:simpleType>
  69.     <xsd:simpleType name="TimeNaType">
  70.         <xsd:union memberTypes="TimeType NotApplicableLiteral"/>
  71.     </xsd:simpleType>
  72.     <xsd:simpleType name="TimeNkNaType">
  73.         <xsd:union memberTypes="TimeType NotKnownLiteral NotApplicableLiteral"/>
  74.     </xsd:simpleType>
  75.     <xsd:simpleType name="LocalDateTimeType">
  76.         <xsd:restriction base="xsd:dateTime">
  77.             <xsd:pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d"/>
  78.         </xsd:restriction>
  79.     </xsd:simpleType>
  80.     <xsd:simpleType name="LocalDateTimeNkType">
  81.         <xsd:union memberTypes="LocalDateTimeType NotKnownLiteral"/>
  82.     </xsd:simpleType>
  83.     <xsd:simpleType name="LocalDateTimeNaType">
  84.         <xsd:union memberTypes="LocalDateTimeType NotApplicableLiteral"/>
  85.     </xsd:simpleType>
  86.     <xsd:simpleType name="LocalDateTimeNkNaType">
  87.         <xsd:union memberTypes="LocalDateTimeType NotKnownLiteral NotApplicableLiteral"/>
  88.     </xsd:simpleType>
  89.     <xsd:simpleType name="DateTimeType">
  90.         <xsd:restriction base="xsd:dateTime">
  91.             <xsd:pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d(Z|(\+|-)\d\d:\d\d)"/>
  92.         </xsd:restriction>
  93.     </xsd:simpleType>
  94.     <xsd:simpleType name="DateTimeNkType">
  95.         <xsd:union memberTypes="DateTimeType NotKnownLiteral"/>
  96.     </xsd:simpleType>
  97.     <xsd:simpleType name="DateTimeNaType">
  98.         <xsd:union memberTypes="DateTimeType NotApplicableLiteral"/>
  99.     </xsd:simpleType>
  100.     <xsd:simpleType name="DateTimeNkNaType">
  101.         <xsd:union memberTypes="DateTimeType NotKnownLiteral NotApplicableLiteral"/>
  102.     </xsd:simpleType>
  103.     <xsd:simpleType name="AnyDateTimeType">
  104.         <xsd:union memberTypes="LocalDateType DateType LocalDateTimeType DateTimeType"/>
  105.     </xsd:simpleType>
  106.     <xsd:simpleType name="AnyDateTimeNkType">
  107.         <xsd:union memberTypes="AnyDateTimeType NotKnownLiteral"/>
  108.     </xsd:simpleType>
  109.     <xsd:simpleType name="AnyDateTimeNaType">
  110.         <xsd:union memberTypes="AnyDateTimeType NotApplicableLiteral"/>
  111.     </xsd:simpleType>
  112.     <xsd:simpleType name="AnyDateTimeNkNaType">
  113.         <xsd:union memberTypes="AnyDateTimeType NotKnownLiteral NotApplicableLiteral"/>
  114.     </xsd:simpleType>
  115.     <!--******************************************************************************-->
  116.     <!-- * -->
  117.     <!--END include file: ../../CPO/Dating-1_1/cpoDateTimeTypes-1_1.xsd-->
  118.     <!-- * -->
  119.     <!--******************************************************************************-->
  120.     <!--******************************************************************************-->
  121.     <!-- * -->
  122.     <!--BEGIN include file: ../../CPO/PersonName-1_2/PersonName-1_2.xsd-->
  123.     <!-- * -->
  124.     <xsd:complexType name="PersonNameType">
  125.         <xsd:sequence>
  126.             <xsd:element name="FormattedName" minOccurs="0" maxOccurs="unbounded">
  127.                 <xsd:complexType>
  128.                     <xsd:simpleContent>
  129.                         <xsd:extension base="xsd:string">
  130.                             <xsd:attribute name="type" default="presentation">
  131.                                 <xsd:simpleType>
  132.                                     <xsd:restriction base="xsd:string">
  133.                                         <xsd:enumeration value="presentation"/>
  134.                                         <xsd:enumeration value="legal"/>
  135.                                         <xsd:enumeration value="sortOrder"/>
  136.                                     </xsd:restriction>
  137.                                 </xsd:simpleType>
  138.                             </xsd:attribute>
  139.                         </xsd:extension>
  140.                     </xsd:simpleContent>
  141.                 </xsd:complexType>
  142.             </xsd:element>
  143.             <xsd:element name="LegalName" type="xsd:string" minOccurs="0"/>
  144.             <xsd:element name="GivenName" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  145.             <xsd:element name="PreferredGivenName" type="xsd:string" minOccurs="0"/>
  146.             <xsd:element name="MiddleName" type="xsd:string" minOccurs="0"/>
  147.             <xsd:element name="FamilyName" minOccurs="0" maxOccurs="unbounded">
  148.                 <xsd:complexType>
  149.                     <xsd:simpleContent>
  150.                         <xsd:extension base="xsd:string">
  151.                             <xsd:attribute name="primary" default="undefined">
  152.                                 <xsd:simpleType>
  153.                                     <xsd:restriction base="xsd:string">
  154.                                         <xsd:enumeration value="true"/>
  155.                                         <xsd:enumeration value="false"/>
  156.                                         <xsd:enumeration value="undefined"/>
  157.                                     </xsd:restriction>
  158.                                 </xsd:simpleType>
  159.                             </xsd:attribute>
  160.                             <xsd:attribute name="prefix" type="xsd:string"/>
  161.                         </xsd:extension>
  162.                     </xsd:simpleContent>
  163.                 </xsd:complexType>
  164.             </xsd:element>
  165.             <xsd:element name="Affix" minOccurs="0" maxOccurs="unbounded">
  166.                 <xsd:complexType>
  167.                     <xsd:simpleContent>
  168.                         <xsd:extension base="xsd:string">
  169.                             <xsd:attribute name="type" use="required">
  170.                                 <xsd:simpleType>
  171.                                     <xsd:restriction base="xsd:string">
  172.                                         <xsd:enumeration value="academicGrade"/>
  173.                                         <xsd:enumeration value="aristocraticPrefix"/>
  174.                                         <xsd:enumeration value="aristocraticTitle"/>
  175.                                         <xsd:enumeration value="familyNamePrefix"/>
  176.                                         <xsd:enumeration value="familyNameSuffix"/>
  177.                                         <xsd:enumeration value="formOfAddress"/>
  178.                                         <xsd:enumeration value="generation"/>
  179.                                         <xsd:enumeration value="qualification"/>
  180.                                     </xsd:restriction>
  181.                                 </xsd:simpleType>
  182.                             </xsd:attribute>
  183.                         </xsd:extension>
  184.                     </xsd:simpleContent>
  185.                 </xsd:complexType>
  186.             </xsd:element>
  187.         </xsd:sequence>
  188.     </xsd:complexType>
  189.     <xsd:element name="PersonName" type="PersonNameType"/>
  190.     <!--******************************************************************************-->
  191.     <!-- * -->
  192.     <!--END include file: ../../CPO/PersonName-1_2/PersonName-1_2.xsd-->
  193.     <!-- * -->
  194.     <!--******************************************************************************-->
  195.     <xsd:element name="TimeCardConfiguration">
  196.         <xsd:complexType>
  197.             <xsd:sequence>
  198.                 <xsd:element name="Resources" minOccurs="0">
  199.                     <xsd:complexType>
  200.                         <xsd:sequence>
  201.                             <xsd:element name="Person" minOccurs="0" maxOccurs="unbounded">
  202.                                 <xsd:complexType>
  203.                                     <xsd:sequence>
  204.                                         <xsd:element name="Id" type="xsd:string" minOccurs="0"/>
  205.                                         <xsd:element ref="PersonName" minOccurs="0"/>
  206.                                         <xsd:element name="Assignment" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  207.                                     </xsd:sequence>
  208.                                     <xsd:attribute name="validFrom" type="AnyDateTimeType"/>
  209.                                     <xsd:attribute name="validTo" type="AnyDateTimeType"/>
  210.                                     <xsd:attribute name="preferredLanguage" type="xsd:language" use="optional"/>
  211.                                 </xsd:complexType>
  212.                             </xsd:element>
  213.                             <xsd:element name="Resource" minOccurs="0" maxOccurs="unbounded">
  214.                                 <xsd:complexType>
  215.                                     <xsd:sequence>
  216.                                         <xsd:element name="Id" type="xsd:string" minOccurs="0"/>
  217.                                         <xsd:element name="ResourceName" type="xsd:string" minOccurs="0"/>
  218.                                     </xsd:sequence>
  219.                                     <xsd:attribute name="validFrom" type="AnyDateTimeType"/>
  220.                                     <xsd:attribute name="validTo" type="AnyDateTimeType"/>
  221.                                 </xsd:complexType>
  222.                             </xsd:element>
  223.                         </xsd:sequence>
  224.                     </xsd:complexType>
  225.                 </xsd:element>
  226.                 <xsd:element name="TimeIntervalTypes" minOccurs="0">
  227.                     <xsd:complexType>
  228.                         <xsd:sequence>
  229.                             <xsd:element name="Type" type="NamedEntityType" maxOccurs="unbounded"/>
  230.                         </xsd:sequence>
  231.                     </xsd:complexType>
  232.                 </xsd:element>
  233.                 <xsd:element name="TimeEventTypes" minOccurs="0">
  234.                     <xsd:complexType>
  235.                         <xsd:sequence>
  236.                             <xsd:element name="Type" type="NamedEntityType" maxOccurs="unbounded"/>
  237.                         </xsd:sequence>
  238.                     </xsd:complexType>
  239.                 </xsd:element>
  240.                 <xsd:element name="TimeExpenseTypes" minOccurs="0">
  241.                     <xsd:complexType>
  242.                         <xsd:sequence>
  243.                             <xsd:element name="Type" type="NamedEntityType" maxOccurs="unbounded"/>
  244.                         </xsd:sequence>
  245.                     </xsd:complexType>
  246.                 </xsd:element>
  247.                 <xsd:element name="AdditionalDataTypesAndValues" minOccurs="0" maxOccurs="unbounded">
  248.                     <xsd:complexType>
  249.                         <xsd:sequence>
  250.                             <xsd:element name="Type" type="NamedEntityType"/>
  251.                             <xsd:element name="Value" type="NamedEntityType" minOccurs="0" maxOccurs="unbounded"/>
  252.                         </xsd:sequence>
  253.                         <xsd:attribute name="scope" default="TimeIntervalAndTimeEventAndTimeExpense">
  254.                             <xsd:simpleType>
  255.                                 <xsd:restriction base="xsd:string">
  256.                                     <xsd:enumeration value="TimeInterval"/>
  257.                                     <xsd:enumeration value="TimeEvent"/>
  258.                                     <xsd:enumeration value="TimeExpense"/>
  259.                                     <xsd:enumeration value="TimeIntervalAndTimeEvent"/>
  260.                                     <xsd:enumeration value="TimeIntervalAndTimeExpense"/>
  261.                                     <xsd:enumeration value="TimeEventAndTimeExpense"/>
  262.                                     <xsd:enumeration value="TimeIntervalAndTimeEventAndTimeExpense"/>
  263.                                 </xsd:restriction>
  264.                             </xsd:simpleType>
  265.                         </xsd:attribute>
  266.                     </xsd:complexType>
  267.                 </xsd:element>
  268.             </xsd:sequence>
  269.         </xsd:complexType>
  270.     </xsd:element>
  271.     <xsd:complexType name="NamedEntityType">
  272.         <xsd:sequence>
  273.             <xsd:element name="Id" type="xsd:string"/>
  274.             <xsd:element name="ShortDescription" minOccurs="0" maxOccurs="unbounded">
  275.                 <xsd:complexType>
  276.                     <xsd:simpleContent>
  277.                         <xsd:extension base="xsd:string">
  278.                             <xsd:attribute ref="xml:lang" use="required"/>
  279.                         </xsd:extension>
  280.                     </xsd:simpleContent>
  281.                 </xsd:complexType>
  282.             </xsd:element>
  283.             <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded">
  284.                 <xsd:complexType>
  285.                     <xsd:simpleContent>
  286.                         <xsd:extension base="xsd:string">
  287.                             <xsd:attribute ref="xml:lang" use="required"/>
  288.                         </xsd:extension>
  289.                     </xsd:simpleContent>
  290.                 </xsd:complexType>
  291.             </xsd:element>
  292.         </xsd:sequence>
  293.         <xsd:attribute name="validFrom" type="AnyDateTimeType"/>
  294.         <xsd:attribute name="validTo" type="AnyDateTimeType"/>
  295.     </xsd:complexType>
  296. </xsd:schema>
  297.