<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.camera.org"
        xmlns:camera="http://www.camera.org"
        xmlns:nikon="http://www.nikon.com"
        xmlns:olympus="http://www.olympus.com"
        xmlns:pentax="http://www.pentax.com"
        elementFormDefault="qualified">

    <import namespace="http://www.nikon.com"
            schemaLocation="Nikon.xsd"/>
    <import namespace="http://www.olympus.com"
            schemaLocation="Olympus.xsd"/>
    <import namespace="http://www.pentax.com"
            schemaLocation="Pentax.xsd"/>

    <element name="camera" type="camera:cameraType" />
    <element name="purchaseDate" type="gYearMonth" />
    <element name="warranty" type="string" />

    <complexType name="cameraType">
         <sequence>
             <element ref="camera:purchaseDate" />
             <element ref="camera:warranty" />
             <element ref="nikon:body" minOccurs="0" />
             <element ref="olympus:lens" minOccurs="0" />
             <element ref="pentax:manualAdapter" minOccurs="0" />
        </sequence>
    </complexType>
 
</schema>

