Skip to content

Commit 91b3cc5

Browse files
committed
Merge remote-tracking branch 'origin/master' into mcq
2 parents 4267ea6 + 0b03f8e commit 91b3cc5

1 file changed

Lines changed: 35 additions & 10 deletions

File tree

cohd/TRAPI15.yaml

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ info:
1717
[Athena](http://athena.ohdsi.org) (OMOP vocabularies, search, concept relationships, concept hierarchy)
1818
[Atlas](http://www.ohdsi.org/web/atlas/) (OMOP vocabularies, search, concept relationships, concept hierarchy,
1919
concept sets)
20-
version: 6.4.1
20+
version: 6.5.0
2121
title: COHD TRAPI
2222
contact:
2323
name: Casey Ta
@@ -42,7 +42,9 @@ info:
4242
production/x-translator/
4343
x-trapi:
4444
version: 1.5.0
45+
multicuriequery: true
4546
asyncquery: false
47+
pathfinderquery: false
4648
operations:
4749
- lookup_and_score
4850
batch_size_limit: 100
@@ -55,9 +57,9 @@ info:
5557
production/x-trapi/
5658
test_data_location: "https://raw.githubusercontent.com/WengLab-InformaticsResearch/cohd_api/master/cohd/translator/sri_testing_triples.json"
5759
servers:
58-
# - url: 'https://cohd-api.transltr.io/api'
59-
# description: COHD ITRB Production Server
60-
# x-maturity: production
60+
- url: 'https://cohd-api.transltr.io/api'
61+
description: COHD ITRB Production Server
62+
x-maturity: production
6163
- url: 'https://cohd-api.test.transltr.io/api'
6264
description: COHD ITRB Test Server
6365
x-maturity: testing
@@ -603,7 +605,7 @@ components:
603605
items:
604606
$ref: '#/components/schemas/NodeBinding'
605607
minItems: 1
606-
nullable: false
608+
nullable: false
607609
analyses:
608610
type: array
609611
description: >-
@@ -612,7 +614,7 @@ components:
612614
items:
613615
$ref: '#/components/schemas/Analysis'
614616
minItems: 0
615-
nullable: false
617+
nullable: false
616618
additionalProperties: true
617619
required:
618620
- node_bindings
@@ -854,8 +856,20 @@ components:
854856
items:
855857
$ref: '#/components/schemas/CURIE'
856858
minItems: 1
857-
example: [OMIM:603903]
858-
description: CURIE identifier for this node
859+
example: ["OMIM:603903"]
860+
description: >-
861+
A CURIE identifier (or list of identifiers) for this node.
862+
The 'ids' field will hold a list of CURIEs only in the case of a
863+
BATCH set_interpretation, where each CURIE is queried
864+
separately. If a list of queried CURIEs is to be considered as a
865+
set (as under a MANY or ALL set_interpretation), the 'ids' field
866+
will hold a single id representing this set, and the individual members
867+
of this set will be captured in a separate 'member_ids' field.
868+
Note that the set id MUST be created as a UUID by the system that
869+
defines the queried set, using a centralized nodenorm service.
870+
Note also that downstream systems MUST re-use the original set UUID
871+
in the messages they create/send, which will facilitate merging or
872+
caching operations.
859873
nullable: true
860874
categories:
861875
type: array
@@ -883,6 +897,17 @@ components:
883897
- ALL
884898
- MANY
885899
nullable: true
900+
member_ids:
901+
type: array
902+
description: >-
903+
A list of CURIE identifiers for members of a queried set. This
904+
field MUST be populated under a set_interpretation of MANY
905+
or ALL, when the 'ids' field holds a UUID representing the set
906+
itself. This field MUST NOT be used under a set_interpretation
907+
of BATCH.
908+
nullable: true
909+
items:
910+
$ref: '#/components/schemas/CURIE'
886911
constraints:
887912
type: array
888913
description: >-
@@ -1003,7 +1028,7 @@ components:
10031028
Indicates that the node represents a set of entities.
10041029
If this property is missing or null, it is assumed to be
10051030
false.
1006-
nullable: true
1031+
nullable: true
10071032
required:
10081033
- categories
10091034
- attributes
@@ -1550,7 +1575,7 @@ components:
15501575
an Edge provided by the ARAGORN ARA can expressing knowledge it
15511576
retrieved from both the automat-mychem-info and molepro KPs,
15521577
which both provided it with records of this single fact.
1553-
example: [infores:automat-mychem-info, infores:molepro]
1578+
example: ["infores:automat-mychem-info", "infores:molepro"]
15541579
source_record_urls:
15551580
type: array
15561581
nullable: true

0 commit comments

Comments
 (0)