@@ -4,12 +4,11 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"
44xmlns:vr=" http://www.ivoa.net/xml/VOResource/v1.0" 
55xmlns:vm=" http://www.ivoa.net/xml/VOMetadata/v0.1" 
66xmlns:tr=" http://www.ivoa.net/xml/TAPRegExt/v1.0" 
7- version=" 1.1-pre1 " 
7+ version=" 1.1-pre3 " 
88targetNamespace=" http://www.ivoa.net/xml/TAPRegExt/v1.0" 
99elementFormDefault=" unqualified" 
1010attributeFormDefault=" 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" 
1312  <xs : annotation >
1413    <xs : appinfo >
1514      <vm : schemaName >TAPRegExt</vm : schemaName >
@@ -22,6 +21,42 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
2221  </xs : annotation >
2322  <xs : import  namespace =" http://www.ivoa.net/xml/VOResource/v1.0" 
2423    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+ 
2560  <xs : complexType  name =" TableAccess" 
2661    <xs : annotation >
2762      <xs : documentation >
@@ -79,7 +114,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
79114          </xs : element >
80115
81116          <xs : element  name =" retentionPeriod" type =" tr:TimeLimits" 
82-             minOccurs =" 0" maxOccurs =" 1 " 
117+             minOccurs =" 0" maxOccurs =" unbounded " 
83118            <xs : annotation >
84119              <xs : documentation >
85120              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
89124          </xs : element >
90125
91126          <xs : element  name =" executionDuration" type =" tr:TimeLimits" 
92-             minOccurs =" 0" maxOccurs =" 1 " 
127+             minOccurs =" 0" maxOccurs =" unbounded " 
93128            <xs : annotation >
94129              <xs : documentation >
95130              Limits on executionDuration.
@@ -98,7 +133,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
98133          </xs : element >
99134
100135          <xs : element  name =" outputLimit" type =" tr:DataLimits" 
101-             minOccurs =" 0" maxOccurs =" 1 " 
136+             minOccurs =" 0" maxOccurs =" unbounded " 
102137            <xs : annotation >
103138              <xs : documentation >
104139              Limits on the size of data returned.
@@ -107,7 +142,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
107142          </xs : element >
108143
109144          <xs : element  name =" uploadLimit" type =" tr:DataLimits" 
110-             minOccurs =" 0" maxOccurs =" 1 " 
145+             minOccurs =" 0" maxOccurs =" unbounded " 
111146            <xs : annotation >
112147              <xs : documentation >
113148              Limits on the size of uploaded data.
@@ -471,6 +506,8 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
471506
472507    </xs : sequence >
473508
509+     <xs : attributeGroup  ref =" tr:mode-dependent" 
510+ 
474511    <xs : attribute  name =" ivo-id" type =" xs:anyURI" 
475512      <xs : annotation >
476513        <xs : documentation >
@@ -487,7 +524,6 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
487524        </xs : documentation >
488525      </xs : annotation >
489526    </xs : attribute >
490- 
491527  </xs : complexType >
492528
493529  <xs : complexType  name =" UploadMethod" 
@@ -517,6 +553,7 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
517553            </xs : documentation >
518554          </xs : annotation >
519555        </xs : attribute >
556+    			<xs : attributeGroup  ref =" tr:mode-dependent" 
520557      </xs : restriction >
521558    </xs : complexContent >
522559  </xs : complexType >
@@ -547,6 +584,8 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
547584        </xs : annotation >
548585      </xs : element >
549586    </xs : sequence >
587+ 
588+     <xs : attributeGroup  ref =" tr:mode-dependent" 
550589  </xs : complexType >
551590
552591  <xs : complexType  name =" DataLimits" 
@@ -574,6 +613,8 @@ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://vo.ari.uni-heidelber
574613        </xs : annotation >
575614      </xs : element >
576615    </xs : sequence >
616+ 
617+     <xs : attributeGroup  ref =" tr:mode-dependent" 
577618  </xs : complexType >
578619
579620  <xs : complexType  name =" DataLimit" 
0 commit comments