Skip to content

Commit

Permalink
scope required may be another version
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Jan 19, 2025
1 parent b50ff0d commit ac584dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion schema/bom-1.6.proto
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ message Pedigree {
enum Scope {
// Default
SCOPE_UNSPECIFIED = 0;
// The component is required for runtime
// The component is required for runtime, or another version.
SCOPE_REQUIRED = 1;
// The component is optional at runtime. Optional components are components that are not capable of being called due to them not being installed or otherwise accessible by any means. Components that are installed but, due to configuration or other restrictions, are prohibited from being called must be scoped as 'required'.
SCOPE_OPTIONAL = 2;
Expand Down
2 changes: 1 addition & 1 deletion schema/bom-1.6.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@
"excluded"
],
"meta:enum": {
"required": "The component is required for runtime",
"required": "The component is required for runtime, or another version.",
"optional": "The component is optional at runtime. Optional components are components that are not capable of being called due to them not being installed or otherwise accessible by any means. Components that are installed but due to configuration or other restrictions are prohibited from being called must be scoped as 'required'.",
"excluded": "Components that are excluded provide the ability to document component usage for test and other non-runtime purposes. Excluded components are not reachable within a call graph at runtime."
},
Expand Down
2 changes: 1 addition & 1 deletion schema/bom-1.6.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ limitations under the License.
<xs:restriction base="xs:string">
<xs:enumeration value="required">
<xs:annotation>
<xs:documentation>The component is required for runtime</xs:documentation>
<xs:documentation>The component is required for runtime, or another version.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="optional">
Expand Down

0 comments on commit ac584dc

Please sign in to comment.