Repository navigation
Open
Description
for some linked types, the description and type don't match.
the description reads:
References using bom-link or
refId[...]
but the type is cyclonedx-common-2.0.schema.json#/$defs/refLinkType
either the description is wrong, or the type should be cyclonedx-common-2.0.schema.json#/$defs/elementLink.
example / findings
specification/schema/2.0/modules/cyclonedx-blueprint-2.0.schema.json
Lines 163 to 171 in da93871
"assets": { "type": "array", "title": "Assets", "uniqueItems": true, "items": { "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType" }, "description": "References using bom-link or `refId` to the blueprint assets that are involved in or exercised by this use case." }, specification/schema/2.0/modules/cyclonedx-control-2.0.schema.json
Lines 93 to 102 in da93871
"appliesTo": { "type": "array", "title": "Applies To", "uniqueItems": true, "minItems": 1, "items": { "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType" }, "description": "References using bom-link or `refId` to the elements the control protects, such as components, services, zones, or boundaries. A control without this property applies to the organization or system as a whole." }, - to be continues
context
- a
refLinkTypeis not a bom-link, but a value of arefId. - a
bomLinkElementTypeis a bom-link to an element - a
bomLinkDocumentTypeis a bom-link to an entire document - and a
bomLinkis abomLinkDocumentTypeorbomLinkElementType - and a
elementLinkis arefLinkTypeorbomLinkElementType
goal
revisit all the usages of the mentioned things, and check if they match their description text in the respective context.
Activity
cvas22 commentedon Nov 12, 2026
I went through all of 2.0-dev: 98 properties across 13 modules say "bom-link or
refId" but are typedrefLinkType, almost all in blueprint, threat, risk, control, declaration, data and usecase. It also goes the other way in a few places, e.g. annotationsubjects, component identity evidencetoolsand formulationresourceReferenceChoiceareelementLinkbut described asrefIdonly. Since 98 is a lot, which way do you want it? Switching them toelementLinkallows cross-BOM references everywhere, fixing the wording keeps them document-local. I can send a PR for either once you pick.