<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:complexType name="CrossReferralPanelType">
		<xs:sequence>
			<xs:element name="RequestedPanelCode" type="PanelEnumType" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EvidencePortfolioType">
		<xs:sequence>
			<xs:element name="EvidencePortfolioID" type="IdentifierType" nillable="false">
				<xs:annotation>
					<xs:documentation>
						A character string used to identify and distinguish uniquely, one instance of an object within an identification scheme from all other objects within the same scheme.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ContainsConfidentialResearchInd" type="IndicatorType">
				<xs:annotation>
					<xs:documentation>
						Any confidential NRO information that will be provided with an EP should have a "True" indicator otherwise "False" indicator is required.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ConfidentialContentReleasePermissionObtainedInd" type="IndicatorTypeNa" />
			<xs:element name="SendQualityCategoryScoreToResearcher" type="IndicatorType" />
			<xs:element name="OtherComments" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="DescriptionType">
						<xs:minLength value="0" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Researcher" type="LearnerIdentityType" />
			<xs:element name="Panels" type="PanelsType">
				<xs:unique name="XREF_DuplicatePanelCodes_PK">
					<xs:selector xpath="*/RequestedPanelCode" />
					<xs:field xpath="." />
				</xs:unique>
				<xs:unique name="XREF_DuplicatePrimaryPanelCode_PK">
					<xs:selector xpath=".//PrimaryPanelCode|.//RequestedPanelCode" />
					<xs:field xpath="." />
				</xs:unique>
			</xs:element>
			<xs:element name="SpecialCircumstanceCanterburyEarthquakes" type="SpecialCircumstanceCanterburyEarthquakesType"
									minOccurs="0" maxOccurs="1">
				<xs:unique name="XREF_DuplicateSpecialCircumstanceCanterburyEarthquakesImpacts_PK">
					<xs:selector xpath="./ImpactCode" />
					<xs:field xpath="." />
				</xs:unique>
			</xs:element>
			<xs:element name="SpecialCircumstance" type="SpecialCircumstanceType" minOccurs="0" maxOccurs="6" />
			<xs:element name="EvidencePortfolioComponents" type="EvidencePortfolioComponentsType">
				<xs:unique name="EP_componentID_PK">
					<xs:selector xpath="*/ComponentID" />
					<xs:field xpath="." />
				</xs:unique>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EvidencePortfolioComponentsType">
		<xs:sequence>
			<xs:element name="NominatedResearchOutput" type="NominatedResearchOutputType" maxOccurs="4">
				<xs:unique name="EP_NROURI_PK">
					<xs:selector xpath="URI" />
					<xs:field xpath="." />
				</xs:unique>
			</xs:element>
			<xs:element name="OtherResearchOutput" type="OtherResearchOutputType" minOccurs="0" maxOccurs="30" />
			<xs:element name="PeerEsteemReference" type="PeerEsteemReferenceType" minOccurs="0" maxOccurs="30" />
			<xs:element name="ResearchContribution" type="ResearchContributionType" minOccurs="0" maxOccurs="30" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NominatedResearchOutputType">
		<xs:sequence>
			<xs:element ref="ComponentID" />
			<xs:element name="ResearchOutputType" type="ResearchOutputEnumType" />
			<xs:element name="PreferredOrderOfAssessment" type="SequenceType" />
			<xs:element ref="QualityAssuredInd" />
			<xs:element name="Title">
				<xs:simpleType>
					<xs:restriction base="DescriptionType">
						<xs:minLength value="1" />
						<xs:whiteSpace value="preserve" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Authors">
				<xs:simpleType>
					<xs:restriction base="DescriptionType">
						<xs:minLength value="1" />
						<xs:maxLength value="2048" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="YearAvailable" type="YearType" />
			<xs:element name="Source">
				<xs:simpleType>
					<xs:restriction base="DescriptionType">
						<xs:minLength value="1" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="MyContributionDescription" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="DescriptionType">
						<xs:minLength value="0" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element ref="Description" />
			<xs:element name="LocationDetails" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="NoteType">
						<xs:minLength value="0" />
						<xs:maxLength value="1024" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="URI" minOccurs="0" maxOccurs="5">
				<xs:simpleType>
					<xs:restriction base="NROResourceUriType" />
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="RequestProfessionalEagAssessment" type="IndicatorType" use="optional" />
		<xs:attribute name="RequestPacificEagAssessment" type="IndicatorType" use="optional" />
		<xs:attribute name="EditId" type="EditIdType" use="optional" />
	</xs:complexType>
	<xs:complexType name="OtherResearchOutputType">
		<xs:sequence>
			<xs:element ref="ComponentID" />
			<xs:element ref="QualityAssuredInd" />
			<xs:element name="OutputTypeCode" type="ResearchOutputEnumType" />
			<xs:element name="PreferredOrderOfAssessment" type="SequenceType" />
			<xs:element ref="Description" />
		</xs:sequence>
		<xs:attribute name="EditId" type="EditIdType" use="optional" />
	</xs:complexType>
	<xs:complexType name="PanelsType">
		<xs:sequence>
			<xs:element name="PrimaryPanelCode" type="PanelEnumType" />
			<xs:element name="PrimarySubjectAreaOfResearchCode" type="AreaOfResearchEnumType" />
			<xs:element name="FieldOfResearchDescription">
				<xs:simpleType>
					<xs:restriction base="DescriptionType">
						<xs:minLength value="1" />
						<xs:maxLength value="1024" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CommercialProfessionalResearchAdvisoryGroupAssessmentInd" type="IndicatorType" minOccurs="0"
									maxOccurs="1" />
			<xs:element name="SocialProfessionalResearchAdvisoryGroupAssessmentInd" type="IndicatorType" minOccurs="0"
									maxOccurs="1" />
			<xs:element name="EnvironmentalProfessionalResearchAdvisoryGroupAssessmentInd" type="IndicatorType" minOccurs="0"
									maxOccurs="1" />
			<xs:element name="ProfessionalPracticeProfessionalResearchAdvisoryGroupAssessmentInd" type="IndicatorType"
									minOccurs="0" maxOccurs="1" />
			<xs:element name="PacificResearchAdvisoryGroupAssessmentInd" type="IndicatorType" minOccurs="0" maxOccurs="1" />
			<xs:element name="CrossReferralPanelRequest" type="CrossReferralPanelType" minOccurs="0" maxOccurs="11" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PeerEsteemReferenceType">
		<xs:sequence>
			<xs:element ref="ComponentID" />
			<xs:element name="PeerEsteemTypeCode" type="PeerEsteemEnumType" />
			<xs:element name="PreferredOrderOfAssessment" type="SequenceType" />
			<xs:element ref="Description" />
		</xs:sequence>
		<xs:attribute name="EditId" type="EditIdType" use="optional" />
	</xs:complexType>
	<xs:complexType name="ResearchContributionType">
		<xs:sequence>
			<xs:element ref="ComponentID" />
			<xs:element name="ContributionTypeCode" type="CREEnumType" />
			<xs:element name="PreferredOrderOfAssessment" type="SequenceType" />
			<xs:element ref="Description" />
		</xs:sequence>
		<xs:attribute name="EditId" type="EditIdType" use="optional" />
	</xs:complexType>
	<xs:complexType name="SpecialCircumstanceCanterburyEarthquakesType">
		<xs:sequence>
			<xs:element name="ImpactCode" type="SpecialCircumstanceCanterburyEarthquakesImpactEnumType" minOccurs="0" maxOccurs="6" />
			<xs:element name="EligibilityPeriod" type="EligibilityPeriodType" />
			<xs:element name="CircumstanceComment" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="DescriptionType">
						<xs:minLength value="0" />
						<xs:maxLength value="2048" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="EditId" type="EditIdType" use="optional" />
	</xs:complexType>
	<xs:complexType name="SpecialCircumstanceType">
		<xs:sequence>
			<xs:element name="CircumstanceCode" type="SpecialCircumstanceEnumType" />
			<xs:element name="PreferredOrderOfAssessment" type="SequenceType" />
			<xs:element name="CircumstanceComment">
				<xs:simpleType>
					<xs:restriction base="DescriptionType">
						<xs:minLength value="1" />
						<xs:maxLength value="2048" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="EditId" type="EditIdType" use="optional" />
	</xs:complexType>
	<xs:simpleType name="AreaOfResearchEnumType">
		<xs:restriction base="xs:string">
			<xs:maxLength value="3" />
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="10">
				<!-- Māori Knowledge and Development -->
			</xs:enumeration>
			<xs:enumeration value="20">
				<!-- Law -->
			</xs:enumeration>
			<xs:enumeration value="30">
				<!-- History,  History of Art,  Classics and Curatorial Studies -->
			</xs:enumeration>
			<xs:enumeration value="40">
				<!-- English Language and Literature -->
			</xs:enumeration>
			<xs:enumeration value="50">
				<!-- Foreign Languages and Linguistics -->
			</xs:enumeration>
			<xs:enumeration value="60">
				<!-- Philosophy -->
			</xs:enumeration>
			<xs:enumeration value="70">
				<!-- Religious Studies and Theology -->
			</xs:enumeration>
			<xs:enumeration value="80">
				<!-- Political Science,  International Relations and Public Policy -->
			</xs:enumeration>
			<xs:enumeration value="90">
				<!-- Psychology -->
			</xs:enumeration>
			<xs:enumeration value="100">
				<!-- Human Geography -->
			</xs:enumeration>
			<xs:enumeration value="110">
				<!-- Sociology,  Social Policy,  Social Work,  Criminology & Gender Studies -->
			</xs:enumeration>
			<xs:enumeration value="120">
				<!-- Anthropology and Archaeology -->
			</xs:enumeration>
			<xs:enumeration value="130">
				<!-- Communications,  Journalism and Media Studies -->
			</xs:enumeration>
			<xs:enumeration value="140">
				<!-- Education -->
			</xs:enumeration>
			<xs:enumeration value="150">
				<!-- Chemistry -->
			</xs:enumeration>
			<xs:enumeration value="160">
				<!-- Physics -->
			</xs:enumeration>
			<xs:enumeration value="170">
				<!-- Earth Sciences -->
			</xs:enumeration>
			<xs:enumeration value="180">
				<!-- Molecular,  Cellular and Whole Organism Biology -->
			</xs:enumeration>
			<xs:enumeration value="190">
				<!-- Ecology,  Evolution and Behaviour -->
			</xs:enumeration>
			<xs:enumeration value="200">
				<!-- Agriculture and Other Applied Biological Sciences -->
			</xs:enumeration>
			<xs:enumeration value="210">
				<!-- Pure and Applied Mathematics -->
			</xs:enumeration>
			<xs:enumeration value="220">
				<!-- Statistics -->
			</xs:enumeration>
			<xs:enumeration value="230">
				<!-- Computer Science, Information Technology,  Information Sciences -->
			</xs:enumeration>
			<xs:enumeration value="240">
				<!-- Engineering and Technology -->
			</xs:enumeration>
			<xs:enumeration value="250">
				<!-- Architecture, Design, Planning,  Surveying -->
			</xs:enumeration>
			<xs:enumeration value="260">
				<!-- Biomedical -->
			</xs:enumeration>
			<xs:enumeration value="270">
				<!-- Clinical Medicine -->
			</xs:enumeration>
			<xs:enumeration value="280">
				<!-- Public Health -->
			</xs:enumeration>
			<xs:enumeration value="290">
				<!-- Nursing -->
			</xs:enumeration>
			<xs:enumeration value="300">
				<!-- Dentistry -->
			</xs:enumeration>
			<xs:enumeration value="320">
				<!-- Veterinary Studies and Large Animal Science -->
			</xs:enumeration>
			<xs:enumeration value="330">
				<!-- Sport and Exercise Science -->
			</xs:enumeration>
			<xs:enumeration value="340">
				<!-- Other Health Studies (including Rehabilitation Therapies) -->
			</xs:enumeration>
			<xs:enumeration value="350">
				<!-- Management,  Human Resources,  Industrial Relations and Other Businesses -->
			</xs:enumeration>
			<xs:enumeration value="360">
				<!-- Accounting and Finance -->
			</xs:enumeration>
			<xs:enumeration value="370">
				<!-- Marketing and Tourism -->
			</xs:enumeration>
			<xs:enumeration value="380">
				<!-- Economics -->
			</xs:enumeration>
			<xs:enumeration value="390">
				<!-- Music,  Literary Arts and Other Arts -->
			</xs:enumeration>
			<xs:enumeration value="400">
				<!-- Visual Arts and Crafts -->
			</xs:enumeration>
			<xs:enumeration value="410">
				<!-- Theatre and Dance,  Film,  Television and Multimedia -->
			</xs:enumeration>
			<xs:enumeration value="420">
				<!-- Design -->
			</xs:enumeration>
			<xs:enumeration value="430">
				<!-- Pharmacy -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PBRFEligibleTEOEnumType">
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="collapse" />
			<xs:maxLength value="4" />
			<xs:enumeration value="6003">
				<!-- Bay of Plenty Polytechnic -->
			</xs:enumeration>
			<xs:enumeration value="6006">
				<!-- Christchurch Polytechnic Institute of Technology-->
			</xs:enumeration>
			<xs:enumeration value="6007">
				<!-- Eastern Institute of Technology -->
			</xs:enumeration>
			<xs:enumeration value="6010">
				<!-- Manukau Institute of Technology-->
			</xs:enumeration>
			<xs:enumeration value="6011">
				<!-- Nelson Marlborough Institute of Technology -->
			</xs:enumeration>
			<xs:enumeration value="6012">
				<!-- Northland Polytechnic -->
			</xs:enumeration>
			<xs:enumeration value="6022">
				<!-- Open Polytechnic of New Zealand -->
			</xs:enumeration>
			<xs:enumeration value="6013">
				<!-- Otago Polytechnic -->
			</xs:enumeration>
			<xs:enumeration value="6015">
				<!-- Southern Institute of Technology -->
			</xs:enumeration>
			<xs:enumeration value="6004">
				<!-- Unitec New Zealand -->
			</xs:enumeration>
			<xs:enumeration value="6009">
				<!-- Universal College of Learning -->
			</xs:enumeration>
			<xs:enumeration value="6018">
				<!-- Waiariki Institute of Technology -->
			</xs:enumeration>
			<xs:enumeration value="6019">
				<!-- Waikato Institute of Technology -->
			</xs:enumeration>
			<xs:enumeration value="6008">
				<!-- Wellington Institute of Technology -->
			</xs:enumeration>
			<xs:enumeration value="6017">
				<!-- Western Institute of Technology Taranaki -->
			</xs:enumeration>
			<xs:enumeration value="6014">
				<!-- Whitireia Community Polytechnic -->
			</xs:enumeration>
			<xs:enumeration value="7008">
				<!-- AUT University -->
			</xs:enumeration>
			<xs:enumeration value="7006">
				<!-- Lincoln University -->
			</xs:enumeration>
			<xs:enumeration value="7003">
				<!-- Massey University -->
			</xs:enumeration>
			<xs:enumeration value="7001">
				<!-- University of Auckland -->
			</xs:enumeration>
			<xs:enumeration value="7005">
				<!-- University of Canterbury -->
			</xs:enumeration>
			<xs:enumeration value="7007">
				<!-- University of Otago -->
			</xs:enumeration>
			<xs:enumeration value="7002">
				<!-- University of Waikato -->
			</xs:enumeration>
			<xs:enumeration value="7004">
				<!-- Victoria University of Wellington -->
			</xs:enumeration>
			<xs:enumeration value="8192">
				<!-- Media Design School -->
			</xs:enumeration>
			<xs:enumeration value="8630">
				<!-- Te Wananga O Aotearoa -->
			</xs:enumeration>
			<xs:enumeration value="9241">
				<!-- Te Wananga O Raukawa -->
			</xs:enumeration>
			<xs:enumeration value="9386">
				<!-- Te Whare Wananga O Awanuiarangi -->
			</xs:enumeration>
			<xs:enumeration value="8530">
				<!-- AIS St Helens -->
			</xs:enumeration>
			<xs:enumeration value="9242">
				<!-- Anamata -->
			</xs:enumeration>
			<xs:enumeration value="8694">
				<!-- Bethlehem Institute of Education -->
			</xs:enumeration>
			<xs:enumeration value="8979">
				<!-- Carey Baptist  College -->
			</xs:enumeration>
			<xs:enumeration value="8717">
				<!-- Good Shepherd College – Te Hepara Pai -->
			</xs:enumeration>
			<xs:enumeration value="8550">
				<!-- International Pacific College, NZ -->
			</xs:enumeration>
			<xs:enumeration value="8563">
				<!-- Laidlaw College Inc -->
			</xs:enumeration>
			<xs:enumeration value="8396">
				<!-- New Zealand College of Chiropractic -->
			</xs:enumeration>
			<xs:enumeration value="8619">
				<!-- New Zealand Tertiary College  -->
			</xs:enumeration>
			<xs:enumeration value="8457">
				<!-- Pacific International Hotel Management School -->
			</xs:enumeration>
			<xs:enumeration value="8502">
				<!-- Te Kura Toi Whakaari O Aotearoa - New Zealand Drama School -->
			</xs:enumeration>
			<xs:enumeration value="8182">
				<!-- Te Whare Wananga O Te Pihopatanga O Aotearoa	-->
			</xs:enumeration>
			<xs:enumeration value="8509">
				<!-- Whitecliffe College of Arts and Design	-->
			</xs:enumeration>
			<xs:enumeration value="9272">
				<!-- Ace Academy Limited (FOR TESTING ONLY)	-->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ResearchOutputEnumType">
		<xs:restriction base="xs:string">
			<xs:maxLength value="2" />
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="1">
				<!-- Artefact/Object/Craftwork -->
			</xs:enumeration>
			<xs:enumeration value="2">
				<!-- Authored Book -->
			</xs:enumeration>
			<xs:enumeration value="3">
				<!-- Chapter in Book -->
			</xs:enumeration>
			<xs:enumeration value="4">
				<!-- Composition -->
			</xs:enumeration>
			<xs:enumeration value="5">
				<!-- Conference Contribution - Abstract -->
			</xs:enumeration>
			<xs:enumeration value="6">
				<!-- Confidential Report for External Body -->
			</xs:enumeration>
			<xs:enumeration value="7">
				<!-- Design Output -->
			</xs:enumeration>
			<xs:enumeration value="8">
				<!-- Edited Book -->
			</xs:enumeration>
			<xs:enumeration value="9">
				<!-- Exhibition -->
			</xs:enumeration>
			<xs:enumeration value="10">
				<!-- Film/Video -->
			</xs:enumeration>
			<xs:enumeration value="11">
				<!-- Intellectual Property -->
			</xs:enumeration>
			<xs:enumeration value="12">
				<!-- Journal Article -->
			</xs:enumeration>
			<xs:enumeration value="13">
				<!-- Oral Presentation -->
			</xs:enumeration>
			<xs:enumeration value="14">
				<!-- Performance -->
			</xs:enumeration>
			<xs:enumeration value="15">
				<!-- Commissioned Report for External Body -->
			</xs:enumeration>
			<xs:enumeration value="16">
				<!-- Scholarly Edition -->
			</xs:enumeration>
			<xs:enumeration value="17">
				<!-- Software -->
			</xs:enumeration>
			<xs:enumeration value="18">
				<!-- Awarded Doctoral Thesis -->
			</xs:enumeration>
			<xs:enumeration value="20">
				<!-- Conference Contribution - Full Conference paper -->
			</xs:enumeration>
			<xs:enumeration value="21">
				<!-- Conference Contribution - Paper in published proceedings -->
			</xs:enumeration>
			<xs:enumeration value="22">
				<!-- Conference Contribution - Poster presentation -->
			</xs:enumeration>
			<xs:enumeration value="23">
				<!-- Conference Contribution - Oral presentation -->
			</xs:enumeration>
			<xs:enumeration value="24">
				<!-- Conference Contribution - Other -->
			</xs:enumeration>
			<xs:enumeration value="25">
				<!-- Awarded Research Masters Thesis -->
			</xs:enumeration>
			<xs:enumeration value="26">
				<!-- Discussion Paper -->
			</xs:enumeration>
			<xs:enumeration value="27">
				<!-- Monograph -->
			</xs:enumeration>
			<xs:enumeration value="28">
				<!-- Technical Report -->
			</xs:enumeration>
			<xs:enumeration value="29">
				<!-- Working Paper -->
			</xs:enumeration>
			<xs:enumeration value="30">
				<!-- Literary Translations, where these contain significant editorial work in the nature of research -->
			</xs:enumeration>
			<xs:enumeration value="99">
				<!--  Other Form of Assessable Output (including but not limited to new materials, structures, devices, images, products, buildings, food products and processes, published geological and/or geomorphological maps, and explanatory texts). -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PeerEsteemEnumType">
		<xs:restriction base="xs:string">
			<xs:maxLength value="2" />
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="10">
				<!-- Research-related fellowships, prizes and awards -->
			</xs:enumeration>
			<xs:enumeration value="20">
				<!-- Fellows and/or restricted or elected membership of learned societies or academies -->
			</xs:enumeration>
			<xs:enumeration value="30">
				<!-- Participation in editorial boards and/or refereeing (eg for journals) -->
			</xs:enumeration>
			<xs:enumeration value="40">
				<!-- Invitations to provide conference addresses or similar -->
			</xs:enumeration>
			<xs:enumeration value="50">
				<!-- Favourable reviews and/or commendations -->
			</xs:enumeration>
			<xs:enumeration value="60">
				<!-- Appointments to key discipline-based, research, industry, professional, community, or government bodies -->
			</xs:enumeration>
			<xs:enumeration value="70">
				<!-- Esteem factors associated with students -->
			</xs:enumeration>
			<xs:enumeration value="80">
				<!-- Research-related favourable citations -->
			</xs:enumeration>
			<xs:enumeration value="90">
				<!-- Other evidence of peer esteem -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CREEnumType">
		<xs:restriction base="xs:string">
			<xs:maxLength value="2" />
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="10">
				<!-- Membership of research collaborations and consortia -->
			</xs:enumeration>
			<xs:enumeration value="20">
				<!-- Contributions to the research discipline -->
			</xs:enumeration>
			<xs:enumeration value="30">
				<!-- Facilitating discipline-based and research networks -->
			</xs:enumeration>
			<xs:enumeration value="40">
				<!-- Contributions to the research environment within and outside the TEO -->
			</xs:enumeration>
			<xs:enumeration value="50">
				<!-- Generation of externally funded research -->
			</xs:enumeration>
			<xs:enumeration value="60">
				<!-- Contribution to researcher development -->
			</xs:enumeration>
			<xs:enumeration value="70">
				<!-- Supervision of student research -->
			</xs:enumeration>
			<xs:enumeration value="80">
				<!-- Other evidence of contribution to the research environment -->
			</xs:enumeration>
			<xs:enumeration value="90">
				<!-- Assisting student publishing, exhibiting or performance -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SpecialCircumstanceEnumType">
		<xs:restriction base="xs:string">
			<xs:maxLength value="2" />
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="EL">
				<!-- Extended leave -->
			</xs:enumeration>
			<xs:enumeration value="SC">
				<!-- Significant community responsibilities -->
			</xs:enumeration>
			<xs:enumeration value="LP">
				<!-- Leadership positions involving extended or above the usual time commitment -->
			</xs:enumeration>
			<xs:enumeration value="LD">
				<!-- Long term disability -->
			</xs:enumeration>
			<xs:enumeration value="PT">
				<!-- Part-time employment -->
			</xs:enumeration>
			<xs:enumeration value="OC">
				<!-- Other circumstances -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SpecialCircumstanceCanterburyEarthquakesImpactEnumType">
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="1">
				<!-- Personal trauma -->
			</xs:enumeration>
			<xs:enumeration value="2">
				<!-- Loss or damage to home -->
			</xs:enumeration>
			<xs:enumeration value="3">
				<!-- Access to facilities and resources -->
			</xs:enumeration>
			<xs:enumeration value="4">
				<!-- Increased responsibilities -->
			</xs:enumeration>
			<xs:enumeration value="5">
				<!-- Impediments to research activity -->
			</xs:enumeration>
			<xs:enumeration value="6">
				<!-- Other -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PanelEnumType">
		<xs:restriction base="xs:string">
			<xs:maxLength value="6" />
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="BIOS">
				<!--Biological Sciences-->
			</xs:enumeration>
			<xs:enumeration value="BEC">
				<!--Business and Economics-->
			</xs:enumeration>
			<xs:enumeration value="CPA">
				<!--Creative and Performing Arts-->
			</xs:enumeration>
			<xs:enumeration value="EDU">
				<!--Education-->
			</xs:enumeration>
			<xs:enumeration value="ETA">
				<!--Education-->
			</xs:enumeration>
			<xs:enumeration value="HEALTH">
				<!--Health-->
			</xs:enumeration>
			<xs:enumeration value="HAL">
				<!--Humanities and Law-->
			</xs:enumeration>
			<xs:enumeration value="MKD">
				<!--Mäori Knowledge and Development-->
			</xs:enumeration>
			<xs:enumeration value="MIST">
				<!--Mathematical and Information Sciences and Technology-->
			</xs:enumeration>
			<xs:enumeration value="MEDPH">
				<!--Medicine and Public Health-->
			</xs:enumeration>
			<xs:enumeration value="PHYSC">
				<!--Physical Sciences-->
			</xs:enumeration>
			<xs:enumeration value="SSOCSS">
				<!--Social Sciences and Other Cultural/Social Studies-->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="ComponentID" type="IdentifierType">
		<xs:annotation>
			<xs:documentation>
				This element is a unique identifier used for each component within an EP. This would typically be a simple sequenced number starting at 1 and incremented for each additional component. It can also be any identifier that TEOs may use internally to identify this specific component. It is required and must also be unique within the whole of the EP. Duplicated ComponentIDs within the same EP will not pass schema validation.
			</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Description">
		<xs:simpleType>
			<xs:restriction base="DescriptionType">
				<xs:minLength value="1" />
				<xs:whiteSpace value="preserve" />
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="EvidencePortfolios">
		<xs:annotation>
			<xs:documentation>
				This Schema can support one or more EP submission within a single XML file.
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:annotation>
					<xs:documentation>
						Evidence Portfolio element contains all the required information elements and attributes for PBRF 2012
					</xs:documentation>
				</xs:annotation>
				<xs:element name="EvidencePortfolio" type="EvidencePortfolioType" maxOccurs="unbounded">
					<xs:unique name="CRE_PrefOrderOfAssessment_PK">
						<xs:selector xpath=".//ResearchContribution" />
						<xs:field xpath="PreferredOrderOfAssessment" />
					</xs:unique>
					<xs:unique name="PE_PrefOrderOfAssessment_PK">
						<xs:selector xpath=".//PeerEsteemReference" />
						<xs:field xpath="PreferredOrderOfAssessment" />
					</xs:unique>
					<xs:unique name="RO_PrefOrderOfAssessment_PK">
						<xs:selector xpath=".//OtherResearchOutput" />
						<xs:field xpath="PreferredOrderOfAssessment" />
					</xs:unique>
					<xs:unique name="NRO_PrefOrderOfAssessment_PK">
						<xs:selector xpath=".//NominatedResearchOutput" />
						<xs:field xpath="PreferredOrderOfAssessment" />
					</xs:unique>
					<xs:unique name="SPCLCIRC_PrefOrderOfAssessment_PK">
						<xs:selector xpath=".//SpecialCircumstance" />
						<xs:field xpath="PreferredOrderOfAssessment" />
					</xs:unique>
					<xs:unique name="SPCLCIRC_CODE_PK">
						<xs:selector xpath=".//SpecialCircumstance" />
						<xs:field xpath="CircumstanceCode" />
					</xs:unique>
					<xs:unique name="CRE_COMPID_PK">
						<xs:selector xpath=".//ResearchContribution" />
						<xs:field xpath="ComponentID" />
					</xs:unique>
					<xs:unique name="PE_COMPID_PK">
						<xs:selector xpath=".//PeerEsteemReference" />
						<xs:field xpath="ComponentID" />
					</xs:unique>
					<xs:unique name="RO_COMPID_PK">
						<xs:selector xpath=".//OtherResearchOutput" />
						<xs:field xpath="ComponentID" />
					</xs:unique>
					<xs:unique name="NRO_COMPID_PK">
						<xs:selector xpath=".//NominatedResearchOutput" />
						<xs:field xpath="ComponentID" />
					</xs:unique>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="ProviderNumber" type="PBRFEligibleTEOEnumType" use="required">
				<xs:annotation>
					<xs:documentation>
						ProviderName: A unique number that identifies an education organisation.  Also known as EDUMIS number.
					</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="EPCount" type="EpCountType" use="required">
				<xs:annotation>
					<xs:documentation>
						EPCount can be 1 however the number of EP's within the submitted XML can have values range from 1 to 9999
					</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
		<xs:unique name="RSRCHER_NSN_PK">
			<xs:selector xpath=".//EvidencePortfolio/Researcher" />
			<xs:field xpath="NationalStudentNumber" />
		</xs:unique>
		<xs:unique name="EPID_PK">
			<xs:selector xpath=".//EvidencePortfolio" />
			<xs:field xpath="EvidencePortfolioID" />
		</xs:unique>
	</xs:element>
	<xs:element name="QualityAssuredInd" type="IndicatorType">
		<xs:annotation>
			<xs:documentation>
				A True/False value that indicates that an item has been quality assured.
			</xs:documentation>
		</xs:annotation>
	</xs:element>
	<!-- ************** 
	Common elements used by the TEC, consolidated here to limit the number of XSD files that will have to be distributed in addition to PBRF XSD schema
	**************** -->
	<xs:simpleType name="IdentifierType">
		<xs:annotation>
			<xs:documentation>
				A character string used to identify and distinguish uniquely, one instance of an object within an identification scheme from all other objects within the same scheme
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="10" />
			<xs:whiteSpace value="collapse" />
			<xs:minLength value="1" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="IndicatorTypeNa">
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="True">
				<!-- Yes / True -->
			</xs:enumeration>
			<xs:enumeration value="False">
				<!-- No / False -->
			</xs:enumeration>
			<xs:enumeration value="true">
				<!-- Yes / True -->
			</xs:enumeration>
			<xs:enumeration value="false">
				<!-- No / False -->
			</xs:enumeration>
			<xs:enumeration value="NA">
				<!-- Not Applicable -->
			</xs:enumeration>
			<xs:enumeration value="N/A">
				<!-- Not Applicable -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="IndicatorType">
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="True">
				<!-- Yes / True -->
			</xs:enumeration>
			<xs:enumeration value="False">
				<!-- No / False -->
			</xs:enumeration>
			<xs:enumeration value="true">
				<!-- Yes / True -->
			</xs:enumeration>
			<xs:enumeration value="false">
				<!-- No / False -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="GenderCodeType">
		<xs:restriction base="xs:string">
			<xs:maxLength value="1" />
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="M">
				<!-- Male -->
			</xs:enumeration>
			<xs:enumeration value="F">
				<!-- Female -->
			</xs:enumeration>
			<xs:enumeration value="U">
				<!-- Unknown -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EligibilityPeriodType">
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="collapse" />
			<xs:enumeration value="2005-2010">
				<!-- 2005-2010 -->
			</xs:enumeration>
			<xs:enumeration value="2006-2011">
				<!-- 2006-2011 -->
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="LearnerIdentityType">
		<xs:annotation>
			<xs:documentation>
				Basic details about a researcher that are always supplied in order to correctly identify a researcher.
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="NationalStudentNumber">
				<xs:simpleType>
					<xs:annotation>
						<xs:documentation>
							A valid National Student Number registered in the National Student Index
						</xs:documentation>
					</xs:annotation>
					<xs:restriction base="xs:positiveInteger">
						<xs:minInclusive value="1" />
						<xs:maxInclusive value="9999999999" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="LocalIdentifier" type="IdentifierType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						Identifier issued by the TEO.  Must be unique within the TEO.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LearnerName" type="PersonNameType" />
			<xs:element name="GenderCode" type="GenderCodeType">
				<xs:annotation>
					<xs:documentation>
						Identifies whether the person is male or female or unknown
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BirthDate" type="xs:date" />
			<xs:element name="DeathDate" type="xs:date" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Date a learner died.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="BirthDate" type="xs:date">
		<xs:annotation>
			<xs:documentation>
				The birth date of a person
			</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:simpleType name="NumberType">
		<xs:annotation>
			<xs:documentation>
				A character string used to identify and distinguish uniquely, one instance of an object within an identification scheme from all other objects within the same scheme
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="100" />
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="PersonNameType">
		<xs:annotation>
			<xs:documentation>
				Name of a natural person
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Title" minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						Mr, Mrs, Ms, Dr, Prof etc
					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="NameType">
						<xs:maxLength value="255" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FirstName">
				<xs:simpleType>
					<xs:restriction base="NameType">
						<xs:minLength value="2" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="MiddleName" type="NameType" minOccurs="0" maxOccurs="2" />
			<xs:element name="LastName">
				<xs:simpleType>
					<xs:restriction base="NameType">
						<xs:minLength value="2" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="NameType">
		<xs:annotation>
			<xs:documentation>
				A word or phrase that constitutes the distinctive designation of a person, place, thing or concept
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="255" />
			<xs:minLength value="0" />
			<xs:whiteSpace value="preserve" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DescriptionType" id="DescriptionType">
		<xs:annotation>
			<xs:documentation>
				A character string generally in the form of words of a language describing a person, place, thing or concept
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="0" />
			<xs:whiteSpace value="preserve" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EAddressType">
		<xs:annotation>
			<xs:documentation>
				A character string naming an electronic address such as e-mail address, url address.
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string" />
	</xs:simpleType>
	<xs:simpleType name="EditIdType">
		<xs:annotation>
			<xs:documentation>
				A character string holding a temporary id string (for draft EP editing).
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string" />
	</xs:simpleType>
	<xs:simpleType name="YearType">
		<xs:annotation>
			<xs:documentation>Calendar year</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:gYear">
			<xs:minInclusive value="2005" />
			<xs:maxInclusive value="2011" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SequenceType">
		<xs:restriction base="xs:unsignedByte">
			<xs:minInclusive value="1" />
			<xs:maxInclusive value="255" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NoteType">
		<xs:annotation>
			<xs:documentation>
				A character string generally in the form of words of a language annotating a person, place, thing or concept
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="4000" />
			<xs:minLength value="0" />
			<xs:whiteSpace value="preserve" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EpCountType">
		<xs:restriction base="xs:positiveInteger">
			<xs:minInclusive value="1" />
			<xs:maxInclusive value="9999" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NROResourceUriType">
		<xs:annotation>
			<xs:documentation>
				A character string representing either an http(s) or ftp URL, DOI reference shortcut, or a simple filename
			</xs:documentation>
		</xs:annotation>
		<xs:union memberTypes="NroUrlType NroDoiType NroFileType" />
	</xs:simpleType>
	<xs:simpleType name="NroUrlType">
		<xs:annotation>
			<xs:documentation>
				A character string representing an http(s) or ftp URL
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:anyURI">
			<xs:minLength value="1" />
			<xs:maxLength value="2048" />
			<xs:pattern value="([hH][tT][tT][pP][sS]?://|[fF][tT][pP]://|[wW][wW][wW]\.)[-#\w\d:@%/!;,$\(\)\[\]~_?+\\.&amp;=']*" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NroDoiType">
		<xs:annotation>
			<xs:documentation>
				A character string representing a DOI reference shortcut to http://www.doi.org/
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1" />
			<xs:maxLength value="2048" />
			<xs:pattern value="[dD][oO][iI]:[-# \w\d:@%/!;,$\(\)\[\]~_?+\\.&amp;=']*" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NroFileType">
		<xs:annotation>
			<xs:documentation>
				A character string representing a valid Windows filename
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1" />
			<xs:maxLength value="255" />
			<xs:pattern value="[^\\/:*?&lt;&gt;|]{1,255}" />
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
