1<?xml version="1.0" encoding="UTF-8"?>
  2<!-- CHART Sources (SID) configuration file -->
  3<element name="sources" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  4  <interleave>
  5    <optional>
  6      <attribute name="xsi:noNamespaceSchemaLocation">
  7        <value>http://chart/schemas/sources</value>
  8      </attribute>
  9    </optional>
 10    <element name="sids">
 11      <zeroOrMore>
 12        <element name="sid">
 13          <interleave>
 14            <optional>
 15              <element name="sid-num">
 16                <a:documentation>For SID classes that use SID_NUM fields for database storage</a:documentation>
 17                <data type="integer"/>
 18              </element>
 19            </optional>
 20            <element name="name">
 21              <a:documentation>Required name of this source</a:documentation>
 22              <text/>
 23            </element>
 24            <optional>
 25              <element name="long-name">
 26                <a:documentation>Longer name to use in graph labels and other places</a:documentation>
 27                <text/>
 28              </element>
 29            </optional>
 30            <optional>
 31              <element name="description">
 32                <a:documentation>Description, currently for information only and not used</a:documentation>
 33                <text/>
 34              </element>
 35            </optional>
 36            <optional>
 37              <element name="satellite">
 38                <a:documentation>Name of associated &lt;satellite&gt;</a:documentation>
 39                <text/>
 40              </element>
 41            </optional>
 42            <optional>
 43              <element name="colour">
 44                <a:documentation>Default colour used in report viewer</a:documentation>
 45                <text/>
 46              </element>
 47            </optional>
 48            <optional>
 49              <element name="visible">
 50                <a:documentation>Control visibility of this SID in web tools</a:documentation>
 51                <data type="boolean"/>
 52              </element>
 53            </optional>
 54            <optional>
 55              <element name="operational">
 56                <a:documentation>Specify whether this source is included in regular reporting and processing</a:documentation>
 57                <data type="boolean"/>
 58              </element>
 59            </optional>
 60            <optional>
 61              <element name="default">
 62                <a:documentation>For one SID only nominate as the default GUI menu item</a:documentation>
 63                <data type="boolean"/>
 64              </element>
 65            </optional>
 66            <optional>
 67              <element name="orbiter">
 68                <a:documentation>Name of either a Python class or another SID for orbit determination</a:documentation>
 69                <text/>
 70              </element>
 71            </optional>
 72            <optional>
 73              <element name="group">
 74                <a:documentation>Used to group similar SIDs in a GUI</a:documentation>
 75                <text/>
 76              </element>
 77            </optional>
 78          </interleave>
 79        </element>
 80      </zeroOrMore>
 81    </element>
 82    <optional>
 83      <element name="satellites">
 84        <zeroOrMore>
 85          <element name="satellite">
 86            <interleave>
 87              <element name="name">
 88                <a:documentation>Normal short identifier for this satellite</a:documentation>
 89                <text/>
 90              </element>
 91              <optional>
 92                <element name="launch-date">
 93                  <a:documentation>Launch date, if known</a:documentation>
 94                  <data type="dateTime"/>
 95                </element>
 96              </optional>
 97              <optional>
 98                <element name="decommision-date">
 99                  <a:documentation>End of life date, if known</a:documentation>
100                  <data type="dateTime"/>
101                </element>
102              </optional>
103              <optional>
104                <element name="orbit-duration">
105                  <a:documentation>Nominal orbit duration for satellites with orbits</a:documentation>
106                  <data type="duration"/>
107                </element>
108              </optional>
109            </interleave>
110          </element>
111        </zeroOrMore>
112      </element>
113    </optional>
114    <optional>
115      <element name="special-packets">
116        <a:documentation>For PUS ingestion configuration</a:documentation>
117        <interleave>
118          <optional>
119            <element name="good-frame-spid">
120              <data type="integer"/>
121            </element>
122          </optional>
123          <optional>
124            <element name="bad-frame-spid">
125              <data type="integer"/>
126            </element>
127          </optional>
128          <optional>
129            <element name="unknown-packet-spid">
130              <data type="integer"/>
131            </element>
132          </optional>
133          <optional>
134            <element name="bad-packet-spid">
135              <data type="integer"/>
136            </element>
137          </optional>
138          <optional>
139            <element name="idle-packet-spid">
140              <data type="integer"/>
141            </element>
142          </optional>
143          <optional>
144            <element name="idle-frame-spid">
145              <data type="integer"/>
146            </element>
147          </optional>
148        </interleave>
149      </element>
150    </optional>
151  </interleave>
152</element>