Doc: module ref entries include RelagNG schema
[metaproxy-moved-to-github.git] / xml / schema / filter_session_shared.rng
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Metaproxy XML config file schema -->
3 <grammar xmlns:mp="http://indexdata.com/metaproxy" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
4   <define name="filter_session_shared">
5     <attribute name="type">
6       <value>session_shared</value>
7     </attribute>
8     <optional>
9       <attribute name="id">
10         <data type="NCName"/>
11       </attribute>
12     </optional>
13     <optional>
14       <attribute name="name">
15         <data type="NCName"/>
16       </attribute>
17     </optional>
18     <optional>
19       <element name="mp:resultset">
20         <attribute name="max">
21           <data type="integer"/>
22         </attribute>
23         <attribute name="ttl">
24           <data type="integer"/>
25         </attribute>
26         <attribute name="optimizesearch">
27           <data type="boolean"/>
28         </attribute>
29       </element>
30     </optional>
31     <optional>
32       <element name="mp:session">
33         <attribute name="ttl">
34           <data type="integer"/>
35         </attribute>
36       </element>
37     </optional>
38   </define>
39 </grammar>