CycloneDX 1.7.1 - Schema Alignment & Typo-/Bug‑Fix Release#932
Open
jkowalleck wants to merge 22 commits into
Open
CycloneDX 1.7.1 - Schema Alignment & Typo-/Bug‑Fix Release#932jkowalleck wants to merge 22 commits into
jkowalleck wants to merge 22 commits into
Conversation
…tch with json Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
… (so it matches the json spec) Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
performanceTradeoffs in valid-machine-learning-*.xml test files to verify the schema correctly validates multiple entries for these fields. Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
…proto) Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
…roto files Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
Signed-off-by: wievdndr <wiebe.vandendriessche@ugent.be>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
This was referenced May 18, 2026
As discussed in ticket #726 and in CycloneDX/cyclonedx-python-lib#914, this PR fixes a schema mismatch where modelCard supports properties in JSON but was missing it in XML and Protobuf. Changes: Add optional properties to modelCardType in XML schemas: `bom-1.5.xsd`, `bom-1.6.xsd`, `bom-1.7.xsd` Add properties to ModelCard Protobuf message: `bom-1.5.proto`, `bom-1.6.proto`, `bom-1.7.proto` This is backward compatible (adds optional fields only). fixes #726
…#744) As discussed in ticket #737, the XML schema incorrectly restricts several ModelCard.Considerations list fields to a single entry. The JSON schema defines these fields as arrays, and other ModelCard list fields already allow multiple entries. This PR updates the XML schemas (1.5, 1.6, 1.7) so the following elements can contain multiple entries: `users/user` `useCases/useCase` `technicalLimitations/technicalLimitation` `performanceTradeoffs/performanceTradeoff` Additionally, the XML schema version attributes are bumped (patch-only) to reflect the schema change. fixes #737
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed – Schema Alignment
ModelCard.property(#726 via #743)//modelCard/properties(#726 via #743)//modelCard/considerations/users/userfrom optional to optional and repeated (#737 via #744)//modelCard/considerations/useCases/useCasefrom optional to optional and repeated (#737 via #744)//modelCard/considerations/technicalLimitations/technicalLimitationfrom optional to optional and repeated (#737 via #744)//modelCard/considerations/performanceTradeoffs/performanceTradeofffrom optional to optional and repeated (#737 via #744)Tests
propertiesin XML & ProtoBuff #726progress: https://github.com/CycloneDX/specification/milestone/13
intended release: v1.7.1
backports: