From a80101a9b44052d18e4b1d1e11fac55f135c2bda Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Fri, 16 Feb 2024 23:31:13 +0100 Subject: [PATCH] Add license scheme to vscode settings --- .vscode/settings.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index e975a613f..0eedd1323 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,41 @@ { "fileMatch": ["/assets/themes/*/*.json", "!/assets/themes/*/license_info.json"], "url": "./Docs/Schemas/LayoutConfigJson.schema.json" + }, + { + "fileMatch": ["/assets/themes/*/license_info.json", "/assets/layers/*/license_info.json"], + "schema": { + "type": "array", + "title": "License Info", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "Path to the file" + }, + "authors": { + "type": "array", + "description": "Authors of the file", + "items": { + "type": "string" + } + }, + "license": { + "type": "string", + "description": "License of the file" + }, + "sources": { + "type": "array", + "description": "Sources of the file", + "items": { + "type": "string" + } + } + }, + "required": ["path", "authors", "license", "sources"] + } + } } ], "editor.tabSize": 2,