<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by XMLSPY 2004 Release 2 Partner License for 25 users (Open Applications Group) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<!--While OAGIS has not covered at this point the specific area of Managing the Life Cycle of a project. We have addressed the Projects and Contacts from a Financial percepective.-->
	<xs:simpleType name="URI">
		<xs:restriction base="ccdt:URIType"/>
	</xs:simpleType>
	<xs:complexType name="Text">
		<xs:annotation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Defines the relevant information associated with a text.</xs:documentation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Type makes use of the CoreComponentType TextType defined by ebXML CoreComponents 1.90, as represented by OAGI.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="cct:TextType"/>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="Description">
		<xs:annotation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Defines the relevant information associated with a description.

Free-form text description of the Noun or Componenet in which the description occurs. The lang attribute indicates the language the description is in. Owner inidcates the user or entity that provided teh description..</xs:documentation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Type makes use of the proposed DataType DescriptionType as proposed by OAGI.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ccdt:DescriptionType">
				<xs:attribute name="type" type="String" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:group name="FreeFormTexts">
		<xs:annotation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Common Free Form Text elements that occur together.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Description" type="Description" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">Is the description of the element context in which it occurs. The association provides the additional context in which the description is intended.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Note" type="Note" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">Is a note for the element in which the note is associated. The association provides the additional context in which the note is intended.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:group>
	<!--++++++++++++++++++++++++++++++ - -->
	<!--Contact-->
	<xs:complexType name="EMailAddress">
		<xs:annotation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Provides the email address to be associated with a given element.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="URI">
				<xs:attribute name="htmlPreferred" type="Indicator" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ContactEmailAddress">
		<xs:complexContent>
			<xs:extension base="EMailAddress">
				<xs:attribute name="preference" type="PositiveInteger" use="optional"/>
				<xs:attribute name="homeOrWork" type="HomeOrWork" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="TelephoneNumber">
		<xs:complexContent>
			<xs:extension base="String">
				<xs:attribute name="numberFormat" type="String" use="optional"/>
				<xs:attribute name="accessCode" type="Integer" use="optional"/>
				<xs:attribute name="countryCode" type="Integer" use="optional"/>
				<xs:attribute name="areaCode" type="Integer" use="optional"/>
				<xs:attribute name="exchangeCode" type="Integer" use="optional"/>
				<xs:attribute name="extension" type="Integer" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ContactTelephoneNumber">
		<xs:complexContent>
			<xs:extension base="TelephoneNumber">
				<xs:attribute name="preference" type="PositiveInteger" use="optional"/>
				<xs:attribute name="homeOrWork" type="HomeOrWork" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ContactInstantMessengerId">
		<xs:complexContent>
			<xs:extension base="Identifier">
				<xs:attribute name="preference" type="PositiveInteger" use="optional"/>
				<xs:attribute name="homeOrWork" type="HomeOrWork" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ContactURI">
		<xs:complexContent>
			<xs:extension base="URI">
				<xs:attribute name="preference" type="PositiveInteger" use="optional"/>
				<xs:attribute name="homeOrWork" type="HomeOrWork" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<!--++++++++++++++++++++++++++++++ - -->
	<xs:group name="ContactMethods">
		<xs:annotation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Provides the different means of contacting a person or department within an organization that is provided as a point of contact.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Address" type="ContactAddress" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Telephone" type="ContactTelephoneNumber" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">The telephone number(s) for the contact.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Fax" type="ContactTelephoneNumber" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">The fax number(s) for the contact.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Pager" type="ContactTelephoneNumber" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">The pager number(s) for the contact.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MobilePhone" type="ContactTelephoneNumber" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">Mobile phone number of the contact.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Email" type="ContactEmailAddress" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">eMailAddress for the contact.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InstantMessengerId" type="ContactInstantMessengerId" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">Instant messenger identification of the contact.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="URI" type="ContactURI" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">URI of the contact.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:group>
	<xs:complexType name="ContactBase" abstract="true">
		<xs:sequence>
			<xs:element name="Id" type="Identifier" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">Is the identifier of  the contact. The Contact may be an entity e.g. Receiving Department or a Person</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Name" minOccurs="0"/>
			<xs:element name="JobTitle" type="Text" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Is the position or designation of the contact within their organization. Examples are Director, Software Engineer, Purchasing Manager etc</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Responsibility" type="Text" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Department" type="Text" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="http://www.openapplications.org/oagis/9.0">Is the department in which the contact belongs within their organization. In some cases the name of the contact may not be known - only the department to contact may be available. Examples of this may be a Support department for an organization. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:group ref="FreeFormTexts"/>
			<xs:group ref="ContactMethods"/>
		</xs:sequence>
		<xs:attribute name="primaryContactInd" type="Indicator" use="optional"/>
	</xs:complexType>
	<xs:complexType name="Contact">
		<xs:complexContent>
			<xs:extension base="SemanticContact">
				<xs:attribute name="type" type="Token" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="SemanticContact">
		<xs:complexContent>
			<xs:extension base="ContactBase">
				<xs:sequence>
					<xs:element ref="UserArea" minOccurs="0"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="Name" type="PersonName">
		<xs:annotation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Name of the Person.</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="PersonName">
		<xs:annotation>
			<xs:documentation source="http://www.openapplications.org/oagis/9.0">Full specification for a persons name.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:choice>
				<xs:element name="Name" type="Name"/>
				<xs:sequence>
					<xs:element name="Title" type="PreferredName" minOccurs="0" maxOccurs="unbounded">
						<xs:annotation>
							<xs:documentation>Examples are Mr., Ms, Mrs., Dr. etc</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="Salutation" type="PreferredName" minOccurs="0" maxOccurs="unbounded">
						<xs:annotation>
							<xs:documentation>Way the person is addressed e.g. Honorable etc?</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="GivenName" type="Name" minOccurs="0">
						<xs:annotation>
							<xs:documentation source="http://www.openapplications.org/oagis/9.0">Is the Persons given name or first name.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="NickName" type="PreferredName" minOccurs="0" maxOccurs="unbounded">
						<xs:annotation>
							<xs:documentation source="http://www.openapplications.org/oagis/9.0">Is the persons preferred name or nick name.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="MiddleName" type="Name" minOccurs="0" maxOccurs="unbounded">
						<xs:annotation>
							<xs:documentation source="http://www.openapplications.org/oagis/9.0">Is the persons middle name.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="FamilyName" type="Name" minOccurs="0">
						<xs:annotation>
							<xs:documentation source="http://www.openapplications.org/oagis/9.0">Is the persons family name.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="MaidenName" type="Name" minOccurs="0"/>
					<xs:element name="Suffix" type="PreferredName" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:choice>
			<xs:element ref="UserArea" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="Contact" type="Contact"/>
</xs:schema>

