You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Specifies the details and attributes related to a software license. It must be a valid SPDX license expression, along with additional properties such as license acknowledgment.
420
421
messageExpressionDetailed {
421
-
// TODO
422
+
423
+
// Specifies the details and attributes related to a software license identifier.
424
+
// (An SPDX expression may be a compound of license identifiers.)
422
425
messageExpressionDetails {
423
-
// TODO
426
+
// A valid SPDX license identifier. Refer to https://spdx.org/specifications for syntax requirements.
427
+
// Example values:
428
+
// - "Apache-2.0",
429
+
// - "GPL-3.0-only WITH Classpath-exception-2.0"
424
430
stringlicense_identifier=1;
425
431
// Specifies the optional full text of the attachment
426
432
optionalAttachedTexttext=2;
427
433
}
428
434
429
-
// A valid SPDX license expression. Refer to https://spdx.org/specifications for syntax requirements
435
+
// A valid SPDX license expression. Refer to https://spdx.org/specifications for syntax requirements.
436
+
// Example values:
437
+
// - "Apache-2.0 AND (MIT OR GPL-2.0-only)",
438
+
// - "GPL-3.0-only WITH Classpath-exception-2.0"
430
439
stringexpression=1;
431
440
// An optional identifier which can be used to reference the license elsewhere in the BOM. Uniqueness is enforced within all elements and children of the root-level bom element.
432
441
optionalstringbom_ref=2;
433
442
// Declared licenses and concluded licenses represent two different stages in the licensing process within software development. Declared licenses refer to the initial intention of the software authors regarding the licensing terms under which their code is released. On the other hand, concluded licenses are the result of a comprehensive analysis of the project's codebase to identify and confirm the actual licenses of the components used, which may differ from the initially declared licenses. While declared licenses provide an upfront indication of the licensing intentions, concluded licenses offer a more thorough understanding of the actual licensing within a project, facilitating proper compliance and risk management. Observed licenses are defined in `@.evidence.licenses`. Observed licenses form the evidence necessary to substantiate a concluded license.
Copy file name to clipboardExpand all lines: schema/bom-1.7.schema.json
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1486,24 +1486,26 @@
1486
1486
"expression": {
1487
1487
"type": "string",
1488
1488
"title": "SPDX License Expression",
1489
-
"description": "A valid SPDX license expression.\nRefer to https://spdx.org/specifications for syntax requirements",
1489
+
"description": "A valid SPDX license expression.\nRefer to https://spdx.org/specifications for syntax requirements.",
1490
1490
"examples": [
1491
1491
"Apache-2.0 AND (MIT OR GPL-2.0-only)",
1492
1492
"GPL-3.0-only WITH Classpath-exception-2.0"
1493
1493
]
1494
1494
},
1495
1495
"expressionDetails": {
1496
-
"title": "expression details",
1496
+
"title": "Expression Details",
1497
+
"description": "Details for parts of the `expression`.",
1497
1498
"type": "array",
1498
1499
"items": {
1499
1500
"type": "object",
1501
+
"description": "Specifies the details and attributes related to a software license identifier.\n(An SPDX expression may be a compound of license identifiers.)",
1500
1502
"required": [
1501
1503
"licenseIdentifier"
1502
1504
],
1503
1505
"properties": {
1504
1506
"licenseIdentifier": {
1505
1507
"title": "License Identifier",
1506
-
"description": "TODO",
1508
+
"description": "A valid SPDX license identifier. Refer to https://spdx.org/specifications for syntax requirements.",
Refer to https://spdx.org/specifications for syntax requirements
974
+
Refer to https://spdx.org/specifications for syntax requirements.
975
975
976
976
Example values:
977
977
- Apache-2.0 AND (MIT OR GPL-2.0-only)
@@ -984,9 +984,21 @@ limitations under the License.
984
984
</xs:complexType>
985
985
986
986
<xs:complexTypename="expressionDetailedType">
987
+
<xs:annotation>
988
+
<xs:documentation>Specifies the details and attributes related to a software license. It must be a valid SPDX license expression, along with additional properties such as license acknowledgment.</xs:documentation>
0 commit comments