Skip to content

Commit 145d4ad

Browse files
committed
make bom.version a positive integer, was integer
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent f71582d commit 145d4ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

schema/bom-1.5.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"type": "integer",
4343
"title": "BOM Version",
4444
"description": "Whenever an existing BOM is modified, either manually or through automated processes, the version of the BOM SHOULD be incremented by 1. When a system is presented with multiple BOMs with identical serial numbers, the system SHOULD use the most recent version of the BOM. The default version is '1'.",
45+
"minimum": 1,
4546
"default": 1,
4647
"examples": [1]
4748
},

schema/bom-1.5.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4100,7 +4100,7 @@ limitations under the License.
41004100
</xs:annotation>
41014101
</xs:any>
41024102
</xs:sequence>
4103-
<xs:attribute name="version" type="xs:integer" default="1">
4103+
<xs:attribute name="version" type="xs:positiveInteger" default="1">
41044104
<xs:annotation>
41054105
<xs:documentation>Whenever an existing BOM is modified, either manually or through automated
41064106
processes, the version of the BOM SHOULD be incremented by 1. When a system is presented with

0 commit comments

Comments
 (0)