CycloneDX / CycloneDX/cyclonedx-python-lib
[FEAT] Add support for Component modelCard field
- Dominant language
- Python
- Stars
- 116
- Forks
- 67
- Avg merge
- 8d 2h
- Merged PRs (30d)
- 2
Description
### Description
The CycloneDX Python library currently does not support the `modelCard` field on components, as defined in CycloneDX v1.5+.
### Expected behavior
- Ability to create and serialize components with type `MACHINE_LEARNING_MODEL` and the `modelCard` field populated.
### Current behavior
- The `modelCard` field is unsupported.
### Suggested solution
- Extend the Component model to include `modelCard`.
- Update JSON/XML serialization to support this field.
### References
- Parent issue: #911
Contributor guide
Research direction
Start by locating the Component model and the JSON/XML serialization entry points, then review how MACHINE_LEARNING_MODEL components are represented. Add support for the modelCard field in both serialization formats and verify that a component can create and serialize it as described; check parent issue #911 for related context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100