Skip to content

Commit

Permalink
Reorganize non-code data files
Browse files Browse the repository at this point in the history
  • Loading branch information
happy5214 committed Nov 4, 2024
1 parent c094c3d commit dd97156
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions common/schema/config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/** Bundled HED schema configuration. */

export const localSchemaList = new Map([
['HED8.0.0', require('../../data/HED8.0.0.xml')],
['HED8.1.0', require('../../data/HED8.1.0.xml')],
['HED8.2.0', require('../../data/HED8.2.0.xml')],
['HED8.3.0', require('../../data/HED8.3.0.xml')],
['HED_score_1.0.0', require('../../data/HED_score_1.0.0.xml')],
['HED_score_1.1.0', require('../../data/HED_score_1.1.0.xml')],
['HED_score_2.0.0', require('../../data/HED_score_2.0.0.xml')],
['HED_testlib_1.0.2', require('../../data/HED_testlib_1.0.2.xml')],
['HED_testlib_2.0.0', require('../../data/HED_testlib_2.0.0.xml')],
['HED8.0.0', require('../../data/schemas/HED8.0.0.xml')],
['HED8.1.0', require('../../data/schemas/HED8.1.0.xml')],
['HED8.2.0', require('../../data/schemas/HED8.2.0.xml')],
['HED8.3.0', require('../../data/schemas/HED8.3.0.xml')],
['HED_score_1.0.0', require('../../data/schemas/HED_score_1.0.0.xml')],
['HED_score_1.1.0', require('../../data/schemas/HED_score_1.1.0.xml')],
['HED_score_2.0.0', require('../../data/schemas/HED_score_2.0.0.xml')],
['HED_testlib_1.0.2', require('../../data/schemas/HED_testlib_1.0.2.xml')],
['HED_testlib_2.0.0', require('../../data/schemas/HED_testlib_2.0.0.xml')],
])
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.
2 changes: 1 addition & 1 deletion validator/event/special.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import specialTags from './specialTags.json'
import specialTags from '../../data/json/specialTags.json'
import { ParsedHedGroup } from '../../parser/parsedHedGroup'
import { ParsedHedTag } from '../../parser/parsedHedTag'

Expand Down
2 changes: 1 addition & 1 deletion validator/event/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Schemas } from '../../common/schema/types'
const NAME_CLASS_REGEX = /^[\w\-\u0080-\uFFFF]+$/
const uniqueType = 'unique'
const requiredType = 'required'
const specialTags = require('./specialTags.json')
const specialTags = require('../../data/json/specialTags.json')

// Validation tests
/**
Expand Down

0 comments on commit dd97156

Please sign in to comment.