# CHART Sources (SID) configuration file

namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"

element sources {
    attribute xsi:noNamespaceSchemaLocation { "http://chart/schemas/sources" }? &
    element sids {
		element sid {
			## For SID classes that use SID_NUM fields for database storage
			element sid-num { xsd:integer }? &
			## Required name of this source
			element name { text } &
			## Longer name to use in graph labels and other places
			element long-name { text }? &
			## Description, currently for information only and not used
			element description { text }? &
			## Name of associated <satellite>
			element satellite { text }? &
			## Default colour used in report viewer
			element colour { text }? &
			## Control visibility of this SID in web tools
			element visible { xsd:boolean }? &
			## Specify whether this source is included in regular reporting and processing
			element operational { xsd:boolean }? &
			## For one SID only nominate as the default GUI menu item
			element default { xsd:boolean }? &
			## Name of either a Python class or another SID for orbit determination
			element orbiter { text }? &
			## Used to group similar SIDs in a GUI
			element group { text }?
		}*
	} &
	element satellites {
		element satellite {
			## Normal short identifier for this satellite
			element name { text } &
			## Launch date, if known
			element launch-date { xsd:dateTime }? &
			## End of life date, if known
			element decommision-date { xsd:dateTime }? &
			## Nominal orbit duration for satellites with orbits
			element orbit-duration { xsd:duration }?
		}*
	}? &
	## For PUS ingestion configuration
    element special-packets {
		element good-frame-spid { xsd:integer }? &
		element bad-frame-spid { xsd:integer }? &
		element unknown-packet-spid { xsd:integer }? &
		element bad-packet-spid { xsd:integer }? &
		element idle-packet-spid { xsd:integer }? &
		element idle-frame-spid { xsd:integer }?
	}?
}

Download as raw Relax-NG Compact here or as raw XSD here