chore(schema): Remove arrays support for instances

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

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

Loading…
Cancel
Save