/
MIF254.xsd
1154 lines (1118 loc) · 51.7 KB
/
MIF254.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
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:mif="http://psi.hupo.org/mi/mif"
targetNamespace="http://psi.hupo.org/mi/mif" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!--Root element-->
<xs:element name="entrySet" type="mif:entrySet">
<xs:annotation>
<xs:documentation>Root element of the Molecular Interaction Format</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="entrySet">
<xs:sequence>
<xs:element name="entry" maxOccurs="unbounded" type="mif:entry">
<xs:annotation>
<xs:documentation>Describes one or more interactions as a self-contained unit. Multiple entries from different files can be concatenated into a single entrySet.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="level" type="xs:int" use="required" fixed="2">
<xs:annotation>
<xs:documentation>PSI MI level</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="version" type="xs:int" use="required" fixed="5">
<xs:annotation>
<xs:documentation>PSI MI version within given level</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minorVersion" type="xs:int" use="optional" fixed="4"/>
</xs:complexType>
<xs:complexType name="source">
<xs:annotation>
<xs:documentation>Desciption of the source of the entry, usually an organisation
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names" minOccurs="0">
<xs:annotation>
<xs:documentation>Name(s) of the data source, for example the organisation name.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="bibref" type="mif:bibref" minOccurs="0">
<xs:annotation>
<xs:documentation>Bibliographic reference for the data source. Example: A paper which
describes all interactions of the entry.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xref" type="mif:xref" minOccurs="0">
<xs:annotation>
<xs:documentation>Cross reference for the data source. Example: Entry in a database of
databases.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attributeList" type="mif:attributeList" minOccurs="0">
<xs:annotation>
<xs:documentation>Further description of the source.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="release" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="releaseDate" type="xs:date" use="optional"/>
</xs:complexType>
<xs:complexType name="experimentDescriptionList">
<xs:annotation>
<xs:documentation>All experiments in which the interactions of this entry have been determined
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="experimentDescription" type="mif:experimentDescription" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Describes one set of experimental parameters, usually associated with
a single publication.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="experimentList">
<xs:annotation>
<xs:documentation>List of experiments in which this interaction has been determined.</xs:documentation>
</xs:annotation>
<xs:choice maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Either refer to an already defined experiment in this entry or insert description.
</xs:documentation>
</xs:annotation>
<xs:element name="experimentRef" type="xs:int">
<xs:annotation>
<xs:documentation>References an experiment already present in this entry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="experimentDescription" type="mif:experimentDescription">
<xs:annotation>
<xs:documentation>An experiment in which this interaction has been determined.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="interactorList">
<xs:annotation>
<xs:documentation>List of all interactors occurring in the entry</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="interactor" type="mif:interactor" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A molecule object in its native state, as described in databases.
</xs:documentation>
<xs:documentation>Usage: A protein interactor must contain an xref to UniProt and
NCBI-GI where possible.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="interactionList">
<xs:annotation>
<xs:documentation>List of interactions</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="interaction" type="mif:interaction" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="availabilityList">
<xs:annotation>
<xs:documentation>Data availability statements, for example copyrights</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="availability" type="mif:availability" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Describes data availability, e.g. through a copyright statement. If no
availability is given, the data is assumed to be freely available.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- entry -->
<xs:complexType name="entry">
<xs:sequence>
<xs:element name="source" type="mif:source" minOccurs="0"/>
<xs:element name="availabilityList" type="mif:availabilityList" minOccurs="0"/>
<xs:element name="experimentList" type="mif:experimentDescriptionList" minOccurs="0"/>
<xs:element name="interactorList" type="mif:interactorList" minOccurs="0"/>
<xs:element name="interactionList" type="mif:interactionList"/>
<xs:element name="attributeList" type="mif:attributeList" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<!--aministrative elements-->
<xs:complexType name="label">
<xs:annotation>
<xs:documentation>A short alphanumeric label identifying an object. Not necessarily unique.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="fullName">
<xs:annotation>
<xs:documentation>Full, descriptive object name.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="experimentRefList">
<xs:annotation>
<xs:documentation>Refers to a list of experiments within the same entry.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="experimentRef" type="xs:int" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>References an experiment already present in this entry.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="xref">
<xs:annotation>
<xs:documentation>Crossreference to an external database. Crossreferences to literature databases, e.g. PubMed, should not be put into this structure, but into the bibRef element where possible.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="primaryRef" type="mif:dbReference">
<xs:annotation>
<xs:documentation>Primary reference to an external database.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="secondaryRef" type="mif:dbReference" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Further external objects describing the object.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="dbReference">
<xs:annotation>
<xs:documentation>Refers to a unique object in an external database.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="0">
<xs:element name="attributeList" type="mif:attributeList"/>
</xs:sequence>
<xs:attribute name="db" use="required">
<xs:annotation>
<xs:documentation>Name of the external database. Taken from the controlled vocabulary of databases.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="dbAc" use="optional">
<xs:annotation>
<xs:documentation>Accession number of the database in the database CV. This element is controlled by the PSI-MI controlled vocabulary "database citation", root term id MI:0444.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="id" use="required">
<xs:annotation>
<xs:documentation>Primary identifier of the object in the external database, e.g. UniProt accession number.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="secondary" use="optional">
<xs:annotation>
<xs:documentation>Secondary identifier of the object in the external database, e.g. UniProt ID.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="version" use="optional">
<xs:annotation>
<xs:documentation>The version number of the object in the external database.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="refType" use="optional">
<xs:annotation>
<xs:documentation>Reference type, e.g. "identity" if this reference referes to an identical object in the external database, or "see-also" for additional information. Controlled by CV.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="refTypeAc" use="optional">
<xs:annotation>
<xs:documentation>Reference type accession number from the CV of reference types. This element is controlled by the PSI-MI controlled vocabulary "xref type", root term id MI:0353. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="bibref">
<xs:annotation>
<xs:documentation>Bibliographic reference.</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="xref" type="mif:xref">
<xs:annotation>
<xs:documentation>Bibliographic reference in external database, usually PubMed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attributeList" type="mif:attributeList">
<xs:annotation>
<xs:documentation>Alternative description of bibliographic reference if no external database entry is available.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="attributeList">
<xs:annotation>
<xs:documentation>A list of additional attributes. Open tag-value list to allow the inclusion of additional data.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="attribute" type="mif:attribute" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="attribute">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="name" use="required">
<xs:annotation>
<xs:documentation>The name of the attribute.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="nameAc" use="optional">
<xs:annotation>
<xs:documentation>Enables control of the attribute type through reference to an external
controlled vocabulary. Root element in the PSI MI CV is MI:0590.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="confidenceBase">
<xs:annotation>
<xs:documentation>A confidence value.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="unit" type="mif:openCvType"/>
<xs:element name="value">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="confidence">
<xs:complexContent>
<xs:extension base="mif:confidenceBase">
<xs:sequence minOccurs="0">
<xs:element name="experimentRefList" type="mif:experimentRefList" minOccurs="0">
<xs:annotation>
<xs:documentation>Each experiment might assign a different confidence to this object. If no
experimentRef is given, it is assumed this confidence refers to all experiments linked
to the object.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="bioSource">
<xs:annotation>
<xs:documentation>Describes the biological source of an object, in simple form only the NCBI taxid.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names" minOccurs="0">
<xs:annotation>
<xs:documentation>The names of the organism. The short label should be a common name if it exists. The full name should be the full name of the species (i.e. genus species).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cellType" type="mif:openCvType" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the cell type. Currently no species-independent controlled vocabulary for cell types is available, therefore the choice of reference database(s) is open to the data provider.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="compartment" type="mif:openCvType" minOccurs="0">
<xs:annotation>
<xs:documentation>The subcellular compartment of the object. It is strongly recommended to refer to the Gene Ontology cellular component in this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tissue" type="mif:openCvType" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the source tissue. Currently no species-independent controlled vocabulary for tissues is available, therefore the choice of reference database(s) is open to the data provider.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="ncbiTaxId" type="xs:int" use="required"/>
</xs:complexType>
<xs:complexType name="confidenceList">
<xs:annotation>
<xs:documentation>A list of confidence values.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="confidence" type="mif:confidence" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="cvType">
<xs:annotation>
<xs:documentation>Reference to an external controlled vocabulary.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names">
<xs:annotation>
<xs:documentation>Name of the controlled vocabulary term.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xref" type="mif:xref">
<xs:annotation>
<xs:documentation>Source of the controlled vocabulary term. E.g. the name of the CV and the term ID.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="openCvType">
<xs:annotation>
<xs:documentation>Allows to reference an external controlled vocabulary, or to directly include a value if no suitable external definition is available.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names">
<xs:annotation>
<xs:documentation>This contains the controlled vocabulary terms, as a short and optionally as a long form.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xref" type="mif:xref" minOccurs="0">
<xs:annotation>
<xs:documentation>Refers to the term of the controlled vocabulary in an external database.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attributeList" type="mif:attributeList" minOccurs="0">
<xs:annotation>
<xs:documentation>If no suitable external controlled vocabulary is available, this attributeList can be used to describe the term. Example: Attribute name: Mouse atlas tissue name; attribute value: spinal cord, day 30.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="names">
<xs:annotation>
<xs:documentation>Names for an object.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="shortLabel" minOccurs="0">
<xs:annotation>
<xs:documentation>A short string, suitable to remember the object. Can be e.g. a gene name, the first author of a paper, etc.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="fullName" minOccurs="0">
<xs:annotation>
<xs:documentation>A full, detailed name or description of the object. Can be e.g. the full title of a publication, or the scientific name of a species.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="alias" type="mif:alias" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="alias">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="typeAc" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="parameterBase">
<xs:annotation>
<xs:documentation>A numeric parameter, e.g. for a kinetic value</xs:documentation>
</xs:annotation>
<xs:attribute name="term" use="required">
<xs:annotation>
<xs:documentation>The kind of parameter, e.g. "dissociation constant".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="termAc" use="optional">
<xs:annotation>
<xs:documentation>Accession number of the term in the associated controlled vocabulary.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="unit" use="optional">
<xs:annotation>
<xs:documentation>The unit of the term, e.g. "kiloDalton".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="unitAc" use="optional">
<xs:annotation>
<xs:documentation>Accession number of the unit in the associated controlled vocabulary.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="base" type="xs:short" use="optional" default="10">
<xs:annotation>
<xs:documentation>Base of the parameter expression. Defaults to 10.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="exponent" type="xs:short" use="optional" default="0">
<xs:annotation>
<xs:documentation>Exponent of the value.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="factor" type="xs:decimal" use="required">
<xs:annotation>
<xs:documentation>The "main" value of the parameter.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!--Feature description-->
<xs:complexType name="feature">
<xs:annotation>
<xs:documentation>A feature, e.g. domain, on a sequence.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names" minOccurs="0">
<xs:annotation>
<xs:documentation>Names for the feature, e.g. SH3 domain.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xref" type="mif:xref" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference to an external feature description, for example InterPro entry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="featureType" type="mif:cvType" minOccurs="0">
<xs:annotation>
<xs:documentation>Description and classification of the feature. This element is controlled by the PSI-MI controlled vocabulary "feature", root term id MI:0116.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="featureDetectionMethod" type="mif:cvType" minOccurs="0">
<xs:annotation>
<xs:documentation>Experimental method used to identify the feature. A setting here overrides the global setting given in the experimentDescription. External controlled vocabulary. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="experimentRefList" type="mif:experimentRefList" minOccurs="0">
<xs:annotation>
<xs:documentation>If no experimentRef is given, it is assumed this refers to all experiments linked to the interaction.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="featureRangeList">
<xs:complexType>
<xs:sequence>
<xs:element name="featureRange" type="mif:baseLocation" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Location of the feature on the sequence of the interactor. One feature may have more than one featureRange, used e.g. for features which involve sequence positions close in the folded, three-dimensional state of a protein, but non-continuous along the sequence.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="attributeList" type="mif:attributeList" minOccurs="0">
<xs:annotation>
<xs:documentation>Semi-structured additional description of the data contained in the entry.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:int" use="required"/>
</xs:complexType>
<xs:complexType name="interval">
<xs:annotation>
<xs:documentation>A interval on a sequence.</xs:documentation>
</xs:annotation>
<xs:attribute name="begin" type="xs:unsignedLong" use="required"/>
<xs:attribute name="end" type="xs:unsignedLong" use="required"/>
</xs:complexType>
<xs:complexType name="baseLocation">
<xs:annotation>
<xs:documentation>A location on a sequence. Both begin and end can be a defined position, a fuzzy position, or undetermined.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:sequence>
<xs:element name="startStatus" type="mif:cvType">
<xs:annotation>
<xs:documentation>Attribute of the start positions, e.g. "certain" or "n-terminal"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="begin" type="mif:position">
<xs:annotation>
<xs:documentation>The integer position gives the begin position of the feature. The first base or amino acid is position 1. In combination with the numeric value, the attribute 'status' allows to express fuzzy positions, e.g. 'less than 4'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="beginInterval" type="mif:interval">
<xs:annotation>
<xs:documentation>The begin position may be varying or unclear, but localisable to a certain range. Usually written as e.g. 3..5.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:sequence>
<xs:element name="endStatus" type="mif:cvType">
<xs:annotation>
<xs:documentation>Attribute of the end positions, e.g. "certain" or "c-terminal"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="end" type="mif:position">
<xs:annotation>
<xs:documentation>The integer position gives the end position of the feature. The first base or amino acid is position 1. In combination with the numeric value, the attribute 'status' allows to express fuzzy positions, e.g. 'more than 400'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="endInterval" type="mif:interval">
<xs:annotation>
<xs:documentation>The end position may be varying or unclear, but localisable to a certain range. Usually written as e.g. 3..5.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:element name="isLink" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>True if the described feature is a linking feature connecting two amino acids rather than extending along the sequence. 'begin' references the first amino acid, 'end' the second. Standard example is a disulfide bridge. Does not reference another feature, therefore is only suitable for linking features on the same amino acid chain. </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="position">
<xs:attribute name="position" type="xs:unsignedLong" use="required"/>
</xs:complexType>
<!--Top level types-->
<xs:complexType name="availability">
<xs:annotation>
<xs:documentation>A text describing the availability of data, e.g. a copyright statement.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:int" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="hostOrganismList">
<xs:annotation>
<xs:documentation>The host organism(s) in which the experiment has been performed.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="hostOrganism" type="mif:hostOrganism" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="hostOrganism">
<xs:complexContent>
<xs:extension base="mif:bioSource">
<xs:sequence minOccurs="0">
<xs:element name="experimentRefList" type="mif:experimentRefList" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="experimentDescription">
<xs:annotation>
<xs:documentation>Describes one set of experimental parameters.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names" minOccurs="0"/>
<xs:element name="bibref" type="mif:bibref">
<xs:annotation>
<xs:documentation>Publication describing the experiment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xref" type="mif:xref" minOccurs="0">
<xs:annotation>
<xs:documentation>Refers to external database description of the experiment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="hostOrganismList" type="mif:hostOrganismList" minOccurs="0"/>
<xs:element name="interactionDetectionMethod" type="mif:cvType">
<xs:annotation>
<xs:documentation>Experimental method to determine the interaction. This element is controlled by the PSI-MI controlled vocabulary "interaction detection method", root term id MI:0001.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="participantIdentificationMethod" type="mif:cvType" minOccurs="0">
<xs:annotation>
<xs:documentation>Experimental method to determine the interactors involved in the interaction. This element is controlled by the PSI-MI controlled vocabulary "participant identification method", root term id MI:0002.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="featureDetectionMethod" type="mif:cvType" minOccurs="0">
<xs:annotation>
<xs:documentation>Experimental method to determine the features of interactors. If this element is filled it is assumed to apply to all features described in the experiment. But can be overridden by the featureDetectionMethod given in the individual feature. This element is controlled by the PSI-MI controlled vocabulary "feature detection method", root term id MI:0003.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="confidenceList" type="mif:confidenceList" minOccurs="0">
<xs:annotation>
<xs:documentation>Confidence in this experiment. Usually a statistical measure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attributeList" type="mif:attributeList" minOccurs="0">
<xs:annotation>
<xs:documentation>Semi-structured additional description of the experiment.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>All major objects have a numerical id which must be unique to that object within an entry. The object may be repeated, though, e.g. in the denormalised representation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="interaction">
<xs:annotation>
<xs:documentation>A molecular interaction.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names" minOccurs="0">
<xs:annotation>
<xs:documentation>Name(s) of the interaction.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xref" type="mif:xref" minOccurs="0">
<xs:annotation>
<xs:documentation>Interaction database ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:annotation>
<xs:documentation>Either refer to an already defined availability statement in this entry or insert description.</xs:documentation>
</xs:annotation>
<xs:element name="availabilityRef" type="xs:int">
<xs:annotation>
<xs:documentation>References an availability statement already present in this entry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="availability" type="mif:availability">
<xs:annotation>
<xs:documentation>Describes the availability of the interaction data. If no availability is given, the data is assumed to be freely available.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="experimentList" type="mif:experimentList" minOccurs="0"/>
<xs:element name="participantList" type="mif:participantList"/>
<xs:element name="inferredInteractionList" type="mif:inferredInteractionList" minOccurs="0"/>
<xs:element name="interactionType" type="mif:cvType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>External controlled vocabulary characterising the interaction type, for example "physical interaction".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="modelled" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>If true, this element describes an interaction in a species of interest, e.g. human, but has actually been investigated in another organism, e.g. mouse. The transfer will usually be based on a homology statement made by the data producer. If this optional element is missing, it is assumed to be set to false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="intraMolecular" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>If true, this interaction is an intramolecular interaction, e.g. an autophosphorylation. If missing, this element is assumed to be false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="negative" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>If true, this interaction has been shown NOT to occur under the described experimental conditions. Default false. If this optional element is missing, it is assumed to be set to false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="confidenceList" type="mif:confidenceList" minOccurs="0"/>
<xs:element name="parameterList" type="mif:parameterList" minOccurs="0"/>
<xs:element name="attributeList" type="mif:attributeList" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="imexId" type="xs:string" use="optional"/>
<xs:attribute name="id" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>All major objects have a numerical id which is unique to that object within a PSI MI file. The object may be repeated, though, e.g. in the denormalised representation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="participantList">
<xs:annotation>
<xs:documentation>A list of molecules participating in this interaction. An interaction has one
(intramolecular), two (binary), or more (n-ary, complexes) participants.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="participant" type="mif:participant" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="inferredInteractionList">
<xs:annotation>
<xs:documentation>Describes inferred interactions, usually combining data from more than one experiment.
Examples: 1: Show the topology of binary interactions within a complex. 2: Interaction inferred from
multiple experiments which on their own would not support the interaction. Example: A-B in experiment 1,
B-C- in experiment 2, A-C is the inferred interaction.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="inferredInteraction" type="mif:inferredInteraction" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="inferredInteraction">
<xs:sequence>
<xs:element name="participant" type="mif:inferredInteractionParticipant" minOccurs="2" maxOccurs="unbounded"/>
<xs:element name="experimentRefList" type="mif:experimentRefList" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="inferredInteractionParticipant">
<xs:annotation>
<xs:documentation>Participant of the inferred interaction.</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="participantRef" type="xs:int"/>
<xs:element name="participantFeatureRef" type="xs:int"/>
</xs:choice>
</xs:complexType>
<!--interactors and participants-->
<xs:complexType name="interactor">
<xs:annotation>
<xs:documentation>Describes a molecular interactor.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names">
<xs:annotation>
<xs:documentation>Name(s). The short label is typically a short name that could appear as a label on a diagram.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xref" type="mif:xref" minOccurs="0">
<xs:annotation>
<xs:documentation>An interactor should have an xref whenever possible. If the interactor is not available in external databases, it must be characterised within this object e.g. by its sequence.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="interactorType" type="mif:cvType">
<xs:annotation>
<xs:documentation>The molecule type of the participant, e.g. protein. This element is controlled by the PSI-MI controlled vocabulary "interactor", root term id MI:0313.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="organism" minOccurs="0">
<xs:annotation>
<xs:documentation>The normal source organism of the interactor.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="mif:bioSource"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="sequence" minOccurs="0">
<xs:annotation>
<xs:documentation>Sequence in uppercase</xs:documentation>
<xs:documentation>Usage:</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="attributeList" type="mif:attributeList" minOccurs="0">
<xs:annotation>
<xs:documentation>Allows semi-structured additional annotation of the interactor.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>All major objects have a numerical id which is unique to that object within a PSI MI file. The object may be repeated, though, e.g. in the denormalised representation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="participant">
<xs:annotation>
<xs:documentation>A molecule participating in an interaction.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="names" type="mif:names" minOccurs="0">
<xs:annotation>
<xs:documentation>This contains the name(s) for the participant given by the authors of a publication.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xref" type="mif:xref" minOccurs="0">
<xs:annotation>
<xs:documentation>Contains the xref(s) for the participant given by the authors of a publication.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:annotation>
<xs:documentation>Description of the Interactor. Refers to an already defined interactor in this entry, fully describes an interactor, or references another interaction defined in this entry, to allow the hierarchical building up of complexes from subunits. </xs:documentation>
</xs:annotation>
<xs:element name="interactorRef" type="xs:int">
<xs:annotation>
<xs:documentation>References an interactor described in the interactorList of the entry</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="interactor" type="mif:interactor">
<xs:annotation>
<xs:documentation>Fully describes an interactor</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="interactionRef" type="xs:int">
<xs:annotation>
<xs:documentation>References an interaction described in this entry. Used for the hierarchical buildup of complexes.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="participantIdentificationMethodList" type="mif:participantIdentificationMethodList" minOccurs="0"/>
<xs:element name="biologicalRole" type="mif:cvType" minOccurs="0">
<xs:annotation>
<xs:documentation>The role of the participant in the interaction. This describes the biological role, e.g. enzyme or enzyme target. The experimental role of the participant, e.g. 'bait', is shown in experimentalForm. This element is controlled by the PSI-MI controlled vocabulary "biologicalRole", root term id MI:0500.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="experimentalRoleList" type="mif:experimentalRoleList" minOccurs="0"/>
<xs:element name="experimentalPreparationList" type="mif:experimentalPreparationList" minOccurs="0"/>
<xs:element name="experimentalInteractorList" type="mif:experimentalInteractorList" minOccurs="0"/>
<xs:element name="featureList" type="mif:featureList" minOccurs="0"/>
<xs:element name="hostOrganismList" type="mif:hostOrganismList" minOccurs="0"/>
<xs:element name="confidenceList" type="mif:confidenceList" minOccurs="0">
<xs:annotation>
<xs:documentation>Confidence in participant detection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="parameterList" type="mif:parameterList" minOccurs="0"/>
<xs:element name="attributeList" type="mif:attributeList" minOccurs="0">
<xs:annotation>
<xs:documentation>Semi-structured additional description of the data contained in the entry.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:int" use="required"/>
</xs:complexType>
<xs:complexType name="participantIdentificationMethodList">
<xs:annotation>
<xs:documentation>The method(s) by which this participant has been determined. If this element is present,
its value supersedes experimentDescription/ participantIdentificationMethod.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="participantIdentificationMethod" type="mif:participantIdentificationMethod" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="participantIdentificationMethod">
<xs:annotation>
<xs:documentation>Experimental method to determine the interactors involved in the interaction. This
element is controlled by the PSI-MI controlled vocabulary "participant identification method",
root term id MI:0002.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="mif:cvType">