From 0a031b854fe339ab285b9760662066f857492f92 Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Mon, 29 Jul 2024 17:34:28 +0100 Subject: [PATCH] Fix: "required":"_media" replaced with a more specific "required": "_source" (fixes #31) --- 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",