AML Schema

The following is the AML Schema:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 

  <xsd:complexType name="Item"> 

    <xsd:all> 

<!-- Any user elements defined by the ItemType for the item --> 

      <xsd:complexType name="Relationships" minOccurs="0" maxOccurs="1"> 

        <xsd:all> 

          <xsd:element name="Item" minOccurs="0" maxOccurs="unbounded"> 

            <xsd:complexType> 

              <xsd:all> 

<!-- Any user elements defined by the ItemType for the item --> 

                <xsd:attribute name="id" type="xsd:ID" /> 

                <xsd:attribute name="type" type="xsd:string" /> 

                <xsd:attribute name="typeID" type="xsd:IDREF" /> 

                <xsd:attribute name="action" type="xsd:string" /> 

                <xsd:attribute name="sort_order" type="xsd:integer" /> 

              </xsd:all> 

            </xsd:complexType> 

          </xsd:element> 

        </xsd:all> 

      </xsd:complexType> 

    </xsd:all> 

    <xsd:attribute name="id" type="xsd:ID" /> 

    <xsd:attribute name="type" type="xsd:string" /> 

    <xsd:attribute name="typeID" type="xsd:IDREF" /> 

    <xsd:attribute name="action" type="xsd:string" /> 

    <xsd:attribute name="select" type="xsd:string" /> 

    <xsd:attribute name="order_by" type="xsd:integer" /> 

    <xsd:union> 

      <xsd:attributeGroup> 

        <xsd:attribute name="pagesize" type="xsd:integer" /> 

        <xsd:attribute name="page" type="xsd:integer" /> 

      </xsd:attributeGroup> 

      <xsd:attributeGroup> 

        <xsd:attribute name="levels" type="xsd:integer" /> 

        <xsd:attribute name="config_path" type="xsd:string" /> 

      </xsd:attributeGroup> 

    </xsd:union> 

  </xsd:complexType> 

</xsd:schema>