From 1b076269801fd3d0b8445bc41486b82d865534d5 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Sun, 16 May 2021 13:43:40 +0200 Subject: [PATCH] Updated --- .vscode/schema-validation.json | 4 +++- source/general/manifest/manifest.1.json | 6 +++--- source/general/manifest/manifest.2.json | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.vscode/schema-validation.json b/.vscode/schema-validation.json index 1e41a313..ab0f009f 100644 --- a/.vscode/schema-validation.json +++ b/.vscode/schema-validation.json @@ -4,7 +4,9 @@ "object_check": { "type": "object", "dependencies": { - "type": ["title"] + "type": ["title"], + "properties": ["type"], + "items": ["type"] }, "additionalProperties": { "anyOf": [ diff --git a/source/general/manifest/manifest.1.json b/source/general/manifest/manifest.1.json index 3994f84d..e82761b9 100644 --- a/source/general/manifest/manifest.1.json +++ b/source/general/manifest/manifest.1.json @@ -102,7 +102,8 @@ "title": "Dependencies" }, "capabilities": { - "type": "array", + "type": "object", + "title": "Capabilities", "description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.", "properties": { "experimental_custom_ui": { @@ -111,8 +112,7 @@ "title": "Experimental Custom Ui" }, "chemistry": { "type": "boolean", "description": "Allows the pack to add, change or replace Chemistry functionality", "title": "Chemistry" } - }, - "title": "Capabilities" + } }, "metadata": { "authors": { diff --git a/source/general/manifest/manifest.2.json b/source/general/manifest/manifest.2.json index a0c6b775..a8a22acf 100644 --- a/source/general/manifest/manifest.2.json +++ b/source/general/manifest/manifest.2.json @@ -22,7 +22,7 @@ "description": "This defines the current version of the manifest. Don't change this unless you have a good reason to" }, "capabilities": { - "type": "array", + "type": "object", "title": "Capabilities", "description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.", "properties": {