From 4328303377c0bd2fe9ff867764a58099bb75fbca Mon Sep 17 00:00:00 2001 From: Vessel9817 <151808241+Vessel9817@users.noreply.github.com> Date: Thu, 23 Jul 2026 02:08:33 -0400 Subject: [PATCH 1/2] Migrated to draft-07 Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com> --- src/schemas/json/templatesources.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schemas/json/templatesources.json b/src/schemas/json/templatesources.json index c7961e1e931..f3f681e5a02 100644 --- a/src/schemas/json/templatesources.json +++ b/src/schemas/json/templatesources.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/templatesources.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/templatesources.json", "properties": { "sources": { "description": "Includes information regarding all sources that have been added to SideWaffle.", From 15f46e9836faa394c818f3c33818a40cf93968ac Mon Sep 17 00:00:00 2001 From: Vessel9817 <151808241+Vessel9817@users.noreply.github.com> Date: Thu, 23 Jul 2026 02:09:30 -0400 Subject: [PATCH 2/2] Enabled strict validation Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com> --- src/schema-validation.jsonc | 1 - src/schemas/json/templatesources.json | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schema-validation.jsonc b/src/schema-validation.jsonc index de4bb92d48f..0270b521a7b 100644 --- a/src/schema-validation.jsonc +++ b/src/schema-validation.jsonc @@ -234,7 +234,6 @@ "stylelintrc.json", "taurus.json", "template.json", - "templatesources.json", "testenvironments.json", "tmlanguage.json", "travis.json", diff --git a/src/schemas/json/templatesources.json b/src/schemas/json/templatesources.json index f3f681e5a02..c488e1463f9 100644 --- a/src/schemas/json/templatesources.json +++ b/src/schemas/json/templatesources.json @@ -34,5 +34,6 @@ "enum": ["Always", "OnceADay", "OnceAWeek", "OnceAMonth", "Never"] } }, - "title": "JSON schema for SideWaffle template sources" + "title": "JSON schema for SideWaffle template sources", + "type": "object" }