forked from colin-combe/ComplexViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmi-json-schema.json
956 lines (956 loc) · 52.8 KB
/
mi-json-schema.json
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
{
"type": "object",
"$schema": "http://json-schema.org/draft-03/schema",
"$id": "http://complexviewer.org/mi-json-schema.json",
"required": false,
"properties": {
"data": {
"type": "array",
"required": true,
"description": "Data array containing all interactions, interactors and complexes",
"items": [
{
"type": "object",
"required": true,
"description": "An interactor object represents an interacting molecule.",
"properties": {
"id": {
"type": "string",
"required": true,
"description": "Unique identifier for this interactor. In most of the cases, it is generated from the interactor main database accession"
},
"identifier": {
"type": "object",
"required": false,
"description": "The preferred identifier for this interactor. It is usually a primary database accession (uniprotkb for proteins, ensembl for genes, chebi for small molecules, refseq for nucleic acids, etc.)",
"properties": {
"db": {
"type": "string",
"required": true,
"description": "The database name. Most of the time, the name will match a term from the PSI-MI ontology http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0444&termName=database%20citation. It represents the unique PSI shortlabel for this database"
},
"id": {
"type": "string",
"required": true,
"description": "The database identifier/accession. It usually represents the primary accession of this object in a specific database."
}
}
},
"label": {
"type": "string",
"required": true,
"description": "The short name of the interactor which is usually used for visualizing an interactor in a network"
},
"object": {
"type": "string",
"required": true,
"description": "The object for an interactor is always 'interactor'. It helps to distinguish interactors from interactions in the data array"
},
"organism": {
"type": "object",
"required": false,
"description": "Organism for this interactor.",
"properties": {
"common": {
"type": "string",
"required": false,
"description": "The common name or short name of the organism."
},
"scientific": {
"type": "string",
"required": false,
"description": "The scientific name of full name of the organism."
},
"taxid": {
"type": "number",
"required": true,
"description": "The uniprot taxonomy identifier for this organism. Can be -1 if in vitro, -2 if chemical synthesis, -3 if unknown, -4 if in vivo"
}
}
},
"sequence": {
"type": "string",
"required": false,
"description": "The sequence of nucleic acids/amino acids of this interactor if it is a nucleic acid/protein"
},
"type": {
"type": "object",
"required": true,
"description": "The interactor type. It is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0313&termName=interactor%20type",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The interactor type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0313&termName=interactor%20type"
},
"name": {
"type": "string",
"required": true,
"description": "The interactor type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0313&termName=interactor%20type"
}
}
},
"setComponents": {
"type": "array",
"required": false,
"description": "If the interactor is a set of interactors (we don't know which one interacts but one of them does interact), we can describe all the interactors which are member of this set.",
"items": [{
"type": "object",
"required": true,
"description": "An interactor object member of an interactor set.",
"properties": {
"identifier": {
"type": "object",
"required": false,
"description": "The preferred identifier for this interactor. It is usually a primary database accession (uniprotkb for proteins, ensembl for genes, chebi for small molecules, refseq for nucleic acids, etc.)",
"properties": {
"db": {
"type": "string",
"required": true,
"description": "The database name. Most of the time, the name will match a term from the PSI-MI ontology http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0444&termName=database%20citation. It represents the unique PSI shortlabel for this database"
},
"id": {
"type": "string",
"required": true,
"description": "The database identifier/accession. It usually represents the primary accession of this object in a specific database."
}
}
},
"label": {
"type": "string",
"required": true,
"description": "The short name of the interactor which is usually used for visualizing an interactor in a network"
},
"organism": {
"type": "object",
"required": false,
"description": "Organism for this interactor.",
"properties": {
"common": {
"type": "string",
"required": false,
"description": "The common name or short name of the organism."
},
"scientific": {
"type": "string",
"required": false,
"description": "The scientific name of full name of the organism."
},
"taxid": {
"type": "number",
"required": true,
"description": "The uniprot taxonomy identifier for this organism. Can be -1 if in vitro, -2 if chemical synthesis, -3 if unknown, -4 if in vivo"
}
}
},
"sequence": {
"type": "string",
"required": false,
"description": "The sequence of nucleic acids/amino acids of this interactor if it is a nucleic acid/protein"
},
"type": {
"type": "object",
"required": true,
"description": "The interactor type. It is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0313&termName=interactor%20type",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The interactor type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0313&termName=interactor%20type"
},
"name": {
"type": "string",
"required": true,
"description": "The interactor type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0313&termName=interactor%20type"
}
}
}
}
}]
}
}
},
{
"type": "object",
"required": true,
"description": "An interaction object represents an interaction between one to many interactor instances (participants). It can be an interaction evidence (experiment is provided and is not inferred by curator) or a biological complex which can be then re-used as an interactor in another interaction (no experiment provided or experiment provided with inferred by curator).",
"properties": {
"experiment": {
"type": "object",
"required": false,
"description": "Experiment where this interaction has been detected. If the interaction detection method is inferred by curator, the interaction is probably a biological complex and not a real interaction evidence.",
"properties": {
"detmethod": {
"type": "object",
"required": true,
"description": "Interaction detection method. It is usually a term of the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0001&termName=interaction%20detection%20method",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The interaction detection method MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0001&termName=interaction%20detection%20method"
},
"name": {
"type": "string",
"required": true,
"description": "The interaction detection method unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0001&termName=interaction%20detection%20method"
}
}
},
"experimentModifications": {
"type": "array",
"required": false,
"description": "A list of experimental modifications done in a specific experiment.",
"items": [{
"type": "string",
"required": true,
"description": "The description of the experimental modification done in a specific experiment. It is a free text comment."
}]
},
"figures": {
"type": "array",
"required": false,
"description": "A list of figure legends.",
"items": [{
"type": "string",
"required": true,
"description": "The figure legend which illustrate this experiment in a scientific publication. It is a free text comment."
}]
},
"host": {
"type": "object",
"required": false,
"description": "The host organism where the interaction has been detected.",
"properties": {
"common": {
"type": "string",
"required": false,
"description": "The common name or short name of the organism."
},
"scientific": {
"type": "string",
"required": false,
"description": "The scientific name of full name of the organism."
},
"taxid": {
"type": "number",
"required": true,
"description": "The uniprot taxonomy identifier for this organism. Can be -1 if in vitro, -2 if chemical synthesis, -3 if unknown, -4 if in vivo"
},
"cellType": {
"type": "object",
"required": true,
"description": "The cell type of the host organism.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The cell type ontology identifier if one exists."
},
"name": {
"type": "string",
"required": true,
"description": "The cell type short name."
}
}
},
"tissue": {
"type": "object",
"required": true,
"description": "The source tissue of the host organism.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The source tissue ontology identifier if one exists."
},
"name": {
"type": "string",
"required": true,
"description": "The source tissue short name."
}
}
},
"compartment": {
"type": "object",
"required": true,
"description": "The subcellular compartment of the host organism.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The subcellular compartment ontology identifier if one exists."
},
"name": {
"type": "string",
"required": true,
"description": "The subcellular compartment type short name."
}
}
}
}
},
"pubid": {
"type": "array",
"required": false,
"description": "The list of publication identifiers where this experiment has been reported (pubmed, doi, imex, etc.).",
"items": [{
"type": "object",
"required": true,
"properties": {
"db": {
"type": "string",
"required": true,
"description": "The database name (usually pubmed, doi or imex). Most of the time, the name will match a term from the PSI-MI ontology http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0444&termName=database%20citation. It represents the unique PSI shortlabel for this database"
},
"id": {
"type": "string",
"required": true,
"description": "The database identifier/accession. It usually represents the primary accession of this object in a specific database."
}
}
}]
},
"sourceDatabase": {
"type": "object",
"required": false,
"description": "The institution/organisation which have curated and provided these experimental details. Most of the time, it is aterm of the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0461&termName=interaction%20database",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The institution MI identifier if it exists form the PSI-MI ontology http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0461&termName=interaction%20database."
},
"name": {
"type": "string",
"required": true,
"description": "The institution name. Most of the time, the name will match a term from the PSI-MI ontology http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0461&termName=interaction%20database. It represents the unique PSI shortlabel for this database"
}
}
}
}
},
"id": {
"type": "string",
"required": true,
"description": "Unique identifier for this interaction. For biological complexes, it is generated from the complex main database accession and for interaction evidences, it usually is the IMEx identifier or a automatically generated id"
},
"identifiers": {
"type": "array",
"required": false,
"description": "An list of database identifiers for this interaction.",
"items": [{
"type": "object",
"required": false,
"description": "A database identifier for this interaction. It usually can be used to link to interaction resources for more details.",
"properties": {
"db": {
"type": "string",
"required": true,
"description": "The database name. Most of the time, the name will match a term from the PSI-MI ontology http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0444&termName=database%20citation. It represents the unique PSI shortlabel for this database"
},
"id": {
"type": "string",
"required": true,
"description": "The database identifier/accession. It usually represents the primary accession of this object in a specific database."
}
}
}]
},
"interactionType": {
"type": "object",
"required": false,
"description": "The interaction type which is usually term from PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0190&termName=interaction%20type.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The interaction type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0190&termName=interaction%20type."
},
"name": {
"type": "string",
"required": true,
"description": "The interaction type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0190&termName=interaction%20type."
}
}
},
"object": {
"type": "string",
"required": true,
"description": "The object for an interaction or biological complex is always 'interaction'. It helps to distinguish interactors from interactions in the data array"
},
"participants": {
"type": "array",
"required": true,
"description": "The list of participants/interactor instances which are involved in this interaction.",
"items": [{
"type": "object",
"required": true,
"description": "Participant involved in this interaction. It represents an instance of the interactor/molecule within this interaction",
"properties": {
"bioRole": {
"type": "object",
"required": true,
"description": "Participant biological role which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0500&termName=biological%20role",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The biological role MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0500&termName=biological%20role."
},
"name": {
"type": "string",
"required": true,
"description": "The biological role unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0500&termName=biological%20role."
}
}
},
"expRole": {
"type": "object",
"required": false,
"description": "Participant experimental role (only for interaction evidences, not biological complexes) which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0495&termName=experimental%20role",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The experimental role MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0495&termName=experimental%20role."
},
"name": {
"type": "string",
"required": true,
"description": "The experimental role unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0495&termName=experimental%20role."
}
}
},
"identificationMethods": {
"type": "array",
"required": false,
"description": "List of participant identification methods if the participant is from an interaction evidence, not a biological complex. It is usually a term from PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0002&termName=participant%20identification%20method",
"items": [{
"type": "object",
"required": false,
"description": "Participant identification method (only for interaction evidences, not biological complexes) which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0002&termName=participant%20identification%20method",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The participant identification method MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0002&termName=participant%20identification%20method."
},
"name": {
"type": "string",
"required": true,
"description": "The participant identification method unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0002&termName=participant%20identification%20method."
}
}
}]
},
"expressedIn": {
"type": "object",
"required": false,
"description": "The host organism where the participant has been expressed in. It is only valid for interaction evidences and does not make sense for biological complexes.",
"properties": {
"common": {
"type": "string",
"required": false,
"description": "The common name or short name of the organism."
},
"scientific": {
"type": "string",
"required": false,
"description": "The scientific name of full name of the organism."
},
"taxid": {
"type": "number",
"required": true,
"description": "The uniprot taxonomy identifier for this organism. Can be -1 if in vitro, -2 if chemical synthesis, -3 if unknown, -4 if in vivo"
},
"cellType": {
"type": "object",
"required": true,
"description": "The cell type of the host organism.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The cell type ontology identifier if one exists."
},
"name": {
"type": "string",
"required": true,
"description": "The cell type short name."
}
}
},
"tissue": {
"type": "object",
"required": true,
"description": "The source tissue of the host organism.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The source tissue ontology identifier if one exists."
},
"name": {
"type": "string",
"required": true,
"description": "The source tissue short name."
}
}
},
"compartment": {
"type": "object",
"required": true,
"description": "The subcellular compartment of the host organism.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The subcellular compartment ontology identifier if one exists."
},
"name": {
"type": "string",
"required": true,
"description": "The subcellular compartment type short name."
}
}
}
}
},
"confidences": {
"type": "array",
"required": false,
"description": "List of experimental confidences for this participant. It does not make sense for biological complexes.",
"items": [{
"type": "object",
"required": true,
"description": "The experimental confidence determined fro this participant.",
"properties": {
"type": {
"type": "object",
"required": true,
"description": "Confidence type which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1064&termName=confidence",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The confidence type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1064&termName=confidence."
},
"name": {
"type": "string",
"required": true,
"description": "The confidence type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1064&termName=confidence."
}
}
},
"value": {
"type": "string",
"required": true,
"description": "Confidence value which is free text as it can be quantitative as qualitative."
}
}
}]
},
"parameters": {
"type": "array",
"required": false,
"description": "List of experimental parameters for this participant. It does not make sense for biological complexes.",
"items": [{
"type": "object",
"required": true,
"description": "The experimental parameter determined fro this participant.",
"properties": {
"type": {
"type": "object",
"required": true,
"description": "Parameter type which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The parameter type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type."
},
"name": {
"type": "string",
"required": true,
"description": "The parameter type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type."
}
}
},
"value": {
"type": "string",
"required": true,
"description": "Parameter value. (for instance 2x10^(-5))"
},
"unit": {
"type": "object",
"required": false,
"description": "Parameter unit which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The parameter unit MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit."
},
"name": {
"type": "string",
"required": true,
"description": "The parameter unit unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit."
}
}
}
}
}]
},
"id": {
"type": "integer",
"required": true,
"description": "Unique identifier for this participant/interactor instance."
},
"interactorRef": {
"type": "string",
"required": true,
"description": "Interactor id reference for this participant. It points to the id of an interactor described in this data array."
},
"features": {
"type": "array",
"required": false,
"description": "List of features attached to this participant.",
"items": [{
"type": "object",
"required": true,
"description": "The feature attached to this participant (tag, etc.). See the PSI-MI ontology for all types of features: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0116&termName=feature%20type",
"properties": {
"id": {
"type": "integer",
"required": true,
"description": "Unique identifier for this feature instance."
},
"name": {
"type": "string",
"required": false,
"description": "The feature short name."
},
"sequenceData": {
"type": "array",
"required": true,
"description": "The list of feature sequence ranges.",
"items": [{
"type": "object",
"required": true,
"properties": {
"interactorRef": {
"type": "string",
"required": true,
"description": "The id of the interactor/molecule this feature is referring to."
},
"participantRef": {
"type": "integer",
"required": true,
"description": "The id of the interactor instance/participant this feature belongs to.."
},
"pos": {
"type": "string",
"required": true,
"description": "The sequence positions. If the sequence positions are unknown, they are encoded with ?-?. If the positions are n-terminal range, they are encoded with n-n. If the positions are C terminal range, they are encoded with c-c. If the positions are fuzzy, they are encoded with x1..x2-x3..x4."
}
}
}]
},
"detMethods": {
"type": "array",
"required": false,
"description": "List of feature detection methods if the feature is from an interaction evidence, not a biological complex. It is usually a term from PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0003&termName=feature%20detection%20method",
"items": [{
"type": "object",
"required": false,
"description": "Feature detection method (only for interaction evidences, not biological complexes) which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0003&termName=feature%20detection%20method",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The feature detection method MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0003&termName=feature%20detection%20method."
},
"name": {
"type": "string",
"required": true,
"description": "The feature detection method unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0003&termName=feature%20detection%20method."
}
}
}]
},
"parameters": {
"type": "array",
"required": false,
"description": "List of experimental parameters for this feature. It does not make sense for biological complexes.",
"items": [{
"type": "object",
"required": true,
"description": "The experimental parameter determined fro this feature.",
"properties": {
"type": {
"type": "object",
"required": true,
"description": "Parameter type which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The parameter type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type."
},
"name": {
"type": "string",
"required": true,
"description": "The parameter type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type."
}
}
},
"value": {
"type": "string",
"required": true,
"description": "Parameter value. (for instance 2x10^(-5))"
},
"unit": {
"type": "object",
"required": false,
"description": "Parameter unit which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The parameter unit MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit."
},
"name": {
"type": "string",
"required": true,
"description": "The parameter unit unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit."
}
}
}
}
}]
},
"linkedFeatures": {
"type": "array",
"required": false,
"description": "List of feature ids this feature is linked to.",
"items": [{
"type": "integer",
"required": true,
"description": "The feature id of the feature which is linked to the parent feature."
}]
},
"type": {
"type": "object",
"required": true,
"description": "Feature type which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0116&termName=feature%20type",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The feature type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0116&termName=feature%20type."
},
"name": {
"type": "string",
"required": true,
"description": "The feature type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0116&termName=feature%20type."
}
}
},
"category": {
"type": "string",
"required": false,
"description": "Category of feature, e.g. bindingSite, otherFeatures, experimentalFeature, ptm"
},
"role": {
"type": "object",
"required": true,
"description": "Feature role which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0925&termName=observed%20ptm",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The feature role MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0925&termName=observed%20ptm."
},
"name": {
"type": "string",
"required": true,
"description": "The feature role unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0925&termName=observed%20ptm."
}
}
},
"InterPro": {
"type": "string",
"required": false,
"description": "The InterPro identifier which identifies this feature."
}
}
}]
}
}
}]
},
"confidences": {
"type": "array",
"required": false,
"description": "List of experimental confidences for this interaction. It does not make sense for biological complexes.",
"items": [{
"type": "object",
"required": true,
"description": "The experimental confidence determined fro this interaction.",
"properties": {
"type": {
"type": "object",
"required": true,
"description": "Confidence type which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1064&termName=confidence",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The confidence type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1064&termName=confidence."
},
"name": {
"type": "string",
"required": true,
"description": "The confidence type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1064&termName=confidence."
}
}
},
"value": {
"type": "string",
"required": true,
"description": "Confidence value which is free text as it can be quantitative as qualitative."
}
}
}]
},
"parameters": {
"type": "array",
"required": false,
"description": "List of experimental parameters for this interaction. It does not make sense for biological complexes.",
"items": [{
"type": "object",
"required": true,
"description": "The experimental parameter determined fro this interaction.",
"properties": {
"type": {
"type": "object",
"required": true,
"description": "Parameter type which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The parameter type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type."
},
"name": {
"type": "string",
"required": true,
"description": "The parameter type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0640&termName=parameter%20type."
}
}
},
"value": {
"type": "string",
"required": true,
"description": "Parameter value. (for instance 2x10^(-5))"
},
"unit": {
"type": "object",
"required": false,
"description": "Parameter unit which is usually a term from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The parameter unit MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit."
},
"name": {
"type": "string",
"required": true,
"description": "The parameter unit unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A0647&termName=parameter%20unit."
}
}
}
}
}]
},
"organism": {
"type": "object",
"required": false,
"description": "Organism for this biological complex. This is only provided when the interaction is a biological complex",
"properties": {
"common": {
"type": "string",
"required": false,
"description": "The common name or short name of the organism."
},
"scientific": {
"type": "string",
"required": false,
"description": "The scientific name of full name of the organism."
},
"taxid": {
"type": "number",
"required": true,
"description": "The uniprot taxonomy identifier for this organism. Can be -1 if in vitro, -2 if chemical synthesis, -3 if unknown, -4 if in vivo"
}
}
},
"evidenceType": {
"type": "object",
"required": false,
"description": "The biological complex evidence type which is usually term from ECO ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=ECO.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The evidence type identifier from the ECO ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=ECO."
},
"name": {
"type": "string",
"required": true,
"description": "The evidence type short name from the ECO ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=ECO."
}
}
},
"complexType": {
"type": "object",
"required": false,
"description": "The complex type (only if the interaction is a biological complex) which is usually term from PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1298&termName=complex%20type.",
"properties": {
"id": {
"type": "string",
"required": false,
"description": "The complex type MI identifier from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1298&termName=complex%20type."
},
"name": {
"type": "string",
"required": true,
"description": "The complex type unique short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1298&termName=complex%20type."
}
}
},
"expansion": {
"type": "object",
"required": false,
"description": "The complex expansion method use to explode a n-ary interaction in n-1 binary interactions. It does not make sense for biological complexes. It is usually a term of the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1059&termName=complex%20expansion",
"properties": {
"id": {
"type": "integer",
"required": false,
"description": "The complex expansion id which is unique per expanded n-ary interactions. It helps to detect all binary pairs that were part of the same n-ary interaction."
},
"name": {
"type": "string",
"required": true,
"description": "The complex expansion method short name from the PSI-MI ontology: http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=MI&termId=MI%3A1059&termName=complex%20expansion."
}
}
}
}
}
]
}
}
}