Skip to content

CycloneDX 2.0 #631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stevespringett opened this issue May 3, 2025 · 4 comments
Open

CycloneDX 2.0 #631

stevespringett opened this issue May 3, 2025 · 4 comments

Comments

@stevespringett
Copy link
Member

stevespringett commented May 3, 2025

CycloneDX 2.0 is a major version in active development, focused on cleaning up legacy constructs, enforcing semantic correctness, and enabling modern schema reuse and API integration. This issue tracks the scope, rationale, and technical direction of the 2.0 release.

Goals

  • Modularize the specification into multiple schemas (e.g. bom, component, metadata, common, etc)
  • Remove deprecated fields and legacy aliases
  • Constrain properties to their correct types (e.g. cryptoProperties only on cryptographic assets)
  • JSON-first focus supporting JSON Schema Draft 2020-12; potentially remove XML support
  • Make the schema directly usable as a canonical model for the Ecma Transparency Exchange API
  • Normalize naming and structural inconsistencies
@jkowalleck
Copy link
Member

jkowalleck commented May 5, 2025

  • Adopt JSON Schema Draft 2020-12 and drop official XML support

same for protobuf support?

@jkowalleck jkowalleck pinned this issue May 5, 2025
@stevespringett
Copy link
Member Author

same for protobuf support?

There are so many systems that use protobuf for machine-to-machine communication, that I'd like to offer official support for it, but do so in a way where we can generate the .proto from the JSON Schema at release time. I already have a partially working Python script that does this and keeps track of enum order so that we can preserve enum ordering from release to release.

@jkowalleck
Copy link
Member

this is confusing to me.

the ticket says it will drop support for anything that is not JSON, esecially XML.
but then it says it will also provide an (autogenerated) XML schema.
and it does not say anything about ProtoBuf.

please improve the ticket, and make clear what is to be expected.
will there be any XSD? will there be any ProtoBuf Schema?

@stevespringett
Copy link
Member Author

please improve the ticket,

This ticket is essentially the "epic". Details will be provided in individual subtickets (the stories). There is too much detail to put into one ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants