schema_validation_util_deprecated

Legacy validation for terms and descriptions prior to 8.3.0.

Functions

validate_schema_description(hed_entry)

Check the description of a single schema entry.

validate_schema_tag(hed_entry)

Check short tag for capitalization and illegal characters.

verify_no_brackets(hed_entry)

Extremely basic check to block curly braces

validate_schema_description(hed_entry)[source]

Check the description of a single schema entry.

Parameters:

hed_entry (HedSchemaEntry) – A single schema entry

Returns:

A list of all formatting issues found in the description.

Return type:

list

validate_schema_tag(hed_entry)[source]

Check short tag for capitalization and illegal characters.

Parameters:

hed_entry (HedTagEntry) – A single HED term.

Returns:

A list of all formatting issues found in the term. Each issue is a dictionary.

Return type:

list

verify_no_brackets(hed_entry)[source]

Extremely basic check to block curly braces

Parameters:

hed_entry (HedSchemaEntry) – A single schema entry

Returns:

A list of issues for invalid characters found in the name

Return type:

list