chore(schema): Use string for quality_definition types

Using JSON data now instead of enumerations in code. There's no finite
set anymore.
pull/124/head
Robert Dailey 2 years ago
parent 566fcf9db9
commit 500a20e885

@ -26,7 +26,7 @@
"description": "The API key from Sonarr." "description": "The API key from Sonarr."
}, },
"quality_definition": { "quality_definition": {
"enum": ["hybrid", "anime", "series"] "type": "string"
}, },
"release_profiles": { "release_profiles": {
"type": "array", "type": "array",
@ -105,8 +105,7 @@
"required": ["type"], "required": ["type"],
"properties": { "properties": {
"type": { "type": {
"type": "string", "type": "string"
"enum": ["movie"]
}, },
"preferred_ratio": { "preferred_ratio": {
"type": "number", "type": "number",

Loading…
Cancel
Save