@@ -4,12 +4,11 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
4
xmlns:vr=" http://www.ivoa.net/xml/VOResource/v1.0"
5
5
xmlns:vm=" http://www.ivoa.net/xml/VOMetadata/v0.1"
6
6
xmlns:tr=" http://www.ivoa.net/xml/TAPRegExt/v1.0"
7
- version=" 1.1-pre1 "
7
+ version=" 1.1-pre3 "
8
8
targetNamespace=" http://www.ivoa.net/xml/TAPRegExt/v1.0"
9
9
elementFormDefault=" unqualified"
10
10
attributeFormDefault=" unqualified"
11
- xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
12
- xsi:schemaLocation=" http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelberg.de/docs/schemata/XMLSchema.xsd" >
11
+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" >
13
12
<xs : annotation >
14
13
<xs : appinfo >
15
14
<vm : schemaName >TAPRegExt</vm : schemaName >
@@ -22,6 +21,42 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
22
21
</xs : annotation >
23
22
<xs : import namespace =" http://www.ivoa.net/xml/VOResource/v1.0"
24
23
schemaLocation =" https://www.ivoa.net/xml/VOResource/VOResource-v1.0.xsd" />
24
+
25
+ <xs : attributeGroup name =" mode-dependent" >
26
+ <xs : annotation >
27
+ <xs : documentation >
28
+ This attribute group is intended to be used wherever a TAPRegExt
29
+ declaration might depend on the access mode. Currently, only
30
+ sync vs. async is supported.
31
+ </xs : documentation >
32
+ </xs : annotation >
33
+ <xs : attribute name =" forMode" >
34
+ <xs : annotation >
35
+ <xs : documentation >
36
+ This declaration only applies to the named mode.
37
+ </xs : documentation >
38
+ </xs : annotation >
39
+ <xs : simpleType >
40
+ <xs : restriction base =" xs:NMTOKEN" >
41
+ <xs : enumeration value =" sync" >
42
+ <xs : annotation >
43
+ <xs : documentation >
44
+ This declaration is for synchronous queries.
45
+ </xs : documentation >
46
+ </xs : annotation >
47
+ </xs : enumeration >
48
+ <xs : enumeration value =" async" >
49
+ <xs : annotation >
50
+ <xs : documentation >
51
+ This declaration is for asynchronous queries.
52
+ </xs : documentation >
53
+ </xs : annotation >
54
+ </xs : enumeration >
55
+ </xs : restriction >
56
+ </xs : simpleType >
57
+ </xs : attribute >
58
+ </xs : attributeGroup >
59
+
25
60
<xs : complexType name =" TableAccess" >
26
61
<xs : annotation >
27
62
<xs : documentation >
@@ -79,7 +114,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
79
114
</xs : element >
80
115
81
116
<xs : element name =" retentionPeriod" type =" tr:TimeLimits"
82
- minOccurs =" 0" maxOccurs =" 1 " >
117
+ minOccurs =" 0" maxOccurs =" unbounded " >
83
118
<xs : annotation >
84
119
<xs : documentation >
85
120
Limits on the time between job creation and
@@ -89,7 +124,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
89
124
</xs : element >
90
125
91
126
<xs : element name =" executionDuration" type =" tr:TimeLimits"
92
- minOccurs =" 0" maxOccurs =" 1 " >
127
+ minOccurs =" 0" maxOccurs =" unbounded " >
93
128
<xs : annotation >
94
129
<xs : documentation >
95
130
Limits on executionDuration.
@@ -98,7 +133,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
98
133
</xs : element >
99
134
100
135
<xs : element name =" outputLimit" type =" tr:DataLimits"
101
- minOccurs =" 0" maxOccurs =" 1 " >
136
+ minOccurs =" 0" maxOccurs =" unbounded " >
102
137
<xs : annotation >
103
138
<xs : documentation >
104
139
Limits on the size of data returned.
@@ -107,7 +142,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
107
142
</xs : element >
108
143
109
144
<xs : element name =" uploadLimit" type =" tr:DataLimits"
110
- minOccurs =" 0" maxOccurs =" 1 " >
145
+ minOccurs =" 0" maxOccurs =" unbounded " >
111
146
<xs : annotation >
112
147
<xs : documentation >
113
148
Limits on the size of uploaded data.
@@ -471,6 +506,8 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
471
506
472
507
</xs : sequence >
473
508
509
+ <xs : attributeGroup ref =" tr:mode-dependent" />
510
+
474
511
<xs : attribute name =" ivo-id" type =" xs:anyURI" >
475
512
<xs : annotation >
476
513
<xs : documentation >
@@ -487,7 +524,6 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
487
524
</xs : documentation >
488
525
</xs : annotation >
489
526
</xs : attribute >
490
-
491
527
</xs : complexType >
492
528
493
529
<xs : complexType name =" UploadMethod" >
@@ -517,6 +553,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
517
553
</xs : documentation >
518
554
</xs : annotation >
519
555
</xs : attribute >
556
+ <xs : attributeGroup ref =" tr:mode-dependent" />
520
557
</xs : restriction >
521
558
</xs : complexContent >
522
559
</xs : complexType >
@@ -547,6 +584,8 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
547
584
</xs : annotation >
548
585
</xs : element >
549
586
</xs : sequence >
587
+
588
+ <xs : attributeGroup ref =" tr:mode-dependent" />
550
589
</xs : complexType >
551
590
552
591
<xs : complexType name =" DataLimits" >
@@ -574,6 +613,8 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
574
613
</xs : annotation >
575
614
</xs : element >
576
615
</xs : sequence >
616
+
617
+ <xs : attributeGroup ref =" tr:mode-dependent" />
577
618
</xs : complexType >
578
619
579
620
<xs : complexType name =" DataLimit" >
0 commit comments