From 1945a68dfc2d6f8507867317233b004c95f78607 Mon Sep 17 00:00:00 2001 From: Ben C Date: Fri, 22 Mar 2024 16:55:58 -0400 Subject: [PATCH] Add defaults for parameters (#564) Co-authored-by: Will Corby Co-authored-by: Noah Pilarski --- schemas/manifest_schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/schemas/manifest_schema.json b/schemas/manifest_schema.json index d1f3b60f..40e46271 100644 --- a/schemas/manifest_schema.json +++ b/schemas/manifest_schema.json @@ -72,6 +72,7 @@ "dependencies": { "type": "array", "description": "The dependencies of the mod", + "default": [], "items": { "type": "string", "description": "The uniqueName of the dependency", @@ -91,6 +92,7 @@ "minGameVersion": { "type": "string", "description": "The minimum version of the game that this mod is compatible with", + "default": "" "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", "examples": [ "1.0.0", @@ -101,6 +103,7 @@ "maxGameVersion": { "type": "string", "description": "The maximum version of the game that this mod is compatible with", + "default": "" "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", "examples": [ "1.0.0", @@ -116,6 +119,7 @@ "incompatibleVendors": { "type": "array", "description": "The vendors this mod does not work on", + "default": [] "items": { "type": "string", "enum": [