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
Copy file name to clipboardExpand all lines: schema/bom-1.7.proto
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ message Component {
125
125
optionalScopescope=11;
126
126
// The hashes of the component.
127
127
repeatedHashhashes=12;
128
-
// EITHER (list of SPDX licenses and/or named licenses) OR (tuple of one SPDX License Expression)
128
+
// A list of SPDX licenses and/or named licenses and/or SPDX License Expression.
129
129
repeatedLicenseChoicelicenses=13;
130
130
// An optional copyright notice informing users of the underlying claims to copyright ownership in a published work.
131
131
optionalstringcopyright=14;
@@ -577,7 +577,7 @@ message Metadata {
577
577
// The organization that supplied the component that the BOM describes. The supplier may often be the manufacture, but may also be a distributor or repackager.
578
578
optionalOrganizationalEntitysupplier=6;
579
579
// The license information for the BOM document. This may be different from the license(s) of the component(s) that the BOM describes.
580
-
// EITHER (list of SPDX licenses and/or named licenses) OR (tuple of one SPDX License Expression)
580
+
// A list of SPDX licenses and/or named licenses and/or SPDX License Expression.
581
581
repeatedLicenseChoicelicenses=7;
582
582
// Specifies optional, custom, properties
583
583
repeatedPropertyproperties=8;
@@ -714,7 +714,7 @@ message Service {
714
714
optionalboolx_trust_boundary=9;
715
715
// Specifies information about the data including the directional flow of data and the data classification.
716
716
repeatedDataFlowdata=10;
717
-
// EITHER (list of SPDX licenses and/or named licenses) OR (tuple of one SPDX License Expression)
717
+
// A list of SPDX licenses and/or named licenses and/or SPDX License Expression.
718
718
repeatedLicenseChoicelicenses=11;
719
719
// Provides the ability to document external references related to the service.
720
720
repeatedExternalReferenceexternal_references=12;
@@ -836,7 +836,7 @@ message EvidenceCopyright {
836
836
837
837
// Provides the ability to document evidence collected through various forms of extraction or analysis.
838
838
messageEvidence {
839
-
// EITHER (list of SPDX licenses and/or named licenses) OR (tuple of one SPDX License Expression)
839
+
// A list of SPDX licenses and/or named licenses and/or SPDX License Expression.
840
840
repeatedLicenseChoicelicenses=1;
841
841
// Copyright evidence captures intellectual property assertions, providing evidence of possible ownership and legal protection.
Copy file name to clipboardExpand all lines: schema/bom-1.7.schema.json
+27-26Lines changed: 27 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1532,36 +1532,31 @@
1532
1532
},
1533
1533
"licenseChoice": {
1534
1534
"title": "License Choice",
1535
-
"description": "EITHER (list of SPDX licenses and/or named licenses) OR (tuple of one SPDX License Expression)",
1535
+
"description": "A list of SPDX licenses and/or named licenses and/or SPDX License Expression.",
1536
1536
"type": "array",
1537
-
"oneOf": [
1538
-
{
1539
-
"title": "Multiple licenses",
1540
-
"description": "A list of SPDX licenses and/or named licenses.",
1541
-
"type": "array",
1542
-
"items": {
1537
+
"items": {
1538
+
"oneOf": [
1539
+
{
1543
1540
"type": "object",
1544
1541
"title": "License",
1545
-
"required": ["license"],
1542
+
"required": [
1543
+
"license"
1544
+
],
1546
1545
"additionalProperties": false,
1547
1546
"properties": {
1548
-
"license": {"$ref": "#/definitions/license"}
1547
+
"license": {
1548
+
"$ref": "#/definitions/license"
1549
+
}
1549
1550
}
1550
-
}
1551
-
},
1552
-
{
1553
-
"title": "SPDX License Expression",
1554
-
"description": "A tuple of exactly one SPDX License Expression.",
1555
-
"type": "array",
1556
-
"additionalItems": false,
1557
-
"minItems": 1,
1558
-
"maxItems": 1,
1559
-
"items": [{
1551
+
},
1552
+
{
1560
1553
"title": "License Expression",
1561
1554
"description": "Specifies the details and attributes related to a software license.\nIt must be a valid SPDX license expression, along with additional properties such as license acknowledgment.",
1562
1555
"type": "object",
1563
1556
"additionalProperties": false,
1564
-
"required": ["expression"],
1557
+
"required": [
1558
+
"expression"
1559
+
],
1565
1560
"properties": {
1566
1561
"expression": {
1567
1562
"type": "string",
@@ -1607,7 +1602,9 @@
1607
1602
"type": "string",
1608
1603
"title": "License URL",
1609
1604
"description": "The URL to the license file. If specified, a 'license' externalReference should also be specified for completeness",
"description": "An optional identifier which can be used to reference the license elsewhere in the BOM. Every bom-ref must be unique within the BOM.\nValue SHOULD not start with the BOM-Link intro 'urn:cdx:' to avoid conflicts with BOM-Links."
1624
1621
},
1625
-
"licensing": {"$ref": "#/definitions/licensing"},
1622
+
"licensing": {
1623
+
"$ref": "#/definitions/licensing"
1624
+
},
1626
1625
"properties": {
1627
1626
"type": "array",
1628
1627
"title": "Properties",
1629
1628
"description": "Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions. Unlike key-value stores, properties support duplicate names, each potentially having different values. Property names of interest to the general public are encouraged to be registered in the [CycloneDX Property Taxonomy](https://github.com/CycloneDX/cyclonedx-property-taxonomy). Formal registration is optional.",
0 commit comments