<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.cienciavitae.pt/ns/career-profile" xmlns:career-profile="http://www.cienciavitae.pt/ns/career-profile" xmlns:common="http://www.cienciavitae.pt/ns/common" xmlns:common-enum="http://www.cienciavitae.pt/ns/common-enum" elementFormDefault="qualified">
	
	<xs:annotation>
		<xs:documentation>...</xs:documentation>
	</xs:annotation>
	
	<xs:import namespace="http://www.cienciavitae.pt/ns/common" schemaLocation="../common/common.xsd"/>
	<xs:import namespace="http://www.cienciavitae.pt/ns/common-enum" schemaLocation="../common/common-enum.xsd"/>
	
	
	<xs:element name="career-profile">
		<xs:annotation>
			<xs:documentation>Container for the list of career profile items associated with the researcher.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common:container-lastdate-ctype">
					<xs:sequence>
						<xs:element ref="career-profile:career-profile-item" maxOccurs="unbounded"/>
					</xs:sequence>
					<xs:attribute name="code" type="common-enum:narrative-modules-enum" use="required"/>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	
	<xs:element name="career-profile-item">
		<xs:annotation>
			<xs:documentation>Career profile item.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="common:record-no-id-ctype">
					<xs:sequence>
						<xs:element name="career-profile-item-category" type="career-profile:career-profile-item-category-ctype"/>
						<xs:element name="career-profile-item-description" type="common:string-4000-stype"/>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	
	<xs:complexType name="career-profile-item-category-ctype">
		<xs:sequence>
			<xs:element name="value" type="common:string-400-stype" minOccurs="0"/>
<!-- 			<xs:element name="other-value" type="common:string-100-stype" minOccurs="0" /> -->
		</xs:sequence>
		<xs:attribute name="code" type="common-enum:career-profile-item-category-enum" use="required"/>
	</xs:complexType>
	
</xs:schema>
