Skip to content

Commit 9c8c622

Browse files
chore: update bundled schemas [skip ci]
1 parent 1c8bab8 commit 9c8c622

File tree

2 files changed

+28
-9
lines changed

2 files changed

+28
-9
lines changed

schema/2.0/cyclonedx-2.0-bundled.min.schema.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

schema/2.0/cyclonedx-2.0-bundled.schema.json

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@
18591859
"title": "Component License(s)"
18601860
},
18611861
"copyright": {
1862-
"$ref": "#/$defs/cyclonedx-component-2.0/$defs/copyright"
1862+
"$ref": "#/$defs/cyclonedx-component-2.0/$defs/copyrightText"
18631863
},
18641864
"patentAssertions": {
18651865
"$ref": "#/$defs/cyclonedx-patent-2.0/$defs/patentAssertions",
@@ -2069,14 +2069,38 @@
20692069
"vers:gem/>=2.2.0|!= 2.2.1|<2.3.0"
20702070
]
20712071
},
2072-
"copyright": {
2072+
"copyrightText": {
20732073
"type": "string",
20742074
"title": "Component Copyright",
20752075
"description": "A copyright notice informing users of the underlying claims to copyright ownership in a published work.",
20762076
"examples": [
20772077
"Acme Inc"
20782078
]
20792079
},
2080+
"copyright": {
2081+
"type": "array",
2082+
"items": {
2083+
"$ref": "#/$defs/cyclonedx-component-2.0/$defs/copyrightObject"
2084+
},
2085+
"title": "Copyright",
2086+
"description": "Captures intellectual property assertions, providing evidence of possible ownership and legal protection."
2087+
},
2088+
"copyrightObject": {
2089+
"type": "object",
2090+
"title": "Copyright",
2091+
"description": "A copyright notice informing users of the underlying claims to copyright ownership in a published work.",
2092+
"required": [
2093+
"text"
2094+
],
2095+
"additionalProperties": false,
2096+
"properties": {
2097+
"text": {
2098+
"type": "string",
2099+
"title": "Copyright Text",
2100+
"description": "The textual content of the copyright."
2101+
}
2102+
}
2103+
},
20802104
"swid": {
20812105
"type": "object",
20822106
"title": "SWID Tag",
@@ -2253,12 +2277,7 @@
22532277
"title": "License Evidence"
22542278
},
22552279
"copyright": {
2256-
"type": "array",
2257-
"items": {
2258-
"$ref": "#/$defs/cyclonedx-component-2.0/$defs/copyright"
2259-
},
2260-
"title": "Copyright Evidence",
2261-
"description": "Copyright evidence captures intellectual property assertions, providing evidence of possible ownership and legal protection."
2280+
"$ref": "#/$defs/cyclonedx-component-2.0/$defs/copyright"
22622281
}
22632282
}
22642283
},

0 commit comments

Comments
 (0)