<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://ns.hr-xml.org" xmlns="http://ns.hr-xml.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1_2 (Single Namespace Edition)">
	<xsd:annotation>
		<xsd:documentation>
"Copyright  The HR-XML Consortium. All Rights Reserved. http://www.hr-xml.org"
Name: PersonName.xsd
Version: 1_2 (Single Namespace Edition)
Status: Recommendation
Date this version: 2003-02-26
Purpose: Defines the schema for PersonName
Author(s): Paul Kiel, Kim Bartkus, CPO Workgroup
Documentation: PersonName.pdf

2003-Aug-12: This specification remains unchanged from the 2003-Feb-26 release.  The version number and "Single Namespace Edition" have been added to the title page of the documentation in order to delineate it from previous releases where the Consortium used multiple namespaces.  In addition, the version attribute of the xsd:schema element now reflects this same version number.

Terms of license can be found in license.txt.
 
</xsd:documentation>
	</xsd:annotation>
	<xsd:complexType name="PersonNameType">
		<xsd:sequence>
			<xsd:element name="FormattedName" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>The use of multiple occurrences are officially deprecated and will be changed to single occurrence in a future version.</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="xsd:string">
							<xsd:attribute name="type" default="presentation">
								<xsd:annotation>
									<xsd:documentation>Deprecated.  "legal" is deprecated in favor of LegalName element.  "sortOrder" is deprecated in favor of creating separate elements.  Since "presentation" is the only enumeration left, the need for this attribute no longer exists.</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="presentation"/>
										<xsd:enumeration value="legal"/>
										<xsd:enumeration value="sortOrder"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<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" default="undefined">
								<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="academicGrade">
											<xsd:annotation>
												<xsd:documentation>Deprecated in favor of the "qualification" enumeration.</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="aristocraticPrefix">
											<xsd:annotation>
												<xsd:documentation>Deprecated in favor of FamilyName attribute "prefix".</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="aristocraticTitle"/>
										<xsd:enumeration value="familyNamePrefix">
											<xsd:annotation>
												<xsd:documentation>Deprecated in favor of FamilyName attribute "prefix".</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="familyNameSuffix">
											<xsd:annotation>
												<xsd:documentation>Deprecated.</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<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:complexType>
	<xsd:element name="PersonName" type="PersonNameType"/>
</xsd:schema>
