Update schema and improve manual page MPSPARQL-29
[mp-sparql-moved-to-github.git] / doc / filter_sparql.rnc
1 # Metaproxy XML config file schema
2
3 namespace mp = "http://indexdata.com/metaproxy"
4
5 filter_sparql =
6   attribute type { "sparql" },
7   attribute id { xsd:NCName }?,
8   attribute name { xsd:NCName }?,
9   element mp:defaults {
10     attribute uri { xsd:string }?
11   }?,
12   element mp:db {
13     attribute path { xsd:string },
14     attribute uri { xsd:string }?,
15     attribute schema { xsd:string }?,
16     attribute include { xsd:string }?,
17     element mp:prefix { xsd:string }+,
18     element mp:form { xsd:string }*,
19     element mp:criteria { xsd:string }*,
20     element mp:index {
21       attribute type { xsd:string },
22       xsd:string
23     }*,
24     element mp:present {
25       attribute type { xsd:string },
26       xsd:string
27     }*,
28     element mp:modifier { xsd:string }*
29   }+