summaryrefslogtreecommitdiff
path: root/dev/dictionary-validate.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-12 19:56:24 -0500
committerGitHub <noreply@github.com>2021-02-12 19:56:24 -0500
commit2b4af57bd764ee07ed1d7db8e2985e34ba7ef8ea (patch)
tree06af52cf528773838c1144a323e74c93ddebdf45 /dev/dictionary-validate.js
parent37f916171812afe22f1b435d9e06b52af5d8292a (diff)
Move data folder (#1371)
* Move handlebars template files * Move schema files
Diffstat (limited to 'dev/dictionary-validate.js')
-rw-r--r--dev/dictionary-validate.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/dev/dictionary-validate.js b/dev/dictionary-validate.js
index 26c8185b..873bcb8a 100644
--- a/dev/dictionary-validate.js
+++ b/dev/dictionary-validate.js
@@ -71,14 +71,14 @@ async function validateDictionary(archive, schemas) {
function getSchemas() {
return {
- index: readSchema('../ext/bg/data/dictionary-index-schema.json'),
- kanjiBankV1: readSchema('../ext/bg/data/dictionary-kanji-bank-v1-schema.json'),
- kanjiBankV3: readSchema('../ext/bg/data/dictionary-kanji-bank-v3-schema.json'),
- kanjiMetaBankV3: readSchema('../ext/bg/data/dictionary-kanji-meta-bank-v3-schema.json'),
- tagBankV3: readSchema('../ext/bg/data/dictionary-tag-bank-v3-schema.json'),
- termBankV1: readSchema('../ext/bg/data/dictionary-term-bank-v1-schema.json'),
- termBankV3: readSchema('../ext/bg/data/dictionary-term-bank-v3-schema.json'),
- termMetaBankV3: readSchema('../ext/bg/data/dictionary-term-meta-bank-v3-schema.json')
+ index: readSchema('../ext/data/schemas/dictionary-index-schema.json'),
+ kanjiBankV1: readSchema('../ext/data/schemas/dictionary-kanji-bank-v1-schema.json'),
+ kanjiBankV3: readSchema('../ext/data/schemas/dictionary-kanji-bank-v3-schema.json'),
+ kanjiMetaBankV3: readSchema('../ext/data/schemas/dictionary-kanji-meta-bank-v3-schema.json'),
+ tagBankV3: readSchema('../ext/data/schemas/dictionary-tag-bank-v3-schema.json'),
+ termBankV1: readSchema('../ext/data/schemas/dictionary-term-bank-v1-schema.json'),
+ termBankV3: readSchema('../ext/data/schemas/dictionary-term-bank-v3-schema.json'),
+ termMetaBankV3: readSchema('../ext/data/schemas/dictionary-term-meta-bank-v3-schema.json')
};
}