How to use the License API / LicenseServiceClient
Introduction
Licences play a major role in the implementation of/compliance with the FAIR principles, especially when it comes to the conditions of data reusability. A licence should clearly describe for humans and machines which rights of use apply to the data, which also implements the legal side of interoperability.
For this purpose, a predefined set of the most common licences is provided in Aruna:
- All Rights Reserved:
AllRightsReserved
- All Creative Commons 4.0:
CC0
,CC-BY-4.0
,CC-BY-SA-4.0
,CC-BY-NC-4.0
,CC-BY-NC-SA-4.0
,CC-BY-ND-4.0
,CC-BY-ND-SA-4.0
- MIT license:
MIT
- Apache 2.0:
Apache-2.0
- GNU General Public License:
GPLv3
,GPLv2
Each object in Aruna can be assigned different licences for the metadata and "physical" data, so that a granular definition of the rights of use can be specified. The specification of licences is only mandatory when a project is created. The reason for this is that all other sub-resources can inherit the licences of their parent if no licence is specified when they are created.
Default license
If no licences are specified when a Project is created, the default licence AllRightsReserved
is used.
This is the only licence that can be replaced on a resource without creating a new revision.
Other licences of an object cannot be modified "in-place" afterwards, but are applied to a new revision of a resource. Some thought should be given in advance as to which licence is appropriate for the data.
Create license
New licenses can be created without any limitations.
You should just check twice if the license information is correct as there is no way to edit the created license afterwards.
Required permissions
To create a new license you only have to be a registered Aruna user.
1 2 3 4 5 6 7 8 9 10 11 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Get specific license
Licenses can be easily fetched via their tag name.
Required permissions
To create a new license you only have to be a registered Aruna user.
1 2 3 4 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
1 2 3 4 5 6 7 8 9 10 |
|
List all available licenses
API examples of how to fetch all available license for an overview if a fitting license already exists.
Required permissions
To create a new license you only have to be a registered Aruna user.
1 2 3 4 |
|
1 2 3 4 5 6 7 8 9 10 11 |
|
1 2 3 4 5 6 7 8 |
|