docs: add ML-BOM model card example
What changed
Adds a compact ML-BOM example to the official BOM examples collection.
The example shows one fictional application, one machine-learning-model component, two data components, an inline modelCard, dataset references from modelCard.modelParameters.datasets[], and top-level dependency links from the model to the dataset components.
Why
CycloneDX already supports ML-BOM use cases in the specification, but this examples repo does not currently have an ML-BOM family directory. A small schema-valid example can give implementers a copyable starting point without requiring them to read the full schema first.
Related: #50 explored a broader ML-BOM example set. This PR is intentionally narrower and focuses on one schema-valid model-card/dataset-reference path.
Boundary
The model, datasets, URLs, and metric values are fictional. They are included only to demonstrate CycloneDX structure, not to make claims about a real model, dataset, performance result, license, safety posture, or deployment.
Validation
Ran locally:
jq . MLBOM/Model-Card-With-Dataset/bom.json
git diff --check
python3 local markdown-link check for README links
npx --yes [email protected] validate
-s /tmp/cyclonedx-specification/schema/bom-1.7.schema.json
-r /tmp/cyclonedx-specification/schema/spdx.schema.json
-r /tmp/cyclonedx-specification/schema/jsf-0.82.schema.json
-r /tmp/cyclonedx-specification/schema/cryptography-defs.schema.json
-d MLBOM/Model-Card-With-Dataset/bom.json
--strict=false
The AJV run reports the expected unknown-format warnings for schema formats not loaded by ajv-cli, then validates the BOM as valid.
Small downstream validation note, no action needed here: I validated the same narrow shape as a bounded consumer case: one selected machine-learning-model component, dataset/model-card handling kept refs-only, and the full BOM, model card, dataset, graph, metric, and safety context left in the source BOM.
That is just a consumer check of the existing CycloneDX structure. This PR can stay focused on being a compact schema-valid ML-BOM example.