Newer
Older
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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.ivoa.net/xml/VOSpace/v2.0" elementFormDefault="qualified"
attributeFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:vos="http://www.ivoa.net/xml/VOSpace/v2.0"
xmlns:uws="http://www.ivoa.net/xml/UWS/v1.0"
xmlns:xlink="http://www.w3.org/1999/xlink">
<xsd:import namespace="http://www.ivoa.net/xml/UWS/v1.0" schemaLocation="./uws.xsd"/>
<!-- ======== Node types ======== -->
<xsd:complexType name="Node">
<xsd:annotation>
<xsd:documentation>
The base class for all nodes.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="properties" type="vos:PropertyList" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The list of node properties.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="uri" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
The node identifier URI.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="DataNode">
<xsd:annotation>
<xsd:documentation>
The base class for data nodes.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="vos:Node">
<xsd:sequence>
<xsd:element name="accepts" type="vos:ViewList" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The list of views or data formats that this node can accept.
A simple unstructured node may accept data in any format.
A structured node may only accept data in specific formats.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="provides" type="vos:ViewList" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The list of views or data formats that this node can provide.
A simple unstructured node may only provide access to the data in the original format.
A structured node may provide different views of the data generated by the service.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="capabilities" type="vos:CapabilityList" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The list of capabilities that this node can support.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="busy" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>
A flag to indicate if the node content is available.
This will be set to false while the data is being imported,
or if the underlying service is busy.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="UnstructuredDataNode">
<xsd:annotation>
<xsd:documentation>
An unstructured data node, containing unspecified content.
The service does not need to understand or interpret the content.
This type of node can accept any format, and only provides one view returning the original data.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="vos:DataNode"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="StructuredDataNode">
<xsd:annotation>
<xsd:documentation>
A structured data node, containing a specific data format that the service has understands.
This type of node may only accept specific data formats, and provide different views of the
data generated by the service.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="vos:DataNode"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ContainerNode">
<xsd:annotation>
<xsd:documentation>
A container node containing any type of node.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="vos:DataNode">
<xsd:sequence>
<xsd:element name="nodes" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
A list of the direct children that the container has.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="node" type="vos:Node" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="LinkNode">
<xsd:annotation>
<xsd:documentation>
A node that points to another resource.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="vos:Node">
<xsd:sequence>
<xsd:element name="target" type="xsd:anyURI" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The identifier for the object that the LinkNode points to.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- ======== Property types ======== -->
<xsd:complexType name="Property">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attributeGroup ref="vos:PropertyAttributeGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="PropertyList">
<xsd:annotation>
<xsd:documentation>
A container element for a list of properties.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="property" type="vos:Property" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PropertyReference">
<xsd:annotation>
<xsd:documentation>
A reference to a property description.
</xsd:documentation>
</xsd:annotation>
<xsd:attributeGroup ref="vos:PropertyAttributeGroup"/>
</xsd:complexType>
<xsd:complexType name="PropertyReferenceList">
<xsd:annotation>
<xsd:documentation>
A container element for a list of property references.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="property" type="vos:PropertyReference" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:attributeGroup name="PropertyAttributeGroup">
<xsd:attribute name="uri" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
If the property has been registered, then the URI should point to the registration document. Third party
tools may use the urn:xxxx syntax to add unregistered properties.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="readOnly" type="xsd:boolean" use="optional" default
="false">
<xsd:annotation>
<xsd:documentation>
A flag to indicate if the property is considered read-only. Attempting to modify a read-only property
should generate a PermissionDenied fault.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<xsd:complexType name="GetPropertiesResponse">
<xsd:sequence>
<xsd:element name="accepts" type="vos:PropertyReferenceList">
<xsd:annotation>
<xsd:documentation>
A list of identifiers for the properties that the service accepts and understands.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="provides" type="vos:PropertyReferenceList">
<xsd:annotation>
<xsd:documentation>
A list of identifiers for the properties that the service provides.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="contains" type="vos:PropertyReferenceList">
<xsd:annotation>
<xsd:documentation>
A list of identifiers for all the properties currently used by nodes within the service.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ======== View types ======== -->
<xsd:complexType name="Param">
<xsd:annotation>
<xsd:documentation>
A view or protocol parameter.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="uri" type="xsd:anyURI" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="View">
<xsd:annotation>
<xsd:documentation>
An element describing a view of a data-set.
A view may just provide the original data, or it could be server generated.
Examples of server generated views could include a votable view of data in a database table,
or a conversion from one image format to another.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="param" type="vos:Param" minOccurs="0" maxOccurs="unbounded" nillable="true">
<xsd:annotation>
<xsd:documentation>
A list of parameters for the view.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="uri" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
The view URI.
This should point to a resource describing the view format and what parameters it requires.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="original" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>
A flag to indicate if the view provides access to the original data content or a derived form.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="ViewList">
<xsd:annotation>
<xsd:documentation>
A container element for a list of views.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="view" type="vos:View" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetViewsResponse">
<xsd:sequence>
<xsd:element name="accepts" type="vos:ViewList">
<xsd:annotation>
<xsd:documentation>
A list of identifiers for the views that the service can accept.
A simple file based system may accept data in 'any' format.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="provides" type="vos:ViewList">
<xsd:annotation>
<xsd:documentation>
A list of identifiers for the views that the service can provide.
A simple file based system may only provide data in the original format.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ======== Protocol types ======== -->
<xsd:complexType name="Protocol">
<xsd:annotation>
<xsd:documentation>
A protocol element, containing the protocol URI, the endpoint and any protocol specific parameters.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="endpoint" type="xsd:anyURI" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The target endpoint to use for a data transfer.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="param" type="vos:Param" minOccurs="0" maxOccurs="unbounded" nillable="true">
<xsd:annotation>
<xsd:documentation>
Any additional protocol specific parameters required to use the endpoint.
For example, the user name or password to use for ftp access.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="uri" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
The protocol identifier.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="ProtocolList">
<xsd:annotation>
<xsd:documentation>
A container element for a list of protocols.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="protocol" type="vos:Protocol" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GetProtocolsResponse">
<xsd:sequence>
<xsd:element name="accepts" type="vos:ProtocolList">
<xsd:annotation>
<xsd:documentation>
A list of identifiers for the protocols that the service can accept.
This means that the service can act as a client for the protocol.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="provides" type="vos:ProtocolList">
<xsd:annotation>
<xsd:documentation>
A list of identifiers for the protocols that the service can provide.
This means that the service can act as a server for the protocol.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ======== Capability types ======== -->
<xsd:complexType name="Capability">
<xsd:annotation>
<xsd:documentation>
A capability element, containing the capability URI, the
endpoint and any capability specific parameters(?).
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="endpoint" type="xsd:anyURI" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The target endpoint to use for the third-part interface.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--+
| Uncommented Capability params.
+-->
<xsd:element name="param" type="vos:Param" minOccurs="0" maxOccurs="unbounded" nillable="true">
<xsd:annotation>
<xsd:documentation>
Any additional capability specific parameters required to use the endpoint.
For example, the user name or password to use for access.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="uri" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
The capability identifier.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CapabilityList">
<xsd:annotation>
<xsd:documentation>
A container element for a list of capabilities.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="capability" type="vos:Capability" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<!-- ======== Node list type ======== -->
<xsd:complexType name="NodeList">
<xsd:annotation>
<xsd:documentation>
A container element for search responses.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="nodes" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The list of nodes.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="node" type="vos:Node" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
At the maximum level of detail this will be replaced by the full element for the extended type,
using xsi:type to indicate the node type/
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ======== Transfer type ======== -->
<xsd:complexType name="Transfer">
<xsd:annotation>
<xsd:documentation>
A container element for transfer operations.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="target" type="xsd:anyURI" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The target of a transfer operation - the node to/from which data is to be transferred.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="direction" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The direction of a data transfer - either a URI or one of the specified directions
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:anyURI"/>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="pushToVoSpace"/>
<xsd:enumeration value="pushFromVoSpace"/>
<xsd:enumeration value="pullToVoSpace"/>
<xsd:enumeration value="pullFromVoSpace"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="view" type="vos:View" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The requested view for the transfer.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="protocol" type="vos:Protocol" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
The transfer protocol(s) to use.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="keepBytes" type="xsd:boolean" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Indicates whether the source object is to be kept in an internal transfer, i.e., distinguishes between a move and a copy.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ======== Response representations ======== -->
<xsd:element name="protocols" type="vos:ProtocolList"/>
<xsd:element name="views" type="vos:ViewList"/>
<xsd:element name="properties" type="vos:PropertyList"/>
<xsd:element name="transfer" type="vos:Transfer"/>
<xsd:element name="searchDetails" type="vos:NodeList"/>
</xsd:schema>