Optional
acknowledgementDeclared 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.
from field: optional cyclonedx.v1_6.LicenseAcknowledgementEnumeration acknowledgement = 8;
Optional
bomAn 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.
from field: optional string bom_ref = 5;
A valid SPDX license ID
from field: string id = 1;
If SPDX does not define the license used, this field may be used to provide the license name
from field: string name = 2;
Optional
value?: undefinedfrom oneof cyclonedx.v1_6.License.license
Optional
licensingLicensing details describing the licensor/licensee, license type, renewal and expiration dates, and other important metadata
from field: optional cyclonedx.v1_6.Licensing licensing = 6;
Specifies optional, custom, properties
from field: repeated cyclonedx.v1_6.Property properties = 7;
Optional
textSpecifies the optional full text of the attachment
from field: optional cyclonedx.v1_6.AttachedText text = 3;
Optional
urlThe URL to the attachment file. If the attachment is a license or BOM, an externalReference should also be specified for completeness.
from field: optional string url = 4;
Static
Readonly
fieldsStatic
Readonly
runtimeStatic
Readonly
typeParse from binary data, merging fields.
Repeated fields are appended. Map entries are added, overwriting existing keys.
If a message field is already present, it will be merged with the new data.
Optional
options: Partial<BinaryReadOptions>Protected
toJSONOverride for serialization behavior. This will be invoked when calling JSON.stringify on this message (i.e. JSON.stringify(msg)).
Note that this will not serialize google.protobuf.Any with a packed message because the protobuf JSON format specifies that it needs to be unpacked, and this is only possible with a type registry to look up the message type. As a result, attempting to serialize a message with this type will throw an Error.
This method is protected because you should not need to invoke it directly -- instead use JSON.stringify or toJsonString for stringified JSON. Alternatively, if actual JSON is desired, you should use toJson.
Static
equalsStatic
fromStatic
fromStatic
from
Generated
from message cyclonedx.v1_6.License