You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Defect]: XML schema incorrectly restricts several ModelCard.Considerations list fields to a single entry #737
Multiple list fields in the ModelCard definition for CycloneDX 1.5, 1.6, and 1.7 are incorrectly constrained in the XML schema. The elements users, useCases, technicalLimitations, and performanceTradeoffs all have maxOccurs="1" on both the parent element and the child element, which restricts them to a single value.
In the JSON schema, these same fields are defined as arrays. This matches their plural naming and the accompanying documentation.
The XML definitions for the fields listed above appear to be incorrect. They should allow multiple entries, consistent with the JSON schemas.
(Other list fields in the ModelCard definition, such as performanceMetrics, graphics, datasets, inputs, outputs, ethicalConsiderations, and fairnessAssessments, correctly allow multiple entries in both XML and JSON)
Additional context
Example from the XML schema illustrating the issue:
Thanks for clarifying. I’ve bumped the XML schema patch versions (1.5, 1.6, 1.7) in the PR, as you suggested. If there’s anything else in the PR that isn’t up to project standards, please let me know.
Activity
wiebe-vandendriessche commentedon Dec 17, 2025
Does this require further discussion? If not, I have a draft pull request ready.
stevespringett commentedon Dec 18, 2025
Thanks for identifying the issue. We'll need to bump the version of the XML schema, but not the spec itself.
For example:
So
versionbecomes1.7.1, but the namespaces remain at 1.7.wiebe-vandendriessche commentedon Dec 19, 2025
Hi Steve
Thanks for clarifying. I’ve bumped the XML schema patch versions (1.5, 1.6, 1.7) in the PR, as you suggested. If there’s anything else in the PR that isn’t up to project standards, please let me know.
PR: #744
fix: allow multiple entries for ModelCard considerations lists in xml (…
jkowalleck commentedon May 22, 2026
this will be solved in the upcoming release 1.7.1, and backported to 1.6.2 and 1.5.1
CycloneDX 1.7.1 - Schema Alignment & Typo-/Bug‑Fix Release (#932)
jkowalleck commentedon Jun 2, 2026
fixed via https://github.com/CycloneDX/specification/releases/tag/1.7.1
jkowalleck commentedon Jun 2, 2026
back-ported to v1.6 via https://github.com/CycloneDX/specification/releases/tag/1.6.2
jkowalleck commentedon Jun 2, 2026
backported to v1.5 via https://github.com/CycloneDX/specification/releases/tag/1.5.1