Skip to content

Commit 639f05c

Browse files
Fixed definition to refType
Signed-off-by: Steve Springett <[email protected]>
1 parent c154010 commit 639f05c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schema/bom-1.5.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2365,7 +2365,7 @@
23652365
"additionalProperties": false,
23662366
"properties": {
23672367
"ref": {
2368-
"type": "string",
2368+
"$ref": "#/definitions/refType",
23692369
"title": "Reference",
23702370
"description": "References a data component by the components bom-ref attribute"
23712371
}

schema/bom-1.5.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3499,7 +3499,7 @@ limitations under the License.
34993499
<xs:element name="target">
35003500
<xs:complexType>
35013501
<xs:sequence minOccurs="0" maxOccurs="1">
3502-
<xs:element name="ref" minOccurs="1" maxOccurs="1">
3502+
<xs:element name="ref" type="bom:refType" minOccurs="1" maxOccurs="1">
35033503
<xs:annotation>
35043504
<xs:documentation>References a component or service by the objects bom-ref.</xs:documentation>
35053505
</xs:annotation>

0 commit comments

Comments
 (0)