You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TRaSH-Guides/metadata.schema.json

55 lines
1.6 KiB

{
"$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" },
"quality_profiles": { "$ref": "#/$defs/paths_object" },
"custom_format_groups": { "$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" },
"quality_profiles": { "$ref": "#/$defs/paths_object" },
"custom_format_groups": { "$ref": "#/$defs/paths_object" }
}
},
"recyclarr": {
"type": "object",
"additionalProperties": false,
"properties": {
"templates": { "type": "string" }
}
}
}
}