Skip to content

Commit c16b24a

Browse files
committed
docs: SPDX expression examplefor LicenseRef-
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 0dc34e0 commit c16b24a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

schema/bom-1.7.proto

+1
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ message ExpressionDetailed {
427427
// Example values:
428428
// - "Apache-2.0",
429429
// - "GPL-3.0-only WITH Classpath-exception-2.0"
430+
// - "LicenseRef-my-custom-license"
430431
string license_identifier = 1;
431432
// Specifies the optional full text of the attachment
432433
optional AttachedText text = 2;

schema/bom-1.7.schema.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,8 @@
15091509
"type": "string",
15101510
"examples": [
15111511
"Apache-2.0",
1512-
"GPL-3.0-only WITH Classpath-exception-2.0"
1512+
"GPL-3.0-only WITH Classpath-exception-2.0",
1513+
"LicenseRef-my-custom-license"
15131514
]
15141515
},
15151516
"text": {

schema/bom-1.7.xsd

+2-1
Original file line numberDiff line numberDiff line change
@@ -1019,8 +1019,9 @@ limitations under the License.
10191019
A valid SPDX license identifier. Refer to https://spdx.org/specifications for syntax requirements.
10201020

10211021
Example values:
1022-
- Apache-2.0"
1022+
- Apache-2.0
10231023
- GPL-3.0-only WITH Classpath-exception-2.0
1024+
- LicenseRef-my-custom-license
10241025
</xs:documentation>
10251026
</xs:annotation>
10261027
</xs:attribute>

0 commit comments

Comments
 (0)