Initial checkin of perspective model.#745
Open
stevespringett wants to merge 6 commits into2.0-devfrom
Open
Conversation
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR implements a new "perspective" model for CycloneDX 2.0, which enables domain-specific views into BOM documents. This allows different audiences to interpret and navigate data through their own conceptual lens using JSON path expressions and terminology mappings.
Changes:
- Added comprehensive JSON schema for perspective model with support for predefined and custom domains
- Integrated perspectives into main CycloneDX 2.0 schema
- Added "perspective" as a new external reference type
- Included test data demonstrating NTIA Minimum Elements perspective
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| schema/2.0/model/cyclonedx-perspective-2.0.schema.json | Complete JSON schema definition for the perspective model with domains, mappings, and relevance |
| schema/2.0/cyclonedx-2.0.schema.json | Integration of perspective schema into main CycloneDX schema |
| schema/2.0/model/cyclonedx-common-2.0.schema.json | Addition of "perspective" external reference type |
| tools/src/test/resources/2.0/valid-perspective-2.0.json | Test data showing NTIA Minimum Elements perspective with mappings |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jkowalleck
approved these changes
Feb 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements perspective model. Closes #736