From cdacd3b1f68b195218a0e1906187e756c96271cc Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 28 Oct 2021 09:39:34 -0400 Subject: [PATCH] Apply suggestions from code review by @tsalo Co-authored-by: Stefan Appelhoff Co-authored-by: Taylor Salo --- src/03-modality-agnostic-files.md | 4 ++-- src/schema/objects/metadata.yaml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/03-modality-agnostic-files.md b/src/03-modality-agnostic-files.md index 704a9038f1..60c236abd5 100644 --- a/src/03-modality-agnostic-files.md +++ b/src/03-modality-agnostic-files.md @@ -33,7 +33,7 @@ Every dataset MUST include this file with the following fields: } ) }} -Each object in the `GeneratedBy` list includes the following REQUIRED, RECOMMENDED +Each object in the `GeneratedBy` array includes the following REQUIRED, RECOMMENDED and OPTIONAL keys: | **Key name** | **Requirement level** | **Data type** | **Description** | @@ -96,7 +96,7 @@ As for any BIDS dataset, a `dataset_description.json` file MUST be found at the top level of every derived dataset: `/derivatives//dataset_description.json`. -In contrast to raw BIDS datasets, derived BIDS datasets MUST include +In contrast to raw BIDS datasets, derived BIDS datasets MUST include a `GeneratedBy` key: {{ MACROS___make_metadata_table( diff --git a/src/schema/objects/metadata.yaml b/src/schema/objects/metadata.yaml index 1a7e44c271..6f57b698a1 100644 --- a/src/schema/objects/metadata.yaml +++ b/src/schema/objects/metadata.yaml @@ -867,7 +867,6 @@ GeneratedBy: name: GeneratedBy description: | Used to specify provenance of the dataset. - See table below for contents of each object. type: array minItems: 1 items: