Fix Metaproxy stops logging after check config failed MP-590
[metaproxy-moved-to-github.git] / xml / schema / filter_zoom.rnc
1 # Metaproxy XML config file schema
2
3 namespace mp = "http://indexdata.com/metaproxy"
4
5 filter_zoom =
6   attribute type { "zoom" },
7   attribute id { xsd:NCName }?,
8   attribute name { xsd:NCName }?,
9   element mp:torus {
10     attribute allow_ip { xsd:string }?,
11     attribute auth_url { xsd:string }?,
12     attribute url { xsd:string }?,
13     attribute content_url { xsd:string }?,
14     attribute realm { xsd:string }?,
15     attribute xsldir { xsd:string }?,
16     attribute element_transform { xsd:string }?,
17     attribute element_raw { xsd:string }?,
18     attribute element_passthru { xsd:string }?,
19     attribute proxy { xsd:string }?,
20     attribute explain_xsl { xsd:string }?,
21     attribute record_xsl { xsd:string }?,
22     element mp:records {
23       element mp:record {
24         element mp:authentication { xsd:string }?,
25         element mp:authenticationMode { xsd:string }?,
26         element mp:piggyback { xsd:string }?,
27         element mp:queryEncoding { xsd:string }?,
28         element mp:udb { xsd:string },
29         element mp:cclmap_au { xsd:string }?,
30         element mp:cclmap_date { xsd:string }?,
31         element mp:cclmap_isbn { xsd:string }?,
32         element mp:cclmap_su { xsd:string }?,
33         element mp:cclmap_term { xsd:string }?,
34         element mp:cclmap_ti { xsd:string }?,
35         element mp:contentAuthentication { xsd:string }?,
36         element mp:elementSet { xsd:string }?,
37         element mp:recordEncoding { xsd:string }?,
38         element mp:requestSyntax { xsd:string }?,
39         element mp:sru { xsd:string }?,
40         element mp:sruVersion { xsd:string }?,
41         element mp:transform { xsd:string }?,
42         element mp:literalTransform { xsd:string }?,
43         element mp:urlRecipe { xsd:string }?,
44         element mp:zurl { xsd:string },
45         element mp:cfAuth { xsd:string }?,
46         element mp:cfProxy { xsd:string }?,
47         element mp:cfSubDB { xsd:string }?,
48         element mp:contentConnector { xsd:string }?,
49         element mp:sortStrategy { xsd:string }?,
50         element mp:sortmap_author { xsd:string }?,
51         element mp:sortmap_date { xsd:string }?,
52         element mp:sortmap_title { xsd:string }?,
53         element mp:extraArgs { xsd:string }?,
54         element mp:rpn2cql { xsd:string }?,
55         element mp:retryOnFailure { xsd:string }?
56       }*
57     }?
58   }?,
59   element mp:fieldmap {
60     attribute cql { xsd:string },
61     attribute ccl { xsd:string }?
62   }*,
63   element mp:cclmap {
64     element mp:qual {
65       attribute name { xsd:string },
66       element mp:attr {
67         attribute type { xsd:string },
68         attribute value { xsd:string }
69       }+
70     }*
71   }?,
72   element mp:contentProxy {
73     attribute config_file { xsd:string }?,
74     attribute server { xsd:string }?,
75     attribute tmp_file { xsd:string }?
76   }?,
77   element mp:log {
78     attribute apdu { xsd:boolean }?
79   }?,
80   element mp:zoom {
81     attribute timeout { xsd:integer }?,
82     attribute proxy_timeout { xsd:integer }?
83   }?
84
85
86