2024-02-02 15:35:18 +01:00
|
|
|
{
|
2024-11-09 16:42:44 +01:00
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
|
|
"$id": "html-w3c-validator://config/schema.json",
|
2024-02-02 15:35:18 +01:00
|
|
|
"title": "html-w3c-validator configuration schema",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"$schema": {
|
2024-11-09 16:42:44 +01:00
|
|
|
"description": "JSON Schema",
|
|
|
|
"type": "string"
|
2024-02-02 15:35:18 +01:00
|
|
|
},
|
|
|
|
"urls": {
|
|
|
|
"description": "URLs to validate.",
|
|
|
|
"type": "array",
|
|
|
|
"default": [],
|
|
|
|
"minItems": 1,
|
|
|
|
"items": {
|
|
|
|
"description": "URL to validate.",
|
|
|
|
"type": "string",
|
2024-02-02 15:56:32 +01:00
|
|
|
"format": "uri",
|
2024-02-02 15:35:18 +01:00
|
|
|
"minLength": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"files": {
|
|
|
|
"description": "Files to validate.",
|
|
|
|
"type": "array",
|
|
|
|
"minItems": 1,
|
|
|
|
"default": [],
|
|
|
|
"items": {
|
|
|
|
"description": "File to validate.",
|
|
|
|
"type": "string",
|
2024-02-02 15:56:32 +01:00
|
|
|
"format": "uri-reference",
|
2024-02-02 15:35:18 +01:00
|
|
|
"minLength": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"severities": {
|
2024-02-02 15:56:32 +01:00
|
|
|
"description": "Specify the severities to report.",
|
2024-02-02 15:35:18 +01:00
|
|
|
"type": "array",
|
|
|
|
"minItems": 1,
|
|
|
|
"default": ["warning", "error"],
|
|
|
|
"items": {
|
|
|
|
"description": "Severity to report.",
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["error", "warning", "info"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|