summaryrefslogblamecommitdiff
path: root/public/mirrorlist.xsd
blob: 962092538c6d6a680548c00c64c9782492a81df0 (plain) (tree)




























                                                                                                                         
<!--
  Authors:    jak1
  Copyright: (C) 2021 TheManaWorld Developers
-->
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="versions">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="version" maxOccurs="unbounded" minOccurs="1">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="mirror" maxOccurs="unbounded" minOccurs="1">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute type="xs:string" name="url" use="required"/>
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute type="xs:string" name="file" use="required"/>
            <xs:attribute type="xs:string" name="checksum" use="required"/>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>