Skip to content

Commit

Permalink
Alternative support for qualifiers
Browse files Browse the repository at this point in the history
Alternative to #325, based on discussion in #325
  • Loading branch information
edeutsch authored May 5, 2022
1 parent 85fefd4 commit 49949b4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions TranslatorReasonerAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -784,10 +784,44 @@ components:
items:
$ref: '#/components/schemas/Attribute'
nullable: true
qualifiers:
type: array
description: >-
A list of qualifiers that provide additional detailed nuance
to the assertion beyond what the subject-predicate-object can
provide.
items:
$ref: '#/components/schemas/Qualifier'
nullable: true
additionalProperties: false
required:
- subject
- object
Qualifier:
description: >-
An additional nuance attached to an assertion
type: object
properties:
type:
type: string
description: >-
The category of the qualifier, drawn from a hierarchy qualifier
slots in the Biolink model (e.g. subject_aspect, subject_direction,
object_aspect, object_direction, etc).
example: subject_aspect
nullable: false
value:
type: string
description: >-
The value associated with the type of the qualifier, drawn from
a set of controlled values specified by the type, as specified in
in the Biolink model (e.g. 'decreased' or 'increased' for the type
subject_direction, etc).
example: decreased
nullable: false
required:
- type
- value
BiolinkEntity:
description: >-
Compact URI (CURIE) for a Biolink class, biolink:NamedThing
Expand Down

0 comments on commit 49949b4

Please sign in to comment.