Files
Guides/metadata.schema.json
Robert Dailey 9c17d5fae6 Move recyclarr property up a level
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.
2023-02-16 17:44:05 -06:00

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" }
}
}
}
}