Skip to content
Draft
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
eebdb15
Additional columns for participants.tsv file to cover animal data
ree-gupta May 27, 2024
e6f4325
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 27, 2024
793a6d8
Modified age_type requirement level and rearranged columns
ree-gupta May 27, 2024
95804e4
Merge branch 'master' of https://github.com/ree-gupta/bids-specification
ree-gupta May 27, 2024
2f6531b
Update src/schema/objects/columns.yaml
ree-gupta Sep 18, 2024
bb04dc4
Update src/schema/objects/enums.yaml
ree-gupta Sep 18, 2024
8612a98
Applied changes to column definitions and their requirement levels
ree-gupta Mar 17, 2025
cfca31d
Added enum listings for participant age specification
ree-gupta Mar 17, 2025
c558d50
Added enums to columns object for age and lifecycle_stage
ree-gupta Mar 17, 2025
ae2ecab
Apply suggestions from description review
ree-gupta Mar 18, 2025
5135dd4
Apply suggestions from code review
ree-gupta Mar 19, 2025
edbd4b5
Move age_reference from columns definition to metadata definition
ree-gupta Apr 14, 2025
f9e5f68
Add rule for AgeReference in participants.json
ree-gupta Apr 14, 2025
1ad25d4
Merge remote-tracking branch 'origin/master' into pr-1839
yarikoptic May 21, 2025
33895b0
RF: move life_cycle_staget in alphabetical order
yarikoptic May 21, 2025
30f6ec0
ENH: add conditioning recommended by @effigies for AgeReference
yarikoptic May 21, 2025
86ffb22
Remove start_of_death_stage from AgeReference etc + typo fix
yarikoptic May 21, 2025
e7c02b2
Replace bad latin "e.g."
yarikoptic May 21, 2025
f0547cd
Merge branch 'master' into master
effigies May 21, 2025
9aedef1
Update src/schema/objects/columns.yaml
bendichter Jun 12, 2025
761dd5d
Update columns.yaml
lzehl Jun 12, 2025
46cdce4
Update enums.yaml
lzehl Jun 12, 2025
31a72fc
Update metadata.yaml
lzehl Jun 12, 2025
13bbb47
Update columns.yaml
lzehl Jun 12, 2025
b7cbbb9
Update columns.yaml
lzehl Jun 12, 2025
00fb641
Merge branch 'master' into master
lzehl Jun 12, 2025
66b6db0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 12, 2025
0954ee5
Update src/schema/objects/columns.yaml
bendichter Jun 12, 2025
b80dbbb
Update src/schema/objects/columns.yaml
lzehl Jun 12, 2025
193d498
Update src/schema/objects/columns.yaml
bendichter Jun 12, 2025
6a3d382
Update src/schema/objects/columns.yaml
bendichter Jun 12, 2025
f6c4648
Update src/schema/rules/tabular_data/modality_agnostic.yaml
bendichter Jun 12, 2025
d3a22a7
Update src/schema/objects/columns.yaml
bendichter Jun 12, 2025
fc20daf
Update src/schema/objects/columns.yaml
lzehl Jun 12, 2025
e784589
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 12, 2025
e3e0349
Update src/schema/rules/tabular_data/modality_agnostic.yaml
bendichter Jun 12, 2025
31a9cfb
Update src/schema/rules/tabular_data/modality_agnostic.yaml
bendichter Jun 12, 2025
9efd17c
Update src/schema/rules/tabular_data/modality_agnostic.yaml
bendichter Jun 12, 2025
fdc1cc7
Update src/schema/objects/columns.yaml
lzehl Jun 12, 2025
1e775de
Update src/schema/rules/tabular_data/modality_agnostic.yaml
bendichter Jun 12, 2025
ae7b7cf
Merge branch 'bids-standard:master' into master
ree-gupta Jul 30, 2025
28a064f
Update columns.yaml
lzehl Sep 3, 2025
7437e04
Update enums.yaml
lzehl Sep 3, 2025
5610b3d
Update metadata.yaml
lzehl Sep 3, 2025
d39b191
Update metadata.yaml
lzehl Sep 3, 2025
e0aea95
Update enums.yaml
lzehl Sep 3, 2025
3d955e9
Merge branch 'master' into master
ree-gupta Sep 4, 2025
478ccc7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2025
a7a31a3
Merge branch 'bids-standard:master' into master
ree-gupta Sep 8, 2025
a308042
Merge remote-tracking branch 'upstream/master'
ree-gupta Sep 8, 2025
285931c
Merge branch 'master' of https://github.com/ree-gupta/bids-specification
ree-gupta Sep 8, 2025
332fd0b
Merge branch 'master' into master
ree-gupta Sep 26, 2025
20d1230
Merge branch 'bids-standard:master' into master
ree-gupta Oct 1, 2025
bb3513c
Make the defintion of age have a more specific attribute AgeReference
ree-gupta Oct 1, 2025
b6a5b37
Switch from a time period term gestation to temporal boundary term LM…
ree-gupta Oct 1, 2025
c739904
Update AgeReference enum to include LMP_Startdate
ree-gupta Oct 1, 2025
43c52fc
Modify the value and display_name to match convention
ree-gupta Oct 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions src/schema/objects/columns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,44 @@ age:
for privacy purposes.
type: number
unit: year
life_cycle_stage:
name: life cycle stage
display_name: life cycle stage
description: |
A non-numeric life cycle stage (e.g., 'adult stage'), inspired by the
[UBERON life cycle stage](http://purl.obolibrary.org/obo/UBERON_0000105).
type: string
enum:
- $ref: objects.enums.adolescent.value
- $ref: objects.enums.adult.value
- $ref: objects.enums.embryo.value
- $ref: objects.enums.infant.value
- $ref: objects.enums.juvenile.value
- $ref: objects.enums.late_adult.value
- $ref: objects.enums.neonate.value
- $ref: objects.enums.perinatal.value
- $ref: objects.enums.prime_adult.value
- $ref: objects.enums.young_adult.value
age_reference:
name: age reference
display_name: age reference
description: |
Non-numeric life cycle point of an organism that serves as reference for
the numeric age information.
type: string
enum:
- $ref: objects.enums.start_of_embryo_stage.value
- $ref: objects.enums.start_of_gestational_stage.value
- $ref: objects.enums.start_of_neonate_stage.value
- $ref: objects.enums.end_of_adult_stage.value
birthdate:
name: birthdate
display_name: birthdate
description: |
Date of birth (start point of the neonate stage) of the subject. Datetime format.
Should not be provided or anonymized for human subjects.
type: string
format: datetime
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we require a time here? This has been a bit cumbersome, as it is often the case that you might know the date of birth but not the exact time. This is pretty common in rodent work.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, if possible it would be nice to allow both: date and datetime
we need to check if date is a supported format in bids

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yarikoptic found out: date exists already as format.

Copy link

@lzehl lzehl May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robertoostenveld @effigies could we specify:

format: [ date, datetime ]

edited by @yarikoptic: as datetime mandates to have time component but depending on species, time might not be relevant or known

cardiac:
name: cardiac
display_name: Cardiac measurement
Expand Down
85 changes: 85 additions & 0 deletions src/schema/objects/enums.yaml
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

birth, fertilization and gestation deleted from the enums

Original file line number Diff line number Diff line change
Expand Up @@ -1405,3 +1405,88 @@ microvascular:
display_name: microvascular
description: |
The origin of a tissue: microvascular
start_of_embryo_stage:
value: start of embryo stage
display_name: start of embryo stage
description: |
The beginning of the embryo stage, which is also commonly referred as the "conception".
start_of_gestational_stage:
value: start of gestational stage
display_name: start of gestational stage
description: |
The beginning of the gestational stage, which is also commonly referred as the
"first day of the mother's last menstrual period".
start_of_neonate_stage:
value: start of neonatal stage
display_name: start of neonatal stage
description: |
The beginning of the neonatal stage, which is also commonky referred as the "birth".
end_of_adult_stage:
value: end of adult stage
display_name: end of adult stage
description: |
The end of the adult stage, which is also commonly referred as the "death".
adolescent:
value: adolescent
display_name: adolescent
description: |
The transitional life cycle stage of growth and development between childhood and adulthood,
often described as ‘puberty’.
adult:
value: adult
display_name: adult
description: |
The life cycle stage of an animal or human that reached sexual maturity.
The UBERON term for this stage is 'post-juvenile adult stage' - http://purl.obolibrary.org/obo/UBERON_0000113.
embryo:
value: embryo
display_name: embryo
description: |
The life cycle stage of an animal or human that starts with fertilitzation
and ends with the fully formed embryo. The UBERON term for this stage is
'embryo stage' - http://purl.obolibrary.org/obo/UBERON_0000068.
infant:
value: infant
display_name: infant
description: |
The life cycle stage of mammals (animal or human) that follows the neonate stage and ends at weaning.
The UBERON term for this stage is 'infant stage' - http://purl.obolibrary.org/obo/UBERON_0034920.
juveline:
value: juveline
display_name: juveline
description: |
The life cycle stage of an animal or human that starts with the independence of the nest and/or
caregivers and ends with sexual maturity. The UBERON term for this stage is
'juvenile stage' - http://purl.obolibrary.org/obo/UBERON_0034919.
late_adult:
value: late adult
display_name: late adult
description: |
The life cycle stage of an animal or human that follows the prime adult stage.
The UBERON term for this stage is 'late adult stage' - http://purl.obolibrary.org/obo/UBERON_0007222.
neonate:
value: neonate
display_name: neonate
description:
The life cycle stage of an animal or human that immediately follows birth.
The UBERON term for this stage is 'neonate stage' - http://purl.obolibrary.org/obo/UBERON_0007221.
perinatal:
value: perinatal
display_name: perinatal
description: |
The life cycle stage of an animal or human that starts right before birth
and ends right after birth. The UBERON term for this stage
is 'perinatal stage' - http://purl.obolibrary.org/obo/UBERON_0012101.
prime_adult:
value: prime adult
display_name: prime adult
description: |
The life cycle stage of an animal or human that starts at the onset of sexual maturity or
the cessation of growth, whichever comes last, and ends before senescence.
The UBERON term for this stage is 'prime adult stage' - http://purl.obolibrary.org/obo/UBERON_0018241.
young_adult:
value: young adult
display_name: young adult
description: |
the early adult stage of an animal or human when sexual maturity has been reached,
but not the cessation of growth.
3 changes: 3 additions & 0 deletions src/schema/rules/tabular_data/modality_agnostic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Participants:
handedness: recommended
strain: recommended
strain_rrid: recommended
birthdate: optional
life_cycle_stage: recommended
age_reference: recommended
index_columns: [participant_id]
additional_columns: allowed

Expand Down