<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            targetNamespace="http://www.volunteermatch.org"
            xmlns="http://www.volunteermatch.org"
            elementFormDefault="qualified">
  
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      This schema describes the basic VolunteerMatch listing feed.  The feed is
      meant to include all necessary information for initial feeds, updates,
      or deletions, without requiring any data that doesn't apply.
    </xsd:documentation>
  </xsd:annotation>

  <xsd:include schemaLocation="http://www.volunteermatch.org/schema/2007/2/listing.xsd"/>

  <xsd:element name="listings" >

    <xsd:complexType>

      <xsd:sequence>

        <xsd:element name="created" type="xsd:dateTime">
          <xsd:annotation>
            <xsd:documentation>The date and time this feed was created.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>

        <xsd:element name="updated" type="xsd:dateTime" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>If this feed is not a complete feed, when do the entries start?  Listings in this
            feed are assumed to cover all active (i.e., available) listings that have been created or updated
            between this date and the feed's creation date.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>

        <xsd:element name="listing" type="exportListingType" minOccurs="0" maxOccurs="unbounded" />

      </xsd:sequence>

    </xsd:complexType>

  </xsd:element>

</xsd:schema>

