You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entity-api-spec.yaml
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -455,10 +455,18 @@ components:
455
455
- snrnaseq
456
456
- tissue_lysate
457
457
- wgs
458
-
description: "A code representing the type of specimen. Must be one of the codes specified in: [tissue sample types](https://github.com/hubmapconsortium/search-api/blob/main/src/search-schema/data/definitions/enums/tissue_sample_types.yaml)"
458
+
description: "DEPRECATED: No longer a required field. A code representing the type of specimen. Must be one of the codes specified in: [tissue sample types](https://github.com/hubmapconsortium/search-api/blob/main/src/search-schema/data/definitions/enums/tissue_sample_types.yaml)"
459
459
specimen_type_other:
460
460
type: string
461
461
description: "The user provided sample type if the 'other' sample_type is chosen."
462
+
sample_category:
463
+
type: string
464
+
enum:
465
+
- organ
466
+
- block
467
+
- section
468
+
- suspension
469
+
description: "A code representing the category of the specimen. Must be one of organ|block|section|suspension. This is a required field. If set to `organ`, the organ property must be provided as well."
462
470
protocol_url:
463
471
type: string
464
472
description: "The protocols.io doi url pointing the protocol under wich the sample was obtained and/or prepared."
@@ -506,7 +514,7 @@ components:
506
514
- TR
507
515
- UR
508
516
- UT
509
-
description: "Organ code specifier, only set if sample_type == organ. Valid values found in: [organ types](https://github.com/hubmapconsortium/search-api/blob/main/src/search-schema/data/definitions/enums/organ_types.yaml)"
517
+
description: "Organ code specifier, only set if sample_category == organ. Valid values found in: [organ types](https://github.com/hubmapconsortium/search-api/blob/main/src/search-schema/data/definitions/enums/organ_types.yaml)"
510
518
organ_other:
511
519
type: string
512
520
description: The organ type provided by the user if "other" organ type is selected
@@ -1989,7 +1997,7 @@ paths:
1989
1997
description: the hubmap_id of the unpublished dataset
1990
1998
organ:
1991
1999
type: string
1992
-
description: the organ type of the sample with specimen_type organ above the unpublished dataset if applicable
2000
+
description: the organ type of the sample with sample_category organ above the unpublished dataset if applicable
1993
2001
organization:
1994
2002
type: string
1995
2003
description: the group_name of the unpublished dataset
0 commit comments