Skip to content

Commit baec23f

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

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/ElectronBackend/input/OpossumInputFileSchema.json

+17
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@
1111
],
1212
"additionalProperties": false,
1313
"properties": {
14+
"config": {
15+
"type": "object",
16+
"description": "Additional configuration for OpossumUI.",
17+
"additionalProperties": true,
18+
"properties": {
19+
"classifications": {
20+
"type": "object",
21+
"description": "Mapping of classification values to human-readable labels. See \"classification\" field of \"externalAttribution\".",
22+
"additionalProperties": true
23+
}
24+
}
25+
},
1426
"resources": {
1527
"id": "#ResourcesSchema",
1628
"type": "object",
@@ -121,6 +133,11 @@
121133
"type": "string",
122134
"description": "Indication on how critical a signal is. Possible values are \"high\" and \"medium\"."
123135
},
136+
"classification": {
137+
"type": "number",
138+
"description": "Signal classification by usage, usually based on the license. Zero corresponds to unrestricted usage ehile higher levels mean more and more restrictions. Exact values and labels need to be configured in the config section.",
139+
"minimum": 0
140+
},
124141
"copyright": {
125142
"type": "string",
126143
"description": "Copyright of the package"

0 commit comments

Comments
 (0)