Start work on contentProxy support
[metaproxy-moved-to-github.git] / xml / schema / filter_auth_simple.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_auth_simple">
5     <attribute name="type">
6       <value>auth_simple</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:userRegister">
20         <data type="string"/>
21       </element>
22     </optional>
23     <optional>
24       <element name="mp:targetRegister">
25         <data type="string"/>
26       </element>
27     </optional>
28     <optional>
29       <element name="mp:discardUnauthorisedTargets">
30         <empty/>
31       </element>
32     </optional>
33   </define>
34 </grammar>