diff --git a/bids-validator/src/setup/loadSchema.ts b/bids-validator/src/setup/loadSchema.ts index ed862e70b..65d015649 100644 --- a/bids-validator/src/setup/loadSchema.ts +++ b/bids-validator/src/setup/loadSchema.ts @@ -1,6 +1,6 @@ import { Schema } from '../types/schema.ts' import { objectPathHandler } from '../utils/objectPathHandler.ts' -import * as schemaDefault from 'https://bids-specification.readthedocs.io/en/latest/schema.json' assert { type: 'json' } +import * as schemaDefault from 'https://bids-specification--1672.org.readthedocs.build/en/1672/schema.json' assert { type: 'json' } /** * Load the schema from the specification @@ -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--1672.org.readthedocs.build/en/1672/schema.json' + // schemaUrl = `https://bids-specification.readthedocs.io/en/${version}/schema.json` } try { const schemaModule = await import(/* @vite-ignore */ schemaUrl, {