Fix Metaproxy stops logging after check config failed MP-590
[metaproxy-moved-to-github.git] / xml / schema / retrievalinfo.rnc
1 # Schema for YAZ retrieval info and USEMARCON extension
2
3 namespace y = "http://indexdata.com/yaz"
4
5 start |= retrievalinfo
6
7 marc = element y:marc {
8   attribute inputformat { xsd:string },
9   attribute outputformat { xsd:string },
10   attribute inputcharset { xsd:string },
11   attribute outputcharset { xsd:string }?,
12   attribute leaderspec { xsd:string }?
13 }
14
15 xslt = element y:xslt {
16   attribute stylesheet { xsd:string },
17   element y:param {
18   attribute name {xsd:string},
19   attribute value {xsd:string}
20   }*
21 }
22
23 usemarcon = element y:usemarcon {
24   attribute stage1 { xsd:string }?,
25   attribute stage2 { xsd:string }?
26 }
27
28 retrievalinfo = 
29   element y:retrievalinfo { 
30     attribute version { "1.0" },
31     element y:retrieval {
32       attribute syntax { xsd:string },
33       attribute name { xsd:string }?,
34       attribute identifier { xsd:string }?,
35       element y:backend {
36       attribute syntax { xsd:string },
37       attribute name { xsd:string }?,
38       (marc | xslt | usemarcon)*
39       }?
40     }+
41   }