Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ› Adds schema identifier to schema (#2303)

Alicia Sykesaa1ccf63950e
diff --git a/src/utils/config/ConfigSchema.json b/src/utils/config/ConfigSchema.json
index 5b1c850a..628d542a 100644
--- a/src/utils/config/ConfigSchema.json
+++ b/src/utils/config/ConfigSchema.json
@@ -1,10 +1,22 @@
{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "https://raw.githubusercontent.com/lissy93/dashy/master/src/utils/config/ConfigSchema.json",
+ "title": "Dashy Config",
+ "description": "Validates a Dashy config file against all supported options",
"type": "object",
"required": [
"sections"
],
"additionalProperties": false,
+ "patternProperties": {
+ "^x-": {}
+ },
"properties": {
+ "$schema": {
+ "title": "Schema",
+ "type": "string",
+ "description": "Optional reference to this schema, used by external editors for validation and autocompletion. Ignored by Dashy"
+ },
"pages": {
"title": "Page List",
"type": "array",