You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/bom-1.5.proto
+29-1Lines changed: 29 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,10 @@ message Bom {
33
33
repeatedCompositioncompositions=9;
34
34
// Vulnerabilities identified in components or services.
35
35
repeatedVulnerabilityvulnerabilities=10;
36
+
// Comments made by people, organizations, or tools about any object with a bom-ref, such as components, services, vulnerabilities, or the BOM itself. Unlike inventory information, annotations may contain opinion or commentary from various stakeholders.
Copy file name to clipboardExpand all lines: schema/bom-1.5.schema.json
+99Lines changed: 99 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,14 @@
97
97
"title": "Vulnerabilities",
98
98
"description": "Vulnerabilities identified in components or services."
99
99
},
100
+
"annotations": {
101
+
"type": "array",
102
+
"additionalItems": false,
103
+
"items": {"$ref": "#/definitions/annotations"},
104
+
"uniqueItems": true,
105
+
"title": "Annotations",
106
+
"description": "Comments made by people, organizations, or tools about any object with a bom-ref, such as components, services, vulnerabilities, or the BOM itself. Unlike inventory information, annotations may contain opinion or commentary from various stakeholders. Annotations may be inline (with inventory) or externalized via BOM-Link, and may optionally be signed."
107
+
},
100
108
"properties": {
101
109
"type": "array",
102
110
"title": "Properties",
@@ -1857,6 +1865,97 @@
1857
1865
"minLength": 1,
1858
1866
"maxLength": 1024
1859
1867
},
1868
+
"annotations": {
1869
+
"type": "object",
1870
+
"title": "Annotations",
1871
+
"description": "A comment, note, explanation, or similar textual content which provides additional context to the object(s) being annotated.",
1872
+
"required": [
1873
+
"subjects",
1874
+
"annotator",
1875
+
"timestamp",
1876
+
"text"
1877
+
],
1878
+
"additionalProperties": false,
1879
+
"properties": {
1880
+
"bom-ref": {
1881
+
"$ref": "#/definitions/refType",
1882
+
"title": "BOM Reference",
1883
+
"description": "An optional identifier which can be used to reference the annotation elsewhere in the BOM. Every bom-ref MUST be unique within the BOM."
1884
+
},
1885
+
"subjects": {
1886
+
"type": "array",
1887
+
"uniqueItems": true,
1888
+
"additionalItems": false,
1889
+
"items": {
1890
+
"$ref": "#/definitions/refType"
1891
+
},
1892
+
"title": "BOM References",
1893
+
"description": "The object in the BOM identified by its bom-ref. This is often a component or service, but may be any object type supporting bom-refs."
1894
+
},
1895
+
"annotator": {
1896
+
"type": "object",
1897
+
"title": "Annotator",
1898
+
"description": "The organization, person, component, or service which created the textual content of the annotation.",
1899
+
"oneOf": [
1900
+
{
1901
+
"required": [
1902
+
"organization"
1903
+
]
1904
+
},
1905
+
{
1906
+
"required": [
1907
+
"individual"
1908
+
]
1909
+
},
1910
+
{
1911
+
"required": [
1912
+
"component"
1913
+
]
1914
+
},
1915
+
{
1916
+
"required": [
1917
+
"service"
1918
+
]
1919
+
}
1920
+
],
1921
+
"additionalProperties": false,
1922
+
"properties": {
1923
+
"organization": {
1924
+
"description": "The organization that created the annotation",
1925
+
"$ref": "#/definitions/organizationalEntity"
1926
+
},
1927
+
"individual": {
1928
+
"description": "The person that created the annotation",
1929
+
"$ref": "#/definitions/organizationalContact"
1930
+
},
1931
+
"component": {
1932
+
"description": "The tool or component that created the annotation",
1933
+
"$ref": "#/definitions/component"
1934
+
},
1935
+
"service": {
1936
+
"description": "The service that created the annotation",
1937
+
"$ref": "#/definitions/service"
1938
+
}
1939
+
}
1940
+
},
1941
+
"timestamp": {
1942
+
"type": "string",
1943
+
"format": "date-time",
1944
+
"title": "Timestamp",
1945
+
"description": "The date and time (timestamp) when the annotation was created."
1946
+
},
1947
+
"text": {
1948
+
"type": "string",
1949
+
"title": "Text",
1950
+
"description": "The textual content of the annotation."
1951
+
},
1952
+
"signature": {
1953
+
"$ref": "#/definitions/signature",
1954
+
"title": "Signature",
1955
+
"description": "Enveloped signature in [JSON Signature Format (JSF)](https://cyberphone.github.io/doc/security/jsf.html)."
0 commit comments