Skip to content

Commit b2791ed

Browse files
committed
feat: update schema
1 parent eebf3a0 commit b2791ed

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/ElectronBackend/input/OpossumInputFileSchema.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@
1313
"properties": {
1414
"config": {
1515
"type": "object",
16-
"description": "Additional configuration for OpossumUI.",
16+
"description": "Configuration for OpossumUI.",
1717
"additionalProperties": true,
1818
"properties": {
1919
"classifications": {
2020
"type": "object",
2121
"description": "Mapping of classification values to human-readable labels. See \"classification\" field of \"externalAttribution\".",
22-
"additionalProperties": true
22+
"patternProperties": {
23+
"^[0-9]+$": {
24+
"type": "string"
25+
}
26+
}
2327
}
2428
}
2529
},
@@ -135,7 +139,7 @@
135139
},
136140
"classification": {
137141
"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.",
142+
"description": "Signal classification by usage, usually based on the license. Zero corresponds to unrestricted usage while higher levels mean more and more restrictions. Exact values and labels need to be configured in the config section.",
139143
"minimum": 0
140144
},
141145
"copyright": {

0 commit comments

Comments
 (0)