Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License property improvements #497

Merged
14 changes: 9 additions & 5 deletions optimade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1258,12 +1258,16 @@ The single resource object's response dictionary MUST include the following fiel

If this member is *not* provided, the client MUST assume this is **not** an index meta-database base URL (i.e., the default is for :field:`is_index` to be :field-val:`false`).

- **available\_licenses**: List of `SPDX license identifiers <https://spdx.org/licenses/>` specifying a set of alternative licenses under which the client is granted access to all the data and metadata in this database.
If the data and metadata is available under multiple alternative licenses, identifiers of these multiple licenses SHOULD be provided to let clients know under which conditions the data and metadata can be used.
Inclusion of a license identifier in the list is a commitment of the database that the rights are in place to grant clients access to all the data and metadata according to the terms of either of these licenses (at the choice of the client).
If the licensing information provided via the field :field:`license` omits licensing options specified in :field:`available_licenses`, or if it otherwise contradicts them, a client MUST still be allowed to interpret the inclusion of a license in :field:`available_licenses` as a full commitment from the database that the data and metadata is available, without exceptions, under the respective licenses.
If the database cannot make that commitment, e.g., if only part of the data is available under a license, the corresponding license identifier MUST NOT appear in :field:`available_licenses` (but, rather, the field :field:`license` is to be used to clarify the licensing situation.)
- **available\_licenses**: List of `SPDX license identifiers <https://spdx.org/licenses/>`__ specifying a set of alternative licenses under which the client is granted access to all the content, metadata and structure of this database.
If the content, metadata and database structure are available under multiple alternative licenses, identifiers of these multiple licenses SHOULD be provided to let clients know under which conditions they can be used.
Inclusion of a license identifier in the list is a commitment of the database that the rights are in place to grant clients access to all the content, metadata and database structure according to the terms of any of these licenses (at the choice of the client).
If the licensing information provided via the field :field:`license` omits licensing options specified in :field:`available_licenses`, or if it otherwise contradicts them, a client MUST still be allowed to interpret the inclusion of a license in :field:`available_licenses` as a full commitment from the database that the content, metadata and database structure are available, without exceptions, under the respective licenses.
If the database cannot make that commitment, e.g., if only part of the content, metadata or database structure is available under a license, the corresponding license identifier MUST NOT appear in :field:`available_licenses` (but, rather, the field :field:`license` is to be used to clarify the licensing situation.)
An empty list indicates that none of the SPDX licenses apply for the entirety of the database and that the licensing situation is clarified in human readable form in the field :field:`license`.
An unknown value means that the database makes no commitment to its content, metadata and/or database structure data being covered by any of the SPDX licenses.
ml-evs marked this conversation as resolved.
Show resolved Hide resolved

- **available\_licenses\_for\_entries**: List of `SPDX license identifiers <https://spdx.org/licenses/>`__ specifying a set of alternative licenses under which the client is granted access to all the content, metadata and data extracts that neither constitute substantial parts of the database nor encompass the structure of this database.
The remaining definition of this field is the same as for :field:`available_licenses`.
merkys marked this conversation as resolved.
Show resolved Hide resolved

If this is an index meta-database base URL (see section `Index Meta-Database`_), then the response dictionary MUST also include the field:

Expand Down
Loading