Definition Type: Element
Name: Preferences
Namespace: http://ns.hr-xml.org/2007-04-15
Containing Schema: HumanResource.xsd
MinOccurs (1)
MaxOccurs (1)
Abstract
Collapse XSD Schema Diagram:
Drilldown into DesiredCompensation in schema humanresource_xsd Drilldown into DistributionRestrictions in schema humanresource_xsd Drilldown into Relocation in schema humanresource_xsd Drilldown into Commute in schema humanresource_xsd Drilldown into Travel in schema humanresource_xsd Drilldown into DesiredShift in schema humanresource_xsdXSD Diagram of Preferences in schema humanresource_xsd (HR-XML - Human Resources XML)
Collapse XSD Schema Code:
<xsd:element name="Preferences">
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element name="DesiredShift" minOccurs="0">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="ShiftName" type="xsd:string" minOccurs="0" />
                        <xsd:element name="ShiftHours" type="xsd:decimal" minOccurs="0" />
                        <xsd:element name="ShiftStartTime" type="LocalTimeNkNaType" minOccurs="0" />
                        <xsd:element name="ShiftEndTime" type="LocalTimeNkNaType" minOccurs="0" />
                        <xsd:element name="ShiftComments" type="xsd:string" minOccurs="0" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="Travel" minOccurs="0">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="PercentageTravel" type="xsd:string" minOccurs="0" />
                        <xsd:element name="TravelConsiderations" type="xsd:string" minOccurs="0" />
                    </xsd:sequence>
                    <xsd:attribute name="willingToTravel" type="xsd:boolean" use="required" />
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="Commute" minOccurs="0">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="TimeMax" type="xsd:string" minOccurs="0" />
                        <xsd:element name="DistanceMax" type="xsd:string" minOccurs="0" />
                        <xsd:element name="CommuteComments" type="xsd:string" minOccurs="0" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="Relocation" minOccurs="0">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="RelocationComments" type="xsd:string" minOccurs="0" />
                    </xsd:sequence>
                    <xsd:attribute name="willingToRelocate" type="xsd:boolean" use="required" />
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="DistributionRestrictions" minOccurs="0">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="DoNotDistributeTo" type="xsd:string" maxOccurs="unbounded" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="DesiredCompensation" minOccurs="0">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="CompensationAmount">
                            <xsd:complexType>
                                <xsd:simpleContent>
                                    <xsd:extension base="xsd:string">
                                        <xsd:attribute name="currency" use="required">
                                            <xsd:simpleType>
                                                <xsd:restriction base="xsd:string">
                                                    <xsd:pattern value="[A-Z][A-Z][A-Z]" />
                                                </xsd:restriction>
                                            </xsd:simpleType>
                                        </xsd:attribute>
                                        <xsd:attribute name="amountPeriod" type="AmountPeriodType" use="optional" />
                                    </xsd:extension>
                                </xsd:simpleContent>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="CompensationComments" type="xsd:string" minOccurs="0" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
DesiredShift hr:DesiredShift 0 (1)
Travel hr:Travel 0 (1)
Commute hr:Commute 0 (1)
Relocation hr:Relocation 0 (1)
DistributionRestrictions hr:DistributionRestrictions 0 (1)
DesiredCompensation hr:DesiredCompensation 0 (1)