@@ -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.
@@ -1158,7 +1165,7 @@ limitations under the License.
11581165 <xs : sequence minOccurs =" 0" maxOccurs =" unbounded" >
11591166 <xs : element name =" dependency" type =" bom:dependencyType" />
11601167 </xs : sequence >
1161- <xs : attribute name =" ref" type =" xs:string " use =" required" >
1168+ <xs : attribute name =" ref" type =" bom:refType " use =" required" >
11621169 <xs : annotation >
11631170 <xs : documentation >References a component or service by the its bom-ref attribute</xs : documentation >
11641171 </xs : annotation >
@@ -1311,7 +1318,7 @@ limitations under the License.
13111318 </xs : annotation >
13121319 </xs : any >
13131320 </xs : sequence >
1314- <xs : attribute name =" bom-ref" type =" xs:string " >
1321+ <xs : attribute name =" bom-ref" type =" bom:refType " >
13151322 <xs : annotation >
13161323 <xs : documentation >
13171324 An optional identifier which can be used to reference the service elsewhere in the BOM.
@@ -1504,7 +1511,7 @@ limitations under the License.
15041511 </xs : simpleType >
15051512
15061513 <xs : complexType name =" bomReferenceType" >
1507- <xs : attribute name =" ref" type =" xs:string " use =" required" >
1514+ <xs : attribute name =" ref" type =" bom:refType " use =" required" >
15081515 <xs : annotation >
15091516 <xs : documentation >References a component or service by the its bom-ref attribute</xs : documentation >
15101517 </xs : annotation >
0 commit comments