You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the schema bundler knows external schemas - schemas that shall not be bundled.
issue
current implementation carries over those schema paths.
which might cause unreachable refs, since the output path might not be the same as the input pat. This is especially important to those model folders, that reference relative tools, and are bundled to a file outside that model folder.
spdx.schema.json is marked as external - it shall not be bundled
when bundling this schema/2.0/cyclonedx-2.0.schema.json to target file schema/2.0/cyclonedx-2.0-bundled.schema.json, then the ../../spdx.schema.json does not exist from the bundled target location
it must be rewired to ../spdx.schema.json
goal
have those external files rewired
to the target file location
from above example:
../../spdx.schema.json should be rewired
from source location schema/2.0/model / ../../spdx.schema.json
to schema/2.0 - ../spdx.schema.json
optional goal - probably not in thisfix
additionally, each schema has an ID - in JSON schema 2020-12 this id is a also defined as a absolute location.
this means: we might need a switch that, when present, rewires to this absolute location.
Activity
2.0 dev bundler externals rewrite (#1006)
jkowalleck commentedon Aug 5, 2026
done via #1006