<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ng="http://newsgator.com/schema/extensions" xmlns:wfw="http://wellformedweb.org/CommentAPI/" elementFormDefault="qualified" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://newsgator.com/schema/extensions" schemaLocation="./NGRSSExt.xsd" />
  <xs:import namespace="http://wellformedweb.org/CommentAPI/" schemaLocation="./wfw.xsd" />
  <xs:element name="rss">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="channel">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="title" type="xs:string" />
              <xs:element name="link" type="xs:string" />
              <xs:element name="copyright" type="xs:string" />
              <xs:element name="description" type="xs:string" />
              <xs:element name="webMaster" />
              <xs:element name="lastBuildDate" />
              <xs:element ref="ng:token">
                <xs:annotation>
                  <xs:documentation>
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element ref="ng:id" />
              <xs:element name="ttl" type="xs:nonNegativeInteger" />
              <xs:sequence>
                <xs:element name="item" minOccurs="0" maxOccurs="unbounded">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="title" />
                      <xs:element name="link" />
                      <xs:element name="description" />
                      <xs:element name="pubDate" />
                      <xs:element name="guid">
                        <xs:complexType>
                          <xs:simpleContent>
                            <xs:extension base="xs:string">
                              <xs:attribute name="isPermaLink" type="xs:boolean" use="optional" default="true" />
                            </xs:extension>
                          </xs:simpleContent>
                        </xs:complexType>
                      </xs:element>
                      <xs:element ref="ng:postId" />
                      <xs:element ref="ng:read" />
                      <xs:element ref="ng:deleted" minOccurs="0" />
                      <xs:element ref="wfw:commentRss" minOccurs="0" />
                      <xs:element ref="wfw:comment" minOccurs="0" />
                      <xs:element name="comments" type="xs:string" minOccurs="0" />
                      <xs:element name="author" type="xs:string" minOccurs="0" />
                      <xs:element name="enclosure" minOccurs="0">
                        <xs:complexType>
                          <xs:attribute name="url" type="xs:string" />
                          <xs:attribute name="type" type="xs:string" use="optional" />
                        </xs:complexType>
                      </xs:element>
                      <xs:element ref="ng:userRating" minOccurs="0" />
                      <xs:element ref="ng:avgRating" minOccurs="0"/>
                      <xs:element ref="ng:folderId" />
                      <xs:element ref="ng:flagState" minOccurs="0"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="version" />
      <xs:attribute ref="ng:token" />
    </xs:complexType>
  </xs:element>
</xs:schema>