Skip to content

Commit dd97156

Browse files
committed
Reorganize non-code data files
1 parent c094c3d commit dd97156

14 files changed

+11
-11
lines changed

common/schema/config.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/** Bundled HED schema configuration. */
22

33
export const localSchemaList = new Map([
4-
['HED8.0.0', require('../../data/HED8.0.0.xml')],
5-
['HED8.1.0', require('../../data/HED8.1.0.xml')],
6-
['HED8.2.0', require('../../data/HED8.2.0.xml')],
7-
['HED8.3.0', require('../../data/HED8.3.0.xml')],
8-
['HED_score_1.0.0', require('../../data/HED_score_1.0.0.xml')],
9-
['HED_score_1.1.0', require('../../data/HED_score_1.1.0.xml')],
10-
['HED_score_2.0.0', require('../../data/HED_score_2.0.0.xml')],
11-
['HED_testlib_1.0.2', require('../../data/HED_testlib_1.0.2.xml')],
12-
['HED_testlib_2.0.0', require('../../data/HED_testlib_2.0.0.xml')],
4+
['HED8.0.0', require('../../data/schemas/HED8.0.0.xml')],
5+
['HED8.1.0', require('../../data/schemas/HED8.1.0.xml')],
6+
['HED8.2.0', require('../../data/schemas/HED8.2.0.xml')],
7+
['HED8.3.0', require('../../data/schemas/HED8.3.0.xml')],
8+
['HED_score_1.0.0', require('../../data/schemas/HED_score_1.0.0.xml')],
9+
['HED_score_1.1.0', require('../../data/schemas/HED_score_1.1.0.xml')],
10+
['HED_score_2.0.0', require('../../data/schemas/HED_score_2.0.0.xml')],
11+
['HED_testlib_1.0.2', require('../../data/schemas/HED_testlib_1.0.2.xml')],
12+
['HED_testlib_2.0.0', require('../../data/schemas/HED_testlib_2.0.0.xml')],
1313
])
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

validator/event/special.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import specialTags from './specialTags.json'
1+
import specialTags from '../../data/json/specialTags.json'
22
import { ParsedHedGroup } from '../../parser/parsedHedGroup'
33
import { ParsedHedTag } from '../../parser/parsedHedTag'
44

validator/event/validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Schemas } from '../../common/schema/types'
55
const NAME_CLASS_REGEX = /^[\w\-\u0080-\uFFFF]+$/
66
const uniqueType = 'unique'
77
const requiredType = 'required'
8-
const specialTags = require('./specialTags.json')
8+
const specialTags = require('../../data/json/specialTags.json')
99

1010
// Validation tests
1111
/**

0 commit comments

Comments
 (0)