<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ils.unc.edu/mrc/dryad/version1_0/" xmlns:dc="http://purl.org/dc/terms/"  xmlns:dwr="http://rs.tdwg.org/dwc/xsd/simpledarwincore/"
    xmlns:dwc="http://rs.tdwg.org/dwc/terms/" targetNamespace="http://ils.unc.edu/mrc/dryad/" elementFormDefault="qualified" attributeFormDefault="unqualified">
   
<xs:import namespace="http://rs.tdwg.org/dwc/terms/" schemaLocation="tdwg_dwcterms.xsd"/>
<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="dublin_core.xsd"/>

<xs:annotation>
        <xs:documentation>
            This draft schema defines the Dryad Application Profile Version 1.0.
        </xs:documentation>
</xs:annotation>

  <xs:element name="SampleDryadPublicationRecordSet" >
        <xs:annotation>
            <xs:documentation>This is a sample Dryad Record.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="SampleDryadPublicationRecord" maxOccurs="unbounded" minOccurs="0"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    
    <xs:element name="SampleDryadPublicationRecord">
        <xs:complexType>
            <xs:all>
            
            	<xs:element name="Status" type="StatusType">
      			<xs:annotation>
         		<xs:documentation>Includes information about the status of the metadata record.</xs:documentation>
      			</xs:annotation>
   				</xs:element>
   
                <!-- Dublin Core -->
                    <xs:element ref="dc:title" minOccurs="1"/>
            		<xs:element ref="dc:creator" minOccurs="1"/>
            		<xs:element ref="dc:subject" minOccurs="1"/>
            	    <xs:element ref="dc:abstract" minOccurs="1"/>
            		<xs:element ref="dc:publisher" minOccurs="1"/>
            		<xs:element ref="dc:contributor" minOccurs="1"/>
            		<xs:element ref="dc:available" minOccurs="1"/>
            		<xs:element ref="dc:issued" minOccurs="1"/>
            		<xs:element ref="dc:type" minOccurs="1"/>
            		<xs:element ref="dc:identifier" minOccurs="1"/>
            		<xs:element ref="dc:isPartOfSeries" minOccurs="1"/>
            		<xs:element ref="dc:hasPart" minOccurs="1"/>
           		 	<xs:element ref="dc:spatial" minOccurs="0"/>
           		 	<xs:element ref="dc:temporal" minOccurs="0"/>
               
               <!-- Darwin Core -->
                <xs:element ref="dwc:ScientificName" minOccurs="0"/>         
            
            </xs:all>
        </xs:complexType>
    </xs:element>
   
</xs:schema>
