From b09f6e1ce82c083ae9a83e27c76b9fc4a67fad1f Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Thu, 5 Sep 2024 09:00:57 +0100 Subject: [PATCH] Fix: "required":"_media" replaced with a more specific "required": "_source" (fixes #31) (#32) --- schema/component.schema.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schema/component.schema.json b/schema/component.schema.json index 11979fb..b8f3ff7 100644 --- a/schema/component.schema.json +++ b/schema/component.schema.json @@ -7,9 +7,6 @@ "$ref": "component" }, "with": { - "required": [ - "_media" - ], "properties": { "_supportedLayout": { "type": "string", @@ -48,6 +45,9 @@ "_media": { "type": "object", "title": "Media settings", + "required": [ + "_source" + ], "properties": { "_source": { "type": "string",