Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sources field to MetaEdge so that infores identifiers are returne… #430

Open
wants to merge 3 commits into
base: 1.4
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions TranslatorReasonerAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,8 @@ components:
about how a particular Information Resource served
as a source from which the knowledge expressed in an Edge,
or data used to generate this knowledge, was retrieved.
Every Edge must have at least one RetrievalSource object
in this sources list with resource_role = 'primary_knowledge_source'.
items:
$ref: '#/components/schemas/RetrievalSource'
minItems: 1
Expand Down Expand Up @@ -1313,6 +1315,18 @@ components:
correctly.
example: 'biolink:ChemicalToGeneAssociation'
$ref: '#/components/schemas/BiolinkEntity'
sources:
type: array
description: >-
A list of RetrievalSource objects that provide information
about how a particular Information Resource served
as a source from which the knowledge expressed in an Edge,
or data used to generate this knowledge, was retrieved.
Every MetaEdge must have at least one RetrievalSource object
in this sources list with resource_role = 'primary_knowledge_source'.
items:
$ref: '#/components/schemas/RetrievalSource'
nullable: true
required:
- subject
- predicate
Expand Down