Skip to content

Commit

Permalink
Add time and datetime (ISO8601) example to specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZiminski committed Sep 21, 2023
1 parent 2caf15e commit ebfa7e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ Below we describe each level of the `rawdata` folder hierarchy in more detail. T
* Session-level folders *must* be prefixed with a key-value pair that is unique for each session. The key *must* be `ses` and the value *must* be numerical, e.g. `ses-01`.
* Sessions *should* be assigned ascending numerical labels as they are added to the project. The labels *should* be prefixed with an arbitrary number of 0s for consistent indentation and sorting, e.g. `ses-01`, `ses-02`, `ses-03`.
* Additional key-value pairs with alphanumerical labels *may* be appended after the `ses` key-value pair. For example, dates can be added as follows: `ses-001_date-20230310`. The keys *should* be consistent across subjects.
* If a date field is added, it *should* be in the format `YYYYMMDD`.
* If a `date` field is added, it *should* be in the format `YYYYMMDD`.
* If a `time` field is added, it *should* be in the format `HHMMSS`
* If a `datetime` field is added, it *should* be in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format `YYYYMMDDTHHMMSS` e.g. `20231225T133015`.
* Different sessions *may* contain different combinations of datatypes.

:::{hint}
Expand Down

0 comments on commit ebfa7e5

Please sign in to comment.