Definition Type: ComplexType
Name: StockDepositType
Namespace: http://ns.hr-xml.org/2007-04-15
Containing Schema: StockDeposit.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into UserArea in schema userarea_xsd Drilldown into RestrictionPeriod in schema stockdeposit_xsd Drilldown into StockPrice in schema stockdeposit_xsd Drilldown into Quantity in schema stockdeposit_xsd Drilldown into Date in schema stockdeposit_xsd Drilldown into PlanId in schema stockdeposit_xsd Drilldown into Participant in schema stockdeposit_xsd Drilldown into DepositAction in schema stockdeposit_xsd Drilldown into Id in schema stockdeposit_xsdXSD Diagram of StockDepositType in schema stockdeposit_xsd (HR-XML - Human Resources XML)
Collapse XSD Schema Code:
<xsd:complexType name="StockDepositType">
    <xsd:sequence>
        <xsd:element name="Id" type="EntityIdType" />
        <xsd:element name="DepositAction">
            <xsd:complexType>
                <xsd:attribute name="type" use="required">
                    <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                            <xsd:enumeration value="Deposit" />
                            <xsd:enumeration value="SellOnDeposit" />
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:attribute>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="Participant">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="Id" type="EntityIdType" />
                    <xsd:element name="Name" type="PersonNameType" minOccurs="0" />
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="PlanId" type="EntityIdType" />
        <xsd:element name="Date" type="LocalDateTimeType" />
        <xsd:element name="Quantity" type="xsd:decimal" />
        <xsd:element name="StockPrice" minOccurs="0">
            <xsd:complexType>
                <xsd:simpleContent>
                    <xsd:extension base="xsd:decimal">
                        <xsd:attribute name="currency" use="required" type="CurrencyCodeType" />
                    </xsd:extension>
                </xsd:simpleContent>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="RestrictionPeriod" minOccurs="0" maxOccurs="unbounded">
            <xsd:complexType>
                <xsd:attribute name="validFrom" use="required" type="AnyDateTimeNkNaType" />
                <xsd:attribute name="validTo" use="required" type="AnyDateTimeNkNaType" />
                <xsd:attribute name="type" use="required" type="RestrictionPeriodType" />
            </xsd:complexType>
        </xsd:element>
        <xsd:element ref="UserArea" minOccurs="0" />
    </xsd:sequence>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Id hr:Id (1) (1)
DepositAction hr:DepositAction (1) (1)
Participant hr:Participant (1) (1)
PlanId hr:PlanId (1) (1)
Date hr:Date (1) (1)
Quantity hr:Quantity (1) (1)
StockPrice hr:StockPrice 0 (1)
RestrictionPeriod hr:RestrictionPeriod 0 unbounded
UserArea hr:UserArea 0 (1)
Collapse Derivation Tree:
Collapse References:
hr:StockDeposit