CycloneDX / CycloneDX/cyclonedx-python-lib
[FEAT] Add support for Component modelCard field
未关闭
enhancement
help wanted
schema 1.5
- 主要语言
- Python
- 星标
- 116
- 派生
- 67
- 平均合并
- 8 天 2 小时
- 30 天内合并 PR
- 2
描述
### 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
贡献指南
调研方向
首先定位 Component 模型和 JSON/XML 序列化入口,然后查看 MACHINE_LEARNING_MODEL 组件的表示方式。在两种序列化格式中添加对 modelCard 字段的支持,并验证组件是否可以按描述创建并序列化该字段;查看父 issue #911 以了解相关上下文。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend-api-design
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100