Skip to content

Commit

Permalink
define object for repertoires array
Browse files Browse the repository at this point in the history
  • Loading branch information
schristley committed Nov 26, 2024
1 parent f52ea07 commit 3b4bf86
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 40 deletions.
43 changes: 23 additions & 20 deletions specs/airr-schema-openapi3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
43 changes: 23 additions & 20 deletions specs/airr-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 3b4bf86

Please sign in to comment.