3434 required : true
3535 schema :
3636 type : string
37+ - $ref : ./vosi-auth-read.yaml
38+ - $ref : ./vosi-group-read.yaml
39+ - $ref : ./vosi-group-write.yaml
40+ - $ref : ./vosi-owner.yaml
3741 requestBody :
3842 description : a table description
3943 $ref : ' #/components/schemas/tableDoc'
6569 required : true
6670 schema :
6771 type : string
72+ - $ref : ./vosi-auth-read.yaml
73+ - $ref : ./vosi-group-read.yaml
74+ - $ref : ./vosi-group-write.yaml
75+ - $ref : ./vosi-owner.yaml
6876 requestBody :
6977 description : a table description
7078 $ref : ' #/components/schemas/tableDoc'
@@ -112,14 +120,36 @@ components:
112120 schemas :
113121 tableDoc :
114122 description : metadata for the specified schema or table
123+ headers :
124+ x-vosi-auth-read :
125+ description : flag indicating that the resource requires authentication to read
126+ required : false
127+ schema :
128+ type : string
129+ enum : ["true", "false"]
130+ x-vosi-group-read :
131+ description : a GMS group identifier indicating a group with read permission
132+ required : false
133+ schema :
134+ type : string
135+ x-vosi-group-write :
136+ description : a GMS group identifier indicating a group with write permission
137+ required : false
138+ schema :
139+ type : string
140+ x-vosi-owner :
141+ description : identifier for the owner of the schema or table
142+ required : false
143+ schema :
144+ type : string
115145 content :
116146 text/xml :
117147 schema :
118- type : object
119- xml :
120- name : table
121- prefix : vosi
122- namespace : http://www.ivoa.net/xml/VOSITables/v1.0
148+ type : object
149+ xml :
150+ name : table
151+ prefix : vosi
152+ namespace : http://www.ivoa.net/xml/VOSITables/v1.0
123153 example : |
124154 <vosi:table xmlns:vosi="http://www.ivoa.net/xml/VOSITables/v1.0"
125155 xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.1"
@@ -148,18 +178,18 @@ components:
148178 <description>recommended sort order when listing schemas</description>
149179 <dataType xsi:type="vs:VOTableType">int</dataType>
150180 </column>
151- </vosi:table>
181+ </vosi:table>
152182 application/x-votable+xml :
153183 schema :
154- type : object
155- xml :
156- name : VOTABLE
157- namespace : http://www.ivoa.net/xml/VOTable/v1.3
184+ type : object
185+ xml :
186+ name : VOTABLE
187+ namespace : http://www.ivoa.net/xml/VOTable/v1.3
158188 example : |
159189 <VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.3"
160190 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
161191 <RESOURCE type="results">
162- <TABLE>
192+ <TABLE>
163193 <FIELD name="schema_name" datatype="char" arraysize="64*">
164194 <DESCRIPTION>schema name for reference to tap_schema.schemas</DESCRIPTION>
165195 </FIELD>
@@ -172,9 +202,6 @@ components:
172202 <FIELD name="schema_index" datatype="int">
173203 <DESCRIPTION>recommended sort order when listing schemas</DESCRIPTION>
174204 </FIELD>
175- <!--data goes here-->
176205 </TABLE>
177206 </RESOURCE>
178207 </VOTABLE>
179-
180-
0 commit comments