Skip to content

Commit

Permalink
Merge branch 'issue-588-biosample-keys-only' into issue-672-cumulativ…
Browse files Browse the repository at this point in the history
…e-post-cc

cumulative merge
  • Loading branch information
turbomam committed Jan 27, 2023
2 parents 07bcddf + 2db2eeb commit 382f594
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/schema/nmdc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@ classes:

Biosample:

unique_keys:
samp_name_unique_key:
notes:
- "id is already required to be unique because it is the identifier in Biosample's parent class, NamedThing. Remember, notes like this could be exposed to end users. CJM suggested YAML # comment"
unique_key_slots:
- samp_name

is_a: MaterialEntity
in_subset:
- sample subset
Expand Down

0 comments on commit 382f594

Please sign in to comment.