Constructor
new BidsHedSidecarValidator(sidecar, hedSchemas)
Constructor for the BidsHedSidecarValidator.
Parameters:
Name | Type | Description |
---|---|---|
sidecar |
BidsSidecar | The BIDS sidecar being validated. |
hedSchemas |
Schemas | The schemas used for the sidecar validation. |
Classes
Members
sidecar :BidsSidecar
The BIDS sidecar being validated.
Type:
Methods
_validateCurlyBraces() → {Array.<BidsHedIssue>}
Validate this sidecar's curly braces -- checking recursion and missing columns.
Returns:
All issues found.
- Type
- Array.<BidsHedIssue>
_validateStrings() → {Array.<BidsHedIssue>}
Validate this sidecar's HED strings.
Returns:
All issues found.
- Type
- Array.<BidsHedIssue>
validate()
Validate a BIDS JSON sidecar file. Errors and warnings are stored.