1
1
openapi : 3.0.1
2
2
info :
3
3
description : Molecular Data Provider for NCATS Biomedical Translator
4
- version : 1.2.0 .0
4
+ version : 1.2.1 .0
5
5
title : Molecular Data Provider for NCATS Biomedical Translator
6
6
contact :
7
7
@@ -23,10 +23,11 @@ info:
23
23
url : https://github.com/NCATSTranslator/translator_extensions/blob/\
24
24
production/x-translator/
25
25
x-trapi :
26
- version : 1.2.0
26
+ version : 1.2.1
27
27
asyncquery : false
28
28
operations :
29
29
- lookup
30
+ - annotate_nodes
30
31
externalDocs :
31
32
description : >-
32
33
The values for version are restricted according to the regex in
@@ -187,27 +188,31 @@ components:
187
188
nullable : true
188
189
workflow :
189
190
description : List of workflow steps to be executed.
190
- type : array
191
- items :
192
- type : object
193
- properties :
194
- id :
195
- type : string
191
+ allOf :
192
+ - $ref : http://standards.ncats.io/workflow/1.0.0/schema
193
+ nullable : true
194
+ submitter :
195
+ type : string
196
+ description : >-
197
+ Any string for self-identifying the submitter of a query. The
198
+ purpose of this optional field is to aid in the tracking of
199
+ the source of queries for development and issue resolution.
200
+ nullable : true
196
201
additionalProperties : true
197
202
example :
198
203
message :
199
204
query_graph :
200
205
edges :
201
206
e00 :
202
207
subject : n00
203
- predicate : ' biolink:affects'
208
+ predicates : [ 'biolink:affects']
204
209
object : n01
205
210
nodes :
206
211
n00 :
207
- id : ' PUBCHEM.COMPOUND:2244'
208
- category : ' biolink:ChemicalSubstance '
212
+ ids : [ 'PUBCHEM.COMPOUND:2244']
213
+ categories : [ 'biolink:SmallMolecule']
209
214
n01 :
210
- category : ' biolink:Gene'
215
+ categories : [ 'biolink:Gene']
211
216
required :
212
217
- message
213
218
AsyncQuery :
@@ -245,12 +250,16 @@ components:
245
250
nullable : true
246
251
workflow :
247
252
description : List of workflow steps to be executed.
248
- type : array
249
- items :
250
- type : object
251
- properties :
252
- id :
253
- type : string
253
+ allOf :
254
+ - $ref : http://standards.ncats.io/workflow/1.0.0/schema
255
+ nullable : true
256
+ submitter :
257
+ type : string
258
+ description : >-
259
+ Any string for self-identifying the submitter of a query. The
260
+ purpose of this optional field is to aid in the tracking of
261
+ the source of queries for development and issue resolution.
262
+ nullable : true
254
263
additionalProperties : true
255
264
required :
256
265
- callback
@@ -291,12 +300,9 @@ components:
291
300
nullable : true
292
301
workflow :
293
302
description : List of workflow steps that were executed.
294
- type : array
295
- items :
296
- type : object
297
- properties :
298
- id :
299
- type : string
303
+ allOf :
304
+ - $ref : http://standards.ncats.io/workflow/1.0.0/schema
305
+ nullable : true
300
306
additionalProperties : true
301
307
required :
302
308
- message
@@ -421,6 +427,7 @@ components:
421
427
A numerical score associated with this result indicating the
422
428
relevance or confidence of this result relative to others in the
423
429
returned set. Higher MUST be better.
430
+ nullable : true
424
431
additionalProperties : true
425
432
required :
426
433
- node_bindings
@@ -561,18 +568,18 @@ components:
561
568
to AND)
562
569
items :
563
570
$ref : ' #/components/schemas/QueryConstraint'
564
- nullable : true
571
+ default : []
565
572
additionalProperties : true
566
573
QEdge :
567
574
type : object
568
575
description : >-
569
576
An edge in the QueryGraph used as an filter pattern specification in a
570
- query. If optional predicate or relation properties are not specified,
571
- they are assumed to be wildcard matches to the target knowledge space.
577
+ query. If the optional predicate property is not specified,
578
+ it is assumed to be a wildcard match to the target knowledge space.
572
579
If specified, the ontological inheritance hierarchy associated with
573
- the terms provided is assumed, such that edge bindings returned may be
574
- an exact match to the given QEdge predicate or relation term ('class') ,
575
- or to a term which is a subclass of the QEdge specified term.
580
+ the term provided is assumed, such that edge bindings returned may be
581
+ an exact match to the given QEdge predicate term,
582
+ or to a term that is a descendant of the QEdge predicate term.
576
583
properties :
577
584
predicates :
578
585
type : array
@@ -602,7 +609,7 @@ components:
602
609
to AND)
603
610
items :
604
611
$ref : ' #/components/schemas/QueryConstraint'
605
- nullable : true
612
+ default : []
606
613
additionalProperties : true
607
614
required :
608
615
- subject
@@ -879,7 +886,9 @@ components:
879
886
for which the predicate is the most specific available.
880
887
items :
881
888
$ref : ' #/components/schemas/MetaEdge'
882
- minItems : 1
889
+ required :
890
+ - nodes
891
+ - edges
883
892
MetaNode :
884
893
type : object
885
894
description : >-
@@ -900,6 +909,7 @@ components:
900
909
Node attributes provided by this TRAPI web service.
901
910
items :
902
911
$ref : ' #/components/schemas/MetaAttribute'
912
+ nullable : true
903
913
required :
904
914
- id_prefixes
905
915
additionalProperties : false
@@ -930,6 +940,7 @@ components:
930
940
Edge attributes provided by this TRAPI web service.
931
941
items :
932
942
$ref : ' #/components/schemas/MetaAttribute'
943
+ nullable : true
933
944
required :
934
945
- subject
935
946
- predicate
@@ -949,12 +960,15 @@ components:
949
960
description : >-
950
961
Source of an attribute provided by this TRAPI web service.
951
962
example : infores:chembl
963
+ nullable : true
952
964
original_attribute_names :
953
965
type : array
954
966
items :
955
967
type : string
956
968
description : >-
957
969
Names of an the attribute as provided by the source.
970
+ nullable : true
971
+ minItems : 1
958
972
constraint_use :
959
973
type : boolean
960
974
description : >-
@@ -967,6 +981,7 @@ components:
967
981
Human-readable name or label for the constraint concept.
968
982
Required whenever constraint_use is true.
969
983
example : p-value
984
+ nullable : true
970
985
required :
971
986
- attribute_type_id
972
987
QueryConstraint :
@@ -985,7 +1000,6 @@ components:
985
1000
submit the new type for consideration by the appropriate
986
1001
authority.
987
1002
example : EDAM:data_0844
988
- nullable : false
989
1003
name :
990
1004
type : string
991
1005
description : >-
@@ -994,7 +1008,6 @@ components:
994
1008
as the 'id'. This is redundant but required for human
995
1009
readability.
996
1010
example : molecular mass
997
- nullable : false
998
1011
not :
999
1012
type : boolean
1000
1013
default : false
@@ -1035,6 +1048,7 @@ components:
1035
1048
property. The Units of Measurement Ontology (UO) should be used
1036
1049
if possible. The unit_id MUST be provided for (lists of)
1037
1050
numerical values that correspond to a quantity that has units.
1051
+ nullable : true
1038
1052
unit_name :
1039
1053
example : kilodalton
1040
1054
description : >-
@@ -1043,6 +1057,7 @@ components:
1043
1057
property. The Units of Measurement Ontology (UO) SHOULD be used
1044
1058
if possible. This property SHOULD be provided if a unit_id is
1045
1059
provided. This is redundant but recommended for human readability.
1060
+ nullable : true
1046
1061
required :
1047
1062
- name
1048
1063
- id
0 commit comments