-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSLAP-v1.2.xsd
More file actions
245 lines (221 loc) · 9.3 KB
/
Copy pathSLAP-v1.2.xsd
File metadata and controls
245 lines (221 loc) · 9.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
xmlns:slap="http://www.ivoa.net/xml/SLAP/v1.0"
xmlns:vm="http://www.ivoa.net/xml/VOMetadata/v0.1"
targetNamespace="http://www.ivoa.net/xml/SLAP/v1.0"
elementFormDefault="unqualified" attributeFormDefault="unqualified"
version="1.2-pr2">
<xs:annotation>
<xs:appinfo>
<vm:schemaName>SLAP</vm:schemaName>
<vm:schemaPrefix>xs</vm:schemaPrefix>
<vm:targetPrefix>slap</vm:targetPrefix>
</xs:appinfo>
<xs:documentation>
XML Schema used to describe the capabilities of a service instance
conforming to the Simple Line Access Protocol (SLAP).
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://www.ivoa.net/xml/VOResource/v1.0"
schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0"/>
<!-- SLAP Capabilities -->
<xs:complexType name="SimpleLineAccess">
<xs:annotation>
<xs:documentation>
The capabilities of an SLAP service implementation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="vr:Capability">
<xs:sequence>
<xs:element name="complianceLevel" type="slap:ComplianceLevel">
<xs:annotation>
<xs:documentation>
The category indicating the level to which this
service instance complies with the SLAP standard.
</xs:documentation>
<xs:documentation>
Allowed values are “minimal” and “full”.
See definitions of allowed values for details.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- we had dataSource here until 1.2-pr1 but dropped it
then. This is mainly because dataSource is in VODataService
starting 1.3, and the dataSource isn't a property of the
capability in the first place. We can take the liberty
of doing a breaking change without changing the namespace
because there are no records in the registry using this
schema at the time of dropping this. -->
<xs:element name="maxRecords" type="xs:positiveInteger"
minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The hard limit on the largest number of records that
the query operation will return in a single response.
Not providing this value means that there is no
effective limit.
</xs:documentation>
<xs:documentation>
This does not refer to the total number of spectra in
the archive but rather maximum number of records the
service is capable of returning. A number smaller
than one means that there is no effective limit.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="testQuery" type="slap:Query"
minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Deprecated; use vs:ParamHTTP's testQuery element
instead.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="ComplianceLevel">
<xs:annotation>
<xs:documentation>
The allowed values for indicating the level at which a service
instance complies with the SLAP standard.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="minimal">
<xs:annotation>
<xs:documentation>
The service supports all of the capabilities and features
of the SLAP protocol identified as “must” in the
specification.
</xs:documentation>
<xs:documentation>
In brief, this includes:
* implementing the GET interface,
* WAVELENGTH, REQUEST for input query,
* ssldm:Line.wavelength.value and ssldm:Line.title for output
fields
* supports the “FORMAT=METADATA” metadata query.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="full">
<xs:annotation>
<xs:documentation>
The service supports, at a minimum, all of the capabilities
and features of the SLAP protocol identified as “must” or
“should” in the specification.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DataSource">
<xs:annotation>
<xs:documentation>
The defined categories that specify where the line data
originally came from, i.e., the type of data collections to
which the service provides access.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="observational/astrophysical">
<xs:annotation>
<xs:documentation>
Lines observed and identified in real spectra of
astrophysical observations by different
instrument/projects
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="observational/laboratory">
<xs:annotation>
<xs:documentation>
Lines observed and identified in real spectra of
laboratory measurements
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="theoretical">
<xs:annotation>
<xs:documentation>
Servers containing theoretical spectral lines
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="Query">
<xs:annotation>
<xs:documentation>
A deprecated type, originally intended for testQuery. Use
vs:ParamHTTP's testQuery instead.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="wavelength" type="slap:WavelengthRange" minOccurs="0">
<xs:annotation>
<xs:documentation>
Spectral range in meters to be used to constrain the query
of spectral lines.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="queryDataCmd" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
Fully specified queryData test query formatted as an URL
argument list in the syntax specified by the SLAP standard.
The list must exclude the REQUEST argument which is
assumed to be set to “queryData”. VERSION may be
included if the test query applies to a specific version
of the service protocol.
</xs:documentation>
<xs:documentation>
If queryDataCmd is used to form a query, the default
value of WAVELENGTH specified above is not
used; if the test query requires WAVELENGTH it
should be included directly in queryDataCmd.
</xs:documentation>
<xs:documentation>
This value must be a string in the form of name=value
pairs delimited with ampersands (&). A query may
then be formed by appending to the baseURL the request
argument, “REQUEST=queryData&”, followed by the
contents of this element.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="WavelengthRange">
<xs:annotation>
<xs:documentation>
This was used with slap:Query and is deprecated together with it.
of spectral lines
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="minWavelength" type="xs:double" minOccurs="0">
<xs:annotation>
<xs:documentation>
Minimum wavelength in meters to be used to constrain the query
of spectral lines
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="maxWavelength" type="xs:double" minOccurs="0">
<xs:annotation>
<xs:documentation>
Maximum wavelength in meters to be used to constrain the query
of spectral lines
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>