{ "cells": [ { "cell_type": "markdown", "id": "907c5c49", "metadata": {}, "source": [ "# Modality agnostic files" ] }, { "cell_type": "code", "execution_count": 1, "id": "782c4c48", "metadata": { "tags": [ "remove-cell" ] }, "outputs": [], "source": [ "from myst_nb import glue\n", "from IPython.display import display, Markdown, HTML\n", "from schemacode import render, schema, utils\n", "from markdown import markdown\n", "\n", "# Load the schema path\n", "schemapath = utils.get_schema_path()\n", "schema_obj = schema.load_schema(schemapath)" ] }, { "cell_type": "markdown", "id": "86830e39", "metadata": {}, "source": [ "## Dataset description\n", "\n", "Templates:\n", "\n", "- `dataset_description.json`\n", "- `README`\n", "- `CHANGES`\n", "- `LICENSE`\n", "\n", "### `dataset_description.json`\n", "\n", "The file `dataset_description.json` is a JSON file describing the dataset.\n", "Every dataset MUST include this file with the following fields:" ] }, { "cell_type": "code", "execution_count": 2, "id": "79214366", "metadata": { "tags": [ "remove-input" ] }, "outputs": [ { "data": { "text/html": [ "
Key name | \n", "Requirement Level | \n", "Data type | \n", "Description | \n", "
---|---|---|---|
{term}Name (metadata) | \n",
"REQUIRED | \n", "string | \n", "Name of the dataset. | \n", "
{term}BIDSVersion (metadata) | \n",
"REQUIRED | \n", "string | \n", "The version of the BIDS standard that was used. | \n", "
{term}HEDVersion (metadata) | \n",
"RECOMMENDED | \n", "string | \n", "If HED tags are used: The version of the HED schema used to validate HED tags for study. | \n", "
{term}DatasetType (metadata) | \n",
"RECOMMENDED | \n", "string | \n", "The interpretation of the dataset. For backwards compatibility, the default value is \"raw\" . Must be one of: \"raw\" , \"derivative\" . | \n",
"
{term}License (metadata) | \n",
"RECOMMENDED | \n", "string | \n", "The license for the dataset. The use of license name abbreviations is RECOMMENDED for specifying a license (see Appendix II). The corresponding full license text MAY be specified in an additional LICENSE file. | \n",
"
{term}Authors (metadata) | \n",
"OPTIONAL | \n", "array of strings | \n", "List of individuals who contributed to the creation/curation of the dataset. | \n", "
{term}Acknowledgements (metadata) | \n",
"OPTIONAL | \n", "string | \n", "Text acknowledging contributions of individuals or institutions beyond those listed in Authors or Funding. | \n", "
{term}HowToAcknowledge (metadata) | \n",
"OPTIONAL | \n", "string | \n", "Text containing instructions on how researchers using this dataset should acknowledge the original authors. This field can also be used to define a publication that should be cited in publications that use the dataset. | \n", "
{term}Funding (metadata) | \n",
"OPTIONAL | \n", "array of strings | \n", "List of sources of funding (grant numbers). | \n", "
{term}EthicsApprovals (metadata) | \n",
"OPTIONAL | \n", "array of strings | \n", "List of ethics committee approvals of the research protocols and/or protocol identifiers. | \n", "
{term}ReferencesAndLinks (metadata) | \n",
"OPTIONAL | \n", "array of strings | \n", "List of references to publications that contain information on the dataset. A reference may be textual or a URI. | \n", "
{term}DatasetDOI (metadata) | \n",
"OPTIONAL | \n", "string | \n", "The Digital Object Identifier of the dataset (not the corresponding paper). DOIs SHOULD be expressed as a valid URI; bare DOIs such as 10.0.2.3/dfjj.10 are DEPRECATED. | \n",
"
{term}GeneratedBy (metadata) | \n",
"RECOMMENDED | \n", "array of objects | \n", "Used to specify provenance of the dataset. | \n", "
{term}SourceDatasets (metadata) | \n",
"RECOMMENDED | \n", "array of objects | \n", "Used to specify the locations and relevant attributes of all source datasets. Valid keys in each object include \"URL\" , \"DOI\" (see URI), and \"Version\" with string values. | \n",
"