Closed GraemeWatt closed 7 months ago
Documentation should be added to hepdata_lib
explaining how to add a license to either an additional resource file or a data table. As an example, the CC BY 4.0 license could be used.
name: CC BY 4.0
url: https://creativecommons.org/licenses/by/4.0/
description: This license enables reusers to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator.
Addressed in #257
The JSON schema defining a HEPData submission has provision for a
data_license
(comprising aname
,url
and optionaldescription
) for individual tables. It also supports alicense
for additional resources. An example of use is given insubmission.yaml
used inTestHEPSubmission.zip
and in the submission documentation. By default, the CC0 license applies, as explained in the HEPData Terms of Use.The
add_additional_resource
function ofhepdata_lib
should be extended to accept an optionallicense
argument (a Python dictionary containingname
,url
and optionaldescription
). TheTable
class should also be extended to include a new methodadd_data_license
taking argumentsname
,url
and optionaldescription
.See also HEPData/hepdata#740.