Skip to content

Commit 1bd8fe2

Browse files
updated link definition in docs
1 parent 6108627 commit 1bd8fe2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/gen3_data_modelling/links.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ links:
5252
backref: lipidomics_files
5353
label: data_from
5454
target_type: sample
55-
multiplicity: many_to_many
55+
multiplicity: one_to_many
5656
required: false
5757
```
58-
The `multiplicity` of `many_to_many` allows for a single file to be associated with multiple samples, and it also allows a single sample to be associated with multiple lipidomics files. The link is optional because `required` is `false`. In other words: "A lipidomics file can come from multiple samples, and a sample can be linked to many lipidomics files."
58+
The `multiplicity` of `one_to_many` allows for a single lipidomics file to be associated with multiple samples. The link is optional because `required` is `false`. In other words: "A lipidomics file can come from multiple samples, or multiple samples are linked with a single lipidomics file."
5959

6060

6161
# Advanced Linking with Subgroups

tests/gen3_schema/examples/yaml/lipidomics_file.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ links:
2424
backref: lipidomics_files
2525
label: data_from
2626
target_type: sample
27-
multiplicity: many_to_many
27+
multiplicity: one_to_many
2828
required: false
2929
- name: core_metadata_collections
3030
backref: lipidomics_files

0 commit comments

Comments
 (0)