<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Gil Ross (Met Office) -->
<!-- edited with XML Spy v5.4 U (http://www.xmlspy.com) by Gil Ross Met Office UK -->
<xs:schema targetNamespace="http://www.wmo.ch/web/www/metadata" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2003/XInclude" xmlns="http://www.wmo.ch/web/www/metadata" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.2">
	<xs:annotation>
		<xs:documentation> 
		Schema for the WMO Community Core Metadata Profile. Based on XML Schema and ISO 19115
		This is an implementation of Annex B.3.2 Citation and responsible party information
		Version 0.2
		Defined by Expert Team on Integrated Data Management 
		Second Meeting 13-16 May 2002 Shinfield England
		Third Meeting 15-18 December 2003 Geneva
		Fourth Meeting 1-3 September 2004 Geneva 
		</xs:documentation>
	</xs:annotation>
	<!-- Include code lists  -->
	<xs:include schemaLocation="./WMO19115_CodeLists_v0_2.xsd"/>
	<!-- Include basic types  -->
	<xs:include schemaLocation="./WMO19115_basicTypes_v0_2.xsd"/>
	<!-- Include EX_Extent Classes  (used here for definition of period) -->
	<xs:include schemaLocation="./WMO19115_EX_Extent_v0_2.xsd"/>
	<xs:complexType name="CI_CitationType">
		<xs:annotation>
			<xs:documentation>CI_Citation Lines 360-373 </xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:sequence>
				<xs:element ref="resourceTitle"/>
				<xs:element ref="alternateTitle" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="resourceIdentifier" maxOccurs="unbounded"/>
				<xs:element ref="resourceIdentifierType" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="citedResponsibleParty" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:element ref="link"/>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="CI_ResponsiblePartyType">
		<xs:annotation>
			<xs:documentation>CI_ResponsibleParty Lines 375-379 </xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:sequence>
				<xs:element ref="organisationName"/>
				<xs:element ref="role"/>
				<xs:element ref="individualName" minOccurs="0"/>
				<xs:element ref="positionName" minOccurs="0"/>
				<xs:element ref="contactInfo" minOccurs="0"/>
			</xs:sequence>
			<xs:element ref="link"/>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="CI_ContactType">
		<xs:annotation>
			<xs:documentation>CI_Contact  DataType (B.3.2.2)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="phone" minOccurs="0"/>
			<xs:element ref="address" minOccurs="0"/>
			<xs:element ref="onlineAddress" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CI_TelephoneType">
		<xs:annotation>
			<xs:documentation>CI_Telephone Lines 408-409</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="voice" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element ref="facsimile" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CI_AddressType">
		<xs:annotation>
			<xs:documentation>CI_Address  Lines 381-386</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="deliveryPoint" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element ref="city" minOccurs="0"/>
			<xs:element ref="administrativeArea" minOccurs="0"/>
			<xs:element ref="postalCode" minOccurs="0"/>
			<xs:element ref="country" minOccurs="0"/>
			<xs:element ref="electronicMailAddress" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CI_DateType">
		<xs:annotation>
			<xs:documentation>CI_Date Lines 394-395: reference date and event</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:choice>
				<xs:element ref="date"/>
				<xs:element ref="period"/>
			</xs:choice>
			<xs:element ref="dateType"/>
		</xs:sequence>
		<xs:attribute name="calendar" type="xs:string" default="Julian Calendar"/>
	</xs:complexType>
	<!-- ********************************************************************************************************************* -->
	<!-- reference elements ______________________________________________________________ -->
	<!-- ********************************************************************************************************************* -->
	<xs:element name="resourceTitle" type="xs:string">
		<xs:annotation>
			<xs:documentation>360: Title: name by which the cited resource is known</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="alternateTitle" type="xs:string">
		<xs:annotation>
			<xs:documentation>361: alias, short name, abbreviation or other name by which the cited resource is known</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="resourceIdentifier" type="xs:string">
		<xs:annotation>
			<xs:documentation>365: unique identifier for the resource</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="resourceIdentifierType" type="xs:string">
		<xs:annotation>
			<xs:documentation>366: reference form of the unique identifier</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="citedResponsibleParty" type="CI_ResponsiblePartyType">
		<xs:annotation>
			<xs:documentation>367: name and position information for an organization that is responsible for the resource</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="organisationName" type="xs:string">
		<xs:annotation>
			<xs:documentation>376: name of the responsible organisation</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="role" type="CI_RoleCodeType">
		<xs:annotation>
			<xs:documentation>379: role function performed by the responsible party</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="individualName" type="xs:string">
		<xs:annotation>
			<xs:documentation>375: name of the responsible person, surname, given name, title seperated by a delimiter</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="positionName" type="xs:string">
		<xs:annotation>
			<xs:documentation>377: position of the reponsible person</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="contactInfo" type="CI_ContactType">
		<xs:annotation>
			<xs:documentation>378: contactInfo</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="phone" type="CI_TelephoneType">
		<xs:annotation>
			<xs:documentation>388: phone</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="address" type="CI_AddressType">
		<xs:annotation>
			<xs:documentation>389: address</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="onlineAddress" type="xs:anyURI">
		<xs:annotation>
			<xs:documentation>390: onLineResource</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="voice" type="xs:string">
		<xs:annotation>
			<xs:documentation>408: telephone number</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="facsimile" type="xs:string">
		<xs:annotation>
			<xs:documentation>409: telephone number of a facsimile machine</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="deliveryPoint" type="xs:string">
		<xs:annotation>
			<xs:documentation>381: deliveryPoint</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="city" type="xs:string">
		<xs:annotation>
			<xs:documentation>382: city</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="administrativeArea" type="xs:string">
		<xs:annotation>
			<xs:documentation>383: state or province</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="postalCode" type="xs:string">
		<xs:annotation>
			<xs:documentation>384: postalCode</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="country" type="xs:string">
		<xs:annotation>
			<xs:documentation>385: country</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="electronicMailAddress" type="xs:string">
		<xs:annotation>
			<xs:documentation>386: electronicMailAddress</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="date" type="dateAndTimeTypes">
		<xs:annotation>
			<xs:documentation>394: reference date (Note this type is extended to allow different date or time types)</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="period" type="EX_TemporalExtentType">
		<xs:annotation>
			<xs:documentation>394: reference period</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="dateType" type="CI_DateTypeCodeType">
		<xs:annotation>
			<xs:documentation>395: event used for date</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

