From 216405b93bc41aa89b123060093c17f2e76eba01 Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 24 Oct 2025 00:47:11 +0200 Subject: [PATCH] Exclude some more schemas --- scripts/schema.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/schema.js b/scripts/schema.js index 07274994a..5e4485d1c 100644 --- a/scripts/schema.js +++ b/scripts/schema.js @@ -113,6 +113,13 @@ const excludedLambdas = [ return true; } }, + (n, s) => { + if (s.properties && Object.keys(s.properties).every(x=> x[0] === x[0].toUpperCase())) { + console.log(`\r${redBright("[WARN]")} Omitting schema ${n} as all its properties have uppercase characters.`); + exclusionList.auto.push({ value: n, reason: "Schema with only uppercase properties" }); + return true; + } + } // (n, s) => { // if (JSON.stringify(s).length <= 300) { // console.log({n, s});