-
-
Notifications
You must be signed in to change notification settings - Fork 68
Description
bom-ref
is a required attribute, so we need to remove the optional
word from the description.
specification/schema/bom-1.6.schema.json
Line 3887 in d570ffb
"bom-ref", |
specification/schema/bom-1.6.schema.json
Line 3895 in d570ffb
"description": "An optional identifier which can be used to reference the workflow 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.", |
specification/schema/bom-1.6.schema.json
Line 4207 in d570ffb
"bom-ref", |
specification/schema/bom-1.6.schema.json
Line 4214 in d570ffb
"description": "An optional identifier which can be used to reference the workspace 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.", |
I think in 1.7 we can think of externalizing the help texts and referring to them with short codes. That way the description will be consistent and could be internationalized. Whether an attribute is required or not could be determined entirely from the required
array.