 </annotation>
            </attribute>
          </complexType>
        </element>
      </choice>
      <attribute name="contentType" type="token">
        <annotation>
          <documentation>Specifies the type of content for the document.</documentation>
        </annotation>
      </attribute>
    </complexType>
  </element>
  <complexType name="sectionContentType">
    <choice minOccurs="0" maxOccurs="unbounded">
      <group ref="maml:structureGroup"/>
    </choice>
    <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
  </complexType>
  <complexType name="sectionType">
    <sequence>
      <element ref="maml:title"/>
      <element ref="maml:subTitle" minOccurs="0"/>
      <element ref="maml:introduction" minOccurs="0"/>
      <group ref="maml:structureGroup" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
  </complexType>
  <element name="section">
    <annotation>
      <documentation>Describes a section within a document. The section element supports recursion (in other words, an instance of a section element can have one or more section elements as children). The section element defines the hierarchy of sections within a topic through nesting. Each section corresponds to a heading level in the final, rendered document. For example, the top section is equivalent to the first heading level and a child section of that element would be the second level.</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="maml:sectionType">
          <sequence>
            <element ref="maml:relatedLinks" minOccurs="0"/>
          </sequence>
          <attributeGroup ref="maml:expandCollapseGroup"/>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <complexType name="sectionsType">
    <choice minOccurs="1" maxOccurs="unbounded">
      <element ref="maml:section"/>
      <element ref="maml:sidebar"/>
      <element ref="maml:pullQuote"/>
    </choice>
    <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
  </complexType>
  <element name="sections" type="maml:sectionsType">
    <annotation>
      <documentation>Contains a collection of section elements. The sections element encloses the major body of the document.</documentation>
    </annotation>
  </element>
  <element name="content">
    <annotation>
      <documentation>Describes a span of authored content.</documentation>
      <appinfo>
        <doc:localizable>n/a</doc:localizable>
      </appinfo>
    </annotation>
    <complexType>
      <group ref="maml:structureGroup" minOccurs="0" maxOccurs="unbounded"/>
      <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
    </complexType>
  </element>
  <complexType name="relatedLinksType">
    <sequence>
      <element ref="maml:title" minOccurs="0"/>
      <element ref="maml:navigationLink" maxOccurs="unbounded"/>
    </sequence>
    <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
    <attribute name="type" use="optional" default="seeAlso" type="maml:relatedLinksTypeType"/>
  </complexType>
  <simpleType name="relatedLinksTypeType">
    <restriction base="token">
      <enumeration value="seeAlso"/>
      <enumeration value="relatedFiles"/>
      <enumeration value="samples"/>
      <enumeration value="other"/>
    </restriction>
  </simpleType>
  <element name="relatedLinks" type="maml:relatedLinksType">
    <annotation>
      <documentation>Describes a collection of links, typically used for the "Related Topics" section of a document. The purpose of this element is to provide links to topics that may be of further interest to the user.</documentation>
      <appinfo>
        <doc:localizable>n/a</doc:localizable>
      </appinfo>
    </annotation>
  </element>
  <element name="copyright">
    <annotation>
      <documentation>Describes copyright information for a document.</documentation>
    </annotation>
    <complexType>
      <sequence maxOccurs="unbounded">
        <element ref="maml:para"/>
      </sequence>
      <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
    </complexType>
  </element>
  <!-- complexType declarations -->
  <complexType name="contentTypeType">
    <sequence>
      <element ref="maml:title"/>
      <element ref="maml:subTitle" minOccurs="0"/>
      <element ref="maml:introduction" minOccurs="0"/>
      <element ref="maml:content"/>
      <element ref="maml:alertSet" minOccurs="0"/>
      <element ref="maml:relatedLinks" minOccurs="0"/>
      <element ref="maml:reusableContent" minOccurs="0"/>
      <element ref="maml:copyright" minOccurs="0"/>
    </sequence>
    <attribute name="contentType" type="token"/>
  </complexType>
</schema>
