Skip to content

Clarify difference between metadata.licenses and metadata.component.licenses #273

Closed

Description

@lfrancke

The JSON Schema currently has this snippet for metadata.licenses:

        "licenses": {
          "title": "BOM License(s)",
          "$ref": "#/definitions/licenseChoice"
        },

This gets rendered as:

image

The title is not shown making it unclear what the difference is between those two.

I suggest adding a description.

Similar for XML:

            <xs:element name="licenses" type="bom:licenseChoiceType" minOccurs="0" maxOccurs="1"/>

Activity

  1. added this to the 1.6 milestone on Jul 30, 2023
  2. changed the title [-]Clarify difference between metadata.licenses and metadata.component.licenses[/-] [+]Clarify difference between `metadata.licenses` and `metadata.component.licenses`[/+] on Dec 4, 2023
  3. jkowalleck commented on Feb 5, 2024

    @jkowalleck
    Member

    metadata.licenses is the license of the CycloneDX document.
    the other one is the license of the component descibed by the document.

    I will update the documentation on the schema files.

  4. jkowalleck commented on Feb 6, 2024

    @jkowalleck
    Member

    could I ask you for a review of #378 ?

  5. stevespringett commented on Feb 22, 2024

    @stevespringett
    Member

    @jkowalleck is this still outstanding?

  6. stevespringett commented on Feb 22, 2024

    @stevespringett
    Member

    Or can it be closed?

  7. jkowalleck commented on Feb 22, 2024

    @jkowalleck
    Member

    i intended to close it via https://github.com/CycloneDX/cyclonedx.org/issues/281
    I'd say it can be closed, but i'd appreciate if @lfrancke could review the already merged #378
    and tell if the change was suffitient, so that this issue might be closed

  8. lfrancke commented on Feb 25, 2024

    @lfrancke
    Author

    I only have one comment on #378
    But yes: I'm happy to close this either way. It's much clearer now, thank you!

  9. linked a pull request that will close this issuedocs: describe `$.metadata.licenses` #378on Mar 1, 2024
  10. jkowalleck commented on Mar 1, 2024

    @jkowalleck
    Member

    all done

  11. added a commit that references this issue on Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions