File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 114114 },
115115 "definitions" : {
116116 "refType" : {
117- "$comment" : " Identifier-DataType for interlinked elements." ,
118- "type" : " string"
117+ "description" : " Identifier for referable and therefore interlink-able elements." ,
118+ "type" : " string" ,
119+ "minLength" : 1 ,
120+ "$comment" : " value SHOULD not start with the BOM-Link intro 'urn:cdx:'"
121+ },
122+ "refLinkType" : {
123+ "description" : " Descriptor for an element identified by the attribute 'bom-ref' in the same BOM document.\n In contrast to `bomLinkElementType`." ,
124+ "allOf" : [{"$ref" : " #/definitions/refType" }]
119125 },
120126 "bomLinkDocumentType" : {
121127 "title" : " BOM-Link document" ,
122128 "description" : " Descriptor for another BOM document. See https://cyclonedx.org/capabilities/bomlink/" ,
123129 "type" : " string" ,
130+ "format" : " iri-reference" ,
124131 "pattern" : " ^urn:cdx:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/[1-9][0-9]*$" ,
125132 "$comment" : " part of the pattern is based on `bom.serialNumber`'s pattern"
126133 },
127134 "bomLinkElementType" : {
128135 "title" : " BOM-Link element" ,
129136 "description" : " Descriptor for an element in another BOM document. See https://cyclonedx.org/capabilities/bomlink/" ,
130137 "type" : " string" ,
138+ "format" : " iri-reference" ,
131139 "pattern" : " ^urn:cdx:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/[1-9][0-9]*#.+$" ,
132140 "$comment" : " part of the pattern is based on `bom.serialNumber`'s pattern"
133141 },
You can’t perform that action at this time.
0 commit comments