From a1340b2729d26e91dd53036ae9cdc0b07d6b8945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Fri, 2 Feb 2024 15:56:32 +0100 Subject: [PATCH] fix: improve config schema --- schema/html-w3c-validatorrc-schema.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/schema/html-w3c-validatorrc-schema.json b/schema/html-w3c-validatorrc-schema.json index 15f7394..517d4b6 100644 --- a/schema/html-w3c-validatorrc-schema.json +++ b/schema/html-w3c-validatorrc-schema.json @@ -7,6 +7,7 @@ "$schema": { "description": "JSON Schema URI", "type": "string", + "format": "uri", "default": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/main/schema/html-w3c-validatorrc-schema.json" }, "urls": { @@ -17,6 +18,7 @@ "items": { "description": "URL to validate.", "type": "string", + "format": "uri", "minLength": 1 } }, @@ -28,11 +30,12 @@ "items": { "description": "File to validate.", "type": "string", + "format": "uri-reference", "minLength": 1 } }, "severities": { - "description": "Specify the severities of the validator messages to report.", + "description": "Specify the severities to report.", "type": "array", "minItems": 1, "default": ["warning", "error"],