diff --git a/TranslatorReasonerAPI.yaml b/TranslatorReasonerAPI.yaml index 436f833f..ae99dd26 100644 --- a/TranslatorReasonerAPI.yaml +++ b/TranslatorReasonerAPI.yaml @@ -645,8 +645,10 @@ components: generation of the score). properties: resource_id: - $ref: '#/components/schemas/CURIE' + oneOf: + - $ref: '#/components/schemas/CURIE' description: The id of the resource generating this Analysis + nullable: false score: type: number format: float @@ -669,6 +671,8 @@ components: type: array items: $ref: '#/components/schemas/EdgeBinding' + minItems: 1 + nullable: false support_graphs: type: array description: >- @@ -676,9 +680,10 @@ components: that supported the analysis of a Result as performed by the reasoning service. Each item in the list is the key of a single Auxiliary Graph. - nullable: true + nullable: false items: type: string + minItems: 0 scoring_method: type: string description: >- @@ -691,11 +696,14 @@ components: The attributes of this particular Analysis. items: $ref: '#/components/schemas/Attribute' - nullable: true + minItems: 0 + nullable: false additionalProperties: true required: - resource_id - edge_bindings + - support_graphs + - attributes EdgeBinding: type: object description: >-