-
Notifications
You must be signed in to change notification settings - Fork 108
/
proteomeXchange-1.4.0.xsd
509 lines (504 loc) · 22.4 KB
/
proteomeXchange-1.4.0.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="ProteomeXchangeDataset" type="ProteomeXchangeDatasetType"/>
<xs:complexType name="ProteomeXchangeDatasetType">
<xs:annotation>
<xs:documentation>Top-level element for a ProteomeXchange XML document describing a dataset.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CvList" type="CvListType"/>
<xs:element name="ChangeLog" type="ChangeLogType" minOccurs="0"/>
<xs:element name="DatasetSummary" type="DatasetSummaryType"/>
<xs:element name="DatasetIdentifierList" type="DatasetIdentifierListType"/>
<xs:element name="DatasetOriginList" type="DatasetOriginListType"/>
<xs:element name="SpeciesList" type="SpeciesListType"/>
<xs:element name="InstrumentList" type="InstrumentListType"/>
<xs:element name="ModificationList" type="ModificationListType"/>
<xs:element name="ContactList" type="ContactListType"/>
<xs:element name="PublicationList" type="PublicationListType"/>
<xs:element name="KeywordList" type="KeywordListType"/>
<xs:element name="FullDatasetLinkList" type="FullDatasetLinkListType"/>
<xs:element name="DatasetFileList" type="DatasetFileListType" minOccurs="0"/>
<xs:element name="RepositoryRecordList" type="RepositoryRecordListType" minOccurs="0"/>
<xs:element name="AdditionalInformation" type="AdditionalInformationType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>Unique identifier for this ProteomeXchange XML document.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="formatVersion" type="versionRegex" use="required">
<xs:annotation>
<xs:documentation>Version number of this ProteomeXchange XML format.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="AdditionalInformationType">
<xs:annotation>
<xs:documentation>A place for all additional information that may be added to the
broadcast message and that could not be fit into another location. Here should
also go references to other ProteomeXchange submissions.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="userParam" type="UserParamType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ChangeLogType">
<xs:annotation>
<xs:documentation>The change log message to record what changes and updates were made to this dataset for a revised announcement.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ChangeLogEntry" type="ChangeLogEntryType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ChangeLogEntryType">
<xs:annotation>
<xs:documentation>A single change log entry giving providing the date on the change, a new version number of the dataset and a description of the change/update.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="version" type="xs:string">
<xs:annotation>
<xs:documentation>The version number of this document. The first change would be version 2 here. This is largely handled by the central ProteomeXchange service anyway, and is largly ignored.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="date" type="xs:date">
<xs:annotation>
<xs:documentation>The date of this entry. This is largely handled by the central ProteomeXchange service anyway, and is largly ignored.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="ContactListType">
<xs:annotation>
<xs:documentation>The list of contacts related to the ProteomeXchange dataset.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Contact" type="ContactType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ContactType">
<xs:annotation>
<xs:documentation>Contact person related to the ProteomeXchange dataset.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required">
<xs:annotation>
<xs:documentation>Identifier for the contact to be used for referencing within a document.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="DatasetFileListType">
<xs:annotation>
<xs:documentation>The list of ALL files comprising this ProteomeXchange submission.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DatasetFile" type="DatasetFileType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatasetFileType">
<xs:annotation>
<xs:documentation>Description of the source file, including location and type.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required">
<xs:annotation>
<xs:documentation>Identifier for the sourceFile to be used for referencing within a document.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the source file, without reference to location (either URI or local path).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="DatasetIdentifierListType">
<xs:annotation>
<xs:documentation>The list of identifiers associated with this dataset, not just the PXD identifier, but possibly DOIs and other identifiers.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DatasetIdentifier" type="DatasetIdentifierType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatasetIdentifierType">
<xs:annotation>
<xs:documentation>An identifier associated with this dataset, defined by CV term.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatasetOriginListType">
<xs:annotation>
<xs:documentation>The list of the origins of this dataset. This list can link to other ProteomeXchange datasets or other resources.
If this dataset contains previously unreported data, then a 'new dataset' annotation should be used.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DatasetOrigin" type="DatasetOriginType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatasetOriginType">
<xs:annotation>
<xs:documentation>Specifies via CV term whether this is an original dataset or is a re-interpretation of a previous ProteomeXchange dataset.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatasetSummaryType">
<xs:annotation>
<xs:documentation>Broad description of the dataset being announced, inlcuding a title, abstract, review level, etc.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Description" type="xs:string">
<xs:annotation>
<xs:documentation>A brief description of the dataset, usually about one paragraph long.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReviewLevel" type="ReviewLevelType">
<xs:annotation>
<xs:documentation>Level of review on this dataset/associated paper.</xs:documentation>
<!-- ToDo: cvparams needed -->
</xs:annotation>
</xs:element>
<xs:element name="RepositorySupport" type="RepositorySupportType">
<xs:annotation>
<xs:documentation>To what extend the data is supported in the hosting repository.</xs:documentation>
<!-- ToDo: cvparams needed -->
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="announceDate" type="xs:date" use="required">
<xs:annotation>
<xs:documentation>The date that this announcement was prepared.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="hostingRepository" type="HostingRepositoryType" use="required">
<xs:annotation>
<xs:documentation>The hosting repository that handled this dataset and that prepared this ProteomeXchange message.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="title" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>A descriptive title for the dataset.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ReviewLevelType">
<xs:sequence>
<xs:element name="cvParam" type="CvParamType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RepositorySupportType">
<xs:sequence>
<xs:element name="cvParam" type="CvParamType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FullDatasetLinkListType">
<xs:annotation>
<xs:documentation>The list of links to the complete ProteomeXchange dataset.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FullDatasetLink" type="FullDatasetLinkType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FullDatasetLinkType">
<xs:annotation>
<xs:documentation>A single link to the full dataset.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InstrumentListType">
<xs:annotation>
<xs:documentation>The list of instruments on which the data generation was performed.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Instrument" type="InstrumentType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InstrumentType">
<xs:annotation>
<xs:documentation>Instrument on which the data has been generated.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required">
<xs:annotation>
<xs:documentation>Identifier for the instrument to be used for referencing within a document</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="KeywordListType">
<xs:annotation>
<xs:documentation>Keywords defined by controlled vocabulary or free text categorised by a controlled vocabolary term
(e.g. 'journal article keyword', 'submitter keyword' or 'curator keyword').</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ModificationListType">
<xs:annotation>
<xs:documentation>The list of amino acid mass modifications caused or considered, defined as cvParams.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PublicationListType">
<xs:annotation>
<xs:documentation>The list of publications from which the dataset was collected or wherein it is published</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Publication" type="PublicationType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PublicationType">
<xs:annotation>
<xs:documentation>Reference to a publication in which the dataset is published.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required">
<xs:annotation>
<xs:documentation>Identifier for the publication to be used for referencing within a document</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="RepositoryRecordListType">
<xs:annotation>
<xs:documentation>The list of records as found in the repository the data was submitted to (for example PRIDE experiment records).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="RepositoryRecord" type="RepositoryRecordType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RepositoryRecordType">
<xs:annotation>
<xs:documentation>A record in the repository the data was submitted to corresponding to this dataset (for an example PRIDE experiment record).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="SourceFileRef" type="RefType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>to reference the 'id' of a 'DatasetFile' within this submission</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PublicationRef" type="RefType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>to reference the 'id' of a 'Publication' within this submission</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InstrumentRef" type="RefType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Container for a reference to the id of an Instrument within this submission</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SampleList" type="SampleListType" minOccurs="0" maxOccurs="1"/>
<xs:element name="ModificationList" type="ModificationListType" minOccurs="0"/>
<xs:element name="AnnotationList" type="AdditionalInformationType" minOccurs="0">
<xs:annotation>
<xs:documentation>Any additional annotation of the record/experiment that the
submitter/generator of the message deems important enough to announce.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Short name for the repository record, usually like a sample name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="label" type="xs:string">
<xs:annotation>
<xs:documentation>Short label for the type of repository record.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="recordID" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>A unique identifier for the record within the repository.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="repositoryID" type="HostingRepositoryType" use="required">
<xs:annotation>
<xs:documentation>Identifier that uniquely defines the hosting repository which holds the data records.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="uri" type="xs:anyURI" use="required">
<xs:annotation>
<xs:documentation>URI that links to the repository record.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="SampleListType">
<xs:annotation>
<xs:documentation>The list of samples that are analyzed in this dataset.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Sample" type="SampleType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SampleType">
<xs:annotation>
<xs:documentation>A summary of the sample describtion. This should be a (sub) selection
of cvParams used to describe the sample. Minimally this should contain information like
species, tissue, etc..., but could also contain sample preparation information.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Short name for the sample analyzed in this dataset.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="SpeciesListType">
<xs:annotation>
<xs:documentation>The list of species from which the data has been generated.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Species" type="SpeciesType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SpeciesType">
<xs:annotation>
<xs:documentation>The species from which the data has been generated.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cvParam" type="CvParamType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CvListType">
<xs:annotation>
<xs:documentation>The list of controlled vocabularies used in the file.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Cv" type="CvType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CvType">
<xs:annotation>
<xs:documentation>A source controlled vocabulary (CV) from which cvParams will be obtained.</xs:documentation>
</xs:annotation>
<xs:attribute name="fullName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The full name of the CV.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="version" type="xs:string">
<xs:annotation>
<xs:documentation>The version of the CV.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="uri" type="xs:anyURI" use="required">
<xs:annotation>
<xs:documentation>The URI of the source CV.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="id" type="xs:ID" use="required">
<xs:annotation>
<xs:documentation>The unique identifier of this CV within the document to be referenced by cvParam elements. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="AbstractParamType" abstract="true">
<xs:annotation>
<xs:documentation>Abstract entity allowing either cvParam or userParam to be referenced in other schemas.
</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the parameter.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string">
<xs:annotation>
<xs:documentation>The user-entered value of the parameter.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="unitAccession" type="xs:string">
<xs:annotation>
<xs:documentation>An accession number identifying the unit within the OBO foundry Unit CV.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="unitName" type="xs:string">
<xs:annotation>
<xs:documentation>The name of the unit.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="unitCvRef" type="xs:string">
<xs:annotation>
<xs:documentation>If a unit term is referenced, this attribute must refer to the CV 'id' attribute
defined in the cvList in this file.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="UserParamType">
<xs:annotation>
<xs:documentation>A single user-defined parameter.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="AbstractParamType"/>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CvParamType">
<xs:annotation>
<xs:documentation>A single entry from an ontology or a controlled vocabulary.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="AbstractParamType">
<xs:attribute name="cvRef" type="xs:IDREF" use="required">
<xs:annotation>
<xs:documentation>A reference to the cv element from which this term originates.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="accession" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The accession or ID number of this CV term in the source CV.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="RefType">
<xs:attribute name="ref" type="xs:IDREF" use="required">
<xs:annotation>
<xs:documentation>A reference to an element with and id in this document.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="HostingRepositoryType">
<xs:annotation>
<xs:documentation>The allowed values for the ProteomeXchange hosting repository.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="PRIDE"/>
<xs:enumeration value="PeptideAtlas"/>
<xs:enumeration value="PASSEL"/>
<xs:enumeration value="TestRepo"/>
<xs:enumeration value="MassIVE"/>
<xs:enumeration value="iProX"/>
<xs:enumeration value="jPOST"/>
<xs:enumeration value="Firmiana"/>
<xs:enumeration value="PanoramaPublic"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="versionRegex">
<xs:restriction base="xs:string">
<xs:pattern value="(1\.4\.?\d?)"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>