diff --git a/src/derivatives/atlas.md b/src/derivatives/atlas.md index c84d39000f..8a04f47d96 100644 --- a/src/derivatives/atlas.md +++ b/src/derivatives/atlas.md @@ -220,12 +220,14 @@ corresponding to the atlas or atlases in the structure. Atlas metadata fields: -{{ MACROS___make_json_table('dataset_metadata.atlas_description') }} +{{ MACROS___make_json_table('json.atlas.atlas_description') }} Example `atlas-MyAtlas2025_description.json`: diff --git a/src/metaschema.json b/src/metaschema.json index 7d5b83ebf5..7bc5517d68 100644 --- a/src/metaschema.json +++ b/src/metaschema.json @@ -459,9 +459,6 @@ "type": "array", "items": { "type": "string" } }, - "dataset_metadata": { - "type": "object" - }, "directories": { "type": "object" }, @@ -513,7 +510,6 @@ "tabular_data", "metaentities", "common_principles", - "dataset_metadata", "directories", "errors", "modalities" diff --git a/src/modality-agnostic-files/dataset-description.md b/src/modality-agnostic-files/dataset-description.md index 769afb0e9f..f8964a9f44 100644 --- a/src/modality-agnostic-files/dataset-description.md +++ b/src/modality-agnostic-files/dataset-description.md @@ -19,12 +19,14 @@ A guide for using macros can be found at Every dataset MUST include this file with the following fields: -{{ MACROS___make_json_table('dataset_metadata.dataset_description') }} +{{ MACROS___make_json_table('json.dataset.dataset_description') }} Each object in the `GeneratedBy` array includes the following REQUIRED, RECOMMENDED and OPTIONAL keys: diff --git a/src/modality-specific-files/electroencephalography.md b/src/modality-specific-files/electroencephalography.md index 52e4f6de2a..2ed7fc40d0 100644 --- a/src/modality-specific-files/electroencephalography.md +++ b/src/modality-specific-files/electroencephalography.md @@ -384,7 +384,7 @@ General fields: -{{ MACROS___make_metadata_table( - { - "GeneticLevel": "REQUIRED", - "AnalyticalApproach": "OPTIONAL", - "SampleOrigin": "REQUIRED", - "TissueOrigin": "OPTIONAL", - "BrainLocation": "OPTIONAL", - "CellType": "OPTIONAL", - } -) }} +{{ MACROS___make_json_table("json.genetics.genetic_info") }} To ensure dataset description consistency, we recommend following [Multi-omics approaches to disease](https://genomebiology.biomedcentral.com/articles/10.1186/s13059-017-1215-1) by Hasin et al. 2017 to determine the `GeneticLevel:` diff --git a/src/modality-specific-files/intracranial-electroencephalography.md b/src/modality-specific-files/intracranial-electroencephalography.md index a37757eb4a..3d65bca98b 100644 --- a/src/modality-specific-files/intracranial-electroencephalography.md +++ b/src/modality-specific-files/intracranial-electroencephalography.md @@ -383,7 +383,7 @@ General fields: