Skip to content

Commit 8fda254

Browse files
committed
feat: update input file schema to include license classification
1 parent 3cc7dc2 commit 8fda254

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/ElectronBackend/input/OpossumInputFileSchema.json

+16
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@
1111
],
1212
"additionalProperties": false,
1313
"properties": {
14+
"config": {
15+
"type": "object",
16+
"description": "Additional configuration for OpossumUI.",
17+
"properties": {
18+
"classifications": {
19+
"type": "object",
20+
"description": "Mapping of classification values to human-readable labels. See \"classification\" field of \"externalAttribution\".",
21+
"additionalProperties": true
22+
}
23+
}
24+
},
1425
"resources": {
1526
"id": "#ResourcesSchema",
1627
"type": "object",
@@ -121,6 +132,11 @@
121132
"type": "string",
122133
"description": "Indication on how critical a signal is. Possible values are \"high\" and \"medium\"."
123134
},
135+
"classification": {
136+
"type": "number",
137+
"description": "Custom classification of the signal. Human-readable labels need to be configured in the \"config\" section. Classifications other than 0 appear prominently in OpossumUI.",
138+
"minimum": 0
139+
},
124140
"copyright": {
125141
"type": "string",
126142
"description": "Copyright of the package"

0 commit comments

Comments
 (0)