Definition Type: ComplexType
Name: PersonNameType
Namespace: http://ns.hr-xml.org/2007-04-15
Containing Schema: PersonName.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into AlternateScript in schema personname_xsd Drilldown into Affix in schema personname_xsd Drilldown into FamilyName in schema personname_xsd Drilldown into MiddleName in schema personname_xsd Drilldown into PreferredGivenName in schema personname_xsd Drilldown into GivenName in schema personname_xsd Drilldown into LegalName in schema personname_xsd Drilldown into FormattedName in schema personname_xsd Drilldown into script in schema personname_xsdXSD Diagram of PersonNameType in schema personname_xsd (HR-XML - Human Resources XML)
Collapse XSD Schema Code:
<xsd:complexType name="PersonNameType">
    <xsd:sequence>
        <xsd:element name="FormattedName" type="xsd:string" minOccurs="0" />
        <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">
                            <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="aristocraticTitle" />
                                    <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:element name="AlternateScript" minOccurs="0" maxOccurs="unbounded">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="FormattedName" type="xsd:string" minOccurs="0" />
                    <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">
                                        <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="aristocraticTitle" />
                                                <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:attribute name="script" type="xsd:string" />
            </xsd:complexType>
        </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="script" type="xsd:string" />
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
FormattedName hr:FormattedName 0 (1)
LegalName hr:LegalName 0 (1)
GivenName hr:GivenName 0 unbounded
PreferredGivenName hr:PreferredGivenName 0 (1)
MiddleName hr:MiddleName 0 (1)
FamilyName hr:FamilyName 0 unbounded
Affix hr:Affix 0 unbounded
AlternateScript hr:AlternateScript 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
script hr:script (Optional)
Collapse Derivation Tree:
Collapse References:
hr:ContactName, hr:ContactName, hr:ContactName, hr:EffectiveDatedPersonNameType, hr:Name, hr:Name, hr:Name, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonNamehr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PersonName, hr:PriorIncorrectPersonName, hr:PriorIncorrectPersonName, hr:SignedBy, hr:SignedBy, hr:WrittenBy,