mirror of
https://github.com/TRaSH-Guides/Guides.git
synced 2026-02-05 08:19:59 -06:00
The `recyclarr` property was under `json_paths` which isn't appropriate for a few reasons: 1. `json_paths` is expected to be for guide-only data (like custom formats). 2. The recyclarr path at the moment is to YAML files, not JSON files.
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
"$id": "https://raw.githubusercontent.com/TRaSH-/Guides/master/metadata.schema.json",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"$schema": { "type": "string" },
|
|
"json_paths": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"radarr": { "$ref": "#/$defs/radarr" },
|
|
"sonarr": { "$ref": "#/$defs/sonarr" }
|
|
}
|
|
},
|
|
"recyclarr": { "$ref": "#/$defs/recyclarr" }
|
|
},
|
|
"$defs": {
|
|
"paths_object": {
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
},
|
|
"radarr": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"custom_formats": { "$ref": "#/$defs/paths_object" },
|
|
"qualities": { "$ref": "#/$defs/paths_object" },
|
|
"naming": { "$ref": "#/$defs/paths_object" }
|
|
}
|
|
},
|
|
"sonarr": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"custom_formats": { "$ref": "#/$defs/paths_object" },
|
|
"release_profiles": { "$ref": "#/$defs/paths_object" },
|
|
"qualities": { "$ref": "#/$defs/paths_object" },
|
|
"naming": { "$ref": "#/$defs/paths_object" }
|
|
}
|
|
},
|
|
"recyclarr": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"templates": { "type": "string" }
|
|
}
|
|
}
|
|
}
|
|
}
|