ro-crate
ro-crate copied to clipboard
Missing in v1: Distribution property and Download
Describe the bug
The DataCrate Spec mentions the distribution property, pointing to a DataDownload Contextual entity. This is used by Google Dataset search. We lost this somewhere in the editing process.
DataCrates which are packaged for distribution SHOULD:
Have a DOI as an identifier.
Use the DOI URL as the @id.
Include the DOI without a URL as an identifier.
Link to a DataDownload using the distribution property.
{
"@id": "https://doi.org/10.4225/59/59672c09f4a4b",
"@type": "Dataset",
"citation": {
"@id": "https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0181020"
},
"path": "data/",
"datePublished": "2017",
"description": "Palliative care planning for nursing home residents with advanced dementia is often suboptimal. This study compared effects of facilitated case conferencing (FCC) with usual care (UC) on end-of-life care",
"identifier": [
"https://doi.org/10.4225/59/59672c09f4a4b",
"doi.org/10.4225/59/59672c09f4a4b"
],
"name": "Data files associated with the manuscript:Effects of facilitated family case conferencing for advanced dementia: A cluster randomised clinical trial",
"distribution": [
{
"@id": "https://data.research.uts.edu.au/examples/v1.0/timluckett.zip"
}
]
}
{
"@id": "https://data.research.uts.edu.au/examples/v1.0/timluckett.zip",
"contentUrl": "https://data.research.uts.edu.au/examples/v1.0/timluckett.zip",
"@type": "DataDownload",
"encodingFormat": "zip"
}
URL Provide link to RO-Lite page or source code most related to the bug.
Suggested fix
Add in the example above.
Additional context
See the DataCrate spec (which RO-Crate replaces).