tonigi commited on
Commit
c1300a3
·
1 Parent(s): 1c1583c
Files changed (2) hide show
  1. data/uniprot.xsd +1293 -0
  2. test/P06280.xml +0 -0
data/uniprot.xsd ADDED
@@ -0,0 +1,1293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- *****************************************************************************
3
+ UniProt Knowledgebase Version: $Revision$ Date: $Date$ Copyright (c) 2011
4
+ UniProt consortium All rights reserved. ******************************************************************************* -->
5
+ <xs:schema targetNamespace="http://uniprot.org/uniprot"
6
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
7
+ xmlns="http://uniprot.org/uniprot" elementFormDefault="qualified">
8
+ <!-- XML Schema definition for the UniProtKB XML format Tested with: -XSV
9
+ (XML Schema Validator), http://www.w3.org/2001/03/webdata/xsv -->
10
+
11
+
12
+ <!-- Root element definition begins -->
13
+ <xs:element name="uniprot">
14
+ <xs:annotation>
15
+ <xs:documentation>Describes a collection of UniProtKB entries.</xs:documentation>
16
+ </xs:annotation>
17
+ <xs:complexType>
18
+ <xs:sequence>
19
+ <xs:element ref="entry" maxOccurs="unbounded" />
20
+ <xs:element ref="copyright" minOccurs="0" />
21
+ </xs:sequence>
22
+ </xs:complexType>
23
+ </xs:element>
24
+ <!-- Root element definition ends -->
25
+
26
+ <!-- Entry definition begins -->
27
+ <xs:element name="entry">
28
+ <xs:annotation>
29
+ <xs:documentation>Describes a UniProtKB entry.</xs:documentation>
30
+ </xs:annotation>
31
+ <xs:complexType>
32
+ <xs:sequence>
33
+ <xs:element name="accession" type="xs:string"
34
+ maxOccurs="unbounded" />
35
+ <xs:element name="name" type="xs:string"
36
+ maxOccurs="unbounded" />
37
+ <xs:element name="protein" type="proteinType" />
38
+ <xs:element name="gene" type="geneType" minOccurs="0"
39
+ maxOccurs="unbounded" />
40
+ <xs:element name="organism" type="organismType" />
41
+ <xs:element name="organismHost" type="organismType"
42
+ minOccurs="0" maxOccurs="unbounded" />
43
+ <xs:element name="geneLocation" type="geneLocationType"
44
+ minOccurs="0" maxOccurs="unbounded" />
45
+ <xs:element name="reference" type="referenceType"
46
+ maxOccurs="unbounded" />
47
+ <xs:element name="comment" type="commentType"
48
+ nillable="true" minOccurs="0" maxOccurs="unbounded" />
49
+ <xs:element name="dbReference" type="dbReferenceType"
50
+ minOccurs="0" maxOccurs="unbounded" />
51
+ <xs:element name="proteinExistence"
52
+ type="proteinExistenceType" />
53
+ <xs:element name="keyword" type="keywordType"
54
+ minOccurs="0" maxOccurs="unbounded" />
55
+ <xs:element name="feature" type="featureType"
56
+ minOccurs="0" maxOccurs="unbounded" />
57
+ <xs:element name="evidence" type="evidenceType"
58
+ minOccurs="0" maxOccurs="unbounded" />
59
+ <xs:element name="sequence" type="sequenceType" />
60
+ </xs:sequence>
61
+ <xs:attribute name="dataset" use="required">
62
+ <xs:simpleType>
63
+ <xs:restriction base="xs:string">
64
+ <xs:enumeration value="Swiss-Prot" />
65
+ <xs:enumeration value="TrEMBL" />
66
+ </xs:restriction>
67
+ </xs:simpleType>
68
+ </xs:attribute>
69
+ <xs:attribute name="created" type="xs:date"
70
+ use="required" />
71
+ <xs:attribute name="modified" type="xs:date"
72
+ use="required" />
73
+ <xs:attribute name="version" type="xs:int"
74
+ use="required" />
75
+ </xs:complexType>
76
+ </xs:element>
77
+ <!-- Entry definition ends -->
78
+
79
+ <xs:element name="copyright" type="xs:string" />
80
+
81
+ <!-- Protein names definition begins -->
82
+ <xs:complexType name="proteinType">
83
+ <xs:annotation>
84
+ <xs:documentation>Describes the names for the protein and parts
85
+ thereof.
86
+ Equivalent to the flat file DE-line.</xs:documentation>
87
+ </xs:annotation>
88
+ <xs:sequence>
89
+ <xs:group ref="proteinNameGroup" />
90
+ <xs:element name="domain" minOccurs="0"
91
+ maxOccurs="unbounded">
92
+ <xs:annotation>
93
+ <xs:documentation>Describes names of "domains".
94
+ Equivalent to the
95
+ flat file DE-line Includes: section.</xs:documentation>
96
+ </xs:annotation>
97
+ <xs:complexType>
98
+ <xs:group ref="proteinNameGroup" />
99
+ </xs:complexType>
100
+ </xs:element>
101
+ <xs:element name="component" minOccurs="0"
102
+ maxOccurs="unbounded">
103
+ <xs:annotation>
104
+ <xs:documentation>Describes names of processed products.
105
+ Equivalent
106
+ to the flat file DE-line Contains: section.</xs:documentation>
107
+ </xs:annotation>
108
+ <xs:complexType>
109
+ <xs:group ref="proteinNameGroup" />
110
+ </xs:complexType>
111
+ </xs:element>
112
+ </xs:sequence>
113
+ </xs:complexType>
114
+ <xs:group name="proteinNameGroup">
115
+ <xs:sequence>
116
+ <xs:element name="recommendedName" minOccurs="0">
117
+ <xs:complexType>
118
+ <xs:sequence>
119
+ <xs:element name="fullName" type="evidencedStringType" />
120
+ <xs:element name="shortName" type="evidencedStringType"
121
+ minOccurs="0" maxOccurs="unbounded" />
122
+ <xs:element name="ecNumber" type="evidencedStringType"
123
+ minOccurs="0" maxOccurs="unbounded" />
124
+ </xs:sequence>
125
+ <!-- xs:attribute name="ref" type="xs:string" use="optional"/ -->
126
+ </xs:complexType>
127
+ </xs:element>
128
+ <xs:element name="alternativeName" minOccurs="0"
129
+ maxOccurs="unbounded">
130
+ <xs:complexType>
131
+ <xs:sequence>
132
+ <xs:element name="fullName" type="evidencedStringType"
133
+ minOccurs="0" />
134
+ <xs:element name="shortName" type="evidencedStringType"
135
+ minOccurs="0" maxOccurs="unbounded" />
136
+ <xs:element name="ecNumber" type="evidencedStringType"
137
+ minOccurs="0" maxOccurs="unbounded" />
138
+ </xs:sequence>
139
+ <!-- xs:attribute name="ref" type="xs:string" use="optional"/ -->
140
+ </xs:complexType>
141
+ </xs:element>
142
+ <xs:element name="submittedName" minOccurs="0"
143
+ maxOccurs="unbounded">
144
+ <xs:complexType>
145
+ <xs:sequence>
146
+ <xs:element name="fullName" type="evidencedStringType" />
147
+ <xs:element name="ecNumber" type="evidencedStringType"
148
+ minOccurs="0" maxOccurs="unbounded" />
149
+ </xs:sequence>
150
+ <!-- xs:attribute name="ref" type="xs:string" use="optional"/ -->
151
+ </xs:complexType>
152
+ </xs:element>
153
+ <xs:element name="allergenName" type="evidencedStringType"
154
+ minOccurs="0" />
155
+ <xs:element name="biotechName" type="evidencedStringType"
156
+ minOccurs="0" />
157
+ <xs:element name="cdAntigenName"
158
+ type="evidencedStringType" minOccurs="0" maxOccurs="unbounded" />
159
+ <xs:element name="innName" type="evidencedStringType"
160
+ minOccurs="0" maxOccurs="unbounded" />
161
+ </xs:sequence>
162
+ </xs:group>
163
+ <!-- Protein names definition ends -->
164
+
165
+ <!-- Gene names definition begins -->
166
+ <xs:complexType name="geneType">
167
+ <xs:annotation>
168
+ <xs:documentation>Describes a gene.
169
+ Equivalent to the flat file
170
+ GN-line.</xs:documentation>
171
+ </xs:annotation>
172
+ <xs:sequence>
173
+ <xs:element name="name" type="geneNameType"
174
+ maxOccurs="unbounded" />
175
+ </xs:sequence>
176
+ </xs:complexType>
177
+ <xs:complexType name="geneNameType">
178
+ <xs:annotation>
179
+ <xs:documentation>Describes different types of gene designations.
180
+ Equivalent to the flat file GN-line.</xs:documentation>
181
+ </xs:annotation>
182
+ <xs:simpleContent>
183
+ <xs:extension base="xs:string">
184
+ <xs:attribute name="evidence" type="intListType"
185
+ use="optional" />
186
+ <xs:attribute name="type" use="required">
187
+ <xs:simpleType>
188
+ <xs:restriction base="xs:string">
189
+ <xs:enumeration value="primary" />
190
+ <xs:enumeration value="synonym" />
191
+ <xs:enumeration value="ordered locus" />
192
+ <xs:enumeration value="ORF" />
193
+ </xs:restriction>
194
+ </xs:simpleType>
195
+ </xs:attribute>
196
+ </xs:extension>
197
+ </xs:simpleContent>
198
+ </xs:complexType>
199
+ <!-- Gene names definition ends -->
200
+
201
+ <!-- Organism definition begins -->
202
+ <xs:complexType name="organismType">
203
+ <xs:annotation>
204
+ <xs:documentation>Describes the source organism.</xs:documentation>
205
+ </xs:annotation>
206
+ <xs:sequence>
207
+ <xs:element name="name" type="organismNameType"
208
+ maxOccurs="unbounded">
209
+ <xs:annotation>
210
+ <xs:documentation>Describes the names of the source organism.
211
+ Equivalent to the flat file OS-line.</xs:documentation>
212
+ </xs:annotation>
213
+ </xs:element>
214
+ <xs:element name="dbReference" type="dbReferenceType"
215
+ maxOccurs="unbounded">
216
+ <xs:annotation>
217
+ <xs:documentation>Describes a cross-reference to the NCBI taxonomy
218
+ database.
219
+ Equivalent to the flat file OX-line.</xs:documentation>
220
+ </xs:annotation>
221
+ </xs:element>
222
+ <xs:element name="lineage" minOccurs="0">
223
+ <xs:annotation>
224
+ <xs:documentation>Describes the lineage of the source organism.
225
+ Equivalent to the flat file OC-line.</xs:documentation>
226
+ </xs:annotation>
227
+ <xs:complexType>
228
+ <xs:sequence>
229
+ <xs:element name="taxon" type="xs:string"
230
+ maxOccurs="unbounded" />
231
+ </xs:sequence>
232
+ </xs:complexType>
233
+ </xs:element>
234
+ </xs:sequence>
235
+ <xs:attribute name="evidence" type="intListType"
236
+ use="optional" />
237
+ </xs:complexType>
238
+ <xs:complexType name="organismNameType">
239
+ <xs:annotation>
240
+ <xs:documentation>Describes different types of source organism names.</xs:documentation>
241
+ </xs:annotation>
242
+ <xs:simpleContent>
243
+ <xs:extension base="xs:string">
244
+ <xs:attribute name="type" use="required">
245
+ <xs:simpleType>
246
+ <xs:restriction base="xs:string">
247
+ <xs:enumeration value="common" />
248
+ <xs:enumeration value="full" />
249
+ <xs:enumeration value="scientific" />
250
+ <xs:enumeration value="synonym" />
251
+ <xs:enumeration value="abbreviation" />
252
+ </xs:restriction>
253
+ </xs:simpleType>
254
+ </xs:attribute>
255
+ </xs:extension>
256
+ </xs:simpleContent>
257
+ </xs:complexType>
258
+ <!-- Organism definition ends -->
259
+
260
+ <!-- Gene location definition begins -->
261
+ <xs:complexType name="geneLocationType">
262
+ <xs:annotation>
263
+ <xs:documentation>Describes non-nuclear gene locations (organelles
264
+ and plasmids).
265
+ Equivalent to the flat file OG-line.</xs:documentation>
266
+ </xs:annotation>
267
+ <xs:sequence>
268
+ <xs:element name="name" type="statusType" minOccurs="0"
269
+ maxOccurs="unbounded" />
270
+ </xs:sequence>
271
+ <xs:attribute name="type" use="required">
272
+ <xs:simpleType>
273
+ <xs:restriction base="xs:string">
274
+ <xs:enumeration value="apicoplast" />
275
+ <xs:enumeration value="chloroplast" />
276
+ <xs:enumeration value="organellar chromatophore" />
277
+ <xs:enumeration value="cyanelle" />
278
+ <xs:enumeration value="hydrogenosome" />
279
+ <xs:enumeration value="mitochondrion" />
280
+ <xs:enumeration value="non-photosynthetic plastid" />
281
+ <xs:enumeration value="nucleomorph" />
282
+ <xs:enumeration value="plasmid" />
283
+ <xs:enumeration value="plastid" />
284
+ </xs:restriction>
285
+ </xs:simpleType>
286
+ </xs:attribute>
287
+ <xs:attribute name="evidence" type="intListType"
288
+ use="optional" />
289
+ </xs:complexType>
290
+ <xs:complexType name="statusType">
291
+ <xs:annotation>
292
+ <xs:documentation>Indicates whether the name of a plasmid is known or
293
+ unknown.</xs:documentation>
294
+ </xs:annotation>
295
+ <xs:simpleContent>
296
+ <xs:extension base="xs:string">
297
+ <xs:attribute name="status" use="optional"
298
+ default="known">
299
+ <xs:simpleType>
300
+ <xs:restriction base="xs:string">
301
+ <xs:enumeration value="known" />
302
+ <xs:enumeration value="unknown" />
303
+ </xs:restriction>
304
+ </xs:simpleType>
305
+ </xs:attribute>
306
+ </xs:extension>
307
+ </xs:simpleContent>
308
+ </xs:complexType>
309
+ <!-- Gene location definition ends -->
310
+
311
+ <!-- Reference definition begins -->
312
+ <xs:complexType name="referenceType">
313
+ <xs:annotation>
314
+ <xs:documentation>Describes a citation and a summary of its content.
315
+ Equivalent to the flat file RN-, RP-, RC-, RX-, RG-, RA-, RT- and
316
+ RL-lines.</xs:documentation>
317
+ </xs:annotation>
318
+ <xs:sequence>
319
+ <xs:element name="citation" type="citationType" />
320
+ <xs:group ref="sptrCitationGroup" />
321
+ </xs:sequence>
322
+ <xs:attribute name="evidence" type="intListType"
323
+ use="optional" />
324
+ <xs:attribute name="key" type="xs:string" use="required" />
325
+ </xs:complexType>
326
+ <!-- Reference definition ends -->
327
+
328
+ <!-- Citation definition begins -->
329
+ <xs:complexType name="citationType">
330
+ <xs:annotation>
331
+ <xs:documentation>Describes different types of citations.
332
+ Equivalent
333
+ to the flat file RX-, RG-, RA-, RT- and RL-lines.</xs:documentation>
334
+ </xs:annotation>
335
+ <xs:sequence>
336
+ <xs:element name="title" type="xs:string" minOccurs="0">
337
+ <xs:annotation>
338
+ <xs:documentation>Describes the title of a citation.
339
+ Equivalent to
340
+ the flat file RT-line.</xs:documentation>
341
+ </xs:annotation>
342
+ </xs:element>
343
+ <xs:element name="editorList" type="nameListType"
344
+ minOccurs="0">
345
+ <xs:annotation>
346
+ <xs:documentation>Describes the editors of a book (only used for
347
+ books).
348
+ Equivalent to part of the flat file RL-line of books.</xs:documentation>
349
+ </xs:annotation>
350
+ </xs:element>
351
+ <xs:element name="authorList" type="nameListType"
352
+ minOccurs="0">
353
+ <xs:annotation>
354
+ <xs:documentation>Describes the authors of a citation.
355
+ Equivalent to
356
+ the flat file RA-line.</xs:documentation>
357
+ </xs:annotation>
358
+ </xs:element>
359
+ <xs:element name="locator" type="xs:string" minOccurs="0">
360
+ <xs:annotation>
361
+ <xs:documentation>Describes the location (URL) of an online journal
362
+ article.
363
+ No flat file equivalent.</xs:documentation>
364
+ </xs:annotation>
365
+ </xs:element>
366
+ <xs:element name="dbReference" type="dbReferenceType"
367
+ minOccurs="0" maxOccurs="unbounded">
368
+ <xs:annotation>
369
+ <xs:documentation>Describes cross-references to bibliography
370
+ databases (MEDLINE, PubMed, AGRICOLA) or other online resources
371
+ (DOI).
372
+ Equivalent to the flat file RX-line.</xs:documentation>
373
+ </xs:annotation>
374
+ </xs:element>
375
+ </xs:sequence>
376
+ <xs:attribute name="type" use="required">
377
+ <xs:annotation>
378
+ <xs:documentation>Describes the type of a citation.</xs:documentation>
379
+ </xs:annotation>
380
+ <xs:simpleType>
381
+ <xs:restriction base="xs:string">
382
+ <xs:enumeration value="book" />
383
+ <xs:enumeration value="journal article" />
384
+ <xs:enumeration value="online journal article" />
385
+ <xs:enumeration value="patent" />
386
+ <xs:enumeration value="submission" />
387
+ <xs:enumeration value="thesis" />
388
+ <xs:enumeration value="unpublished observations" />
389
+ </xs:restriction>
390
+ </xs:simpleType>
391
+ </xs:attribute>
392
+ <xs:attribute name="date" use="optional">
393
+ <xs:simpleType>
394
+ <xs:union memberTypes="xs:date xs:gYearMonth xs:gYear" />
395
+ </xs:simpleType>
396
+ </xs:attribute>
397
+ <xs:attribute name="name" type="xs:string" use="optional">
398
+ <xs:annotation>
399
+ <xs:documentation>Describes the name of an (online) journal or book.</xs:documentation>
400
+ </xs:annotation>
401
+ </xs:attribute>
402
+ <xs:attribute name="volume" type="xs:string"
403
+ use="optional">
404
+ <xs:annotation>
405
+ <xs:documentation>Describes the volume of a journal or book.</xs:documentation>
406
+ </xs:annotation>
407
+ </xs:attribute>
408
+ <xs:attribute name="first" type="xs:string"
409
+ use="optional">
410
+ <xs:annotation>
411
+ <xs:documentation>Describes the first page of an article.</xs:documentation>
412
+ </xs:annotation>
413
+ </xs:attribute>
414
+ <xs:attribute name="last" type="xs:string" use="optional">
415
+ <xs:annotation>
416
+ <xs:documentation>Describes the last page of an article.</xs:documentation>
417
+ </xs:annotation>
418
+ </xs:attribute>
419
+ <xs:attribute name="publisher" type="xs:string"
420
+ use="optional">
421
+ <xs:annotation>
422
+ <xs:documentation>Describes the publisher of a book.</xs:documentation>
423
+ </xs:annotation>
424
+ </xs:attribute>
425
+ <xs:attribute name="city" type="xs:string" use="optional">
426
+ <xs:annotation>
427
+ <xs:documentation>Describes the city where a book was published.</xs:documentation>
428
+ </xs:annotation>
429
+ </xs:attribute>
430
+ <xs:attribute name="db" type="xs:string" use="optional">
431
+ <xs:annotation>
432
+ <xs:documentation>Describes the database name of submissions.</xs:documentation>
433
+ </xs:annotation>
434
+ </xs:attribute>
435
+ <xs:attribute name="number" type="xs:string"
436
+ use="optional">
437
+ <xs:annotation>
438
+ <xs:documentation>Describes a patent number.</xs:documentation>
439
+ </xs:annotation>
440
+ </xs:attribute>
441
+ <xs:attribute name="institute" type="xs:string"
442
+ use="optional">
443
+ <xs:annotation>
444
+ <xs:documentation>Describes the institute where a thesis was made.</xs:documentation>
445
+ </xs:annotation>
446
+ </xs:attribute>
447
+ <xs:attribute name="country" type="xs:string"
448
+ use="optional">
449
+ <xs:annotation>
450
+ <xs:documentation>Describes the country where a thesis was made.</xs:documentation>
451
+ </xs:annotation>
452
+ </xs:attribute>
453
+ </xs:complexType>
454
+ <xs:complexType name="consortiumType">
455
+ <xs:annotation>
456
+ <xs:documentation>Describes the authors of a citation when these are
457
+ represented by a consortium.
458
+ Equivalent to the flat file RG-line.</xs:documentation>
459
+ </xs:annotation>
460
+ <xs:attribute name="name" type="xs:string" use="required" />
461
+ </xs:complexType>
462
+ <xs:complexType name="personType">
463
+ <xs:attribute name="name" type="xs:string" use="required" />
464
+ </xs:complexType>
465
+ <xs:complexType name="nameListType">
466
+ <xs:choice maxOccurs="unbounded">
467
+ <xs:element name="consortium" type="consortiumType" />
468
+ <xs:element name="person" type="personType" />
469
+ </xs:choice>
470
+ </xs:complexType>
471
+ <!-- Citation definition ends -->
472
+
473
+ <!-- Citation summary definition begins -->
474
+ <xs:group name="sptrCitationGroup">
475
+ <xs:annotation>
476
+ <xs:documentation>Groups a citation's scope and source descriptions.</xs:documentation>
477
+ </xs:annotation>
478
+ <xs:sequence>
479
+ <xs:element name="scope" type="xs:string"
480
+ maxOccurs="unbounded">
481
+ <xs:annotation>
482
+ <xs:documentation>Describes the scope of a citation.
483
+ Equivalent to
484
+ the flat file RP-line.</xs:documentation>
485
+ </xs:annotation>
486
+ </xs:element>
487
+ <xs:element name="source" type="sourceDataType"
488
+ minOccurs="0" />
489
+ </xs:sequence>
490
+ </xs:group>
491
+ <xs:complexType name="sourceDataType">
492
+ <xs:annotation>
493
+ <xs:documentation>Describes the source of the sequence according to
494
+ the citation.
495
+ Equivalent to the flat file RC-line.</xs:documentation>
496
+ </xs:annotation>
497
+ <xs:choice maxOccurs="unbounded">
498
+ <xs:element name="strain">
499
+ <xs:complexType>
500
+ <xs:simpleContent>
501
+ <xs:extension base="xs:string">
502
+ <xs:attribute name="evidence" type="intListType"
503
+ use="optional" />
504
+ </xs:extension>
505
+ </xs:simpleContent>
506
+ </xs:complexType>
507
+ </xs:element>
508
+ <xs:element name="plasmid">
509
+ <xs:complexType>
510
+ <xs:simpleContent>
511
+ <xs:extension base="xs:string">
512
+ <xs:attribute name="evidence" type="intListType"
513
+ use="optional" />
514
+ </xs:extension>
515
+ </xs:simpleContent>
516
+ </xs:complexType>
517
+ </xs:element>
518
+ <xs:element name="transposon">
519
+ <xs:complexType>
520
+ <xs:simpleContent>
521
+ <xs:extension base="xs:string">
522
+ <xs:attribute name="evidence" type="intListType"
523
+ use="optional" />
524
+ </xs:extension>
525
+ </xs:simpleContent>
526
+ </xs:complexType>
527
+ </xs:element>
528
+ <xs:element name="tissue">
529
+ <xs:complexType>
530
+ <xs:simpleContent>
531
+ <xs:extension base="xs:string">
532
+ <xs:attribute name="evidence" type="intListType"
533
+ use="optional" />
534
+ </xs:extension>
535
+ </xs:simpleContent>
536
+ </xs:complexType>
537
+ </xs:element>
538
+ </xs:choice>
539
+ </xs:complexType>
540
+ <!-- Citation summary definition ends -->
541
+
542
+ <!-- Comment definition begins -->
543
+ <xs:complexType name="commentType">
544
+ <xs:annotation>
545
+ <xs:documentation>Describes different types of general annotations.
546
+ Equivalent to the flat file CC-line.</xs:documentation>
547
+ </xs:annotation>
548
+ <xs:sequence>
549
+ <xs:element name="molecule" type="moleculeType"
550
+ minOccurs="0" />
551
+ <xs:choice minOccurs="0">
552
+ <xs:group ref="bpcCommentGroup" />
553
+
554
+ <xs:sequence>
555
+ <xs:annotation>
556
+ <xs:documentation>Used in 'catalytic activity' annotations.</xs:documentation>
557
+ </xs:annotation>
558
+ <xs:element name="reaction" type="reactionType" />
559
+ <xs:element name="physiologicalReaction"
560
+ type="physiologicalReactionType" minOccurs="0" maxOccurs="2" />
561
+ </xs:sequence>
562
+
563
+ <xs:sequence>
564
+ <xs:annotation>
565
+ <xs:documentation>Used in 'cofactor' annotations.</xs:documentation>
566
+ </xs:annotation>
567
+ <xs:element name="cofactor" type="cofactorType"
568
+ maxOccurs="unbounded" />
569
+ </xs:sequence>
570
+
571
+ <xs:sequence>
572
+ <xs:annotation>
573
+ <xs:documentation>Used in 'subcellular location' annotations.</xs:documentation>
574
+ </xs:annotation>
575
+ <xs:element name="subcellularLocation"
576
+ type="subcellularLocationType" maxOccurs="unbounded" />
577
+ </xs:sequence>
578
+
579
+ <xs:element name="conflict">
580
+ <xs:annotation>
581
+ <xs:documentation>Used in 'sequence caution' annotations.</xs:documentation>
582
+ </xs:annotation>
583
+ <xs:complexType>
584
+ <xs:sequence>
585
+ <xs:element name="sequence" minOccurs="0">
586
+ <xs:complexType>
587
+ <xs:attribute name="resource" use="required">
588
+ <xs:simpleType>
589
+ <xs:restriction base="xs:string">
590
+ <xs:enumeration value="EMBL-CDS" />
591
+ <xs:enumeration value="EMBL" />
592
+ </xs:restriction>
593
+ </xs:simpleType>
594
+ </xs:attribute>
595
+ <xs:attribute name="id" type="xs:string"
596
+ use="required" />
597
+ <xs:attribute name="version" type="xs:int"
598
+ use="optional" />
599
+ </xs:complexType>
600
+ </xs:element>
601
+ </xs:sequence>
602
+ <xs:attribute name="type" use="required">
603
+ <xs:simpleType>
604
+ <xs:restriction base="xs:string">
605
+ <xs:enumeration value="frameshift" />
606
+ <xs:enumeration value="erroneous initiation" />
607
+ <xs:enumeration value="erroneous termination" />
608
+ <xs:enumeration
609
+ value="erroneous gene model prediction" />
610
+ <xs:enumeration value="erroneous translation" />
611
+ <xs:enumeration
612
+ value="miscellaneous discrepancy" />
613
+ </xs:restriction>
614
+ </xs:simpleType>
615
+ </xs:attribute>
616
+ <xs:attribute name="ref" type="xs:string"
617
+ use="optional">
618
+ <xs:annotation>
619
+ <xs:documentation>Refers to the 'key' attribute of a 'reference'
620
+ element.</xs:documentation>
621
+ </xs:annotation>
622
+ </xs:attribute>
623
+ </xs:complexType>
624
+ </xs:element>
625
+
626
+ <xs:sequence>
627
+ <xs:element name="link" minOccurs="0"
628
+ maxOccurs="unbounded">
629
+ <xs:annotation>
630
+ <xs:documentation>Used in 'online information' annotations.</xs:documentation>
631
+ </xs:annotation>
632
+ <xs:complexType>
633
+ <xs:attribute name="uri" type="xs:anyURI"
634
+ use="required" />
635
+ </xs:complexType>
636
+ </xs:element>
637
+ </xs:sequence>
638
+
639
+ <xs:sequence>
640
+ <xs:annotation>
641
+ <xs:documentation>Used in 'alternative products' annotations.</xs:documentation>
642
+ </xs:annotation>
643
+ <xs:element name="event" type="eventType" maxOccurs="4" />
644
+ <xs:element name="isoform" type="isoformType"
645
+ minOccurs="0" maxOccurs="unbounded" />
646
+ </xs:sequence>
647
+
648
+ <xs:sequence>
649
+ <xs:annotation>
650
+ <xs:documentation>Used in 'interaction' annotations.</xs:documentation>
651
+ </xs:annotation>
652
+ <xs:element name="interactant" type="interactantType"
653
+ minOccurs="2" maxOccurs="2" />
654
+ <xs:element name="organismsDiffer" type="xs:boolean"
655
+ default="false" />
656
+ <xs:element name="experiments" type="xs:int" />
657
+ </xs:sequence>
658
+
659
+ <xs:element name="disease">
660
+ <xs:annotation>
661
+ <xs:documentation>Used in 'disease' annotations.</xs:documentation>
662
+ </xs:annotation>
663
+ <xs:complexType>
664
+ <xs:sequence>
665
+ <xs:element name="name" type="xs:string" />
666
+ <xs:element name="acronym" type="xs:string" />
667
+ <xs:element name="description" type="xs:string" />
668
+ <xs:element name="dbReference" type="dbReferenceType" />
669
+ </xs:sequence>
670
+ <xs:attribute name="id" type="xs:string"
671
+ use="required" />
672
+ </xs:complexType>
673
+ </xs:element>
674
+
675
+ </xs:choice>
676
+
677
+ <xs:element name="location" type="locationType"
678
+ minOccurs="0" maxOccurs="unbounded">
679
+ <xs:annotation>
680
+ <xs:documentation>Used in 'mass spectrometry' and 'sequence
681
+ caution' annotations.</xs:documentation>
682
+ </xs:annotation>
683
+ </xs:element>
684
+
685
+ <xs:element name="text" type="evidencedStringType"
686
+ minOccurs="0" maxOccurs="unbounded" />
687
+
688
+ </xs:sequence>
689
+
690
+ <xs:attribute name="type" use="required">
691
+ <xs:annotation>
692
+ <xs:documentation>Describes the type of a general annotation.
693
+ Equivalent to the flat file CC comment topics (except for
694
+ "DATABASE" which is translated to "online information").</xs:documentation>
695
+ </xs:annotation>
696
+ <xs:simpleType>
697
+ <xs:restriction base="xs:string">
698
+ <xs:enumeration value="allergen" />
699
+ <xs:enumeration value="alternative products" />
700
+ <xs:enumeration value="biotechnology" />
701
+ <xs:enumeration
702
+ value="biophysicochemical properties" />
703
+ <xs:enumeration value="catalytic activity" />
704
+ <xs:enumeration value="caution" />
705
+ <xs:enumeration value="cofactor" />
706
+ <xs:enumeration value="developmental stage" />
707
+ <xs:enumeration value="disease" />
708
+ <xs:enumeration value="domain" />
709
+ <xs:enumeration value="disruption phenotype" />
710
+ <xs:enumeration value="activity regulation" />
711
+ <xs:enumeration value="function" />
712
+ <xs:enumeration value="induction" />
713
+ <xs:enumeration value="miscellaneous" />
714
+ <xs:enumeration value="pathway" />
715
+ <xs:enumeration value="pharmaceutical" />
716
+ <xs:enumeration value="polymorphism" />
717
+ <xs:enumeration value="PTM" />
718
+ <xs:enumeration value="RNA editing" />
719
+ <xs:enumeration value="similarity" />
720
+ <xs:enumeration value="subcellular location" />
721
+ <xs:enumeration value="sequence caution" />
722
+ <xs:enumeration value="subunit" />
723
+ <xs:enumeration value="tissue specificity" />
724
+ <xs:enumeration value="toxic dose" />
725
+ <xs:enumeration value="online information" />
726
+ <xs:enumeration value="mass spectrometry" />
727
+ <xs:enumeration value="interaction" />
728
+ </xs:restriction>
729
+ </xs:simpleType>
730
+ </xs:attribute>
731
+
732
+ <xs:attribute name="locationType" type="xs:string"
733
+ use="optional">
734
+ <xs:annotation>
735
+ <xs:documentation>Describes the type of sequence location in 'RNA
736
+ editing' annotations. Common values are "Not_applicable" and
737
+ "Undetermined".</xs:documentation>
738
+ </xs:annotation>
739
+ </xs:attribute>
740
+
741
+ <xs:attribute name="name" type="xs:string" use="optional">
742
+ <xs:annotation>
743
+ <xs:documentation>Describes an optional name for an 'online
744
+ information'.</xs:documentation>
745
+ </xs:annotation>
746
+ </xs:attribute>
747
+
748
+ <xs:attribute name="mass" type="xs:float" use="optional">
749
+ <xs:annotation>
750
+ <xs:documentation>Describes the molecular mass in 'mass
751
+ spectrometry' annotations.</xs:documentation>
752
+ </xs:annotation>
753
+ </xs:attribute>
754
+ <xs:attribute name="error" type="xs:string"
755
+ use="optional">
756
+ <xs:annotation>
757
+ <xs:documentation>Describes the error of the mass measurement in
758
+ 'mass spectrometry' annotations.</xs:documentation>
759
+ </xs:annotation>
760
+ </xs:attribute>
761
+ <xs:attribute name="method" type="xs:string"
762
+ use="optional">
763
+ <xs:annotation>
764
+ <xs:documentation>Describes the experimental method in 'mass
765
+ spectrometry' annotations.</xs:documentation>
766
+ </xs:annotation>
767
+ </xs:attribute>
768
+
769
+ <xs:attribute name="evidence" type="intListType"
770
+ use="optional" />
771
+ </xs:complexType>
772
+
773
+ <xs:group name="bpcCommentGroup">
774
+ <xs:annotation>
775
+ <xs:documentation>Describes different types of biophysicochemical
776
+ properties.</xs:documentation>
777
+ </xs:annotation>
778
+ <xs:sequence>
779
+ <xs:element name="absorption" minOccurs="0">
780
+ <xs:complexType>
781
+ <xs:sequence>
782
+ <xs:element name="max" type="evidencedStringType"
783
+ minOccurs="0" />
784
+ <xs:element name="text" type="evidencedStringType"
785
+ minOccurs="0" maxOccurs="unbounded" />
786
+ </xs:sequence>
787
+ </xs:complexType>
788
+ </xs:element>
789
+ <xs:element name="kinetics" minOccurs="0">
790
+ <xs:complexType>
791
+ <xs:sequence>
792
+ <xs:element name="KM" type="evidencedStringType"
793
+ minOccurs="0" maxOccurs="unbounded" />
794
+ <xs:element name="Vmax" type="evidencedStringType"
795
+ minOccurs="0" maxOccurs="unbounded" />
796
+ <xs:element name="text" type="evidencedStringType"
797
+ minOccurs="0" maxOccurs="unbounded" />
798
+ </xs:sequence>
799
+ </xs:complexType>
800
+ </xs:element>
801
+ <xs:element name="phDependence" minOccurs="0">
802
+ <xs:complexType>
803
+ <xs:sequence>
804
+ <xs:element name="text" type="evidencedStringType"
805
+ maxOccurs="unbounded" />
806
+ </xs:sequence>
807
+ </xs:complexType>
808
+ </xs:element>
809
+ <xs:element name="redoxPotential" minOccurs="0">
810
+ <xs:complexType>
811
+ <xs:sequence>
812
+ <xs:element name="text" type="evidencedStringType"
813
+ maxOccurs="unbounded" />
814
+ </xs:sequence>
815
+ </xs:complexType>
816
+ </xs:element>
817
+ <xs:element name="temperatureDependence" minOccurs="0">
818
+ <xs:complexType>
819
+ <xs:sequence>
820
+ <xs:element name="text" type="evidencedStringType"
821
+ maxOccurs="unbounded" />
822
+ </xs:sequence>
823
+ </xs:complexType>
824
+ </xs:element>
825
+ </xs:sequence>
826
+ </xs:group>
827
+
828
+ <xs:complexType name="reactionType">
829
+ <xs:annotation>
830
+ <xs:documentation>Describes a chemical reaction.</xs:documentation>
831
+ </xs:annotation>
832
+ <xs:sequence>
833
+ <xs:element name="text" type="xs:string" />
834
+ <xs:element name="dbReference" type="dbReferenceType"
835
+ minOccurs="1" maxOccurs="unbounded" />
836
+ </xs:sequence>
837
+ <xs:attribute name="evidence" type="intListType"
838
+ use="optional" />
839
+ </xs:complexType>
840
+
841
+ <xs:complexType name="physiologicalReactionType">
842
+ <xs:annotation>
843
+ <xs:documentation>Describes a physiological reaction.</xs:documentation>
844
+ </xs:annotation>
845
+ <xs:sequence>
846
+ <xs:element name="dbReference" type="dbReferenceType" />
847
+ </xs:sequence>
848
+ <xs:attribute name="direction" use="required">
849
+ <xs:simpleType>
850
+ <xs:restriction base="xs:string">
851
+ <xs:enumeration value="left-to-right" />
852
+ <xs:enumeration value="right-to-left" />
853
+ </xs:restriction>
854
+ </xs:simpleType>
855
+ </xs:attribute>
856
+ <xs:attribute name="evidence" type="intListType"
857
+ use="optional" />
858
+ </xs:complexType>
859
+
860
+ <xs:complexType name="cofactorType">
861
+ <xs:annotation>
862
+ <xs:documentation>Describes a cofactor.</xs:documentation>
863
+ </xs:annotation>
864
+ <xs:sequence>
865
+ <xs:element name="name" type="xs:string" />
866
+ <xs:element name="dbReference" type="dbReferenceType" />
867
+ </xs:sequence>
868
+ <xs:attribute name="evidence" type="intListType"
869
+ use="optional" />
870
+ </xs:complexType>
871
+
872
+ <xs:complexType name="subcellularLocationType">
873
+ <xs:annotation>
874
+ <xs:documentation>Describes the subcellular location and optionally
875
+ the topology and orientation of a molecule.</xs:documentation>
876
+ </xs:annotation>
877
+ <xs:sequence>
878
+ <xs:element name="location" type="evidencedStringType"
879
+ maxOccurs="unbounded" />
880
+ <xs:element name="topology" type="evidencedStringType"
881
+ minOccurs="0" maxOccurs="unbounded" />
882
+ <xs:element name="orientation" type="evidencedStringType"
883
+ minOccurs="0" maxOccurs="unbounded" />
884
+ </xs:sequence>
885
+ </xs:complexType>
886
+
887
+ <xs:complexType name="eventType">
888
+ <xs:annotation>
889
+ <xs:documentation>Describes the type of events that cause alternative
890
+ products.</xs:documentation>
891
+ </xs:annotation>
892
+ <xs:attribute name="type" use="required">
893
+ <xs:simpleType>
894
+ <xs:restriction base="xs:string">
895
+ <xs:enumeration value="alternative splicing" />
896
+ <xs:enumeration value="alternative initiation" />
897
+ <xs:enumeration value="alternative promoter" />
898
+ <xs:enumeration value="ribosomal frameshifting" />
899
+ </xs:restriction>
900
+ </xs:simpleType>
901
+ </xs:attribute>
902
+ </xs:complexType>
903
+
904
+ <xs:complexType name="isoformType">
905
+ <xs:annotation>
906
+ <xs:documentation>Describes isoforms in 'alternative products'
907
+ annotations.</xs:documentation>
908
+ </xs:annotation>
909
+ <xs:sequence>
910
+ <xs:element name="id" type="xs:string"
911
+ maxOccurs="unbounded" />
912
+ <xs:element name="name" maxOccurs="unbounded">
913
+ <xs:complexType>
914
+ <xs:simpleContent>
915
+ <xs:extension base="xs:string">
916
+ <xs:attribute name="evidence" type="intListType"
917
+ use="optional" />
918
+ </xs:extension>
919
+ </xs:simpleContent>
920
+ </xs:complexType>
921
+ </xs:element>
922
+ <xs:element name="sequence">
923
+ <xs:complexType>
924
+ <xs:attribute name="type" use="required">
925
+ <xs:simpleType>
926
+ <xs:restriction base="xs:string">
927
+ <xs:enumeration value="not described" />
928
+ <xs:enumeration value="described" />
929
+ <xs:enumeration value="displayed" />
930
+ <xs:enumeration value="external" />
931
+ </xs:restriction>
932
+ </xs:simpleType>
933
+ </xs:attribute>
934
+ <xs:attribute name="ref" type="xs:string"
935
+ use="optional" />
936
+ </xs:complexType>
937
+ </xs:element>
938
+ <xs:element name="text" type="evidencedStringType"
939
+ minOccurs="0" maxOccurs="unbounded" />
940
+ </xs:sequence>
941
+ </xs:complexType>
942
+
943
+ <xs:group name="interactantGroup">
944
+ <xs:sequence>
945
+ <xs:element name="id" type="xs:string" />
946
+ <xs:element name="label" type="xs:string" minOccurs="0" />
947
+ <xs:element name="dbReference" type="dbReferenceType"
948
+ minOccurs="0" />
949
+ </xs:sequence>
950
+ </xs:group>
951
+ <xs:complexType name="interactantType">
952
+ <xs:group ref="interactantGroup" minOccurs="0" />
953
+ <xs:attribute name="intactId" type="xs:string"
954
+ use="required" />
955
+ </xs:complexType>
956
+ <!-- Comment definition ends -->
957
+
958
+ <!-- Database cross-reference definition begins -->
959
+ <xs:complexType name="dbReferenceType">
960
+ <xs:annotation>
961
+ <xs:documentation>Describes a database cross-reference.
962
+ Equivalent to
963
+ the flat file DR-line.
964
+ </xs:documentation>
965
+ </xs:annotation>
966
+ <xs:sequence>
967
+ <xs:element name="molecule" type="moleculeType"
968
+ minOccurs="0" />
969
+ <xs:element name="property" type="propertyType"
970
+ minOccurs="0" maxOccurs="unbounded" />
971
+ </xs:sequence>
972
+ <xs:attribute name="type" type="xs:string" use="required">
973
+ <xs:annotation>
974
+ <xs:documentation>Describes the name of the database.</xs:documentation>
975
+ </xs:annotation>
976
+ </xs:attribute>
977
+ <xs:attribute name="id" type="xs:string" use="required">
978
+ <xs:annotation>
979
+ <xs:documentation>Describes a unique database identifier.</xs:documentation>
980
+ </xs:annotation>
981
+ </xs:attribute>
982
+ <xs:attribute name="evidence" type="intListType"
983
+ use="optional" />
984
+ <!-- xs:attribute name="key" type="xs:string" use="optional"/ -->
985
+ </xs:complexType>
986
+
987
+ <xs:complexType name="propertyType">
988
+ <xs:attribute name="type" type="xs:string" use="required" />
989
+ <xs:attribute name="value" type="xs:string"
990
+ use="required" />
991
+ </xs:complexType>
992
+ <!-- Database cross-reference definition ends -->
993
+
994
+ <!-- Protein existence definition begins -->
995
+ <xs:complexType name="proteinExistenceType">
996
+ <xs:annotation>
997
+ <xs:documentation>Describes the evidence for the protein's existence.
998
+ Equivalent to the flat file PE-line.</xs:documentation>
999
+ </xs:annotation>
1000
+ <xs:attribute name="type" use="required">
1001
+ <xs:simpleType>
1002
+ <xs:restriction base="xs:string">
1003
+ <xs:enumeration value="evidence at protein level" />
1004
+ <xs:enumeration value="evidence at transcript level" />
1005
+ <xs:enumeration value="inferred from homology" />
1006
+ <xs:enumeration value="predicted" />
1007
+ <xs:enumeration value="uncertain" />
1008
+ </xs:restriction>
1009
+ </xs:simpleType>
1010
+ </xs:attribute>
1011
+ </xs:complexType>
1012
+ <!-- Protein existence definition ends -->
1013
+
1014
+ <!-- Keyword definition begins -->
1015
+ <xs:complexType name="keywordType">
1016
+ <xs:simpleContent>
1017
+ <xs:extension base="xs:string">
1018
+ <xs:attribute name="evidence" type="intListType"
1019
+ use="optional" />
1020
+ <xs:attribute name="id" type="xs:string" use="required" />
1021
+ </xs:extension>
1022
+ </xs:simpleContent>
1023
+ </xs:complexType>
1024
+ <!-- Keyword definition ends -->
1025
+
1026
+ <!-- Feature definition begins -->
1027
+ <xs:complexType name="featureType">
1028
+ <xs:annotation>
1029
+ <xs:documentation>Describes different types of sequence annotations.
1030
+ Equivalent to the flat file FT-line.</xs:documentation>
1031
+ </xs:annotation>
1032
+ <xs:sequence>
1033
+ <xs:element name="original" type="xs:string" minOccurs="0">
1034
+ <xs:annotation>
1035
+ <xs:documentation>Describes the original sequence in annotations
1036
+ that describe natural or artifical sequence variations.</xs:documentation>
1037
+ </xs:annotation>
1038
+ </xs:element>
1039
+ <xs:element name="variation" type="xs:string"
1040
+ minOccurs="0" maxOccurs="unbounded">
1041
+ <xs:annotation>
1042
+ <xs:documentation>Describes the variant sequence in annotations
1043
+ that describe natural or artifical sequence variations.</xs:documentation>
1044
+ </xs:annotation>
1045
+ </xs:element>
1046
+ <xs:element name="location" type="locationType">
1047
+ <xs:annotation>
1048
+ <xs:documentation>Describes the sequence coordinates of the
1049
+ annotation.</xs:documentation>
1050
+ </xs:annotation>
1051
+ </xs:element>
1052
+ <xs:element name="ligand" type="ligandType" minOccurs="0">
1053
+ <xs:annotation>
1054
+ <xs:documentation>Describes the chemical entity that is bound in
1055
+ annotations that describe binding sites.</xs:documentation>
1056
+ </xs:annotation>
1057
+ </xs:element>
1058
+ <xs:element name="ligandPart" type="ligandPartType"
1059
+ minOccurs="0">
1060
+ <xs:annotation>
1061
+ <xs:documentation>Describes the specific part of a molecule that is
1062
+ bound in annotations that describe binding sites.</xs:documentation>
1063
+ </xs:annotation>
1064
+ </xs:element>
1065
+ </xs:sequence>
1066
+ <xs:attribute name="type" use="required">
1067
+ <xs:annotation>
1068
+ <xs:documentation>Describes the type of a sequence annotation.
1069
+ Equivalent to the flat file FT feature keys, but using full terms
1070
+ instead of acronyms.</xs:documentation>
1071
+ </xs:annotation>
1072
+ <xs:simpleType>
1073
+ <xs:restriction base="xs:string">
1074
+ <xs:enumeration value="active site" />
1075
+ <xs:enumeration value="binding site" />
1076
+ <xs:enumeration value="calcium-binding region" />
1077
+ <xs:enumeration value="chain" />
1078
+ <xs:enumeration value="coiled-coil region" />
1079
+ <xs:enumeration
1080
+ value="compositionally biased region" />
1081
+ <xs:enumeration value="cross-link" />
1082
+ <xs:enumeration value="disulfide bond" />
1083
+ <xs:enumeration value="DNA-binding region" />
1084
+ <xs:enumeration value="domain" />
1085
+ <xs:enumeration value="glycosylation site" />
1086
+ <xs:enumeration value="helix" />
1087
+ <xs:enumeration value="initiator methionine" />
1088
+ <xs:enumeration value="lipid moiety-binding region" />
1089
+ <xs:enumeration value="metal ion-binding site" />
1090
+ <xs:enumeration value="modified residue" />
1091
+ <xs:enumeration value="mutagenesis site" />
1092
+ <xs:enumeration value="non-consecutive residues" />
1093
+ <xs:enumeration value="non-terminal residue" />
1094
+ <xs:enumeration
1095
+ value="nucleotide phosphate-binding region" />
1096
+ <xs:enumeration value="peptide" />
1097
+ <xs:enumeration value="propeptide" />
1098
+ <xs:enumeration value="region of interest" />
1099
+ <xs:enumeration value="repeat" />
1100
+ <xs:enumeration value="non-standard amino acid" />
1101
+ <xs:enumeration value="sequence conflict" />
1102
+ <xs:enumeration value="sequence variant" />
1103
+ <xs:enumeration value="short sequence motif" />
1104
+ <xs:enumeration value="signal peptide" />
1105
+ <xs:enumeration value="site" />
1106
+ <xs:enumeration value="splice variant" />
1107
+ <xs:enumeration value="strand" />
1108
+ <xs:enumeration value="topological domain" />
1109
+ <xs:enumeration value="transit peptide" />
1110
+ <xs:enumeration value="transmembrane region" />
1111
+ <xs:enumeration value="turn" />
1112
+ <xs:enumeration value="unsure residue" />
1113
+ <xs:enumeration value="zinc finger region" />
1114
+ <xs:enumeration value="intramembrane region" />
1115
+ </xs:restriction>
1116
+ </xs:simpleType>
1117
+ </xs:attribute>
1118
+ <xs:attribute name="id" type="xs:string" use="optional" />
1119
+ <xs:attribute name="description" type="xs:string"
1120
+ use="optional" />
1121
+ <xs:attribute name="evidence" type="intListType"
1122
+ use="optional" />
1123
+ <xs:attribute name="ref" type="xs:string" use="optional" />
1124
+ </xs:complexType>
1125
+
1126
+ <xs:complexType name="locationType">
1127
+ <xs:annotation>
1128
+ <xs:documentation>Describes a sequence location as either a range
1129
+ with a begin and end or as a position. The 'sequence' attribute is
1130
+ only used when the location is not on the canonical sequence
1131
+ displayed in the current entry.</xs:documentation>
1132
+ </xs:annotation>
1133
+ <xs:choice>
1134
+ <xs:sequence>
1135
+ <xs:element name="begin" type="positionType" />
1136
+ <xs:element name="end" type="positionType" />
1137
+ </xs:sequence>
1138
+ <xs:element name="position" type="positionType" />
1139
+ </xs:choice>
1140
+ <xs:attribute name="sequence" type="xs:string"
1141
+ use="optional" />
1142
+ </xs:complexType>
1143
+
1144
+ <xs:complexType name="positionType">
1145
+ <xs:attribute name="position" type="xs:unsignedLong"
1146
+ use="optional" />
1147
+ <xs:attribute name="status" use="optional"
1148
+ default="certain">
1149
+ <xs:simpleType>
1150
+ <xs:restriction base="xs:string">
1151
+ <xs:enumeration value="certain" />
1152
+ <xs:enumeration value="uncertain" />
1153
+ <xs:enumeration value="less than" />
1154
+ <xs:enumeration value="greater than" />
1155
+ <xs:enumeration value="unknown" />
1156
+ </xs:restriction>
1157
+ </xs:simpleType>
1158
+ </xs:attribute>
1159
+ <xs:attribute name="evidence" type="intListType"
1160
+ use="optional" />
1161
+ </xs:complexType>
1162
+
1163
+ <xs:complexType name="ligandType">
1164
+ <xs:annotation>
1165
+ <xs:documentation>Describes a ligand.</xs:documentation>
1166
+ </xs:annotation>
1167
+ <xs:sequence>
1168
+ <xs:element name="name" type="xs:string" />
1169
+ <xs:element name="dbReference" type="dbReferenceType"
1170
+ minOccurs="0" />
1171
+ <xs:element name="label" type="xs:string" minOccurs="0" />
1172
+ <xs:element name="note" type="xs:string" minOccurs="0" />
1173
+ </xs:sequence>
1174
+ </xs:complexType>
1175
+
1176
+ <xs:complexType name="ligandPartType">
1177
+ <xs:annotation>
1178
+ <xs:documentation>Describes a ligand part.</xs:documentation>
1179
+ </xs:annotation>
1180
+ <xs:sequence>
1181
+ <xs:element name="name" type="xs:string" />
1182
+ <xs:element name="dbReference" type="dbReferenceType"
1183
+ minOccurs="0" />
1184
+ <xs:element name="label" type="xs:string" minOccurs="0" />
1185
+ <xs:element name="note" type="xs:string" minOccurs="0" />
1186
+ </xs:sequence>
1187
+ </xs:complexType>
1188
+ <!-- Feature definition ends -->
1189
+
1190
+ <!-- Sequence definition begins -->
1191
+ <xs:complexType name="sequenceType">
1192
+ <xs:simpleContent>
1193
+ <xs:extension base="xs:string">
1194
+ <xs:attribute name="length" type="xs:int"
1195
+ use="required" />
1196
+ <xs:attribute name="mass" type="xs:int" use="required" />
1197
+ <xs:attribute name="checksum" type="xs:string"
1198
+ use="required" />
1199
+ <xs:attribute name="modified" type="xs:date"
1200
+ use="required" />
1201
+ <xs:attribute name="version" type="xs:int"
1202
+ use="required" />
1203
+ <xs:attribute name="precursor" type="xs:boolean"
1204
+ use="optional" />
1205
+ <xs:attribute name="fragment" use="optional">
1206
+ <xs:simpleType>
1207
+ <xs:restriction base="xs:string">
1208
+ <xs:enumeration value="single" />
1209
+ <xs:enumeration value="multiple" />
1210
+ </xs:restriction>
1211
+ </xs:simpleType>
1212
+ </xs:attribute>
1213
+ </xs:extension>
1214
+ </xs:simpleContent>
1215
+ </xs:complexType>
1216
+ <!-- Sequence definition ends -->
1217
+
1218
+ <!-- Molecule definition begins -->
1219
+ <xs:complexType name="moleculeType">
1220
+ <xs:annotation>
1221
+ <xs:documentation>Describes a molecule by name or unique identifier.</xs:documentation>
1222
+ </xs:annotation>
1223
+ <xs:simpleContent>
1224
+ <xs:extension base="xs:string">
1225
+ <xs:attribute name="id" type="xs:string" use="optional" />
1226
+ </xs:extension>
1227
+ </xs:simpleContent>
1228
+ </xs:complexType>
1229
+ <!-- Molecule definition ends -->
1230
+
1231
+ <!-- Evidence definition begins -->
1232
+ <xs:complexType name="evidenceType">
1233
+ <xs:annotation>
1234
+ <xs:documentation>Describes the evidence for an annotation.
1235
+ No flat
1236
+ file equivalent.</xs:documentation>
1237
+ </xs:annotation>
1238
+ <xs:sequence>
1239
+ <xs:element name="source" type="sourceType" minOccurs="0" />
1240
+ <xs:element name="importedFrom" type="importedFromType"
1241
+ minOccurs="0" />
1242
+ </xs:sequence>
1243
+ <xs:attribute name="type" type="xs:string" use="required">
1244
+ <xs:annotation>
1245
+ <xs:documentation>Describes the type of an evidence using the
1246
+ Evidence Code Ontology
1247
+ (http://www.obofoundry.org/cgi-bin/detail.cgi?id=evidence_code).</xs:documentation>
1248
+ </xs:annotation>
1249
+ </xs:attribute>
1250
+ <xs:attribute name="key" type="xs:integer" use="required">
1251
+ <xs:annotation>
1252
+ <xs:documentation>A unique key to link annotations (via 'evidence'
1253
+ attributes) to evidences.</xs:documentation>
1254
+ </xs:annotation>
1255
+ </xs:attribute>
1256
+ </xs:complexType>
1257
+ <xs:complexType name="sourceType">
1258
+ <xs:annotation>
1259
+ <xs:documentation>Describes the source of the data using a database
1260
+ cross-reference (or a 'ref' attribute when the source cannot be
1261
+ found in a public data source, such as PubMed, and is cited only
1262
+ within the UniProtKB entry).</xs:documentation>
1263
+ </xs:annotation>
1264
+ <xs:sequence>
1265
+ <xs:element name="dbReference" type="dbReferenceType"
1266
+ minOccurs="0" />
1267
+ </xs:sequence>
1268
+ <xs:attribute name="ref" type="xs:integer" use="optional" />
1269
+ </xs:complexType>
1270
+ <xs:complexType name="importedFromType">
1271
+ <xs:annotation>
1272
+ <xs:documentation>Describes the source of the evidence, when it is
1273
+ not assigned by UniProt, but imported from an external database.</xs:documentation>
1274
+ </xs:annotation>
1275
+ <xs:sequence>
1276
+ <xs:element name="dbReference" type="dbReferenceType" />
1277
+ </xs:sequence>
1278
+ </xs:complexType>
1279
+ <!-- Evidence definition ends -->
1280
+
1281
+ <xs:complexType name="evidencedStringType">
1282
+ <xs:simpleContent>
1283
+ <xs:extension base="xs:string">
1284
+ <xs:attribute name="evidence" type="intListType"
1285
+ use="optional" />
1286
+ </xs:extension>
1287
+ </xs:simpleContent>
1288
+ </xs:complexType>
1289
+
1290
+ <xs:simpleType name="intListType">
1291
+ <xs:list itemType="xs:int" />
1292
+ </xs:simpleType>
1293
+ </xs:schema>
test/P06280.xml ADDED
The diff for this file is too large to render. See raw diff