Dates and Events:
|
OSADL Articles:
2023-11-12 12:00
Open Source License Obligations Checklists even better nowImport the checklists to other tools, create context diffs and merged lists
2022-07-11 12:00
Call for participation in phase #4 of Open Source OPC UA open62541 support projectLetter of Intent fulfills wish list from recent survey
2022-01-13 12:00
Phase #3 of OSADL project on OPC UA PubSub over TSN successfully completedAnother important milestone on the way to interoperable Open Source real-time Ethernet has been reached
2021-02-09 12:00
Open Source OPC UA PubSub over TSN project phase #3 launchedLetter of Intent with call for participation is now available |
JSON schema principles
Explanation (Raw data)
General rule when converting checklists to JSON format:
As a general rule, non-optimized OSADL OSLOC checklists in JSON format are recursive associative arrays with the language construct as key and the related dependent text such as use case, license obligation or further attributes as value, but the value may be void. For example, a simple checklist in a file named CHECKLIST may read
USE CASE Source code delivery
YOU MUST Forward License text
YOU MUST Forward Copyright notices
IF Source code modification
YOU MUST Provide Modification report
YOU MUST Provide Copyright notices
USE CASE Binary delivery
YOU MUST Provide License text In Documentation OR Distribution material
which will become
in JSON format. Arrays with empty values can be converted to a string, if a single key exists or to a list, if more keys exist. Thus, after optimization the above checklist would become:
Special case:
Since a particular checklist hierarchy level may contain more than a single "EITHER", "OR", "EITHER IF" or "OR IF" element that are significant in the original checklist, but are not in the JSON format because the ordering is lost, an enumeration level had to be introduced. The checklist snippet
USE CASE Binary delivery
EITHER
YOU MUST Distribute Source code In Product
OR
YOU MUST Provide Delayed source code delivery
OR
YOU MUST Provide Source code Via Internet
EITHER
YOU MUST NOT Promote
OR
YOU MUST Credit Original authors
will be converted to the JSON snippet
or after optimization to
This additional enumeration ensures that the original checklist can be reproduced from the JSON version and that several JSON checklists can be combined and thus simplified (see also this project.).
JSON schema:
A schema to validate license checklists in JSON format (plain and optimized version) is shown below. This is version 2 of the schema. It validates single as well as merged licenses.
Last modified: June 7, 2024 02:01