Skip to content

Commit 5f14c2a

Browse files
Fixed property issue with component
Signed-off-by: Steve Springett <[email protected]>
1 parent 2114c27 commit 5f14c2a

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

schema/2.0/model/cyclonedx-component-2.0.schema.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,6 @@
233233
}
234234
}
235235
},
236-
"externalReferences": {
237-
"type": "array",
238-
"items": {"$ref": "cyclonedx-common-2.0.schema.json#/$defs/externalReference"},
239-
"title": "External References",
240-
"description": "External references provide a way to document systems, sites, and information that may be relevant but are not included with the BOM. They may also establish specific relationships within or external to the BOM."
241-
},
242236
"components": {
243237
"type": "array",
244238
"items": {"$ref": "#/$defs/component"},
@@ -270,24 +264,23 @@
270264
"$ref": "cyclonedx-cryptography-2.0.schema.json#/$defs/cryptoProperties",
271265
"title": "Cryptographic Properties"
272266
},
273-
"properties": {
274-
"type": "array",
275-
"title": "Properties",
276-
"description": "Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions. Unlike key-value stores, properties support duplicate names, each potentially having different values. Property names of interest to the general public are encouraged to be registered in the [CycloneDX Property Taxonomy](https://github.com/CycloneDX/cyclonedx-property-taxonomy). Formal registration is optional.",
277-
"items": {"$ref": "cyclonedx-common-2.0.schema.json#/$defs/property"}
278-
},
279267
"tags": {
280268
"$ref": "cyclonedx-common-2.0.schema.json#/$defs/tags",
281269
"title": "Tags"
282270
},
271+
"properties": {
272+
"$ref": "cyclonedx-common-2.0.schema.json#/$defs/properties"
273+
},
274+
"externalReferences": {
275+
"$ref": "cyclonedx-common-2.0.schema.json#/$defs/externalReferences"
276+
},
283277
"signature": {
284278
"$ref": "cyclonedx-common-2.0.schema.json#/$defs/signature",
285279
"title": "Signature",
286280
"description": "Enveloped signature in [JSON Signature Format (JSF)](https://cyberphone.github.io/doc/security/jsf.html)."
287281
}
288282
},
289283
"allOf": [
290-
{ "$ref": "cyclonedx-common-2.0.schema.json#/$defs/baseObject" },
291284
{
292285
"description": "Requirement: ensure that `version` and `versionRange` are not present simultaneously.",
293286
"not": {

0 commit comments

Comments
 (0)