Skip to content

Commit 517e694

Browse files
authored
Add source-distribution element to externalReferenceType (#269)
Resolves #98
2 parents 6f4665c + ae45d7c commit 517e694

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

schema/bom-1.6.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ enum ExternalReferenceType {
263263
EXTERNAL_REFERENCE_TYPE_EVIDENCE = 36;
264264
// Describes how a component or service was manufactured or deployed.
265265
EXTERNAL_REFERENCE_TYPE_FORMULATION = 37;
266+
// URL to a source archive.
267+
EXTERNAL_REFERENCE_TYPE_SOURCE_DISTRIBUTION = 38;
266268
}
267269

268270
enum HashAlg {

schema/bom-1.6.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,7 @@
12441244
"chat",
12451245
"documentation",
12461246
"support",
1247+
"source-distribution",
12471248
"distribution",
12481249
"distribution-intake",
12491250
"license",
@@ -1285,6 +1286,7 @@
12851286
"chat": "Real-time chat platform",
12861287
"documentation": "Documentation, guides, or how-to instructions",
12871288
"support": "Community or commercial support",
1289+
"source-distribution": "URL to a source archive",
12881290
"distribution": "Direct or repository download location",
12891291
"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.",
12901292
"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.",

schema/bom-1.6.xsd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,11 @@ limitations under the License.
12591259
<xs:documentation>Community or commercial support</xs:documentation>
12601260
</xs:annotation>
12611261
</xs:enumeration>
1262+
<xs:enumeration value="source-distribution">
1263+
<xs:annotation>
1264+
<xs:documentation>URL to a source archive</xs:documentation>
1265+
</xs:annotation>
1266+
</xs:enumeration>
12621267
<xs:enumeration value="distribution">
12631268
<xs:annotation>
12641269
<xs:documentation>Direct or repository download location</xs:documentation>

0 commit comments

Comments
 (0)