aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/clients-v2.rnc
blob: 1076d332dd54e380566161df8498ca39cdbfbced (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
Clients20 =
   attribute version { "2.0" } &
   LoadTypes? &
   Spoolers20?

LoadTypes = element load-types {
    element type {
        attribute name { text } &
        attribute default-priority { text }?
    }*
}

Spoolers20 = element spoolers {
   attribute jvmargs { text }? &
   SpoolMaster20* &
   FeederOptions20? &
   Spooler20+
}

Spooler20 = element spooler {
   service.attlist? &
   attribute id { xsd:string }? &
   attribute directory { xsd:string }? &
   attribute keepsuccess { xsd:boolean }? &
   attribute maxfailuresize { xsd:integer }? &
   attribute maxfatalfailuresize { xsd:integer }? &
   attribute threads { xsd:integer }? &
   attribute maxretries { xsd:integer }? &
   FeederOptionsOpts20? &
   element parsers {
      element parser {
         attribute type { text } &
         element parameter {
            attribute key { xsd:string { minLength = "1" } } &
            attribute value { xsd:string { minLength = "1" } }
         }*
      }+
   }?
}

SpoolMaster20 = element spoolmaster {
   service.attlist?
}

FeederOptions20 = element feederoptions {
   FeederOptionsOpts20 &
   DocProcChain?
}

FeederOptionsOpts20 = element abortondocumenterror { xsd:boolean }? &
   element retryenabled { text }? &
   element route { text }? &
   element maxpendingdocs { xsd:positiveInteger }? &
   element maxpendingbytes { xsd:positiveInteger }? &
   element retrydelay { xsd:double { minInclusive = "0.0" } }? &
   element timeout { xsd:double { minInclusive = "0.0" } }? &
   element tracelevel { xsd:positiveInteger }? &
   element mbusport { xsd:positiveInteger }?


DocProcChain = element docprocchain {
   text
}