This commit is contained in:
DaanV2
2021-05-16 13:43:40 +02:00
parent 4339ddef1d
commit 1b07626980
3 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,9 @@
"object_check": { "object_check": {
"type": "object", "type": "object",
"dependencies": { "dependencies": {
"type": ["title"] "type": ["title"],
"properties": ["type"],
"items": ["type"]
}, },
"additionalProperties": { "additionalProperties": {
"anyOf": [ "anyOf": [

View File

@@ -102,7 +102,8 @@
"title": "Dependencies" "title": "Dependencies"
}, },
"capabilities": { "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.", "description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.",
"properties": { "properties": {
"experimental_custom_ui": { "experimental_custom_ui": {
@@ -111,8 +112,7 @@
"title": "Experimental Custom Ui" "title": "Experimental Custom Ui"
}, },
"chemistry": { "type": "boolean", "description": "Allows the pack to add, change or replace Chemistry functionality", "title": "Chemistry" } "chemistry": { "type": "boolean", "description": "Allows the pack to add, change or replace Chemistry functionality", "title": "Chemistry" }
}, }
"title": "Capabilities"
}, },
"metadata": { "metadata": {
"authors": { "authors": {

View File

@@ -22,7 +22,7 @@
"description": "This defines the current version of the manifest. Don't change this unless you have a good reason to" "description": "This defines the current version of the manifest. Don't change this unless you have a good reason to"
}, },
"capabilities": { "capabilities": {
"type": "array", "type": "object",
"title": "Capabilities", "title": "Capabilities",
"description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.", "description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.",
"properties": { "properties": {