Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add files via upload
first attempt to translate data model description into a JSON structure
  • Loading branch information
sgustafsson authored Mar 4, 2019
commit 767a54bee2180e7992e45874f5f5b0fcae3a08fd
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"ProductInformation": {
"name": "Sharing-Creates-Value Product,",
"version": "1.0",
"Unique_Identifier": "1234567890,",
"Description": "best product ever",
"Distribution_model": "distribution",
"development_details": "some details",
"Build_environment_description": {
"name": "Maven",
"version": "1.0",
"uid": "12345",
"text": "some text for the build env"
},
"constraints": [
{
"type": "Restriction",
"uid": "SHA1",
"name": "restricted use",
"description": "cannot be used in nuclear facilities",
"scope": "usage"
}
],
"integrated_artifacts": [
{
"name": "jquery",
"version": "10.0",
"type": "oss",
"uid_source": "123",
"uid_binary": "321",
"Source_Code_package": "file",
"binary_package": "other file",
"component_license_assesment": {
"textfield": "hello",
"Licenses": [
{
"name": "GPL-2.0",
"uid": "SHA-1",
"SPDX_short_Identifier": "GPL-2.0",
"risk_level": "3",
"category": "strong-copyleft",
"acknowledgement": "",
"OSI-approved": "yes",
"textfield": "here goes the license text",
"characteristics": [
{
"constraints": [
{
"type": "Obligation",
"uid": "SHA1",
"name": "provide source code",
"description": "the complete corresponding source code of the GPL-2.0 licensed software including the derived works has to be provided",
"scope": "distribution"
}
]
}
],
"notes": "any company or public available information",
"References": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.de.html",
"Standard-header": "This program is free software; you can redistribute it..."
}
]
}
},
{
"name": "jquery_ui",
"version": "11.0",
"type": "oss",
"uid_source": "1234",
"uid_binary": "4321",
"Source_Code_package": "file",
"binary_package": "other file",
"component_license_assesment": {
"textfield": "hello",
"Licenses": [
{
"name": "GPL-2.0",
"uid": "SHA-1",
"SPDX_short_Identifier": "GPL-2.0",
"risk_level": "3",
"category": "strong-copyleft",
"acknowledgement": "",
"OSI-approved": "yes",
"textfield": "here goes the license text",
"characteristics": [
{
"constraints": [
{
"type": "Obligation",
"uid": "SHA1",
"name": "provide source code",
"description": "the complete corresponding source code of the GPL-2.0 licensed software including the derived works has to be provided",
"scope": "distribution"
}
]
}
],
"notes": "any company or public available information",
"References": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.de.html",
"Standard-header": "This program is free software; you can redistribute it..."
}
]
}
}
]
}
}