Start work on contentProxy support
[metaproxy-moved-to-github.git] / xml / schema / filter_z3950_client.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_z3950_client">
7     <xs:sequence>
8       <xs:element minOccurs="0" ref="mp:timeout"/>
9       <xs:element minOccurs="0" ref="mp:default_target"/>
10       <xs:element minOccurs="0" ref="mp:force_target"/>
11       <xs:element minOccurs="0" ref="mp:force_close"/>
12     </xs:sequence>
13   </xs:group>
14   <xs:element name="default_target" type="xs:string"/>
15   <xs:element name="force_target" type="xs:string"/>
16   <xs:element name="force_close" type="xs:boolean"/>
17   <xs:attributeGroup name="filter_z3950_client">
18     <xs:attribute name="type" use="required">
19       <xs:simpleType>
20         <xs:restriction base="xs:token">
21           <xs:enumeration value="z3950_client"/>
22         </xs:restriction>
23       </xs:simpleType>
24     </xs:attribute>
25     <xs:attribute name="id" type="xs:NCName"/>
26     <xs:attribute name="name" type="xs:NCName"/>
27   </xs:attributeGroup>
28 </xs:schema>