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_5.License.license
Optional
licensingLicensing details describing the licensor/licensee, license type, renewal and expiration dates, and other important metadata
from field: optional cyclonedx.v1_5.Licensing licensing = 6;
Specifies optional, custom, properties
from field: repeated cyclonedx.v1_5.Property properties = 7;
Optional
textSpecifies the optional full text of the attachment
from field: optional cyclonedx.v1_5.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_5.License