add an optional attribute to a dataset description doc, ie dataset.json
(not a megaset) called downloadLinks
that is an array of objects. Each object has required attibutes:
{
date: string,
title: string,
link: string
},
Update to dataset processing:
On upload this data should be included in the dataset- description
information. The schema setup should do this automatically.
For updating the schema:
- add a new file in
array-items
called "dataset-link.schema.json" that has the definition of one single dataset link, ie
title: string,
link: string
- reference that individual schema in
definitions.schema.json
, where
datasetLinks:
type: array
items:
$ref: dataset-link.schema.json
type: object
- update
input-dataset-info.schema.json
and dataset-card.schema.json
to have datasetLinks that references the object def in definitions.schema.json
Amendments to the datasets themselves:
Add this data to the existing datasets (@meganrm will update this with which link goes to which dataset):
[
{
date: "May/26/2021",
title: "The hiPSC single-cell image dataset",
link: "https://open.quiltdata.com/b/allencell/packages/aics/hipsc_single_cell_image_dataset/tree/latest/metadata.csv",
},
{
date: "Jul/21/2022",
title: "The hiPSC single i1 cell image dataset",
link: "https://open.quiltdata.com/b/allencell/packages/aics/hipsc_single_i1_cell_image_dataset/tree/latest/metadata.csv",
},
{
date: "Jul/20/2022",
title: "The hiPSC single M1 cell image dataset",
link: "https://open.quiltdata.com/b/allencell/packages/aics/hipsc_single_m1_cell_image_dataset/tree/latest/metadata.csv",
},
{
date: "Jul/21/2022",
title: "The hiPSC single i2 cell image dataset",
link: "https://open.quiltdata.com/b/allencell/packages/aics/hipsc_single_i2_cell_image_dataset/tree/latest/metadata.csv",
},
{
date: "Jul/20/2022",
title: "The hiPSC single M2 cell image dataset",
link: "https://open.quiltdata.com/b/allencell/packages/aics/hipsc_single_m2_cell_image_dataset/tree/latest/metadata.csv",
},
{
date: "Jul/19/2022",
title: "The hiPSC single edge cell image dataset",
link: "https://open.quiltdata.com/b/allencell/packages/aics/hipsc_single_edge_cell_image_dataset/tree/latest/metadata.csv",
},
{
date: "Sep/28/2022",
title: "The hiPSC single non-edge cell image dataset",
link: "https://open.quiltdata.com/b/allencell/packages/aics/hipsc_single_nonedge_cell_image_dataset/tree/latest/metadata.csv",
},
Re-publish docs with new schema:
npm run publish-docs