chore(metadata): Add paths for quality definition data

pull/743/head
Robert Dailey 2 years ago committed by tiemonl
parent d0a8289f28
commit 7f98659604
No known key found for this signature in database
GPG Key ID: 07864D6A20618494

@ -2,11 +2,13 @@
"$schema": "metadata.schema.json", "$schema": "metadata.schema.json",
"json_paths": { "json_paths": {
"radarr": { "radarr": {
"custom_formats": ["docs/json/radarr/cf"] "custom_formats": ["docs/json/radarr/cf"],
"qualities": ["docs/json/radarr/quality-size"]
}, },
"sonarr": { "sonarr": {
"release_profiles": ["docs/json/sonarr/rp"], "release_profiles": ["docs/json/sonarr/rp"],
"custom_formats": ["docs/json/sonarr/cf"] "custom_formats": ["docs/json/sonarr/cf"],
"qualities": ["docs/json/sonarr/quality-size"]
} }
} }
} }

@ -15,11 +15,7 @@
} }
}, },
"$defs": { "$defs": {
"release_profiles": { "paths_object": {
"type": "array",
"items": { "type": "string" }
},
"custom_formats": {
"type": "array", "type": "array",
"items": { "type": "string" } "items": { "type": "string" }
}, },
@ -27,15 +23,17 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"custom_formats": { "$ref": "#/$defs/custom_formats" } "custom_formats": { "$ref": "#/$defs/paths_object" },
"qualities": { "$ref": "#/$defs/paths_object" }
} }
}, },
"sonarr": { "sonarr": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"custom_formats": { "$ref": "#/$defs/custom_formats" }, "custom_formats": { "$ref": "#/$defs/paths_object" },
"release_profiles": { "$ref": "#/$defs/release_profiles" } "release_profiles": { "$ref": "#/$defs/paths_object" },
"qualities": { "$ref": "#/$defs/paths_object" }
} }
} }
} }

Loading…
Cancel
Save