Doc: module ref entries include RelagNG schema
[metaproxy-moved-to-github.git] / xml / schema / filter_limit.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Metaproxy XML config file schema -->
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://indexdata.com/metaproxy" xmlns:mp="http://indexdata.com/metaproxy" xmlns:y="http://indexdata.com/yaz">
4   <xs:import schemaLocation="local.xsd"/>
5   <xs:import namespace="http://indexdata.com/yaz" schemaLocation="retrievalinfo.xsd"/>
6   <xs:group name="filter_limit">
7     <xs:sequence>
8       <xs:element minOccurs="0" ref="mp:limit"/>
9     </xs:sequence>
10   </xs:group>
11   <xs:element name="limit">
12     <xs:complexType>
13       <xs:attribute name="bandwidth" type="xs:integer"/>
14       <xs:attribute name="pdu" type="xs:integer"/>
15       <xs:attribute name="search" type="xs:integer"/>
16       <xs:attribute name="retrieve" type="xs:integer"/>
17     </xs:complexType>
18   </xs:element>
19   <xs:attributeGroup name="filter_limit">
20     <xs:attribute name="type" use="required">
21       <xs:simpleType>
22         <xs:restriction base="xs:token">
23           <xs:enumeration value="limit"/>
24         </xs:restriction>
25       </xs:simpleType>
26     </xs:attribute>
27   </xs:attributeGroup>
28 </xs:schema>