Skip to content

Commit

Permalink
Add source-distribution element to externalReferenceType (#269)
Browse files Browse the repository at this point in the history
Resolves #98
  • Loading branch information
jkowalleck authored Jan 12, 2024
2 parents 6f4665c + ae45d7c commit 517e694
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
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

0 comments on commit 517e694

Please sign in to comment.