-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
JSON and XML schemas differ for licenses
#204
Comments
@pombredanne taught me, that a license list's order is important, and that a license list is not a "any of these" choice but has other juridical implications. This gave me the impression, that there should be EITHER an expression OR a list of licenses. To "fix" the JSON, we would define
i'll draft a change request soon, to showcase the solution, so we could discuss the implications. PS: proposed fix: #205 |
i will close this issue, as it will be fixed in upcoming v1.5 -- see #205 |
As noted in CycloneDX/cyclonedx-python-lib#365, there is a discrepancy between JSON and XML schemas for CycloneDX v1.4 with how
licenses
are defined.JSON
licenses
is an Array of eitherexpression
orlicense
- i.e. 0 or moreexpression
or 0 or morelicense
see hereXML
licenses
is an complex type defined as either 0 or morelicense
OR 0 or 1expression
see hereThe text was updated successfully, but these errors were encountered: