You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -425,8 +419,7 @@ and a guide for using macros can be found at
425
419
}
426
420
) }}
427
421
428
-
!!! example
429
-
`GeneratedBy` contents in a `dataset_description.json`:
422
+
!!! example "Example of `GeneratedBy` contents in a `dataset_description.json`"
430
423
```JSON
431
424
{
432
425
"GeneratedBy": [
@@ -442,36 +435,41 @@ and a guide for using macros can be found at
442
435
}
443
436
```
444
437
445
-
## Consistency and uniqueness of Ids
438
+
## Consistency and uniqueness of identifiers
446
439
447
-
The following rules and conventions are provided in order to have consistent, human readable, and explicit [IRIs](https://www.w3.org/TR/json-ld11/#iris) as `Id` for provenance records.
440
+
The following rules and conventions are provided in order to have consistent, human readable, and explicit [IRIs](https://www.w3.org/TR/json-ld11/#iris) as identifiers for provenance records.
448
441
449
-
### `Id` for entities
442
+
!!! note
443
+
The `Id` field contains the identifier of a provenance records.
444
+
445
+
### Identifiers for entities
450
446
451
-
An `Id` identifying an entity corresponding to a file of a BIDS dataset MUST be a [BIDS URI](../common-principles.md#bids-uri).
447
+
The identifier of an entity describing a BIDS file inside a BIDS dataset MUST be a [BIDS URI](../common-principles.md#bids-uri).
452
448
453
449
!!! note
454
450
The use of BIDS URIs may require to define the `DatasetLinks` object in [`dataset_description.json`](dataset-description.md#dataset_descriptionjson).
455
451
456
-
!!! example "Examples of `Id` for entities"
457
-
- `bids:ds001734:sub-002/anat/sub-02_T1w.nii`: the `Id` of an entity describing a T1w file for subject `sub-002` in the `ds001734` dataset;
458
-
- `bids::sub-014/func/sub-014_task-MGT_run-01_events.tsv`: the `Id` of an entity describing an events file for subject `sub-014` in the current dataset;
459
-
- `bids:fmriprep:sub-001/func/sub-001_task-MGT_run-01_bold_space-MNI152NLin2009cAsym_preproc.nii.gz`: the `Id` of an entity describing a bold file for subject `sub-001` in the `fmriprep` dataset.
452
+
!!! example "Examples of identifiers for entities"
453
+
- `bids:ds001734:sub-002/anat/sub-02_T1w.nii` - an entity describing a T1w file for subject `sub-002` in the `ds001734` dataset;
454
+
- `bids::sub-014/func/sub-014_task-MGT_run-01_events.tsv` - an entity describing an events file for subject `sub-014` in the current dataset;
455
+
- `bids:fmriprep:sub-001/func/sub-001_task-MGT_run-01_bold_space-MNI152NLin2009cAsym_preproc.nii.gz` - an entity describing a bold file for subject `sub-001` in the `fmriprep` dataset.
456
+
457
+
For other cases listed in the [Entities](#entities) section, the identifier of an entity described in a BIDS dataset `<dataset>` SHOULD have the following form, where `<label>` is a human readable name for coherently identifying the record and `<uid>` is a unique group of chars.
460
458
461
-
### `Id` for other provenance records
459
+
### Identifiers for other provenance records
462
460
463
-
An `Id` identifying activity, software, or environment provenance records described in a BIDS dataset `<dataset>` SHOULD have the following form, where `<label>` is a human readable name for coherently identifying the record and `<uid>` is a unique group of chars.
461
+
The identifier of an activity, software, or environment described in a BIDS dataset `<dataset>` SHOULD have the following form, where `<label>` is a human readable name for coherently identifying the record and `<uid>` is a unique group of chars.
464
462
465
463
```text
466
464
bids:<dataset>:prov#<label>-<uid>
467
465
```
468
466
469
-
The uniqueness of this `Id` MUST be used to distinguish any `Activity`, `Software`, or `Environment` that are different in any of their attributes.
467
+
The uniqueness of this identifier MUST be used to distinguish any activity, software, or environment that are different in any of their attributes.
470
468
471
-
!!! example "Examples of `Id` for activities, environments and software"
472
-
- `bids:ds001734:prov#conversion-xfMMbHK1`: a conversion activity described inside the `ds001734` dataset;
473
-
- `bids::prov#fedora-uldfv058`: a Fedora based environment described inside the current dataset.
474
-
- `bids:preprocessing:prov#fmriprep-r4kzzMt8`: the fMRIPrep software described inside the `preprocessing` dataset.
469
+
!!! example "Examples of identifiers for activities, environments and software"
470
+
- `bids:ds001734:prov#conversion-xfMMbHK1` - a conversion activity described inside the `ds001734` dataset;
471
+
- `bids::prov#fedora-uldfv058` - a Fedora based environment described inside the current dataset.
472
+
- `bids:preprocessing:prov#fmriprep-r4kzzMt8` - the fMRIPrep software described inside the `preprocessing` dataset.
475
473
476
474
## Minimal example
477
475
@@ -501,7 +499,7 @@ A guide for using macros can be found at
501
499
}
502
500
) }}
503
501
504
-
The following provenance record is defined in `prov/prov-dcm2niix_soft.json`. As mentioned in the [Consistency and uniqueness of Ids](#consistency-and-uniqueness-of-ids) section, its `Id` SHOULD start with `bids:<dataset>:prov#` (here, `bids::` refers to the current dataset).
502
+
The following provenance record is defined in `prov/prov-dcm2niix_soft.json`. As mentioned in the [Consistency and uniqueness of Ids](#consistency-and-uniqueness-of-ids) section, its identifier SHOULD start with `bids:<dataset>:prov#` (here, `bids::` refers to the current dataset).
0 commit comments