cdx-proto
    Preparing search index...

    Type Alias LicenseChoice

    LicenseChoice: Message<"cyclonedx.v1_6.LicenseChoice"> & {
        acknowledgement?: LicenseAcknowledgementEnumeration;
        choice:
            | { case: "license"; value: License }
            | { case: "expression"; value: string }
            | { case: undefined; value?: undefined };
    }

    Type declaration

    • Optionalacknowledgement?: LicenseAcknowledgementEnumeration

      This field must only be used when "expression" is chosen as the License object has its own acknowledgement.

      from field: optional cyclonedx.v1_6.LicenseAcknowledgementEnumeration acknowledgement = 3;

    • choice:
          | { case: "license"; value: License }
          | { case: "expression"; value: string }
          | { case: undefined; value?: undefined }

      from oneof cyclonedx.v1_6.LicenseChoice.choice

    from message cyclonedx.v1_6.LicenseChoice