Skip to content

Commit

Permalink
Revert "#11 #12 Made serialNumber optional"
Browse files Browse the repository at this point in the history
This reverts commit f53d000
  • Loading branch information
stevespringett committed Feb 19, 2019
1 parent f53d000 commit 3160c70
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions schema/bom-1.1-DRAFT-2.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="text" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>If SPDX does not define the license used, this field may be used to provide the license name</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down Expand Up @@ -519,11 +514,11 @@
made to the BOMs, then each BOM will have a version of '1'.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="serialNumber" type="bom:urnUuid">
<xs:attribute name="serialNumber" type="bom:urnUuid" use="required">
<xs:annotation>
<xs:documentation>Every BOM generated should have a unique serial number, even if the contents
<xs:documentation>Every BOM generated must have a unique serial number, even if the contents
of the BOM being generated have not changed over time. The process or tool responsible for
creating the BOM should create random UUID's for every BOM generated.</xs:documentation>
creating the BOM must create random UUID's for every BOM generated.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" processContents="lax">
Expand Down

0 comments on commit 3160c70

Please sign in to comment.