1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
|
3
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
4
|
targetNamespace="http://cybertaxonomy.org/utis/tnr/msg" xmlns:tns="http://cybertaxonomy.org/utis/tnr/msg"
|
5
|
xmlns:jxb="http://java.sun.com/xml/ns/jaxb" jxb:version="2.0"
|
6
|
xmlns:annox="http://annox.dev.java.net" jxb:extensionBindingPrefixes="annox"
|
7
|
elementFormDefault="qualified">
|
8
|
<xsd:element name="tnrMsg">
|
9
|
<xsd:complexType>
|
10
|
<xsd:sequence>
|
11
|
<xsd:element maxOccurs="unbounded" minOccurs="1"
|
12
|
ref="tns:query">
|
13
|
</xsd:element>
|
14
|
</xsd:sequence>
|
15
|
</xsd:complexType>
|
16
|
</xsd:element>
|
17
|
<xsd:complexType name="atomisedName">
|
18
|
<xsd:sequence>
|
19
|
<xsd:element name="genusOrUninomial">
|
20
|
<xsd:simpleType>
|
21
|
<xsd:restriction base="xsd:string" />
|
22
|
</xsd:simpleType>
|
23
|
</xsd:element>
|
24
|
<xsd:element name="infragenericEpithet"
|
25
|
minOccurs="0">
|
26
|
<xsd:simpleType>
|
27
|
<xsd:restriction base="xsd:string" />
|
28
|
</xsd:simpleType>
|
29
|
</xsd:element>
|
30
|
<xsd:element name="specificEpithet" minOccurs="0">
|
31
|
<xsd:simpleType>
|
32
|
<xsd:restriction base="xsd:string" />
|
33
|
</xsd:simpleType>
|
34
|
</xsd:element>
|
35
|
<xsd:element name="infraspecificEpithet"
|
36
|
minOccurs="0">
|
37
|
<xsd:simpleType>
|
38
|
<xsd:restriction base="xsd:string" />
|
39
|
</xsd:simpleType>
|
40
|
</xsd:element>
|
41
|
</xsd:sequence>
|
42
|
</xsd:complexType>
|
43
|
<xsd:complexType name="taxonName">
|
44
|
<xsd:sequence>
|
45
|
<xsd:element name="fullName">
|
46
|
<xsd:annotation>
|
47
|
<xsd:appinfo>
|
48
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty("The full scientific name, with authorship, publication date information and potentially further taxonomic information.")
|
49
|
</annox:annotate>
|
50
|
</xsd:appinfo>
|
51
|
</xsd:annotation>
|
52
|
<xsd:simpleType>
|
53
|
<xsd:restriction base="xsd:string" />
|
54
|
</xsd:simpleType>
|
55
|
</xsd:element>
|
56
|
<xsd:element name="canonicalName" minOccurs="1">
|
57
|
<xsd:annotation>
|
58
|
<xsd:appinfo>
|
59
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty("Canonical name string consisting of only nomenclatural information, i.e. no authorship or taxonomic hierarchy information with the exception of the necessary placements within Genus or Species.")
|
60
|
</annox:annotate>
|
61
|
</xsd:appinfo>
|
62
|
</xsd:annotation>
|
63
|
<xsd:simpleType>
|
64
|
<xsd:restriction base="xsd:string" />
|
65
|
</xsd:simpleType>
|
66
|
</xsd:element>
|
67
|
<xsd:element name="atomisedName" type="tns:atomisedName"
|
68
|
minOccurs="0">
|
69
|
</xsd:element>
|
70
|
<xsd:element name="authorship" maxOccurs="1" minOccurs="0">
|
71
|
<xsd:simpleType>
|
72
|
<xsd:restriction base="xsd:string" />
|
73
|
</xsd:simpleType>
|
74
|
</xsd:element>
|
75
|
<xsd:element name="rank" minOccurs="0">
|
76
|
<xsd:simpleType>
|
77
|
<xsd:restriction base="xsd:string" />
|
78
|
</xsd:simpleType>
|
79
|
</xsd:element>
|
80
|
<xsd:element name="nomenclaturalReference" type="xsd:string">
|
81
|
<xsd:annotation>
|
82
|
<xsd:appinfo>
|
83
|
<annox:annotate target="getter">
|
84
|
@com.wordnik.swagger.annotations.ApiModelProperty("A reference for the publication in which the scientificName was originally established under the rules of the associated nomenclaturalCode.")
|
85
|
</annox:annotate>
|
86
|
</xsd:appinfo>
|
87
|
</xsd:annotation>
|
88
|
</xsd:element>
|
89
|
</xsd:sequence>
|
90
|
</xsd:complexType>
|
91
|
<xsd:complexType name="source">
|
92
|
<xsd:sequence>
|
93
|
<xsd:element name="url">
|
94
|
<xsd:simpleType>
|
95
|
<xsd:restriction base="xsd:anyURI" />
|
96
|
</xsd:simpleType>
|
97
|
</xsd:element>
|
98
|
<xsd:element name="identifier">
|
99
|
<xsd:simpleType>
|
100
|
<xsd:restriction base="xsd:string" />
|
101
|
</xsd:simpleType>
|
102
|
</xsd:element>
|
103
|
<xsd:element name="datasetName">
|
104
|
<xsd:simpleType>
|
105
|
<xsd:restriction base="xsd:string" />
|
106
|
</xsd:simpleType>
|
107
|
</xsd:element>
|
108
|
<xsd:element name="name">
|
109
|
<xsd:simpleType>
|
110
|
<xsd:restriction base="xsd:string" />
|
111
|
</xsd:simpleType>
|
112
|
</xsd:element>
|
113
|
<xsd:element name="title" type="xsd:string">
|
114
|
<xsd:annotation>
|
115
|
<xsd:appinfo>
|
116
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty("The full not atomized source string.")
|
117
|
</annox:annotate>
|
118
|
</xsd:appinfo>
|
119
|
</xsd:annotation>
|
120
|
</xsd:element>
|
121
|
</xsd:sequence>
|
122
|
</xsd:complexType>
|
123
|
|
124
|
<xsd:element name="Response">
|
125
|
<xsd:complexType>
|
126
|
<xsd:sequence>
|
127
|
<xsd:element minOccurs="0" maxOccurs="1" ref="tns:taxon">
|
128
|
<xsd:annotation>
|
129
|
<xsd:appinfo>
|
130
|
<annox:annotate target="getter">
|
131
|
@com.wordnik.swagger.annotations.ApiModelProperty("The accepted taxon")
|
132
|
</annox:annotate>
|
133
|
</xsd:appinfo>
|
134
|
</xsd:annotation>
|
135
|
</xsd:element>
|
136
|
<xsd:element minOccurs="0" maxOccurs="unbounded"
|
137
|
name="otherNames">
|
138
|
<xsd:complexType>
|
139
|
<xsd:sequence>
|
140
|
<xsd:element minOccurs="1" name="taxonName"
|
141
|
type="tns:taxonName">
|
142
|
</xsd:element>
|
143
|
<xsd:element name="url" type="xsd:anyURI">
|
144
|
<xsd:annotation>
|
145
|
<xsd:appinfo>
|
146
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty( "The URL pointing to the original name record of the checklist provider.")
|
147
|
</annox:annotate>
|
148
|
</xsd:appinfo>
|
149
|
</xsd:annotation>
|
150
|
</xsd:element>
|
151
|
<xsd:element name="sources" minOccurs="0" maxOccurs="unbounded" type="tns:source">
|
152
|
</xsd:element>
|
153
|
</xsd:sequence>
|
154
|
</xsd:complexType>
|
155
|
</xsd:element>
|
156
|
<xsd:element minOccurs="0" maxOccurs="unbounded"
|
157
|
ref="tns:synonym">
|
158
|
<xsd:annotation>
|
159
|
<xsd:appinfo>
|
160
|
<annox:annotate target="getter">
|
161
|
@com.fasterxml.jackson.annotation.JsonProperty("synonyms")
|
162
|
</annox:annotate>
|
163
|
<annox:annotate target="getter">
|
164
|
@com.wordnik.swagger.annotations.ApiModelProperty( "The list synonyms related to the accepted taxon")
|
165
|
</annox:annotate>
|
166
|
</xsd:appinfo>
|
167
|
</xsd:annotation>
|
168
|
</xsd:element>
|
169
|
<xsd:element name="vernacularNames" type="xsd:string" maxOccurs="unbounded" minOccurs="0">
|
170
|
<xsd:annotation>
|
171
|
<xsd:appinfo>
|
172
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty( "A common or vernacular name.")
|
173
|
</annox:annotate>
|
174
|
</xsd:appinfo>
|
175
|
</xsd:annotation>
|
176
|
</xsd:element>
|
177
|
</xsd:sequence>
|
178
|
<xsd:attribute use="required" name="checklist" type="xsd:string">
|
179
|
</xsd:attribute>
|
180
|
<xsd:attribute use="required" name="checklist_id" type="xsd:string">
|
181
|
</xsd:attribute>
|
182
|
<xsd:attribute use="required" name="checklist_url"
|
183
|
type="xsd:string">
|
184
|
</xsd:attribute>
|
185
|
<xsd:attribute use="required" name="checklist_version"
|
186
|
type="xsd:string">
|
187
|
</xsd:attribute>
|
188
|
<xsd:attribute use="required" name="checklist_citation"
|
189
|
type="xsd:string">
|
190
|
</xsd:attribute>
|
191
|
<xsd:attribute name="matchingNameString" type="xsd:string">
|
192
|
<xsd:annotation>
|
193
|
<xsd:appinfo>
|
194
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty( "Refers to the name string of the accepted taxon, synonym or otherName which was matching the query string")
|
195
|
</annox:annotate>
|
196
|
</xsd:appinfo>
|
197
|
</xsd:annotation>
|
198
|
</xsd:attribute>
|
199
|
<xsd:attribute name="matchingNameType" type="tns:nameType">
|
200
|
<xsd:annotation>
|
201
|
<xsd:appinfo>
|
202
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty( "Reports which of the names was matching the query string: 'taxon', 'synonym', 'vernacularName', or 'otherName'")
|
203
|
</annox:annotate>
|
204
|
</xsd:appinfo>
|
205
|
</xsd:annotation>
|
206
|
</xsd:attribute>
|
207
|
</xsd:complexType>
|
208
|
</xsd:element>
|
209
|
<xsd:element name="taxon">
|
210
|
<xsd:complexType>
|
211
|
<xsd:complexContent>
|
212
|
<xsd:extension base="tns:taxonBase">
|
213
|
<xsd:sequence>
|
214
|
<xsd:element minOccurs="0" ref="tns:classification">
|
215
|
</xsd:element>
|
216
|
<xsd:element name="identifier" type="xsd:string"></xsd:element>
|
217
|
</xsd:sequence>
|
218
|
</xsd:extension>
|
219
|
</xsd:complexContent>
|
220
|
</xsd:complexType>
|
221
|
</xsd:element>
|
222
|
<xsd:element name="synonym">
|
223
|
<xsd:complexType>
|
224
|
<xsd:complexContent>
|
225
|
<xsd:extension base="tns:taxonBase">
|
226
|
</xsd:extension>
|
227
|
</xsd:complexContent>
|
228
|
</xsd:complexType>
|
229
|
</xsd:element>
|
230
|
<xsd:element name="classification">
|
231
|
<xsd:complexType>
|
232
|
<xsd:sequence>
|
233
|
<xsd:element minOccurs="0" name="kingdom">
|
234
|
<xsd:simpleType>
|
235
|
<xsd:restriction base="xsd:string"></xsd:restriction>
|
236
|
</xsd:simpleType>
|
237
|
</xsd:element>
|
238
|
<xsd:element minOccurs="0" name="phylum">
|
239
|
<xsd:simpleType>
|
240
|
<xsd:restriction base="xsd:string"></xsd:restriction>
|
241
|
</xsd:simpleType>
|
242
|
</xsd:element>
|
243
|
<xsd:element minOccurs="0" name="class">
|
244
|
<xsd:annotation>
|
245
|
<xsd:appinfo>
|
246
|
<annox:annotate target="getter">@com.fasterxml.jackson.annotation.JsonProperty("class")
|
247
|
</annox:annotate>
|
248
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty( "The full scientific name of the class in which the taxon is classified." )
|
249
|
</annox:annotate>
|
250
|
</xsd:appinfo>
|
251
|
</xsd:annotation>
|
252
|
<xsd:simpleType>
|
253
|
<xsd:restriction base="xsd:string"></xsd:restriction>
|
254
|
</xsd:simpleType>
|
255
|
</xsd:element>
|
256
|
<xsd:element minOccurs="0" name="order">
|
257
|
<xsd:simpleType>
|
258
|
<xsd:restriction base="xsd:string"></xsd:restriction>
|
259
|
</xsd:simpleType>
|
260
|
</xsd:element>
|
261
|
<xsd:element minOccurs="0" name="family">
|
262
|
<xsd:simpleType>
|
263
|
<xsd:restriction base="xsd:string"></xsd:restriction>
|
264
|
</xsd:simpleType>
|
265
|
</xsd:element>
|
266
|
<xsd:element minOccurs="0" name="genus">
|
267
|
<xsd:simpleType>
|
268
|
<xsd:restriction base="xsd:string"></xsd:restriction>
|
269
|
</xsd:simpleType>
|
270
|
</xsd:element>
|
271
|
</xsd:sequence>
|
272
|
</xsd:complexType>
|
273
|
</xsd:element>
|
274
|
<xsd:element name="query">
|
275
|
<xsd:complexType>
|
276
|
<xsd:sequence>
|
277
|
<xsd:element name="request">
|
278
|
<xsd:complexType>
|
279
|
<xsd:sequence>
|
280
|
<xsd:element name="queryString" type="xsd:string">
|
281
|
<xsd:annotation>
|
282
|
<xsd:appinfo>
|
283
|
<annox:annotate target="getter">
|
284
|
@com.wordnik.swagger.annotations.ApiModelProperty("The query string to match a scientific name, vernacular name or identifier depending on the searchMode")
|
285
|
</annox:annotate>
|
286
|
</xsd:appinfo>
|
287
|
</xsd:annotation>
|
288
|
</xsd:element>
|
289
|
<xsd:element name="searchMode" type="xsd:string">
|
290
|
<xsd:annotation>
|
291
|
<xsd:appinfo>
|
292
|
<annox:annotate target="getter">
|
293
|
@com.wordnik.swagger.annotations.ApiModelProperty("Specified the search mode to be usedPossible search modes are: scientificNameExact, scientificNameLike (begins with), vernacularNameExact, vernacularNameLike (contains).")
|
294
|
</annox:annotate>
|
295
|
</xsd:appinfo>
|
296
|
</xsd:annotation>
|
297
|
</xsd:element>
|
298
|
<xsd:element name="addSynonymy" type="xsd:boolean">
|
299
|
<xsd:annotation>
|
300
|
<xsd:appinfo>
|
301
|
<annox:annotate target="getter">
|
302
|
@com.wordnik.swagger.annotations.ApiModelProperty("Indicates whether the synonymy of the accepted taxon should be included into the response. Turning this option on may lead to an increased response time.")
|
303
|
</annox:annotate>
|
304
|
</xsd:appinfo>
|
305
|
</xsd:annotation>
|
306
|
</xsd:element>
|
307
|
</xsd:sequence>
|
308
|
</xsd:complexType>
|
309
|
</xsd:element>
|
310
|
<xsd:element minOccurs="1" maxOccurs="unbounded"
|
311
|
ref="tns:Response">
|
312
|
</xsd:element>
|
313
|
<xsd:element name="clientStatus" maxOccurs="unbounded"
|
314
|
minOccurs="0">
|
315
|
<xsd:complexType>
|
316
|
<xsd:sequence>
|
317
|
<xsd:element name="checklistId" type="xsd:string">
|
318
|
</xsd:element>
|
319
|
<xsd:element name="duration" type="xsd:decimal">
|
320
|
<xsd:annotation>
|
321
|
<xsd:appinfo>
|
322
|
<annox:annotate target="getter">
|
323
|
@com.wordnik.swagger.annotations.ApiModelProperty("Duration of the request processing in the specific checklist client in milliseconds.")
|
324
|
</annox:annotate>
|
325
|
</xsd:appinfo>
|
326
|
</xsd:annotation>
|
327
|
</xsd:element>
|
328
|
<xsd:element name="statusMessage" type="xsd:string">
|
329
|
<xsd:annotation>
|
330
|
<xsd:appinfo>
|
331
|
<annox:annotate target="getter">
|
332
|
@com.wordnik.swagger.annotations.ApiModelProperty( "Status of the request, possible values are 'ok', 'timeout', 'interrupted', 'unsupported search mode'.")
|
333
|
</annox:annotate>
|
334
|
</xsd:appinfo>
|
335
|
</xsd:annotation>
|
336
|
</xsd:element>
|
337
|
</xsd:sequence>
|
338
|
</xsd:complexType>
|
339
|
</xsd:element>
|
340
|
</xsd:sequence>
|
341
|
</xsd:complexType>
|
342
|
</xsd:element>
|
343
|
|
344
|
<xsd:simpleType name="nameType">
|
345
|
<xsd:restriction base="xsd:string">
|
346
|
<xsd:enumeration value="taxon"></xsd:enumeration>
|
347
|
<xsd:enumeration value="synonym"></xsd:enumeration>
|
348
|
<xsd:enumeration value="vernacularName"></xsd:enumeration>
|
349
|
<xsd:enumeration value="otherName"></xsd:enumeration>
|
350
|
</xsd:restriction>
|
351
|
</xsd:simpleType>
|
352
|
<xsd:complexType name="taxonBase">
|
353
|
<xsd:sequence>
|
354
|
<xsd:element minOccurs="1" name="taxonName"
|
355
|
type="tns:taxonName">
|
356
|
</xsd:element>
|
357
|
<xsd:element name="accordingTo" minOccurs="0">
|
358
|
<xsd:annotation>
|
359
|
<xsd:appinfo>
|
360
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty( "The reference to the source in which the specific taxon concept circumscription is defined or implied - traditionally signified by the Latin 'sensu' or 'sec.' (from secundum, meaning 'according to').")
|
361
|
</annox:annotate>
|
362
|
</xsd:appinfo>
|
363
|
</xsd:annotation>
|
364
|
<xsd:simpleType>
|
365
|
<xsd:restriction base="xsd:string" />
|
366
|
</xsd:simpleType>
|
367
|
</xsd:element>
|
368
|
<xsd:element name="url" type="xsd:anyURI">
|
369
|
<xsd:annotation>
|
370
|
<xsd:appinfo>
|
371
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty( "The URL pointing to the original record of the checklist provider.")
|
372
|
</annox:annotate>
|
373
|
</xsd:appinfo>
|
374
|
</xsd:annotation>
|
375
|
</xsd:element>
|
376
|
<xsd:element minOccurs="0" name="taxonomicStatus">
|
377
|
<xsd:annotation>
|
378
|
<xsd:appinfo>
|
379
|
<annox:annotate target="getter">@com.wordnik.swagger.annotations.ApiModelProperty( "The taxonomic status string like 'invalid', 'misapplied', 'homotypic synonym', 'accepted', 'synonym'. Corresponds to http://rs.tdwg.org/dwc/terms/taxonomicStatus")
|
380
|
</annox:annotate>
|
381
|
</xsd:appinfo>
|
382
|
</xsd:annotation>
|
383
|
<xsd:simpleType>
|
384
|
<xsd:restriction base="xsd:string"></xsd:restriction>
|
385
|
</xsd:simpleType>
|
386
|
</xsd:element>
|
387
|
<xsd:element name="sources" type="tns:source" maxOccurs="unbounded" minOccurs="0"></xsd:element>
|
388
|
</xsd:sequence>
|
389
|
</xsd:complexType>
|
390
|
</xsd:schema>
|