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",
"json_paths": {
"radarr": {
"custom_formats": ["docs/json/radarr/cf"]
"custom_formats": ["docs/json/radarr/cf"],
"qualities": ["docs/json/radarr/quality-size"]
},
"sonarr": {
"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": {
"release_profiles": {
"type": "array",
"items": { "type": "string" }
},
"custom_formats": {
"paths_object": {
"type": "array",
"items": { "type": "string" }
},
@ -27,15 +23,17 @@
"type": "object",
"additionalProperties": false,
"properties": {
"custom_formats": { "$ref": "#/$defs/custom_formats" }
"custom_formats": { "$ref": "#/$defs/paths_object" },
"qualities": { "$ref": "#/$defs/paths_object" }
}
},
"sonarr": {
"type": "object",
"additionalProperties": false,
"properties": {
"custom_formats": { "$ref": "#/$defs/custom_formats" },
"release_profiles": { "$ref": "#/$defs/release_profiles" }
"custom_formats": { "$ref": "#/$defs/paths_object" },
"release_profiles": { "$ref": "#/$defs/paths_object" },
"qualities": { "$ref": "#/$defs/paths_object" }
}
}
}

Loading…
Cancel
Save