<xs:complexType name="PersonName">
<xs:sequence>
<xs:element name="NameLine" type="NameLineType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name or part of a name defined as a free format text. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PrecedingTitle" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>His Excellency,Estate of the Late ...</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of Preceding Title. Example: Honorary title.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="Title" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Greeting title. Example: Mr, Dr, Ms, Herr, etc. Can have multiple titles.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of Title. Example: Plural Titles such as MESSRS, Formal Degree, Honarary Degree, Sex (Mr, Mrs) etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="FirstName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Represents the position of the name in a name string. Can be Given Name, Christian Name, Surname, family name, etc. Use the attribute "NameType" to define what type this name is.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of first name. Example: Official, Un-official, abbreviation, initial, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NameType">
<xs:annotation>
<xs:documentation>Defines the name type of first name. Example: Given Name, Christian Name, Father's Name, etc. In some countries, First name could be a Family Name or a SurName. Use this attribute to define the type for this name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="MiddleName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Middle name (essential part of the name for many nationalities). Represents the position of the name in the name string. Example: Sakthi in "Nivetha Sakthi Shantha". Can have multiple middle names.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of middle name. Example: Official, Un-official, abbreviation, initial, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NameType">
<xs:annotation>
<xs:documentation>Defines the name type of Middle Name. Example: First name, middle name, maiden name, father's name, given name, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="NamePrefix" minOccurs="0">
<xs:annotation>
<xs:documentation>de, van, van de, von, etc. Example: Derick de Clarke</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of last name prefix. Example: Official, Un-official, abbreviation, initial, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NameType">
<xs:annotation>
<xs:documentation>Defines the type of name associated with the NamePrefix. For example the type of name is LastName and this prefix is the prefix for this last name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="LastName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Represents the position of the name in a name string. Can be Given Name, Christian Name, Surname, family name, etc. Use the attribute "NameType" to define what type this name is.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of last name. Example: Official, Un-official, abbreviation, initial, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NameType">
<xs:annotation>
<xs:documentation>Defines the name type of Last Name. Example: Father's name, Family name, Sur Name, Mother's Name, etc. In some countries, Last name could be the given name or first name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="OtherName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>All other names, e.g.: Yousuf Khan al Hatab al Sayad</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of Other name. Example: Official, Un-official, abbreviation, initial, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NameType">
<xs:annotation>
<xs:documentation>Defines the name type of Other Name. Example: Maiden Name, Patronymic name, Matronymic name, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="Alias" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Nick Name, Pet name, etc..</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of Alias. Example: Official, UnOfficial, Close Circle, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NameType">
<xs:annotation>
<xs:documentation>Defines the name type of Alias. Example: Nick Name, Pet Name, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="GenerationIdentifier" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Jnr, Thr Third, III</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Defines the type of generation identifier. Example: Family Titles</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="Suffix" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Could be compressed initials - PhD, VC, QC</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Defines the type of Suffix. Example: Compressed Initials, Full suffixes, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="GeneralSuffix" minOccurs="0">
<xs:annotation>
<xs:documentation>Deceased, Retired ...</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Defines the type of General Suffix. Example: Employment Status, Living Status, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Type of Name of a person. Example: Full name, Former Name, Known As, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Indicates the name element code defined by postal standard groups like ECCMA, ADIS, UN/PROLIST for postal services.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grKeyRefs" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
|