Debian Codegraph @

gavo/resources/schemata/ConeSearch.xsd

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
4 xmlns:cs="http://www.ivoa.net/xml/ConeSearch/v1.0"
5 xmlns:vm="http://www.ivoa.net/xml/VOMetadata/v0.1"
6 targetNamespace="http://www.ivoa.net/xml/ConeSearch/v1.0"
7 elementFormDefault="unqualified" attributeFormDefault="unqualified"
8 version="1.1">
9
10 <xs:annotation>
11 <xs:appinfo>
12 <vm:schemaName>ConeSearch</vm:schemaName>
13 <vm:schemaPrefix>xs</vm:schemaPrefix>
14 <vm:targetPrefix>cs</vm:targetPrefix>
15 </xs:appinfo>
16 <xs:documentation>
17 Implementation of an XML Schema describing a Cone Search Service.
18 Based on "Simple Cone Search: a First Guide for Data Curators",
19 http://www.us-vo.org/metadata/conesearch/.
20 </xs:documentation>
21 <xs:documentation>
22 This schema defines a Capability type that is specific to Cone
23 Search. A service that has ConeSearch capability should be
24 registered as a TabularSkyService. The ConeSearch capability
25 element must include a ParamHTTP interface.
26 </xs:documentation>
27 </xs:annotation>
28
29 <xs:import namespace="http://www.ivoa.net/xml/VOResource/v1.0"
30 schemaLocation="http://docs.g-vo.org/schemata/VOResource.xsd"/>
31
32 <xs:complexType name="ConeSearch">
33 <xs:annotation>
34 <xs:documentation>
35 The capabilities of a Cone Search implementation.
36 </xs:documentation>
37 </xs:annotation>
38
39 <xs:complexContent>
40 <xs:extension base="vr:Capability">
41 <xs:sequence>
42 <xs:element name="maxSR" type="xs:float"
43 minOccurs="0" maxOccurs="1">
44 <xs:annotation>
45 <xs:documentation>
46 The largest search radius, in degrees, that will be
47 accepted by the service without returning an error
48 condition. Not providing this element or
49 specifying a value of 180 indicates that there
50 is no restriction.
51 </xs:documentation>
52 <xs:documentation>
53 Not providing a value is the preferred way to indicate
54 that there is no restriction.
55 </xs:documentation>
56 </xs:annotation>
57 </xs:element>
58
59 <xs:element name="maxRecords" type="xs:positiveInteger"
60 minOccurs="0" maxOccurs="1">
61 <xs:annotation>
62 <xs:documentation>
63 The largest number of records that the service will
64 return. Not providing this value means that
65 there is no effective limit.
66 </xs:documentation>
67 <xs:documentation>
68 This does not refer to the total number of records in
69 the catalog but rather maximum number of records the
70 service is capable of returning. A limit that is
71 greater than the number of records available in the
72 archive is equivalent to their being no effective
73 limit. (See RM, Hanisch 2007.)
74 </xs:documentation>
75 </xs:annotation>
76 </xs:element>
77
78 <xs:element name="verbosity" type="xs:boolean">
79 <xs:annotation>
80 <xs:documentation>
81 True if the service supports the VERB keyword;
82 false, otherwise.
83 </xs:documentation>
84 </xs:annotation>
85 </xs:element>
86
87 <xs:element name="testQuery" type="cs:Query"
88 minOccurs="0" maxOccurs="1">
89 <xs:annotation>
90 <xs:documentation>
91 A query that will result in at least on
92 matched record that can be used to test the
93 service.
94 </xs:documentation>
95 </xs:annotation>
96 </xs:element>
97
98 </xs:sequence>
99 </xs:extension>
100 </xs:complexContent>
101 </xs:complexType>
102
103 <xs:complexType name="Query">
104 <xs:annotation>
105 <xs:documentation>
106 A query to be sent to the service
107 </xs:documentation>
108 </xs:annotation>
109
110 <xs:sequence>
111 <xs:element name="ra" type="xs:double">
112 <xs:annotation>
113 <xs:documentation>
114 the right ascension of the search cone's center in
115 decimal degrees.
116 </xs:documentation>
117 </xs:annotation>
118 </xs:element>
119
120 <xs:element name="dec" type="xs:double">
121 <xs:annotation>
122 <xs:documentation>
123 the declination of the search cone's center in
124 decimal degrees.
125 </xs:documentation>
126 </xs:annotation>
127 </xs:element>
128
129 <xs:element name="sr" type="xs:double">
130 <xs:annotation>
131 <xs:documentation>
132 the radius of the search cone in decimal degrees.
133 </xs:documentation>
134 </xs:annotation>
135 </xs:element>
136
137 <xs:element name="verb" type="xs:positiveInteger" minOccurs="0">
138 <xs:annotation>
139 <xs:documentation>
140 the verbosity level to use where 1 means the bare
141 minimum set of columns and 3 means the full set of
142 available columns.
143 </xs:documentation>
144 </xs:annotation>
145 </xs:element>
146
147 <xs:element name="catalog" type="xs:string" minOccurs="0">
148 <xs:annotation>
149 <xs:documentation>
150 the catalog to query.
151 </xs:documentation>
152 <xs:documentation>
153 When the service can access more than one catalog,
154 this input parameter, if available, is used to
155 indicate which service to access.
156 </xs:documentation>
157 </xs:annotation>
158 </xs:element>
159
160 <xs:element name="extras" type="xs:string" minOccurs="0">
161 <xs:annotation>
162 <xs:documentation>
163 any extra (non-standard) parameters that must be
164 provided (apart from what is part of base URL given
165 by the accessURL element).
166 </xs:documentation>
167 <xs:documentation>
168 this value should be in the form of name=value
169 pairs delimited with ampersands (&amp;).
170 </xs:documentation>
171 </xs:annotation>
172 </xs:element>
173
174 </xs:sequence>
175
176 </xs:complexType>
177
178
179 </xs:schema>