Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add source-distribution element to externalReferenceType #269

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions schema/bom-1.6.proto
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ enum ExternalReferenceType {
EXTERNAL_REFERENCE_TYPE_EVIDENCE = 36;
// Describes how a component or service was manufactured or deployed.
EXTERNAL_REFERENCE_TYPE_FORMULATION = 37;
// URL to a source archive.
EXTERNAL_REFERENCE_TYPE_SOURCE_DISTRIBUTION = 38;
}

enum HashAlg {
Expand Down
2 changes: 2 additions & 0 deletions schema/bom-1.6.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,7 @@
"chat",
"documentation",
"support",
"source-distribution",
"distribution",
"distribution-intake",
"license",
Expand Down Expand Up @@ -1285,6 +1286,7 @@
"chat": "Real-time chat platform",
"documentation": "Documentation, guides, or how-to instructions",
"support": "Community or commercial support",
"source-distribution": "URL to a source archive",
"distribution": "Direct or repository download location",
"distribution-intake": "The location where a component was published to. This is often the same as \"distribution\" but may also include specialized publishing processes that act as an intermediary.",
"license": "The reference to the license file. If a license URL has been defined in the license node, it should also be defined as an external reference for completeness.",
Expand Down
5 changes: 5 additions & 0 deletions schema/bom-1.6.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,11 @@ limitations under the License.
<xs:documentation>Community or commercial support</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="source-distribution">
<xs:annotation>
<xs:documentation>URL to a source archive</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="distribution">
<xs:annotation>
<xs:documentation>Direct or repository download location</xs:documentation>
Expand Down