Skip to content

Commit

Permalink
Merge pull request #171 from noi-techpark/issue-169-licensing-informa…
Browse files Browse the repository at this point in the history
…tion

added clarification about licence of JSON records #169
  • Loading branch information
bertolla committed Oct 15, 2020
2 parents 4e80a90 + 2fd23c1 commit cf051cb
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 3 deletions.
62 changes: 62 additions & 0 deletions source/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Datasets
.. versionadded:: 2020.09 New description of domains, new diagrams
that show the datasets encompassed in each domain.

.. versionadded:: 2020.10 Information about licensing of data
contained in the |ODH| responses

The goal of the Open Data Hub project is to make available datasets containing
data about the South Tyrolean ecosystem, to allow third parties to
develop novel applications on top of them, consuming the exposed
Expand Down Expand Up @@ -270,6 +273,65 @@ to use is to go to the :strong:`swagger interface` of the `tourism
domains and execute a query: with the output, also the corresponding
:program:`curl` command used to retrieve the data will be shown.

.. _license-json-records:

License of the JSON Responses
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Whenever you query the data in the |odh|\, the snippet that you
retrieve always includes a block of information called
:literal:`LicenseInfo`, similar to the following one:

.. code-block:: json
:linenos:
:emphasize-lines: 3
"LicenseInfo": {
"Author": "",
"License": "CC0",
"ClosedData": false,
"LicenseHolder": "https://www.lts.it"
},
The highlighted line shows a licence, which in this case is
:strong:`CC0`, i.e., public domain and therefore freely reusable.

This block is always included as a child node within a JSON record
that starts with an ID and a number of additional information, which
may include also hyperlinks to resources that are external to the
|odh|\, like for example this example which refers to a webcam and
contains a link to an external provider where to find actual images
from that webcam (snippet code shortened for the sake of simplicity):

.. code-block:: json
:linenos:
:emphasize-lines: 4-5
{
"Id": "D3659E1F111C4CDB2EC19F8FC95118B7",
"Active": true,
"Streamurl": null,
"Webcamurl": "https://webtv.feratel.com/webtv/?&pg=5EB12424-7C2D-428A-BEFF-0C9140CD772F&design=v3&cam=6323&c1=0",
"LicenseInfo": {
"Author": "",
"License": "CC0",
"ClosedData": false,
"LicenseHolder": "https://www.lts.it"
},
},
Whenever hyperlinks like the one shown in line :strong:`5` above
appear, it must not be implied that the license mentioned in the
:literal:`LicenseInfo` block (again, CC0) is applied to them:
everything contained in that link may be covered by a different
licence.

Indeed, the :strong:`Licence` mentioned in :literal:`LicenseInfo`
nodes refer only to content of the parent node--i.e., the one that
starts with :strong:`"Id"`, not to the content of any of the other
children nodes, including :literal:`Streamurl` and
:literal:`Webcamurl`.

Authentication
~~~~~~~~~~~~~~

Expand Down
9 changes: 6 additions & 3 deletions source/licenses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,17 @@ These licenses are applied to the |odh| components:
an overview and quick description of CC licenses and derivative
material.


.. note:: There is an additional clarification about the licence for
any content that is retrieved from the datasets in JSON format,
which is detailed in Section :ref:`license-json-records`.

.. _dac-lm:

.. figure:: images/DAC-LM.png
:scale: 80%

Creative Common Licenses and derivative material.
Creative Common Licenses and derivative material.

APIs Terms of Service
---------------------

Expand Down

0 comments on commit cf051cb

Please sign in to comment.