@@ -35,6 +35,13 @@ limitations under the License.
3535 </xs : documentation >
3636 </xs : annotation >
3737
38+ <xs : simpleType name =" refType" >
39+ <xs : annotation >
40+ <xs : documentation >Identifier-DataType for interlinked elements.</xs : documentation >
41+ </xs : annotation >
42+ <xs : restriction base =" xs:string" />
43+ </xs : simpleType >
44+
3845 <xs : complexType name =" metadata" >
3946 <xs : sequence minOccurs =" 0" maxOccurs =" 1" >
4047 <xs : element name =" timestamp" type =" xs:dateTime" minOccurs =" 0" >
@@ -400,7 +407,7 @@ limitations under the License.
400407 </xs : documentation >
401408 </xs : annotation >
402409 </xs : attribute >
403- <xs : attribute name =" bom-ref" type =" xs:string " >
410+ <xs : attribute name =" bom-ref" type =" bom:refType " >
404411 <xs : annotation >
405412 <xs : documentation >
406413 An optional identifier which can be used to reference the component elsewhere in the BOM.
@@ -1156,7 +1163,7 @@ limitations under the License.
11561163 <xs : sequence minOccurs =" 0" maxOccurs =" unbounded" >
11571164 <xs : element name =" dependency" type =" bom:dependencyType" />
11581165 </xs : sequence >
1159- <xs : attribute name =" ref" type =" xs:string " use =" required" >
1166+ <xs : attribute name =" ref" type =" bom:refType " use =" required" >
11601167 <xs : annotation >
11611168 <xs : documentation >References a component or service by the its bom-ref attribute</xs : documentation >
11621169 </xs : annotation >
@@ -1309,7 +1316,7 @@ limitations under the License.
13091316 </xs : annotation >
13101317 </xs : any >
13111318 </xs : sequence >
1312- <xs : attribute name =" bom-ref" type =" xs:string " >
1319+ <xs : attribute name =" bom-ref" type =" bom:refType " >
13131320 <xs : annotation >
13141321 <xs : documentation >
13151322 An optional identifier which can be used to reference the service elsewhere in the BOM.
@@ -1502,7 +1509,7 @@ limitations under the License.
15021509 </xs : simpleType >
15031510
15041511 <xs : complexType name =" bomReferenceType" >
1505- <xs : attribute name =" ref" type =" xs:string " use =" required" >
1512+ <xs : attribute name =" ref" type =" bom:refType " use =" required" >
15061513 <xs : annotation >
15071514 <xs : documentation >References a component or service by the its bom-ref attribute</xs : documentation >
15081515 </xs : annotation >
0 commit comments