<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.mycompany.com/customerrelations"
	xmlns="http://www.mycompany.com/customerrelations"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema">

	<xsd:include schemaLocation="Person.xsd" />
	<xsd:include schemaLocation="Address.xsd" />

	<xsd:complexType name="Customer">
		<xsd:sequence>
			<xsd:element name="customerNumber" type="xsd:ID"
				nillable="false" minOccurs="1" maxOccurs="1" />
			<xsd:element name="person" type="Person" nillable="false"
				minOccurs="1" maxOccurs="1" />
			<xsd:element name="address" type="Address" nillable="false"
				minOccurs="1" />
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name="customer" type="Customer" />

</xsd:schema>
