chore: Fix incorrect references in metadata schema

pull/712/head
Robert Dailey 2 years ago
parent 66f946c13a
commit 9bce114c97

@ -1,5 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/TRaSH-/Guides/master/metadata.schema.json", "$id": "https://raw.githubusercontent.com/TRaSH-/Guides/master/metadata.schema.json",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
@ -9,8 +9,8 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"radarr": "#/$defs/radarr", "radarr": { "$ref": "#/$defs/radarr" },
"sonarr": "#/$defs/sonarr" "sonarr": { "$ref": "#/$defs/sonarr" }
} }
} }
}, },
@ -27,14 +27,14 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"custom_formats": "#/$defs/custom_formats" "custom_formats": { "$ref": "#/$defs/custom_formats" }
} }
}, },
"sonarr": { "sonarr": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"release_profiles": "#/$defs/release_profiles" "release_profiles": { "$ref": "#/$defs/release_profiles" }
} }
} }
} }

Loading…
Cancel
Save