chore(schema): Remove arrays support for instances

pull/201/head
Robert Dailey 1 year ago
parent f7bfab065d
commit 7cab32d279

@ -5,34 +5,14 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"sonarr": { "sonarr": {
"oneOf": [
{
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/sonarr_instance"
}
},
{
"type": "object", "type": "object",
"patternProperties": { "patternProperties": {
"^.*$": { "^.*$": {
"$ref": "#/$defs/sonarr_instance" "$ref": "#/$defs/sonarr_instance"
} }
} }
}
]
}, },
"radarr": { "radarr": {
"oneOf": [
{
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/radarr_instance"
}
},
{
"type": "object", "type": "object",
"patternProperties": { "patternProperties": {
"^.*$": { "^.*$": {
@ -40,8 +20,6 @@
} }
} }
} }
]
}
}, },
"$defs": { "$defs": {
"trash_id": { "trash_id": {

Loading…
Cancel
Save