1# CHART generic XML report templates
  2
  3namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"
  4
  5element template | report {
  6    attribute xsi:noNamespaceSchemaLocation { "http://chart/schemas/report.xsd" } &
  7    element meta {
  8        element description { text }? &
  9        element pdf-filename { text }? &
 10        element theme { text }?  &
 11        element prefix { text }? &
 12        element enable-mathjax { xsd:boolean }?
 13    }? &
 14    element title {
 15        element text { text }
 16    }* &
 17    element heading {
 18        element text { text }
 19    }* &
 20    element subheading {
 21        element text { text }
 22    }* &
 23    element subsubheading {
 24        element text { text }
 25    }* &
 26    element paragraph {
 27        element text { text }+
 28    }* &
 29    element table-of-contents { empty }? &
 30    element list-of-figures { empty }? &
 31    element events-list {
 32        element title { text }? &
 33        element event {
 34            element eventname { text }? &
 35            element component { text }* &
 36            element min-duration { xsd:duration }? &
 37            element max-duration { xsd:duration }? &
 38            element condition {
 39                element property { text } &
 40                element op { text } &
 41                element value { text }
 42            }*
 43        }* &
 44        element absolute-start-time { text }? &
 45        element hide-default-columns { text }? &
 46        element column {
 47            element heading { text }? &
 48            element content { text }
 49        }*
 50    }* &
 51    element graph {
 52        element title { text }? &
 53        element datapoint {
 54            (element field { text }? |
 55            element event { text }?) &
 56            element axis { xsd:integer }? &
 57            element bar-width { xsd:integer }? &
 58            element label { text }? &
 59            element colour { text }? &
 60            element edgecolour { text }? &
 61            element accumulate { xsd:boolean }? &
 62            element y-axis { text }? &
 63            element marker-size { xsd:float }?
 64        }+ &
 65        element limits { "none" | "ground" | "onboard" | "all" }? &
 66        element sampling { "auto" | "all-points" | "stats" | "orbital-stats" }? &
 67        element subsampling { "auto" | "none" | "subsampled" }? &
 68        element appearance { "auto" | "min-max" | "min-max-avg" | "line" | "dynrange" | "scatter" }? &
 69        element absolute-start-time { text }? &
 70        element relative-start-time { xsd:duration }? &
 71        element relative-stop-time { xsd:duration }? &
 72        element trendline { xsd:boolean }? &
 73        element width { xsd:integer }? &
 74        element height { xsd:integer }? &
 75        element legend { "below-desc" | "below-desc-stats" | "none" | "embedded-bottom-left"}? &
 76        element calibrated { xsd:boolean }? &
 77        element anomaly-response { "none" | "axis" | "remove" }? &
 78        element anomaly-threshold { xsd:float }? &
 79        element auto-axis-margin { xsd:float }? &
 80        element dynrange-alpha { xsd:float }? &
 81        element trim { xsd:boolean }? &
 82        element marker-size { xsd:float }? &
 83        element y-axis {
 84          element label { text }? &
 85          element position { "left" | "right" }? &
 86          element anomaly-threshold { xsd:float }? &
 87          element label-fontsize { xsd:integer }? &
 88          element fontsize { xsd:integer }? &
 89          element locator { text }? &
 90          element locator-modulus { xsd:integer }? &
 91          element format { text }? &
 92          element colour { text }? &
 93          element label-colour { text }? &
 94          element minor-ticks { text }?
 95        }* &
 96        element zoom {
 97          element width { xsd:integer }
 98        }? &
 99        element x-axis {
100          element label-fontsize { xsd:integer }? &
101          element fontsize { xsd:integer }? &
102          element locator { text }? &
103          element locator-modulus { xsd:integer }? &
104          element format { text }? &
105          element colour { text }? &
106          element label-colour { text }?
107        }?
108    }* &
109    element graph-xy {
110        element title { text }? &
111        element width { xsd:integer }? &
112        element height { xsd:integer }? &
113        element x-series { text }? &
114        element y-series { text }? &
115        element relative-start-time { xsd:duration }? &
116        element relative-stop-time { xsd:duration }? &
117        element line-style { "solid" | "dotted" | "dashed" | "none" }?
118    }* &
119    element limits {
120        element title { text }? &
121        element filename { text }? &
122        element datapoint { text }* &
123        element x-min { xsd:float }? &
124        element x-max { xsd:float }? &
125        element sampling { "all" }? &
126        element calibrated { xsd:boolean }? &
127        element y-label { text }? &
128        element table { "legend+stats" }?
129    }* &
130    element intelliplot {
131        element title { text }? &
132        element datapoint { text }
133    }* &
134    element picture {
135        element filename { text }
136    }* &
137    element mhs-image {
138        element channel { xsd:integer } &
139        element thumbnail-width { xsd:integer }? &
140        element max-duration { xsd:duration }?
141    }* &
142    element geoplot {
143        element filename { text }? &
144        element condition { text }? &
145        element datapoint { text }? &
146        element width { xsd:integer }? &
147        element height { xsd:integer }? &
148        element max-duration { xsd:duration }? &
149        element projection { "ortho" }? &
150        element longitude { xsd:float }? &
151        element latitude { xsd:float }? &
152        element blue-marble { xsd:boolean }? &
153        element title { text }? &
154        element colourbar { xsd:boolean }?
155    }* &
156    element mhs-geoplot {
157        element filename { text }? &
158        element condition { text }? &
159        element width { xsd:integer }? &
160        element height { xsd:integer }? &
161        element channel { xsd:integer } &
162        element projection { "ortho" }? &
163        element longitude { xsd:float }? &
164        element latitude { xsd:float }? &
165        element max-duration { xsd:duration }?
166    }* &
167    element digest-introduction { empty }* &
168    element digest-ingestion { empty }* &
169    element digest-events { empty }* &
170    element digest-jobs { empty }* &
171    element digest-processes { empty }* &
172    element digest-quotas { empty }* &
173    element digest-logs { empty }* &
174    element digest-trac { empty }* &
175    element digest-supervisor { empty }* &
176    element table {
177        element title { text }? &
178        element column {
179            element name { text } &
180            element label { text }? &
181            element description { text }? &
182            element template { text }? &
183            element sort { "ascending" | "descending" }?
184        }* &
185        element source {
186            element event { text }* &
187            element condition {
188                element template { text } &
189                element keep { text }? &
190                element drop { text }?
191              }* &
192            element render {
193                element column { text }&
194                element template { text }
195            }*
196        }+
197    }* &
198    element layout {
199        element type { "horizontal-begin" | "horizontal-end" | "horizontal-continue" }
200    }* &
201  element histogram {
202    element title { text }? &
203    element width { xsd:integer }? &
204    element height { xsd:integer }? &
205    element absolute-start-time { text }? &
206    element absolute-stop-time { text }? &
207    element datapoint {
208        element field { text }
209    }*
210  }*
211}