From 3b4bf8695eec394226bd3f6598988ae90c14aa9a Mon Sep 17 00:00:00 2001 From: Scott Christley Date: Tue, 26 Nov 2024 12:31:04 -0600 Subject: [PATCH] define object for repertoires array --- specs/airr-schema-openapi3.yaml | 43 ++++++++++++++++++--------------- specs/airr-schema.yaml | 43 ++++++++++++++++++--------------- 2 files changed, 46 insertions(+), 40 deletions(-) diff --git a/specs/airr-schema-openapi3.yaml b/specs/airr-schema-openapi3.yaml index adae70d0..439a0378 100644 --- a/specs/airr-schema-openapi3.yaml +++ b/specs/airr-schema-openapi3.yaml @@ -3245,6 +3245,28 @@ Repertoire: adc-query-support: true # A collection of repertoires for analysis purposes, includes optional time course +RepertoireGroupDetail: + type: object + properties: + repertoire_id: + type: string + nullable: false + description: Identifier to the repertoire + x-airr: + adc-query-support: true + repertoire_description: + type: string + nullable: true + description: Description of this repertoire within the group + x-airr: + adc-query-support: true + time_point: + $ref: '#/TimePoint' + nullable: true + description: Time point designation for this repertoire within the group + x-airr: + adc-query-support: true + RepertoireGroup: type: object required: @@ -3271,26 +3293,7 @@ RepertoireGroup: description: > List of repertoires in this collection with an associated description and time point designation items: - type: object - properties: - repertoire_id: - type: string - nullable: false - description: Identifier to the repertoire - x-airr: - adc-query-support: true - repertoire_description: - type: string - nullable: true - description: Description of this repertoire within the group - x-airr: - adc-query-support: true - time_point: - $ref: '#/TimePoint' - nullable: true - description: Time point designation for this repertoire within the group - x-airr: - adc-query-support: true + $ref: '#/RepertoireGroupDetail' Alignment: type: object diff --git a/specs/airr-schema.yaml b/specs/airr-schema.yaml index ff986359..5c69f4d2 100644 --- a/specs/airr-schema.yaml +++ b/specs/airr-schema.yaml @@ -3143,6 +3143,28 @@ Repertoire: adc-query-support: true # A collection of repertoires for analysis purposes, includes optional time course +RepertoireGroupDetail: + type: object + properties: + repertoire_id: + type: string + description: Identifier to the repertoire + x-airr: + nullable: false + adc-query-support: true + repertoire_description: + type: string + description: Description of this repertoire within the group + x-airr: + nullable: true + adc-query-support: true + time_point: + $ref: '#/TimePoint' + description: Time point designation for this repertoire within the group + x-airr: + nullable: true + adc-query-support: true + RepertoireGroup: type: object required: @@ -3165,26 +3187,7 @@ RepertoireGroup: description: > List of repertoires in this collection with an associated description and time point designation items: - type: object - properties: - repertoire_id: - type: string - description: Identifier to the repertoire - x-airr: - nullable: false - adc-query-support: true - repertoire_description: - type: string - description: Description of this repertoire within the group - x-airr: - nullable: true - adc-query-support: true - time_point: - $ref: '#/TimePoint' - description: Time point designation for this repertoire within the group - x-airr: - nullable: true - adc-query-support: true + $ref: '#/RepertoireGroupDetail' Alignment: