1# CHART Sources (SID) configuration file
 2
 3namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"
 4
 5element sources {
 6    attribute xsi:noNamespaceSchemaLocation { "http://chart/schemas/sources" }? &
 7    element sids {
 8        element sid {
 9            ## For SID classes that use SID_NUM fields for database storage
10            element sid-num { xsd:integer }? &
11            ## Required name of this source
12            element name { text } &
13            ## Longer name to use in graph labels and other places
14            element long-name { text }? &
15            ## Description, currently for information only and not used
16            element description { text }? &
17            ## Name of associated <satellite>
18            element satellite { text }? &
19            ## Default colour used in report viewer
20            element colour { text }? &
21            ## Control visibility of this SID in web tools
22            element visible { xsd:boolean }? &
23            ## Specify whether this source is included in regular reporting and processing
24            element operational { xsd:boolean }? &
25            ## For one SID only nominate as the default GUI menu item
26            element default { xsd:boolean }? &
27            ## Name of either a Python class or another SID for orbit determination
28            element orbiter { text }? &
29            ## Used to group similar SIDs in a GUI
30            element group { text }?
31        }*
32    } &
33    element satellites {
34        element satellite {
35            ## Normal short identifier for this satellite
36            element name { text } &
37            ## Launch date, if known
38            element launch-date { xsd:dateTime }? &
39            ## End of life date, if known
40            element decommision-date { xsd:dateTime }? &
41            ## Nominal orbit duration for satellites with orbits
42            element orbit-duration { xsd:duration }?
43        }*
44    }? &
45    ## For PUS ingestion configuration
46    element special-packets {
47        element good-frame-spid { xsd:integer }? &
48        element bad-frame-spid { xsd:integer }? &
49        element unknown-packet-spid { xsd:integer }? &
50        element bad-packet-spid { xsd:integer }? &
51        element idle-packet-spid { xsd:integer }? &
52        element idle-frame-spid { xsd:integer }?
53    }?
54}