The list-parsing functions are defined in conf/parsers.py. Each function should return a dictionary following the specification described below.
The dictionary is composed of pairs of (key, value) defined as follows:
- key is composed of a short authority name acting as a name space (e.g.,
aas
for the AAS list), followed by an ID derived from the current list, joined with a:
, for instance:aas:SORCE
. - value is a dictionnary object comforing with the models/facility.json JSON schema.
The Observatory descriptor follows the model described in the models/facility.json JSON schema.
The expected properties are:
alternateName
: (list) A list of all alternate names dictionaries (see below)facilityType
: (str) A string containing eitherspacecraft
orobservatory
location
: (dict) A dictionary containingcontinent
,country
,place
and/orcoordinates
. Thecoordinates
property is a dictionary withlat
(latitude),lon
(longitude),alt
(altitude),sin
(ρ sin(φ) parallax coordinate),cos
(ρ cos(φ) parallax coordinate) and/ortz
(time zone) properties.measurementType
: (list) A list of string items (following IVOA UCD specification).targetList
: (list) A list of string items with target names.facilityGroup
: (str) A named group to which the Facility belongs to.instrumentList
: (list) A list of string items with instrument names.referenceURL
: (str) A list of string items containing URL to a reference website(s) or documentation.launchDate
: (str) A string containing the launch date for a spacecraft.
Each alternateName
object contins the following attributes:
namingAuthority
: (str) a naming authorityname
: (str) a name for the Facilityid
: (str) an ID for the Facility
Note the name
and id
are considered as alternate names of the same Facility.