From 8652de0f2ed8e588acd56d3ac543d76ecaae2496 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 25 Apr 2024 17:00:34 -0400 Subject: [PATCH] tmp: Use schema merging bids-standard/bids-specification#1672 --- bids-validator/src/setup/loadSchema.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bids-validator/src/setup/loadSchema.ts b/bids-validator/src/setup/loadSchema.ts index ed862e70b..d8b045114 100644 --- a/bids-validator/src/setup/loadSchema.ts +++ b/bids-validator/src/setup/loadSchema.ts @@ -15,7 +15,8 @@ export async function loadSchema(version = 'latest'): Promise { if (bidsSchema !== undefined) { schemaUrl = bidsSchema } else if (version === 'latest' || versionRegex.test(version)) { - schemaUrl = `https://bids-specification.readthedocs.io/en/${version}/schema.json` + schemaUrl = `https://bids-specification.readthedocs.io/en/schema-provisional/schema.json` + // schemaUrl = `https://bids-specification.readthedocs.io/en/${version}/schema.json` } try { const schemaModule = await import(/* @vite-ignore */ schemaUrl, {